Details
Description
After the action phase, where set attribute RENDER_CONTEXT in the portlet session, the render phase doesn't remove the attribute RENDER_CONTEXT in the portlet session, because the pageURL == null .
Why it hapens?
code:
String pageURL = getStrutsPageURL(request);
Otherwise, in StrutsPortlet.processRequest the code portletSession.removeAttribute(RENDER_CONTEXT)
must be achieved whether pageURL null or not.
In the method StrutsPortlet.processRequest need to change the code:
===\/=\/=\/======
if (pageURL == null)
path = defaultPage;
else
{
path = pageURL;
===/\=/\=/\======
with the code:
===\/=\/=\/======
if (pageURL == null)
path = defaultPage;
else
path = pageURL;
===/\=/\=/\======