1 Reply Latest reply on Nov 27, 2008 6:00 PM by Thomas Heute

    response.createRenderURL doesn't work properly on resolved p

    Andriy Kucher Newbie

      Seems like now response.createRenderURL(linkToNode) doesn't work properly anymore on on resolved poerlets from other pages.

       PortalNode thisNode = request.getPortalNode().getParent();
       PortalNode linkToNode = thisNode.resolve("../../default/Reservation/ReservationPortletWindow");
       PortalNodeURL pageURL = response.createRenderURL(linkToNode);
      
       request.setAttribute("urlOnReservationForm", pageURL.toString());
      

      results in
      /portal/default/Reservation/ReservationPortletWindow
      

      instead of previous portal 2.6 behaviour
      /portal/default/Reservation/ReservationPortletWindow?action=2
      

      As you can see necessary parameters are missing.