getRequestParameterMap « IceFaces « JSF Q&A





1. URL getRequestParameterMap not working with partialSubmit    icefaces.org

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 ...

3. getExternalContext().getRequestParameterMap() is empty    icefaces.org

Hi, kncvetko I tried to reproduce your problem but I did get the map and also the parameter. Is your code similar to this? Map map = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap(); Otherwise it may be related to when it's called. If possible, could you post some of your code or describe when did you make such a call?