You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kommana, Sridhar" <Ko...@principal.com> on 2003/06/19 17:39:23 UTC

$ formatting in html options tag

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