You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Roman Nikiforov <rn...@gmx.net> on 2006/04/27 15:50:06 UTC

request parameters from controller servlet

Hi,
I'm trying to extend some not JSF application with JSF. Appliation uses 
controller servlet and I need to get parameter that this controller set. 
If I propery understand, I have 2 Request objects, one for controller 
servlet and one for Faces servlet. But I have no idea how I can get 
Controllers Request.
In other words. When I try something like 
<f:verbatim><p>test:<%=(Collection)pageContext.getRequest().getAttribute(param)%></p></f:verbatim>
I have Collection instance. But I need it in managed bean. Someting like 
FacesContext.getCurrentInstance().getExternalContext().getRequest().getAttribute(param) 
doesn't work. I tried it also with .getApplicationMap(param) and 
getRRequestMap(param) and it gives me also null. Should I ask 
ApplicationMap about ControllerServlet? If so, what is the key name?
Thanks,
Roman