just use markup inheritance directly. your base page class can have
components and markup that are inherited by all subclasses:

http://wicket.sourceforge.net/ExampleMarkupInheritance.html
http://www.javalobby.org/java/forums/t69357.html


slava.imeshev wrote:
> 
> Hello everyone,
> 
> We are currently helping a client with establishing web application 
> development. We are considering several variants and right now we are 
> looking at Wicket. I have a couple of questions. I'll really appreciate 
> your feedback.
> 
> We want to create a base page that other pages would inherit. This page 
> would provide a unified look and feel. It would contain a header 
> navigation and a bread cumb on top, a navigation pane on the left and the 
> main content panel on the righ. The content of most of those items is 
> going to be dynamic. As an example, selecting "Actions" on the top nav 
> menu bar would show "Actions" page with its own set of commands on the 
> left nav pane.
> 
> The question is, what components are the best to serve as containers for 
> dymanic content? Initially (and naturally) I thought that that would be 
> Panel, but apprettly it required ID-ing all the content in the markup 
> which doesn't fit the requirement for dynamic content.
> 
> Regards,
> 
> Slava Imeshev
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re-using-page%27s-look-and-feel-tf3978581.html#a11295535
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to