[ http://mc4j.org/jira/browse/STS-337?page=comments#action_10604 ] 
            
Andy commented on STS-337:
--------------------------

Does this work?

@Validate(converter=PercentageTypeConverter.class)

> Text field with formatType="percentage"  multiplies its value on each reload
> ----------------------------------------------------------------------------
>
>                 Key: STS-337
>                 URL: http://mc4j.org/jira/browse/STS-337
>             Project: Stripes
>          Issue Type: Bug
>          Components: Formatting
>    Affects Versions: Release 1.4.2
>            Reporter: Werner Kolov
>         Assigned To: Tim Fennell
>            Priority: Minor
>
> Example from bugzooky:
> <td><stripes:text name="bug.percentComplete" formatType="percentage"/></td>
> In this case a value 0.30 is displayed as "30%" and committed as 30.0 - so on 
> the next reload you get "3000%" and so on. 
> By the way: I've found this example in the example source code, but not in 
> the running application deployed from the provided WAR file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to