
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
JSR-168 portlet extending GenericPortlet
|
|
Issue Links:
|
Generic Relation
|
|
This issue relates to:
|
|
UP-2112
Allow portal admins to specify that p...
|
|
|
|
|
|
|
|
Regardless of if a title is explicitly set in the portlet's doView method (using the RenderRequest.setTitle() method) or if the title is gathered by GenericPortlet's setTitle() call, the actual title of the portlet when rendered is inconsistent.
On first render of a tab and its contents, the titles are correctly set. However, if the portlet is rendered from cache instead of from direct interaction with it (view another tab then view the first tab again), the title ends up being whatever was set when the portlet was configured in Channel Manager. If I then interact with a portlet (maximise, change modes, etc), the title of that portlet is set correctly.
For example, if I have two instances of the same portlet side by side on the one tab, on the first view of that tab the titles will be correct. If I then click the edit button on one to change it to edit mode, the title of the one in edit mode will be correct, but the title of the other one will have now changed to whatever was set in channel manager!
This happens with all of our portlets. However, I have noticed that this strange behaviour does *not* occur with the spring MVC based uPortal test portlet! This problem *does* happen with the Apache functional tests portlet though, which is not spring based.
|
|
Description
|
Regardless of if a title is explicitly set in the portlet's doView method (using the RenderRequest.setTitle() method) or if the title is gathered by GenericPortlet's setTitle() call, the actual title of the portlet when rendered is inconsistent.
On first render of a tab and its contents, the titles are correctly set. However, if the portlet is rendered from cache instead of from direct interaction with it (view another tab then view the first tab again), the title ends up being whatever was set when the portlet was configured in Channel Manager. If I then interact with a portlet (maximise, change modes, etc), the title of that portlet is set correctly.
For example, if I have two instances of the same portlet side by side on the one tab, on the first view of that tab the titles will be correct. If I then click the edit button on one to change it to edit mode, the title of the one in edit mode will be correct, but the title of the other one will have now changed to whatever was set in channel manager!
This happens with all of our portlets. However, I have noticed that this strange behaviour does *not* occur with the spring MVC based uPortal test portlet! This problem *does* happen with the Apache functional tests portlet though, which is not spring based. |
Show » |
|