This seems more like a stylesheet problem than a text generation
problem. Do /you/ need to change the way things are presented or your
designer?

In stylesheets you can add a * before or after some markup tag, or
make the border red, or have a line under it, or make the text larger.

Martijn

On 5/22/07, severian <[EMAIL PROTECTED]> 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#a10738690
> 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
>


-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-------------------------------------------------------------------------
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