struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: $ formatting in html options tag
Date Thu, 19 Jun 2003 15:43:26 GMT
The JSTL's fmt tags have some of this capability.  Why can't you use an 
<option value="10000">$10,000</option> to send back an unformatted value to 
the form?


>in labelProperty getDescription i will get only amounts 1000,2000,3000 etc 
>from the presetation layer i need to display these values as 
>$1000,$2000,$3000 etc.Is there a way to append formatting $ in the 
>html:options tag other than adding $ to the collection.if i add $ to the 
>collection then again sending back to database i need to remove $
>	<html:select property="myProperty">
>	<html:options collection="options" property="value" 
>	</html:select>
>To unsubscribe, e-mail:
>For additional commands, e-mail:

The new MSN 8: smart spam protection and 2 months FREE*

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message