History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WPP-13
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Andrew Wills
Reporter: Andrew Wills
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Web Proxy Portlet

Override the WP Portlet render() method to prevent the portlet from setting the title

Created: 07/Aug/08 06:44 PM   Updated: 05/Sep/08 03:25 PM
Component/s: Administration
Affects Version/s: None
Fix Version/s: 1.0.0-RC1

Original Estimate: 4 minutes Remaining Estimate: 4 minutes Time Spent: Unknown
File Attachments: 1. Text File WPP-13.patch (1 kb)



 Description  « Hide
Due to the fact that WP Portlet extends GenericPortlet, it calls the setTitle() method (from the portlet API) every time it is rendered.

Earlier versions of uPortal ignored this call, but current versions handle it in compliance with the spec. The result is that whatever was provided as the title in portlet.xml (typically 'Authenticated Web Proxy') becomes the title of the portlet window.

This result is probably much less desirable than the older, pre-complient behavior, which was to display the title that was chosen at publish time.

We should override render() so that it doesn't call setTitle(), and thereby achieve the older, more desirable behavior.

 All   Comments   Work Log   Change History      Sort Order:
Andrew Wills [03/Sep/08 07:04 PM]
Fixes the issue.

Eric Dalquist [05/Sep/08 10:18 AM]
Is this still needed now that uPortal 3 support ignoring dynamic titles on a portlet by portlet basis?

Andrew Wills [05/Sep/08 03:25 PM]
done.