Package org.apache.wicket.markup.html.panel

Examples of org.apache.wicket.markup.html.panel.Panel$PanelMarkupHelper


                    editProfileModalWin.show(target);
                }
            };
            selfRegLink.add(new Label("linkTitle", getString("selfRegistration")));

            Panel panel = new LinkPanel("selfRegistration", new ResourceModel("selfRegistration"));
            panel.add(selfRegLink);
            selfRegFrag.add(panel);
        } else {
            selfRegFrag = new Fragment("selfRegistration", "selfRegNotAllowed", this);
        }
        add(selfRegFrag);
View Full Code Here


                }

                BeanWrapper wrapper = PropertyAccessorFactory
                        .forBeanPropertyAccess(ReportletConfModalPage.this.reportletConf);

                Panel panel;

                if (NodeCond.class.equals(field.getType())) {
                    panel = new UserSearchPanel("value", (NodeCond) wrapper.getPropertyValue(fieldName), false);
                    // This is needed in order to manually update this.reportletConf with search panel selections
                    panel.setDefaultModel(new Model<String>(fieldName));
                } else if (List.class.equals(field.getType())) {
                    if (wrapper.getPropertyValue(fieldName) == null) {
                        wrapper.setPropertyValue(fieldName, new ArrayList());
                    }
View Full Code Here

                    editProfileModalWin.show(target);
                }
            };
            editProfileLink.add(new Label("linkTitle", getString("editProfile")));

            Panel panel = new LinkPanel("editProfile", new ResourceModel("editProfile"));
            panel.add(editProfileLink);
            editProfileFrag.add(panel);
        }
        add(editProfileFrag);
    }
View Full Code Here

                    editProfileModalWin.show(target);
                }
            };
            selfRegLink.add(new Label("linkTitle", getString("selfRegistration")));

            Panel panel = new LinkPanel("selfRegistration", new ResourceModel("selfRegistration"));
            panel.add(selfRegLink);
            selfRegFrag.add(panel);
        } else {
            selfRegFrag = new Fragment("selfRegistration", "selfRegNotAllowed", this);
        }
        add(selfRegFrag);
View Full Code Here

  {
    super.setUp();

    draggableBehavior = new DraggableBehavior();

    Panel panel = new DivTestPanel("panelId");
    WebMarkupContainer component = new WebMarkupContainer("anId");
    component.setMarkupId("anId");
    component.add(draggableBehavior);
    panel.add(component);
    tester.startComponentInPage(panel);
  }
View Full Code Here

  @Before
  public void setUp()
  {
    super.setUp();

    Panel panel = new DivTestPanel("panelId");
    tabs = new Tabs("anId");
    tabs.setMarkupId(tabs.getId());
    panel.add(tabs);
    tester.startComponentInPage(panel);
  }
View Full Code Here

  @Before
  public void setUp()
  {
    super.setUp();

    Panel panel = new DivTestPanel("panelId");
    WebMarkupContainer component = new WebMarkupContainer("anId");
    component.setMarkupId("anId");
    panel.add(component);
    jsQuery = new JsQuery(component);

    tester.startComponentInPage(panel);
  }
View Full Code Here

  @Test
  public void test$Component()
  {
    final WebMarkupContainer component = new WebMarkupContainer("anId");

    Panel panel = new DivTestPanel("panelId");
    component.setMarkupId("anId");
    panel.add(component);

    tester.startComponentInPage(panel);

    assertAndLog("$('#anId');", jsStatement.$(component).render());
  }
View Full Code Here

    assertAndLog("$('span');", jsStatement.$(null, "span").render());
    jsStatement = new JsStatement();

    final WebMarkupContainer component = new WebMarkupContainer("anId");

    Panel panel = new DivTestPanel("panelId");
    component.setMarkupId("anId");
    panel.add(component);

    tester.startComponentInPage(panel);

    assertAndLog("$('#anId span');", jsStatement.$(component, "span").render());
  }
View Full Code Here

  {
    super.setUp();

    effectBehavior = new EffectBehavior(new Hide());

    Panel panel = new DivTestPanel("panelId");
    component = new WebMarkupContainer("anId");
    component.setMarkupId(component.getId());
    component.setOutputMarkupId(true);
    component.add(effectBehavior);
    panel.add(component);

    tester.startComponentInPage(panel);
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.panel.Panel$PanelMarkupHelper

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.