[jboss-dev-forums] [Design of JBoss Portal] - JBoss Portal 2.4.0 source org.jboss.portal.portlet.PortletRe

vietanh.vu do-not-reply at jboss.com
Tue Dec 5 21:30:56 EST 2006


Hi everyone,

In this file, at line 210 

  |             if (type == ACTION_TYPE)
  |             {
  |                this.navigationalstate = null;
  |                this.interactionState = query;
  |                this.form = form;
  |             }
  |             else
  |             {
  |                this.navigationalstate = query;
  |                this.interactionState = null;
  |                this.form = null;
  |             }
  | 
I don't know if the this.form is deliberately set to null in this case. It means that if the user requests the portlet in render mode, it will discard all form data. For example, 

  | <form action="<portlet:renderURL/>" method="post">
  |    <input type="hidden" name="xxx" value="1"/>
  | </form>
  | 
when user submit this form, the xxx=1 will be discarded completely.

Is it a bug, or a feature?

http://vpensieve.blogspot.com/2006/12/jboss-portal-240-revisit.html


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991514#3991514

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991514



More information about the jboss-dev-forums mailing list