Hello:

I created a struts.properties in my WEB-INF/classes
directory.  In it, I placed these values:

format.integer={0,number,integer}

Now, in my jsp page, I have this code:

<s:iterator value="navCategories">
  //...
  <s:text name="format.integer"><s:property
value="retailProductsCount"/></s:text>
  //...
</s:iterator>

navCategories is a Collection of Category objects
where they have a field called retailProductsCount.

The jsp code above is showing the correct value for
retailProductsCount, but it is not formatted with
the integer formatter.

Any ideas what I did wrong?

Thanks,
        Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to