ISQ 0.1b review
DownloadISQ (I Ask You) is a tag extension library that helps you to make HTML forms. Inspired by the "input" tag of The Apache Software F
|
|
ISQ (I Ask You) is a tag extension library that helps you to make HTML forms.
Inspired by the "input" tag of The Apache Software Foundation (http://www.apache.org/), isq adds a support for client-side input validation by JavaScript checking.
Like the original library isq can prepopulate form element getting values back from a request or a JavaBean.
Enabling javascript check, you can easily choose which input are mandatory and which not before the form will be submitted.
Enjoy with "input", "checkbox", "select", "radio" and "textarea".
Retriving values explanation
Like the "input" taglib provided by The Apache Software Foundation, ISQ looks for value by:
Bean
ServletRequest
Default attribute
At first ISQ looks for a bean named as bean attribute of the tag or for main form's bean attribute. If exists a getter with the same name of the tag's name attribute then that property is the value of the tag.
Then if request (POST or GET) contains a value named as one of the tags present into the ISQ "form", so that value is the value of the tag
At least, if a value has not found and the default attribute is filled, then that value is the value of the tag
ISQ 0.1b keywords