You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jason Long <su...@sbcglobal.net> on 2005/02/24 07:03:01 UTC

use fmt instead of bean:write??

I am attempting to switch from bean:write to jstl fmt.  I need the
equivalent of the following:

<bean:write name="pipe" property="size" formatKey="format.decimal.3"/>

This does not work.
<fmt:message key="format.decimal.3">
  <fmt:formatNumber value="${pipe.size}"/>
</fmt:message>

I have the fmt set up correctly and it is finding my resource bundle, but my
syntax is wrong.


Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com



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