Package org.apache.wicket.model

Examples of org.apache.wicket.model.CompoundPropertyModel


        this.add(new Label("name", StringUtils.isBlank(resourceTO.getName())
                ? ""
                : resourceTO.getName()));

        final Form form = new Form("form");
        form.setModel(new CompoundPropertyModel(resourceTO));

        //--------------------------------
        // Resource details panel
        //--------------------------------
        form.add(new ResourceDetailsPanel("details", resourceTO,
View Full Code Here


        taskExecMessageWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
        taskExecMessageWin.setCookieName("task-exec-message-win-modal");
        add(taskExecMessageWin);

        form = new Form("form");
        form.setModel(new CompoundPropertyModel(taskTO));
        add(form);

        profile = new WebMarkupContainer("profile");
        profile.setOutputMarkupId(true);
        form.add(profile);
View Full Code Here

     *            The component id
     */
    public InputForm(String id)
    {
      super(id);
      setDefaultModel(new CompoundPropertyModel(this));
      add(new TextField("input"));
      add(new Button("normalButton"));

      add(new Button("nextButton")
      {
View Full Code Here

      protected Iterator getItemModels() {
        if (selected != null && selected.getTaggings() != null) {
          return new ModelIteratorAdapter(selected.getTaggings().iterator()) {
            @Override
            protected IModel model(Object object) {
              return new CompoundPropertyModel((Tagging) object);
            }
          };
        } else {
          // Return empty iterator
          return new LinkedList<IModel>().iterator();
View Full Code Here

    private static String onchange = "onchange";

    public NotificationModalPage(final PageReference callPageRef, final ModalWindow window,
            final NotificationTO notificationTO, final boolean createFlag) {

        Form form = new Form("form", new CompoundPropertyModel(notificationTO));
        form.setModel(new CompoundPropertyModel(notificationTO));

        final AjaxTextFieldPanel sender = new AjaxTextFieldPanel("sender", getString("sender"),
                new PropertyModel<String>(notificationTO, "sender"));
        sender.addRequiredLabel();
        sender.addValidator(EmailAddressValidator.getInstance());
View Full Code Here

                connectorTO.addConfiguration(property);
            }
        };

        final Form connectorForm = new Form("form");
        connectorForm.setModel(new CompoundPropertyModel(connectorTO));

        final Form connectorPropForm = new Form("connectorPropForm");
        connectorPropForm.setModel(new CompoundPropertyModel(connectorTO));
        connectorPropForm.setOutputMarkupId(true);

        propertiesContainer = new WebMarkupContainer("container");
        propertiesContainer.setOutputMarkupId(true);
        propertiesContainer.add(connectorPropForm);
View Full Code Here

    public ReportModalPage(final ModalWindow window, final ReportTO reportTO, final PageReference callerPageRef) {
        this.reportTO = reportTO;

        form = new Form<ReportTO>("form");
        form.setModel(new CompoundPropertyModel(reportTO));
        add(form);

        setupProfile();
        setupExecutions();
View Full Code Here

    public DisplayAttributesModalPage(final PageReference callerPageRef, final ModalWindow window) {

        super();

        final Form form = new Form("form");
        form.setModel(new CompoundPropertyModel(this));

        selectedDetails = prefMan.getList(getRequest(), Constants.PREF_USERS_DETAILS_VIEW);

        selectedSchemas = prefMan.getList(getRequest(), Constants.PREF_USERS_ATTRIBUTES_VIEW);
View Full Code Here

            final boolean createFlag) {

        super();

        final Form form = new Form("form");
        form.setModel(new CompoundPropertyModel(resourceTO));

        //--------------------------------
        // Resource details panel
        //--------------------------------
        form.add(new ResourceDetailsPanel("details", resourceTO, createFlag));
View Full Code Here

        taskExecMessageWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
        taskExecMessageWin.setCookieName("task-exec-message-win-modal");
        add(taskExecMessageWin);

        form = new Form("form");
        form.setModel(new CompoundPropertyModel(taskTO));
        add(form);

        profile = new WebMarkupContainer("profile");
        profile.setOutputMarkupId(true);
        form.add(profile);
View Full Code Here

TOP

Related Classes of org.apache.wicket.model.CompoundPropertyModel

Copyright © 2018 www.massapicom. 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.