1.

What Are The Ways To Create A Page In Wicket?

Answer»

There are 2 ways to Create New Wicket Page.

  • create a Page Extending "WebPage" Class.
  • create a Page Extending "BasePage" ( BasePage Should Extend "WebPage").
  • IF you are using first WAY you should Create Whole page with THIER Header,Footer and other parts
  • and that HTML file's content may be large (complicated).This is an Unreliable way to create Page. SUPPOSE you have to change some content in Header part then you have to edit all pages that having Header Content 
  • If you are using second way, first Create your BasePage then you can extend these page to other while creating new page. in that page you have to add only Body part (Content that you WANT to show on that Page) Using <wicket:child />

There are 2 ways to Create New Wicket Page.



Discussion

No Comment Found