Re: [Wicket-user] Adding text to labels prior to rendering

2007-06-15 Thread Ballist1c
Thanks mate, I managed to do a bit of a hack job which will suffice :) but yeah the idea is to simply append txt to a label... like the label may contain hi, and after I generate the label, i was wondering if it was possible to append how are you? for instance, turning the label into hi, how

[Wicket-user] Adding text to labels prior to rendering

2007-06-14 Thread Ballist1c
Hey guys, I am in a situation where I have created labels with data extracted from my components automatically , but I want to format it before I throw it out to the display. The context is that I am retrieving a number, which I want to be displayed as a percentage and I would like the % symbol

Re: [Wicket-user] Adding text to labels prior to rendering

2007-06-14 Thread Eelco Hillenius
If I understand what you want, StringResourceModel might do the trick. It has extensive Javadocs on how to use it. Eelco On 6/14/07, Ballist1c [EMAIL PROTECTED] wrote: Hey guys, I am in a situation where I have created labels with data extracted from my components automatically , but I

Re: [Wicket-user] Adding text to labels prior to rendering

2007-06-14 Thread Martijn Dashorst
Don't put a space between the closing tag and the % sign: span wicket:id=foo[1231312]/span% Notice the lack of space. Another option is to use a nbsp; if you want whitespace. Martijn On 6/15/07, Ballist1c [EMAIL PROTECTED] wrote: Hey guys, I am in a situation where I have created labels