[JAVASERVERFACES_SPEC_PUBLIC-759] add message attribute to f:validateLongRange etc. Created: 03/Mar/10  Updated: 01/Aug/14

Status: Open
Project: javaserverfaces-spec-public
Component/s: Validation/Conversion
Affects Version/s: 2.0
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: domdorn Assignee: Unassigned
Resolution: Unresolved Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 759
Status Whiteboard:

cat2 vdldoc size_small importance_large


 Description   

It seems very unnatural for me to not have a "message" or "validatorMessage"
attribute on the following tags:

f:validateDoubleRange
f:validateLength
f:validateLongRange
f:validateBean
f:validateRegex
f:validateRequired
f:validator

while I can set a single validatormessage on, e.g. the h:inputText tag alone.

If I have multiple validators on one tag, I want to tell the user which
validation failed with a custom message. This is not possible currently
without creating an own validator that handles the different cases, although
all the required components do already exist and just need to be chained
together.



 Comments   
Comment by Ed Burns [ 04/Mar/10 ]

cat2

Comment by Ed Burns [ 22/Mar/10 ]

vdldoc

Comment by Ed Burns [ 15/May/10 ]

These are targeted at 2.1.

Comment by Ed Burns [ 08/Jun/10 ]

triage

Comment by Ed Burns [ 22/Jun/10 ]

sheetalv

Comment by rogerk [ 27/Oct/10 ]

triage

Comment by Ed Burns [ 06/Jun/11 ]

Bulk assign all of Sheetal's spec issues to me.

Comment by Ed Burns [ 01/Aug/14 ]

Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

Comment by Manfred Riem [ 01/Aug/14 ]

Set priority to Minor

Generated at Tue Jul 07 18:00:50 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.