hi,
I am a beginner of
jsf, I am studying jsf for more than two week.
My very big problem is passing parameter from jsf file to bean.
I search from the internet but still i did not find any solution that works properly.
I used several code like:
1.
String param = (String)FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("FormID:paramID");
2. ExternalContext econ = FacesContext.getCurrentInstance().getExternalContext();
HttpServletRequest request = (HttpServletRequest) econ.getRequest();
System.out.println("Requested parameter: "+ request.getParameter("paramID"));
but this codes does not works.What shall i do...???
Please help me
.
Thanks in advance,
*kato_tyo*