[
https://issues.apache.org/jira/browse/PB-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Zavizionov updated PB-59:
--------------------------------
Priority: Critical (was: Major)
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;
===/\=/\=/\======
was:
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);
Affects Version/s: 1.0.2-dev
> Struts bridge: render phase of portlet doesn't remove the attr RENDER_CONTEXT
> from the portlet session
> ------------------------------------------------------------------------------------------------------
>
> Key: PB-59
> URL: https://issues.apache.org/jira/browse/PB-59
> Project: Portals Bridges
> Issue Type: Task
> Components: struts
> Affects Versions: 1.0.2-dev
> Environment: tomcat 5.5.17, exo-portlet-container
> Reporter: Alexey Zavizionov
> Priority: Critical
>
> 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;
> ===/\=/\=/\======
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]