URL getRequestParameterMap not working
Posted
by DD
on Stack Overflow
See other posts from Stack Overflow
or by DD
Published on 2010-05-19T15:33:19Z
Indexed on
2010/05/20
11:30 UTC
Read the original article
Hit count: 130
I'm using IceFaces 1.8.2 and trying to get a parameter from the URL using:
((HttpServletRequest) FacesContext.getCurrentInstance()
.getExternalContext().getRequest()).getParameter(name);
This works fine on the inital request. However, when I do a partialSubmit on a component, it stops working. I'm assuming that its to do with how requests are processed when partial submits are done.
Is there a workaround? At the moment, I'm having to
((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext()
.getRequest()).getQueryString();
and manually pass the query string.
Thanks.
© Stack Overflow or respective owner