You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Woonsan Ko (JIRA)" <ji...@apache.org> on 2009/03/24 11:57:51 UTC

[jira] Created: (PLUTO-542) ContainerRuntimeOption - servletDefaultSessionScope support

ContainerRuntimeOption - servletDefaultSessionScope support
-----------------------------------------------------------

                 Key: PLUTO-542
                 URL: https://issues.apache.org/jira/browse/PLUTO-542
             Project: Pluto
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Woonsan Ko
            Assignee: Woonsan Ko
            Priority: Minor


Suppport "ContainerRuntimeOption - servletDefaultSessionScope (PLT.10.4.3)" by default.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PLUTO-542) ContainerRuntimeOption - servletDefaultSessionScope support

Posted by "Woonsan Ko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PLUTO-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko resolved PLUTO-542.
------------------------------

    Resolution: Fixed

ContainerRuntimeOption - servletDefaultSessionScope support by default.

This functionality can be tested:
  - portlet.xml should have container-runtime-option like the following:
  
   <container-runtime-option>
    <name>javax.portlet.servletDefaultSessionScope</name>
    <value>PORTLET_SCOPE</value>
  </container-runtime-option>
  
 - A test jsp can have the following test code fragment:

// set app scope attribute 
renderRequest.getPortletSession().setAttribute("testvarapp", "testvalueapp",
                                               javax.portlet.PortletSession.APPLICATION_SCOPE);
// set portlet scope attribute
renderRequest.getPortletSession().setAttribute("testvarplt", "testvalueplt",
                                               javax.portlet.PortletSession.PORTLET_SCOPE);
// see if the app scope session variable is visible
out.println("testvarapp: " + session.getAttribute("testvarapp"));
// see if the portlet scope session variable is visible
out.println("testvarplt: " + session.getAttribute("testvarplt"));

With the configuration in portlet.xml as mentioned above, the second only will be printed.
Otherwise, the former only will be visible.

> ContainerRuntimeOption - servletDefaultSessionScope support
> -----------------------------------------------------------
>
>                 Key: PLUTO-542
>                 URL: https://issues.apache.org/jira/browse/PLUTO-542
>             Project: Pluto
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>            Priority: Minor
>
> Suppport "ContainerRuntimeOption - servletDefaultSessionScope (PLT.10.4.3)" by default.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.