[JAVAEETUTORIAL-122] clarify UI restraint versus validation Created: 10/Jul/12 Updated: 16/Aug/12 Resolved: 27/Jul/12
|Reporter:||Brant Gurganus||Assignee:||Kim Haase|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
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.
|Comment by Kim Haase [ 24/Jul/12 ]|
Thanks for catching this misleading language.
|Comment by Kim Haase [ 27/Jul/12 ]|
Removed the irrelevant sentence about the size attribute of inputText.