do you have a h:form inside the tab or outside the tabPanel?
Outside. I have just one h:form for the whole page.
Can you please provide sample code to reproduce the problem? Thank you in advance!
I've placed a sample project war file here:
Also there is a link to the java source used in the war (it's actually a text file - I couldn't get my IIS server (I hate IIS) to download a file with a .java extension).
Let me know if you need anything else.
I forgot to note that in this sample project, I could not get the valueChangeListener to fire for some reason.
Does RF-78 refer to the problem I was having with the "binding" attribute or the "value" attribute?
The "value" attribute is fixed - thanks for that work!
But I still see that the "binding" attribute does not return the currently selected tab.
Evaluating the "binding" method getValue() returns the equivalent of getOldValue() on a "valueChangeListener." So it's a tab click behind. (But I can't use the "valueChangeListener" because it executes after the methods that initiate the form submit and do logic.)
Evaluating the "binding" method getSelectedTab() returns null.
I use the "value" attribute to have the last selected tab "reselected" when navigating back to the page with the tabs.
I'm trying to use the "binding" attribute to process data on submission.
sounds like the component hadn't succeded to complete the whole lifecycle by the moment you try to get the new value. It happens at UPDATE_MODEL_VALUES phase if component is not immediate and at APPLY_REQUEST_VALUES phase if component is immediate. Can you please check if that is the case?