Originally posted by Cameron McKenzie:
The PortletRequest is the parent of both. An ActionRequest and a RenderRequest are both different types of PortletRequest objects.
An ActionRequest is valid during the action processing phase of the portlet. During this phase, the portlet hasn't completely decided how it is going to render itself, be it minimized, maximized, in edit mode or in veiw mode, etc.
On the other hand, the RenderRequest is valid during the rendering phase of the portlet. At this point, the portlet knows how it is going to render itself, and certain changes such as window state, are not allowed.
That's a very quick explainiation. Check out my signature links for plenty of free CBTs and multimedia tutorials on doing portlet development. You might find them helpful.
-Cameron McKenzie
As you said, ActionRequest is valid only during action processing phase, that means, I can't get any attribute of it during rendering phase. Right? In other
word, if I set any attribute in ActionRequest, I can't get it from RenderRequest. Right?
But both are childs of PortletRequest. Is not anyway I can get one from another?
Thanks.