[jboss-user] [JBoss Portal] - Re: Integration with bea weblogic portal

emigcrd do-not-reply at jboss.com
Mon Apr 14 15:59:30 EDT 2008


Hi, im trying to pass parameters from the portal to portlets, for example, when an end user log on in the portal, the user get an id (an id session for example), i need to pass this id to the portlet, my consumer is bea and im using   a backing file like:

http://edocs.bea.com/wlp/docs81/wsrp/custxfer.html

my backing file only contain :

    public class CustomDataBacking extends AbstractJspBacking
    {

        public boolean preRender(HttpServletRequest request, 
          HttpServletResponse response)
       {
          request.setAttribute("zipCode", "80501");
          return true;
       }
    }

in the producer in the method doView i try to get this value with:

protected void doView(RenderRequest rRequest, RenderResponse rResponse)
throws PortletException, IOException, UnavailableException
{
    rResponse.setContentType("text/html");
    String value=(String) rRequest.getParameter("zipCode");
}

but value is null. 

exist other method to do this?


thanks for you help

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

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



More information about the jboss-user mailing list