struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Format Conversion
Date Fri, 15 May 2015 08:17:43 GMT
2015-05-15 10:13 GMT+02:00 Dhandapani, Rajeswaran <rdhandapani@inautix.co.in>:
> Hi All,
>
> I have the below code to display the cost in currency format and the iterator iterates
over hash map. All the values are displayed inside property tag except the formatted "value.cost".
Could you please help me to fix the display.
>
>
> <s:iterator value="baseMap">
> <tr align="center" height="25px;">
> <td><s:property value="key" /></td>
> <td><s:property value="getText('format.money',{value.cost})" /></td>
> <td><s:property value="value.status" /></td>
> </tr>
> </s:iterator>

<td><s:property value="%{getText('format.money',{value.cost})}" /></td>


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message