Martin Walsh wrote:
> OK, Stripes uses the NumberFormat class with the specific Locale by 
> default, during number type conversion. So is the NumberFormatter 
> automatically called when writing the values out? It does not seem to be 
> at the moment. I also tried to format the value using the taglib 
> explicitly, which seems to format the negative number as "-1", not "1-".
> 
> Should it be as simple as
> 
> <ss:format value="-1" var="test" formatType="number"/>
> <c:out value="${test}"/>
> 
> When browsing in a RTL language.
> 

It seems to be that it gets formatted as "-1" when I use it within a 
<stripes:url> tag as a parameter.  But then when you select the URL, the 
type converters expect "1-".  Hence "-1" is an invalid number, according 
to the number formatter with the specific RTL locale. Is this the 
expected behavior?

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to