I've made a portlet that extends AbstractInstancePortlet. My portlet defines its own customizer. When I click customize, and then submit in my customization form it calls my action classes "doPerform" method.

My question is how can I provide extra information for this Action so that my doPerform method can use this information. I looked into how jsp portlets get the portlet object passed in but I can't figure out how to make this work for me in my case, with the portlet object or other objects.

I looked in the source code and the class JspPortletAction gets the portlet with this line of code:

Portlet portlet = (Portlet)rundata.getRequest().getAttribute("portlet");

Where did the portlet get put in the request?

I realize I could use sessions, but if I can, I would like to avoid it.

In WebSphere, you achieve this by sticking your objects in a PortletAction object. For example:

PortletURI saveUri = response.createReturnURI();
SomePortletAction actionInfo = new SomePortletAction();
actionInfo.setSomething( something );
saveUri.addAction( actionInfo );

Is there a similar feature in jetspeed?

Thanks.

Ryan Christianson



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to