1 Reply Latest reply on Apr 9, 2013 11:24 PM by vstorm83

    JavascriptManager in 3.5

    dschlenk

      I'm trying to get access to the JavascriptManager instance in a portlet running on GateIn 3.5. It looks like the way to do it in prior versions was:

       

      {code}org.exoplatform.web.application.RequestContext.getCurrentInstance().getJavascriptManager(){code}

       

      but using the following maven dependency, RequestContext doesn't seem to have that property anymore:

       

       

      {code:xml}<dependency>

           <groupId>org.gatein.portal</groupId>

           <artifactId>exo.portal.component.web.resources</artifactId>

           <version>3.5.0.Final-SNAPSHOT</version>

           <scope>provided</scope>

      </dependency>{code}

       

      has the use of JavascriptManager directly been removed? I'm struggling to find a way to add a script beyond what I can do with gatein-resources.xml.

       

      Message was edited by: David Schlenk (formatting)