Examples of BoundCompoundPropertyModel


Examples of org.apache.wicket.model.BoundCompoundPropertyModel

            super(id);
           
            this.param = param;
            this.value = value;
           
            final BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(this);
            setModel(model);
           
            add(new Label("heading", localize("config." + param)));
            add(new Label("param", param));
            add(new TextField("value"));
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

                public boolean isVisible() {
                    return !LoginForm.this.hasError();
                }
            });
            add(new FeedbackPanel("feedback"));
            setModel(new BoundCompoundPropertyModel(this));
            final TextField loginNameField = new TextField("loginName");
            loginNameField.setOutputMarkupId(true);
            add(loginNameField);
            final PasswordTextField passwordField = new PasswordTextField("password");
            passwordField.setRequired(false);
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

            add(new FeedbackPanel("feedback"));           
            this.roleKey = roleKey;
           
            SpaceRoleModel modelObject = new SpaceRoleModel();                               
            modelObject.setRoleKey(roleKey);
            final BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(modelObject);
            setModel(model);
           
            add(new Label("label", roleKey));
           
            // delete ==========================================================
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

           
            SpaceStateModel modelObject = new SpaceStateModel();
            // stateKey is -1 if add new state
            final String stateName = space.getMetadata().getStatesMap().get(stateKey);           
            modelObject.setStateName(stateName);
            final BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(modelObject);
            setModel(model);
           
            add(new Label("label", stateName));
           
            // delete ==========================================================
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

            filter = new JtracFeedbackMessageFilter();
            feedback.setFilter(filter);           
            add(feedback);
                       
            this.space = space;
            final BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(this);
            setModel(model);
           
            // delete button only if edit ======================================
            Button delete = new Button("delete") {
                @Override
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

        }         
       
        public SpaceFieldsForm(String id, final Space space, final String selectedFieldName) {
            super(id);
           
            final BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(this);
            setModel(model);
           
            add(new Label("name", new PropertyModel(space, "name")));
            add(new Label("prefixCode", new PropertyModel(space, "prefixCode")));
           
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

            super(id);
           
            this.param = param;
            this.value = value;
           
            final BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(this);
            setModel(model);
           
            add(new Label("heading", localize("config." + param)));
            add(new Label("param", param));
            add(new PasswordTextField("value"));
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

            this.field = field;
            this.key = key;
           
            SpaceFieldOptionModel modelObject = new SpaceFieldOptionModel();
            modelObject.setOption(field.getCustomValue(key));
            final BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(modelObject);
            setModel(model);
           
            // delete ==========================================================
            Button delete = new Button("delete") {
                @Override
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

            FeedbackPanel feedback = new FeedbackPanel("feedback");
            filter = new JtracFeedbackMessageFilter();
            feedback.setFilter(filter);           
            add(feedback);
           
            final BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(this);
            setModel(model);
           
            // delete button only if edit ======================================
            Button delete = new Button("delete") {
                @Override
View Full Code Here

Examples of org.apache.wicket.model.BoundCompoundPropertyModel

   * @param index
   * @return a BoundCompoundPropertyModel wrapping a ListItemModel
   */
  protected IModel getListItemModel(final IModel model, final int index)
  {
    return new BoundCompoundPropertyModel(super.getListItemModel(model, index));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.