TOC PREV NEXT INDEX

AddressForm


ICEfaces AddressForm (address.war) shows how a prototypical address form can be validated and updated on the fly using partial submits and without fully refreshing the page.

Figure 5 AddressForm Sample Application



Typically, this type of form would require a user to fill in all the fields and submit it for server-side validation. That, or a raft of JavaScript code to do client-side validation. However, using JavaServer Faces components and ICEfaces, you can do a partial submit with each field entry and only offer the submit button when the form is completely validated. As each field is entered, a partial form submission is sent to the server and only those components that require updates are changed. It's rich, interactive, efficient, and lightweight. Most importantly, it doesn't require any JavaScript programming.



Copyright 2005-2009. ICEsoft Technologies, Inc.
TOC PREV NEXT INDEX