Issue Details (XML | Word | Printable)

Key: JAVAEETUTORIAL-122
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Kim Haase
Reporter: Brant Gurganus
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaeetutorial

clarify UI restraint versus validation

Created: 10/Jul/12 11:27 PM   Updated: 16/Aug/12 01:31 AM   Resolved: 27/Jul/12 03:10 PM
Component/s: doc
Affects Version/s: 6.0.7-5
Fix Version/s: 6.0.7-5

Time Tracking:
Not Specified

Tags:
Participants: Brant Gurganus and Kim Haase


 Description  « Hide

This issue occurs on the page titled "Using the Standard Validators" at http://docs.oracle.com/javaee/6/tutorial/doc/bnatc.html. Under the section titled "Using LongRangeValidator" you might clarify that size does not do any validation. Size only sets the size attribute on the rendered input field which, only in that rendered interface will restrict input to a certain length. There is nothing preventing an appropriate GET or POST request from specifying a field value that exceeds the set length. To actually validate the length, you'd need a validator.



Kim Haase added a comment - 27/Jul/12 03:10 PM

Removed the irrelevant sentence about the size attribute of inputText.


Kim Haase added a comment - 24/Jul/12 05:45 PM

Thanks for catching this misleading language.