-
1. Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
theute Dec 6, 2006 2:20 AM (in response to vietanh.vu)Wrong forum.
You must not use request parameters in render mode only render parameters.
(And you should check before you blog)
Moving topic. -
2. Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
vietanh.vu Dec 6, 2006 2:24 AM (in response to vietanh.vu)
You must not use request parameters in render mode only render parameters.
Why I can't use request parameters in render mode? Is that documented somewhere in the JSR168? Please enlighten me. -
3. Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
theute Dec 6, 2006 2:35 AM (in response to vietanh.vu)Because the render phase must have no side-effect.
And the JSR 168 tells that you cannot rely on obtaining the request parameters on render calls, only render parameters. -
4. Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
vietanh.vu Dec 6, 2006 2:51 AM (in response to vietanh.vu)I found it
Thank you -
5. Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
julien1 Dec 6, 2006 4:48 AM (in response to vietanh.vu)Wowww... someone that diggs the code :-)
Yes actually it is discarded on purpose. -
6. Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
julien1 Dec 6, 2006 4:57 AM (in response to vietanh.vu)Actually I read several posts of your blog, in particular the POST/GET with form. Here is the main reason of why we don't want to have FORM+GET :
The problem of FORM GET is that there is no specification that says how the browsers should merge the parameters of the URL of the form to submit with the form fields.
As the portal may encode data in the URL parameters, depending on the browsers, those parameters may be discarded partially or completely and the portal request may not be able to occur.