You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sushant <ga...@gmail.com> on 2008/06/19 13:38:14 UTC
How can i use template in wickets
I want to build a template page and extend it to all my other pages.
How can i do that.
Help Please.
--
View this message in context: http://www.nabble.com/How-can-i-use-template-in-wickets-tp18006702p18006702.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: How can i use template in wickets
Posted by jWeekend <jw...@cabouge.com>.
Sushant,
Wicket makes providing a common look for pages very easy, providing you with
a neat technique called "
http://wicket.apache.org/examplemarkupinheritance.html markup inheritance ".
If you prefer composition, look into using "
http://cwiki.apache.org/WICKET/panel.html Panel "s and/or "
http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html
Border "s.
Most people prefer markup inheritance these days, but a combination of all
the above can be very powerful too.
Regards - Cemal
http://jWeekend.co.uk http://jWeekend.co.uk
Sushant wrote:
>
> I want to build a template page and extend it to all my other pages.
> How can i do that.
> Help Please.
>
--
View this message in context: http://www.nabble.com/How-can-i-use-template-in-wickets-tp18006702p18007783.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: How can i use template in wickets
Posted by Brill Pappin <br...@pappin.ca>.
The short answer is RTFM.
See:
http://cwiki.apache.org/WICKET/reference-library.html
There are several ways, but the one I like most is "Markup
inheritance". See:
http://cwiki.apache.org/WICKET/markup-inheritance.html
... but, I also use panels extensively.
- Brill Pappin
On 19-Jun-08, at 7:38 AM, Sushant wrote:
>
> I want to build a template page and extend it to all my other pages.
> How can i do that.
> Help Please.
> --
> View this message in context: http://www.nabble.com/How-can-i-use-template-in-wickets-tp18006702p18006702.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org