You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Heinen (JIRA)" <de...@myfaces.apache.org> on 2007/07/06 16:18:05 UTC

[jira] Created: (TOMAHAWK-1048) ValidatorException should display submitted values

ValidatorException should display submitted values 
---------------------------------------------------

                 Key: TOMAHAWK-1048
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1048
             Project: MyFaces Tomahawk
          Issue Type: Improvement
          Components: Validators
    Affects Versions: 1.1.5
         Environment: tomahawk sandbox 1.1.5
            Reporter: Michael Heinen
            Priority: Minor


The submitted or entered values should be used in the ValidatorException instead of calling toString() on the converted objects.
If dates are validated then the method toString() is called on the date object which results in another format including timestamp.
I think it would be better to present the submitted/entered values to the user.
Therefore I want to apply the converter to the foreignComponent, if any is associated.
Moreover the submittedValue of the uiComponent should be redisplayed in the errorMessage.



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


[jira] Updated: (TOMAHAWK-1048) ValidatorException should display submitted values

Posted by "Michael Heinen (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Heinen updated TOMAHAWK-1048:
-------------------------------------

    Status: Patch Available  (was: Open)

> ValidatorException should display submitted values 
> ---------------------------------------------------
>
>                 Key: TOMAHAWK-1048
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1048
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Validators
>    Affects Versions: 1.1.5
>         Environment: tomahawk sandbox 1.1.5
>            Reporter: Michael Heinen
>            Priority: Minor
>
> The submitted or entered values should be used in the ValidatorException instead of calling toString() on the converted objects.
> If dates are validated then the method toString() is called on the date object which results in another format including timestamp.
> I think it would be better to present the submitted/entered values to the user.
> Therefore I want to apply the converter to the foreignComponent, if any is associated.
> Moreover the submittedValue of the uiComponent should be redisplayed in the errorMessage.

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