Package org.apache.wicket.ajax.markup.html.componentMap

Examples of org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage


   * {@link org.apache.wicket.MarkupFragmentFinder#find(org.apache.wicket.Component)}.
   */
  public void testFind()
  {
    new WicketTester();
    Page page = new SimpleTestPage();
    Component panel = page.get("testPanel");
    assertNotNull(panel);
    MarkupStream markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);

    panel = page.get("testPanel:baseSpan");
    assertNotNull(panel);
    markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);

    page = new InlinePanelPage_1();
    panel = page.get("myPanel1");
    assertNotNull(panel);
    markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);
  }
View Full Code Here


   * {@link org.apache.wicket.MarkupFragmentFinder#find(org.apache.wicket.Component)}.
   */
  public void testFind()
  {
    WicketTester tester = new WicketTester();
    Page page = new SimpleTestPage();
    Component panel = page.get("testPanel");
    assertNotNull(panel);
    MarkupStream markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);

    panel = page.get("testPanel:baseSpan");
    assertNotNull(panel);
    markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);

    page = new InlinePanelPage_1();
    panel = page.get("myPanel1");
    assertNotNull(panel);
    markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);
  }
View Full Code Here

   * Test method for {@link org.apache.wicket.MarkupFragmentFinder#find(org.apache.wicket.Component)}.
   */
  public void testFind()
  {
    WicketTester tester = new WicketTester();
    Page page = new SimpleTestPage();
    Component panel = page.get("testPanel");
    assertNotNull(panel);
    MarkupStream markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);

    panel = page.get("testPanel:baseSpan");
    assertNotNull(panel);
    markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);
   
    page = new InlinePanelPage_1();
    panel = page.get("myPanel1");
    assertNotNull(panel);
    markupStream = new MarkupFragmentFinder().find(panel);
    assertNotNull(markupStream);
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage

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.