I have a registration page which forwards to a confirm page, how can I get my RegistrationBean to grab the values of my outputLabels
example:-
<h: outputText value="#{reg.email}" />
@managedBean(name="reg"
...
private
String email
getEmail/setEmail
I keep getting 'null', so I guess I shouldn't be using a h: outputText, but what should I be using?
The only other thing I can think to do is add a inputHidden for each param in my confirmation page:
e.g: <h:inputHidden name="email" id="email" value="#{reg.email}" />
Saying that, why has my Bean lost the values for firstname, surname etc yet it is able to display them in the
JSF page?
Here is the code for viewing:-
Enter Details page:
Confirm page:
Bean:
Cheers
KS