09-03-2009 07:57 AM
09-03-2009 08:20 AM
09-03-2009 08:31 AM
09-13-2009 11:29 PM
<bean id="searchCustomScript" parent="baseJavaScriptExtension" class="org.alfresco.sample.CustomSearch">
<property name="extensionName">
<value>customSearch</value>
</property>
</bean>
<property name="serviceRegistry">
<ref bean="ServiceRegistry"/>
</property>
<property name="storeUrl">
<value>${spaces.store}</value>
</property>
09-14-2009 02:58 AM
11-02-2009 01:05 PM
07-13-2010 11:41 AM
With Cocoon which used, and still uses, a js rhino implementation (the same as Alfresco I think), it was possible to call java class directly from js code..JSScriptProcessor disables this behavior :
…
// remove security issue related objects - this ensures the script may not access
// unsecure java.* libraries or import any other classes for direct access - only
// the configured root host objects will be available to the script writer
this.secureScope.delete("Packages");
this.secureScope.delete("getClass");
this.secureScope.delete("java");
…
bad luck JCK.Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.