[ 
https://issues.apache.org/jira/browse/TRINIDAD-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020360#comment-13020360
 ] 

Scott O'Bryan commented on TRINIDAD-1571:
-----------------------------------------

Interestingly though, Octal is an appropriate representation of an integer.

The patch looks straight forward enough, but I'm wondering if there are 
functional implications of forcing this to be base 10.

Also, I'm not sure your description is very clear.  Is this happening on an 
OutputText or an InputText?  You mention being able to enter values.  I 
"assume" that your referring to your EL..

> If outputText is being bound with a field having Integer type. Then textbox 
> doesn't accepts values like 08,008,009,09,010 etc.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1571
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1571
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.7-plugins, 1.2.7-core
>         Environment: Application Server: Jboss, on Cent OS and Client side: 
> operating system - windows XP professional ,
>            Reporter: gaurav raval
>         Attachments: ParseIntOctal.patch
>
>   Original Estimate: 5h
>  Remaining Estimate: 5h
>
> 'outputText' component of trinidad library is being used for displaying text 
> box on the GUI for a web application.
> If outputText is being bound with a field having Integer type. Then textbox 
> doesn't accepts values like 08,008,009,09,010 etc.
> It accepts preceding zero till 7 (01,02,03,04,05,06,07) but it doesn't accept 
> values equal to 8 or greater than 8 with preceding zero even though those 
> values are integer.
> Trinidad component renders message as "Enter an integer" besides the textbox 
> on ui.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to