[ 
https://issues.apache.org/jira/browse/SLING-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed SLING-9.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

The theme is added as an attribute named "org.apache.sling.core.theme.Theme" 
for now.

> put theme object into request attribute in order to make it accessible 
> "request wide"
> -------------------------------------------------------------------------------------
>
>                 Key: SLING-9
>                 URL: https://issues.apache.org/jira/browse/SLING-9
>             Project: Sling
>          Issue Type: Bug
>          Components: Core
>            Reporter: Philipp Koch
>             Fix For: 2.0.0
>
>
> the setTheme(Theme theme) method should put the passed theme object into a 
> request attribute. the method is located in the 
> com.day.sling.core.RequestData class.
> suggestion:
> public void setTheme(Theme theme) {
>         this.theme = theme;
>         servletRequest.setAttribute("com.day.sling.theme.theme", theme);
>     }

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

Reply via email to