You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kevin J. Menard, Jr. (JIRA)" <ta...@jakarta.apache.org> on 2007/02/05 00:15:06 UTC

[jira] Updated: (TAPESTRY-572) NumberValidator should accept Strings

     [ https://issues.apache.org/jira/browse/TAPESTRY-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin J. Menard, Jr. updated TAPESTRY-572:
------------------------------------------

    Description: 
Applying NumberValidator to a TextField will allow a number to be validated as a number and stored as a String.  However, NumberValidator is not able to take a String and display it as a number.  I think this should be a bidirectional process.  An example of where this would be useful is the following:

I'd like to store a number as a String so I don't lose any prepending 0's (which RDBMSs love to throw out) when persisting the data.  However, I do want to ensure that only a number is valid input.

  was:
Applying NumberValidator to a TextField will allow a number to be validated as a number and stored as a String.  However, NumberValidator is not able to take a String and display it as a number.  I think this should be a bidirectional process.  As an example of where this would be useful is the following:

I'd like to store a number as a String so I don't loose an prepending 0's, which RDBMSs love to throw out, when persisting the data.  However, I do want to ensure that only a number is valid input.


> NumberValidator should accept Strings
> -------------------------------------
>
>                 Key: TAPESTRY-572
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-572
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.0
>            Reporter: Kevin J. Menard, Jr.
>            Priority: Minor
>             Fix For: 4.1.2
>
>
> Applying NumberValidator to a TextField will allow a number to be validated as a number and stored as a String.  However, NumberValidator is not able to take a String and display it as a number.  I think this should be a bidirectional process.  An example of where this would be useful is the following:
> I'd like to store a number as a String so I don't lose any prepending 0's (which RDBMSs love to throw out) when persisting the data.  However, I do want to ensure that only a number is valid input.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org