cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Web Dynpro IView properties

Former Member
0 Kudos

Hi gurus, I'm facing a problem during my Web Dynpro Java development:

I created a WD application and deployed it in portal and then I created a Web Dynpro Iview to show my application in portal.

Now I want to read the value of one of the properties that I set in this Iview and use the value in the java code of the application.

I'm going crazy and I can't find any solution after hours of search on SDN.

Can someone help me pelase?

regards

Mattia

Accepted Solutions (0)

Answers (2)

Answers (2)

sanyev
Active Participant
0 Kudos

Hi Mattia,

If you want to retrieve a user defined parameter from the Webdynpro iVew then you can use the following code.

IWDProtocolAdapter protocolAdapter =
	WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
 
String param = request.getParameter("param");

For this to work in your Webdynpro iView you need to set the forward parameters to *. Then you can configure application parameters in the iview and that can be retrieved from with in Webdynpro application.

Regards,

Sanyev

ravindra_bollapalli2
Active Contributor
0 Kudos