Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES_SPEC_PUBLIC-759
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: domdorn
Votes: 5
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaserverfaces-spec-public

add message attribute to f:validateLongRange etc.

Created: 03/Mar/10 03:09 PM   Updated: 20/Dec/13 05:32 PM
Component/s: Validation/Conversion
Affects Version/s: 2.0
Fix Version/s: 2.3

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 759
Status Whiteboard:

cat2 vdldoc size_small importance_large

Tags:
Participants: domdorn, Ed Burns and rogerk


 Description  « Hide

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.



Ed Burns added a comment - 04/Mar/10 12:22 PM

cat2


Ed Burns added a comment - 22/Mar/10 11:41 AM

vdldoc


Ed Burns added a comment - 15/May/10 07:54 AM

These are targeted at 2.1.


Ed Burns added a comment - 08/Jun/10 01:56 PM

triage


Ed Burns added a comment - 22/Jun/10 09:05 PM

sheetalv


rogerk added a comment - 27/Oct/10 02:10 PM

triage


Ed Burns added a comment - 06/Jun/11 05:35 PM

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