since ‎15-04-2015
‎10-12-2019
Nitin_Tyagi
Level 1
Re: LiveRelationshipManagerImpl StarResource : no parent: no LiveCopy errors for content that does not exist
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
Hi Marcelo,Did you get any response on this? We are also getting the same errors which using Launches to auto promote the content.ThanksNitin

Views

2.4K

Likes

0

Replies

0
Re: sidekick component not dragging into parsys
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
Hi,Please check error.logs when you drag & drop the component. It might be possible that the component is breaking and thereby rendering as blank.ThanksNitin

Views

72

Likes

0

Replies

0
Re: Using Nashorn Script Engine in AEM
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
Thanks for your response Peter. Yes It's not yet added in the AEM's list of Script Engines. That's the reason I am trying to load it directly from JDK considering nashorn.jar is already in the classpath.ScriptEngineManager engineManager = new ScriptEngineManager();ScriptEngine engine = engineManager.getEngineByName("nashorn");It looks like I will have to create a new NashornScriptEngine in AEM using nashorn.jar.ThanksNitin

Views

377

Like

1

Replies

0
Using Nashorn Script Engine in AEM
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
Hi All,I am currently working on AEM SP2 with JDK8 & trying to build a Handlebar Script Engine in AEM. For the Handlebar Compilation & processing we were loading the Nashorn Script Engine inside AEM & the Nashorn will be used to evaluate handlebars.js & other processing. I am loading the Nashorn engine as per instructions on http://www.oracle.com/technetwork/articles/java/jf14-nashorn-2126515.html with below lines of code. But the nashorn Engine is not initializing.ScriptEngineManager engineMana...

Views

1.1K

Likes

0

Replies

4
Re: Invoking a JS method using Rhino Script Engine
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
Hi Justin,The engine @ http://svn.apache.org/repos/asf/sling/whiteboard/ieb/handlebars/ use jknack which is a java based implementation of handlebars. We have already used it for our Server Side Java based Execution. What we are trying to do here is Server Side JS Based Execution.ThanksNitin

Views

387

Likes

0

Replies

0
Re: Invoking a JS method using Rhino Script Engine
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
Hi Justin,This cast is from JDK docs it seems AEM hasn't implemented it in the same way as JDK has done.http://docs.oracle.com/javase/7/docs/technotes/guides/scripting/programmer_guide/ThanksNitin

Views

301

Likes

0

Replies

0
Re: Invoking a JS method using Rhino Script Engine
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
Sorry I didn't pasted code in the issue itself. So, We are trying to execute handlebar templates inside AEM. We want to render these templates using a JS Engine, so if tomorrow we need to replace handlebar with other templating language as dust etc, we can do the same. I am able to load the Rhino script Engine successfully and also able to evaluate the handlebar.js file using the engine. However when I am trying to obtain a"javax.script.Invocable" object from "org.apache.sling.scripting.javascri...

Views

300

Likes

0

Replies

0
Re: Invoking a JS method using Rhino Script Engine
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
We don't want to do it using a Java bundle for handlebar as we want to have the flexibility of replacing handlebars with dust or react in future & although we have a Java based Processor for Handlebars (jknack) , not sure if we will have for other templating languages or not. We wanted to use Nashorn as the Script Engine for the same, but some I am even not able to get Nashorn working inside AEM (Please see http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experi...

Views

303

Likes

0

Replies

0
Invoking a JS method using Rhino Script Engine
Avatar

Nitin_Tyagi

Nitin_Tyagi
- Adobe Experience Manager
Hi All We are trying to execute handlebar templates via a Script Engine Inside AEM. This Handlebar Execution needs to done using the Rhino Script Engine as we don't want to go to with Java based execution in order to be flexible in future to replace handlebars with any other client side templating language. I am able to load the Rhino script Engine successfully and also able to evaluate the handlebar.js file using the engine. However when I am trying to obtain a"javax.script.Invocable" object fr...

Views

1.3K

Likes

0

Replies

9
Likes from