myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rudy De Busscher (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (EXTVAL-124) The message for 'source' target is not correct in the case of DateIsType.same
Date Thu, 27 Jan 2011 12:41:44 GMT

    [ https://issues.apache.org/jira/browse/EXTVAL-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987532#action_12987532
] 

Rudy De Busscher commented on EXTVAL-124:
-----------------------------------------

For the source component, the  {0} is the label of the source field itself (which isn't very
helpful).  Should behave the same as in the case of the MessageTarget.target where we see
the other date value that is used to compare with.

> The message for 'source' target is not correct in the case of DateIsType.same 
> ------------------------------------------------------------------------------
>
>                 Key: EXTVAL-124
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-124
>             Project: MyFaces Extensions Validator
>          Issue Type: Bug
>          Components: Property Validation
>    Affects Versions: 1.2.4, 2.0.4
>            Reporter: Rudy De Busscher
>            Priority: Minor
>
> Using a validation annotation like this:
> @DateIs(type = DateIsType.same, valueOf = "endDate", validationErrorMsgTarget = MessageTarget.source)
> results in an error message that contains the text 'before'
> Date has to be before {0}

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


Mime
View raw message