6 Replies Latest reply on Dec 6, 2006 4:57 AM by Viet

    JBoss Portal 2.4.0 source org.jboss.portal.portlet.PortletRe

    Viet-Anh Vu Newbie

      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