13 Replies Latest reply on Sep 30, 2012 1:36 PM by Antoine Herzog

    Portal URL Parameters pass to Portlet ?

    Marc Stuart Newbie

      Hello, I am trying to append parameters to the Portal URL, and the retrieve them in the portlet.


      If I append a name value pair to the portal page




      How can I

      In my portlet.xml I tried using public-render-parameter's ala :


                   <qname xmlns:x="http://sun.com/params">some_param</qname>



      and then in my portlet code



          public void doView(RenderRequest request, RenderResponse response) {
                    try {
                           String someVar = request.getParameter("some_param");


      But that doesn't seem to work, and even


      String urlString = request.getRequestURL().toString();


      doesn't offer me up a URL String.


      Any ideas ??