On Fri, Jan 23, 2015 at 7:59 PM, Radu Cotescu <[email protected]> wrote:
> But we'd need a mixin, as scripts are usually nt:file nodes. Right?

That is one possible way. Other way would be to leverage the
jcr:mimeType on the child jcr:content node which are mostly of type
nt:resource. Typically a script has a backing mimeType [2]

Chetan Mehrotra
[1] http://wiki.apache.org/jackrabbit/nt%3Afile
[2] 
http://docs.oracle.com/javase/7/docs/api/javax/script/ScriptEngineFactory.html#getMimeTypes()

Reply via email to