aspose file tools*
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
Author

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.

Thanks!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Huge JSF Froms