Issue Details (XML | Word | Printable)

Key: JS1-457
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Sean Taylor
Reporter: Mark Orciuch
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetspeed

[ENH] Control whether the portlet and decorator is viewed

Created: 08/Apr/04 02:44 PM   Updated: 08/Apr/04 02:44 PM
Return to search
Component/s: Layout
Affects Version/s: 1.5-dev / CVS
Fix Version/s: 1.5

Time Tracking:
Not Specified

Resolution Date: 08/Apr/04 02:44 PM


 Description  « Hide
Enhancement to NOT display the control decorator in view mode if the
current security context does not allow access to the portlet. I will next make this check optional for backward compatibility.

New option for JR.p: The portlet control can be either shown or hidden when a portlet does not have view access. Defaults to true, the decorator is now hidden: defaultportletcontrol.hide.decorator = true

This required a new method on the Portlet interface, getAllowView(RunData). This new method better fills out the obsoleting api; for some reason 'view' was missing from the interface where as 'edit' and 'info' were there. Perhaps a more general solution would mirror the Portlet API and make the modes and states parameterized.




 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.