This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have a 5 tabs in a tabbed pane which is a custom component, each of which is placed in a different form. Each of the tab contains datatables with some command buttons. When i need to do any add, edit operations for each of the datatable record, it calls the getter method which fires a database query. How do i stop submitting all the tabbed panes i.e calling all the other tabs. This problem is not solved even after putting the bean in session scope..
Please reply soon if any information is available..
Your question is a little unclear, but the JSF form tag renders on the user's browser as an HTML FORM tag, and thus obeys the same rules as plain HTML. Which is that ONLY the data defined within that form will be sent when you submit the form. So if each tab has a JSF form on it, each tab should submit its data and only its data, not the data from outside the control or on any other tab. To submit all tabs from a single submit operation, you'd have to move the form tag to include the entire set of tabs.
Customer surveys are for companies who didn't pay proper attention to begin with.