Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-457

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-457
    Summary: [ENH] Control whether the portlet and decorator is viewed 
       Type: New Feature

     Status: Open
   Priority: Major

    Project: Jetspeed
 Components: 
             Layout
   Fix Fors:
             1.5
   Versions:
             1.5-dev / CVS

   Assignee: David Sean Taylor
   Reporter: Mark Orciuch

    Created: Thu, 8 Apr 2004 7:44 AM
    Updated: Thu, 8 Apr 2004 7:44 AM

Description:
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.





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to