struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
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?

David

>in labelProperty getDescription i will get only amounts 1000,2000,3000 etc 
>from database.at 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" 
>labelProperty="description"/>
>	</html:select>
>
>Thanks,
>Sridhar
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message