Skip to Content
avatar image
Former Member

application parameter

hi all,

how to define application paremeters in my WebDynpro iView template and how to read it?

regards,

Shreeharsha

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 31, 2010 at 01:19 PM

    Hi,

    When you create web dynpro template based iView; there is property of iView called appliucation parameter. You need to mention application parametere in this property field for example XYZ="ABC". In this example XYZ is app. parameter and value of it is ABC.

    Reading application parameter can be done using one out of following standard apis: wdControllerAPI or WDComponentAPI

    Regards,

    Gangadhar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 31, 2010 at 01:23 PM

    Hi,

    you can read the values on that way.

    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    wdContext.currentContextElement().setKey(request.getParameter("key"));
    

    If the value ist key.

    regards

    Gunter

    Add comment
    10|10000 characters needed characters exceeded