File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17417

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Huge JSF Froms
jQuery in Action, 3rd edition