[jboss-user] [JBoss Seam] - Re: Request param acquire
mrobinson28
do-not-reply at jboss.com
Fri Jan 25 12:08:12 EST 2008
This is possible but not with the javax.faces API. You would have to fall back to the servlet API.
Note the differences:
http://java.sun.com/javaee/5/docs/api/javax/faces/context/ExternalContext.html#getRequestParameterMap()
http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#getParameterMap()
I think something like this should work:
| ServletRequest request = (ServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
|
| // the map contains keys as String and values as String []
| Map params = request.getParameterMap();
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123592#4123592
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123592
More information about the jboss-user
mailing list