Yes "sockets and plugs" is the idea I was thinking of, but I thought that i
will have 2 html files SubWebPage.html and some Panel.html. Now I see that
only one is needed for Panel, because the template for SubWebPage will be
from SuperWebPage.

I gonna try it. Thanks!



n8han wrote:
> 
> fero wrote:
>> Hi, is it possible to have more than one <wicket:extend> on one page. 
> 
> I use a convention of adding components at the extension point from an 
> overridable method. The base class just returns an empty component; 
> subclasess return a Panel. I don't know if that's more templates than 
> you want, but keep in mind that the subclass doesn't need a template for 
> itself, just one for each Panel that it creates.
> 
> More here:
> http://technically.us/code/x/plugging-source-lists-into-sockets
> (scroll down to "Sockets and plugs")
> 
> Nathan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/More-extend-points-tf4442899.html#a12688525
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to