* decorating a portlet.
*/
protected DecoratorAction createWindowStateAction(PortletWindow window, String actionName, WindowState state,
RequestContext requestContext, Decoration decoration)
{
DecoratorAction action = createDecoratorAction(actionName, decoration);
PortalURL portalURL = requestContext.getPortalURL();
action.setAction(portalURL.createPortletURL(window, null, state, portalURL.isSecure())
.toString());
return action;
}