You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2007/12/12 15:18:43 UTC

[jira] Resolved: (SLING-136) microsling: make the ServletContext available in scripts

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

Bertrand Delacretaz resolved SLING-136.
---------------------------------------

    Resolution: Fixed

Implemented in revision 603622, see ScriptBuiltinObjectsTest for an example

> microsling: make the ServletContext available in scripts
> --------------------------------------------------------
>
>                 Key: SLING-136
>                 URL: https://issues.apache.org/jira/browse/SLING-136
>             Project: Sling
>          Issue Type: Improvement
>          Components: microsling
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> The ServletContext should be available using:
>   request.getServiceLocator().getService(ServletContext.class);

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