cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Parameter from a jsp dynpage to a web dynpro component

Former Member
0 Kudos

Hi,

what is probably the best way, to pass parameters from a jsp dynpage to a web dynpro component?

I would like to avoid, passing them as GET parameters and it should be possible to transfer e.g. a list.

Any suggestions?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ayyapparaj,

thanks for this answer!

Do you have some useful resources to get introduced to these plugs?

Former Member

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rohit,

thanks for the answer! I have another three questions:

1. Is this also possible with POST?

2. Is there another way? E.g. The EPCF Client Data Bag?

3. How can complex types be transfered?

Former Member
0 Kudos

Hi,

1. Is this also possible with POST?

Pl go through this post

Regards

Ayyapparaj

Former Member
0 Kudos

Thank you!

Is it also possible to start a web dynpro application with these plugs? Assumed the WD application should not be interrupted, but started with several parameters?

Former Member
0 Kudos

Hi Stefan,

The answer is yes, you can start WD application with URL parameters, you need to define start plug with the parameters and then you can construct the URL

http://<host>:<port>/webdynpro/dispatcher/TestApp/TestApp?param1=val1&param2=val2. You can get this parameters directly if you define your parameters in Startup plug with the same name(e.g. in this case param1 and param2). If your parameters are variable then you can use WDProtocolAdapter.getInstance().getRequestParam(<param-name>); in the Start Plug method.

Hope this helps.

Thanks and Regards,

Rohit Jaiswal

Edited by: Rohit Jaiswal on Feb 19, 2008 2:05 PM

Edited by: Rohit Jaiswal on Feb 19, 2008 2:06 PM

Edited by: Rohit Jaiswal on Feb 19, 2008 2:08 PM

Former Member
0 Kudos

Hi,

Resume and suspend plugs in Web dynpro

Regards

Ayyapparaj