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 attached to the label.... is
this possible? 

ratingValue = new Label ("ratingValue");

<some sorta code>

add(ratingValue);

Ive had trouble adding it at the HTML level, it just doesnt want to go on
the same line which is annoying.

Thanks guys

-- 
View this message in context: 
http://www.nabble.com/Adding-text-to-labels-prior-to-rendering-tf3925770.html#a11133195
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