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

Examples of org.apache.wicket.markup.html.panel.Fragment.queue()


    page.setPageMarkup("<a wicket:id='a'></a><f wicket:id='fragment'></f><b wicket:id='b'></b>"
      + "<wicket:fragment wicket:id='f'><r wicket:id='r'></r><s wicket:id='s'></s></wicket:fragment>");
   
    Fragment fragment = new Fragment("fragment", "f", page);

    fragment.queue(r, s);
    page.queue(a, b, fragment);
   
    assertThat(page, hasPath(new Path(a)));
    assertThat(page, hasPath(new Path(b)));
    assertThat(page, hasPath(new Path(fragment, r)));
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.