Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Huge JSF Froms

 
alan wamser
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18016
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic