Well, actually, I like that solution.

     Erik.


severian wrote:
> 
> OK Erik, it seems like the following works:
> 
> class MyContainer extends WebMarkupContainer {
>         public MyContainer(String id) {
>             super(id);
>         }
> 
>         @Override
>         protected void onComponentTagBody(final MarkupStream markupStream,
> final ComponentTag openTag) {
>             super.onComponentTagBody(markupStream, openTag);
>             getResponse().write("*");
>         }
> }
> 
> I'm happy with this solution, unless anyone tells me otherwise.  I can
> easily change MyContainer to add a style (or whatever) as my requirements
> change, without touching the markup.
> 
> Thanks again,
> Severian.
> 

-- 
View this message in context: 
http://www.nabble.com/Accessing-Template-Value-of-a-Label-tf3796116.html#a10738893
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