1 Reply Latest reply on Sep 5, 2009 6:22 PM by Gabriel Muench

    "support-public-render-paramter" or "coordination feature"

    Gabriel Muench Newbie

      hello everybody,

      iam using jboss portal 2.7.2 with jsf 1.1.14, richfaces 3.1.1 and of course the portletbridge 1.0.0.CR1.

      Now i have to send Integer Parameters from Portlet A to Portlet B.
      Therefor i found an example which says,

      1. in the protlet.xml


      2. also in portlet.xml
       <qname xmlns:x="http://www.sun.com/params">x:userNumber</qname>

      3. in the jsf file of the sending portlet (...xhtml)
       <h:form id="helloForm">
       <h:inputText id="userNo" value="#{UserNumberBean.userNumber}"

      4. in the jsf file (...xhtml)
      FacesContext context = FacesContext.getCurrentInstance();
      PortletRequest request = (PortletRequest)context.getExternalContext().getRequest();
      return request.getParameter("helloForm:userNo");

      to get the public paramter.

      i become no error, but also not the parameter.

      the question is, do someone knows how to send a parameter from portlet A to B?

      Thx for reading my question!

        • 1. Re:
          Gabriel Muench Newbie

          I have to correct my statements:

          3. This point is in the xhtml file of the sending portlet. It use a java file which stores this value.

          4. This point is in the java file of the receiving portlet. here i should receive the parameter from the request. afterward it will be picked up from the xhtml file.