Skip to Content
author's profile photo Former Member
Former Member

URL Paramter of Page for a WebDynpro iView

Hello,

I have a page with two WebDynpro iViews in it. I call the page and want to get the URL Paramteres in the page in the WebDynpro aplications. Is there any configuration I have to make that all parameters are send through?

Best regards,

Frank

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 03, 2006 at 03:57 AM

    Hi

    Make sure that your URL has parameters in it like &color=red

    Use this code in the wdDoInit method of your View:

    WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("color")

    or

    WDWebContextAdapter.getWebContextAdapter().getRequestParameter("color")

    Both these statememts will retreive the value as red.

    You may also refer to my posting in this Threadhttps://www.sdn.sap.com/irj/sdn/thread?threadID=172812&messageID=1937716">Thread>

    Hope this Helps.

    Pls reward points if Helpful.

    Murali.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanx for your help.

      The main problem was to get the parameters through the Portal Page and iView.

      I solved that and with your code I was able to get the parameter.

      Thanx!