passing a parameter value from html page to portlet.

Hi All,

I have html hyper link which contains my portlet application url including the parameter which i want to pass to my portlet.
When I am clicking on the hyper link, control is going to my portlet but value is not received by the portlet.

Example:
Hyper Link: MyPortlet

In my portlet(Home.view) I am calling a web service in initialize method and want to set the “flag” value as input to my web service.

Can anyone help me to get the value from html page to portlet.

Thanks,
Guru

try getting this variable through http request and response object in java.

Hi Gupta,

Thanks for you post, can you please give some more information to understand little more clear.

Thanks,
Guru

Hi Guru,

How did you identify that the value is not received by the portlet?

Regards,
Raj

I have asked a similar question some time ago, and the solution suggested in this forum is working fine. Please see How to provide a "link" that allows to pass parameters into a MWS portlet application - webMethods - Software AG Tech Community & Forums

Best regards,

  • Joachim