Hi

Can you send us all the code of your javascript stack ? and explain where
the static files are located ? thanks.

Manu

2012/8/16 Angelo C. <angelochen...@gmail.com>

> Thanks for the help, I tried :
>
> ret.add(assetSource.getUnlocalizedAsset("context:/js/jquery-1.7.1.js"));
>
> but still get this error:
>
> Caused by: java.lang.NullPointerException
>         at
>
> org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.addAssetsFromStack(JavaScriptSupportImpl.java:299)
>         at
>
> org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.importStack(JavaScriptSupportImpl.java:340)
>         at
>
> org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.importJavaScriptLibrary(JavaScriptSupportImpl.java:248)
>         at
>
> org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.importJavaScriptLibrary(JavaScriptSupportImpl.java:237)
>         at
> $JavaScriptSupport_12aab93a5a38b002.importJavaScriptLibrary(Unknown
> Source)
>         at
> $JavaScriptSupport_12aab93a5a38ae0f.importJavaScriptLibrary(Unknown
> Source)
>         at
>
> org.apache.tapestry5.internal.transform.ImportWorker$1.work(ImportWorker.java:53)
>         at
>
> org.apache.tapestry5.internal.transform.ImportWorker$1.work(ImportWorker.java:50)
>         at org.apache.tapestry5.func.ArrayFlow.each(ArrayFlow.java:66)
>         at org.apache.tapestry5.func.ArrayFlow.each(ArrayFlow.java:30)
>
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/combining-scripts-tp5715446p5715481.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey

Reply via email to