3 Replies Latest reply on Dec 14, 2007 9:16 AM by mcolak

    Accessing Window

    david.hoffman

      I am attempting to develop a portlet that always retrieves information from the same URL, but the URL has a queryString parameter which must be sent. This parameter is different for every "Window" that is displayed.

      I see that when I use the Admin UI I can set a property for the Window after creation. What I do not see any reference to is how you would access that property at run-time.

      Thank you in advance for your assistance.




      David Hoffman

        • 1. Re: Accessing Window

          Look at portlet properties and preferences.

          • 2. Re: Accessing Window
            david.hoffman

            Properties seems to be the way to go, the problem I am having is not knowing how to access the property itself via code.

            For example I have a property called "qStringProperty" with a value of "0013"

            I have tried:

            request.getProperty("qStringProperty");


            as well as

            request.getParameter("qStringProperty");


            but both return null.

            I am sure this is a simple thing to do, just can't seem to find the reference to actually how to do it.

            • 3. Re: Accessing Window
              mcolak

              I hava same problem too. How can solve this type of problem