|
solution to your JSF parameters problem
hi,
I am new to this forum, anyways, the solution to your problem:
In the "doRegistration" method of your bean, get the HttpServletRequest object as below:
HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstanc e().getExternalContext().getRequest();
then,
use the below code to get the paramters of each of the "id":
String x = request.getParameter("registrationForm:lastname");
NOTE: The "colon" is very important. formid:component_id
Hope this definitely help you.
Srinivas.
|