Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Submitting multiple parameters on jsf  RSS feed

 
Kingsley Mullers
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've created tabbed panes like this, one containing personal details, one containing address details, one containing account details and so on so forth. All these jsf pages contain a command button called next to tab to the next page until the last one which actually submit data to the database. How do i submit this data, do i submit it page by page or store the data somewhere and submit data all at once?
 
Tim Holloway
Bartender
Posts: 18705
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you define a single form and place the entire set of tabs within it, all the items from all the tabs will be transmitted whenever you click any of the submit buttons within that form.

If you want the information to be transmitted to the server in stages, put a form within each tab definition and give each form a submit/next button.
[ February 25, 2008: Message edited by: Tim Holloway ]
 
Kingsley Mullers
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your response, but if you want to pass these values to a business delegate bean obviously in a single object, would that have a different approach?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!