protected override void OnPreInit(EventArgs e) { base.OnPreInit(e); PropertyEditorHelper.AttachToPage(this); Response.Cache.SetCacheability(HttpCacheability.NoCache); }
private void RegisterPropertyEditors() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new PasswordConfirmationEditor()); }
private static void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); }
private void RegisterPropertyEditors() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new CustomObjectListPropertyEditor()); }
private void RegisterPropertyEditors() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new OUUserInputPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ImageUploaderPropertyEditor()); }
public string GetScript() { var items = PropertyEditorHelper.GetPropertyItemsFor(_formType); if (typeof(ICustomizedFormScript).IsAssignableFrom(_formType)) { var instance = InstanceCreator.GetInstance(_formType) as ICustomizedFormScript; instance.Customize(items); } return(String.Format("Q$ScriptData.set({0}, {1});", ("Form." + _name).ToSingleQuoted(), items.ToJson())); }
private void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new CodeNameUniqueEditor()); PropertyEditorHelper.RegisterEditor(new GetPinYinEditor()); PropertyEditorHelper.RegisterEditor(new ImageUploaderPropertyEditor()); }
private void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new OUUserInputPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ImageUploaderPropertyEditor()); PropertyEditorHelper.RegisterEditor(new CustomObjectListPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ImageUploaderPropertyEditorForGrid()); }
private void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); //注册ValidatorPropertyEditor PropertyEditorHelper.RegisterEditor(new ValidatorsPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new ImageUploaderPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ImageUploaderPropertyEditorForGrid()); PropertyEditorHelper.RegisterEditor(new OUUserInputPropertyEditor()); PropertyEditorHelper.RegisterEditor(new RoleGraphPropertyEditor()); }
private void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new GenerateTypePropertyEditor()); PropertyEditorHelper.RegisterEditor(new BranchProcessKeyPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ReceiversObjectListPropertyEditor()); //PropertyEditorHelper.RegisterEditor(new BranchConditionPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ServiceOperationPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ConditionExpressionPropertyEditor()); }
private static void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectListPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ReceiversObjectListPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ConditionExpressionPropertyEditor()); PropertyEditorHelper.RegisterEditor(new KeyPropertyEditor()); PropertyEditorHelper.RegisterEditor(new CanActivityKeysEditor()); PropertyEditorHelper.RegisterEditor(new BranchProcessKeyPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DynamicPropertyEditor()); }
private void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new AdminScopeEditor()); PropertyEditorHelper.RegisterEditor(new CodeNameUniqueEditor()); PropertyEditorHelper.RegisterEditor(new GetPinYinEditor()); //PropertyEditorHelper.RegisterEditor(new ImageUploaderPropertyEditor()); PropertyEditorHelper.RegisterEditor(new PObjectNameEditor()); PropertyEditorHelper.RegisterEditor(new SchemaCategoryEditor()); PropertyEditorHelper.RegisterEditor(new RoleGraphPropertyEditor()); }
private void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); PropertyEditorHelper.RegisterEditor(new BooleanPropertyEditor()); PropertyEditorHelper.RegisterEditor(new EnumPropertyEditor()); PropertyEditorHelper.RegisterEditor(new ObjectPropertyEditor()); PropertyEditorHelper.RegisterEditor(new DatePropertyEditor()); PropertyEditorHelper.RegisterEditor(new DateTimePropertyEditor()); PropertyEditorHelper.RegisterEditor(new CodeNameUniqueEditor()); PropertyEditorHelper.RegisterEditor(new GetPinYinEditor()); PropertyEditorHelper.RegisterEditor(new ImageUploaderPropertyEditor()); PropertyEditorHelper.RegisterEditor(new PObjectNameEditor()); PropertyEditorHelper.RegisterEditor(new ReferenceEntityCodeNameEditor()); //PropertyEditorHelper.RegisterEditor(new EntityFieldPropertyEditorSceneAdapter()); }
protected override void OnPreInit(EventArgs e) { base.OnPreInit(e); this.Response.Cache.SetCacheability(HttpCacheability.NoCache); PropertyEditorHelper.AttachToPage(this); if (this.IsPostBack == false && this.IsCallback == false) { string[] ids = Request.Params.GetValues("ids"); if (ids != null) { this.objNum.InnerText = ids.Length.ToString(); var objects = DbUtil.LoadObjects(ids); HashSet <string> schemaTypes = GetSchemaTypes(objects); HashSet <string> groupNames = GetCommonGroups(schemaTypes); List <SchemaPropertyDefineConfigurationElement> propertyDefines = GetPropertyDefines(groupNames); SchemaPropertyValueCollection propertyValues = GetCommonValues(objects, propertyDefines); HashSet <string> tabNames = GetTabNames(propertyDefines); RenderTabs(schemaTypes, propertyValues, tabNames); this.ViewState["ids"] = ids; this.ViewState["schemaTypes"] = schemaTypes; this.objectDetails.Value = JSONSerializerExecute.Serialize(objects); } } else { HashSet <string> schemaTypes = this.ViewState["schemaTypes"] as HashSet <string>; if (schemaTypes != null) { HashSet <string> groupNames = GetCommonGroups(schemaTypes); List <SchemaPropertyDefineConfigurationElement> propertyDefines = GetPropertyDefines(groupNames); } } }
private void PropertyEditorRegister() { PropertyEditorHelper.RegisterEditor(new StandardPropertyEditor()); }
private void RegisterPropertyEditor() { PropertyEditorHelper.RegisterEditor(new SignaturePropertyEditor()); }
private void RegisterPropertyEditors() { PropertyEditorHelper.RegisterEditor(new MaterialPropertyEditor()); }
private void RegisterPropertyEditors() { PropertyEditorHelper.RegisterEditor(new ClientGridPropertyEditor()); }
protected override void OnPreInit(EventArgs e) { base.OnPreInit(e); PropertyEditorHelper.AttachToPage(this); }