This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Huge JSF Froms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Huge JSF Froms" Watch "Huge JSF Froms" New topic

Huge JSF Froms

alan wamser
Ranch Hand

Joined: Jan 30, 2006
Posts: 41
Can someone point me to some design patterns for creating large HTML/JSF forms. I'm going to be taking some of our current paper forms and creating web forms for them. Some of these from are 5 pages long. That's one huge database table and form to create.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15947

If it's 5 paper pages, you should consider AT LEAST 5 screens. Possibly more, since you can't get as much information/input area on a computer screen as you can on a paper page. However, that's a trade-off, since you don't want to confuse people who are familiar with the paper form.

Forms are very frequently divided into zones of related information, and those zones often map to different database tables. So you might find it convenient to front each of those tables with a backing bean and link the backing beans together (via managed properties) to form a unified form environment. Some people might opt for one big master bean to do the entire form, with possibly the zone beans as members of that bean, but that's up to you.

Customer surveys are for companies who didn't pay proper attention to begin with.
wood burning stoves
subject: Huge JSF Froms
Similar Threads
Is JSF powerfull ?
Validation for included forms.
Need parameters in URL !!!
Migrating my app to JSF
JSF: Performance for Mr.Bill