I would like to implement the following using jsf 1.2:
- press a button
- run an action on the server processing that info
- the navigation will be made according to the info
I tried using an hidden field in the following way but without success:
In the java script I put a string in the inputHidden field "form:hidden"...
In the .jsp page I put the hidden element just under the h:form ...
In the .jsp page I also put the commandButton for every row af a complex table...
MyBean contains the setter and getter functions for the hidden element...
What happens when I press the button is the following:
- the MyBean setHidden is called but the string h is null (why??)
- the action is called but it returns fail and the navigation is not the expected one
Is there something I missed conceptually?