I have two portlets. One shows a list of items, lets say Widgets, and when you click on a Widget in the list it shows the details of that Widget in the second portlet.

The second portlet has an Edit button that allows you to edit the Widget being displayed.

What I have now is an Add Widget button on the second portlet but to me, that is not where it belongs. It belongs in the first portlet that shows the list of Widgets.

I want an "Add Widget" button in the first portlet that when clicked, causes the second portlet to go into edit mode to edit the new Widget.

I can't figure out how to get that done. I thought I could redirect or forward from the doEdit() method of the second portlet to an actionURL for the second portlet if there was a certain value in the PortletSession but I don't see a way of redirecting/forwarding/causing an Action request to be sent to the second portlet.

--
Thanks,
Michael Binette


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

Reply via email to