Support auto-switching to edit_defaults even when the portlet doesn't support 
EDIT mode.
----------------------------------------------------------------------------------------

                 Key: JS2-1106
                 URL: https://issues.apache.org/jira/browse/JS2-1106
             Project: Jetspeed 2
          Issue Type: Improvement
          Components: Container
    Affects Versions: 2.2.0
            Reporter: Woonsan Ko
            Assignee: Woonsan Ko
            Priority: Minor
             Fix For: 2.2.1


Currently, auto-switching to edit_defaults mode is working in the following 
condition (See JS2-634 for detail.)

 a) The following property is set to true in /WEB-INF/conf/jetspeed.properties.

    supported.portletmode.autoswitch.edit_defaults=true

 b) A portlet application has custom portlet mode mapping declaration like the 
following (in portlet.xml):

    <custom-portlet-mode>
      <description>a Custom Edit_defaults Mode</description>
      <portlet-mode>edit_defaults</portlet-mode>
    </custom-portlet-mode>

 c) A portlet must support EDIT mode and it must have public doEdit() method.

However, with the above conditions, we cannot support auto-switching to 
edit_defaults mode correctly if a portlet should not support EDIT mode but it 
should support edit_defaults mode.
Therefore, I'd like to change the last condition (c) like this:

 c) A portlet must have public doEdit() method.



-- 
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]

Reply via email to