OK - The NullPointerException is coming from the body reference and not
from the Asset, which is actually being referenced...
Sorry...
××××× Ron:
In my .jwc I have:
<private-asset name="js" resource-path="script.js"/>
in my components class, I access the asset:
IAsset script = getAsset("js");
but I get null.
The script.js is on the same directory as the .jwc inside a library on
the classpath.
How do I access the private asset?
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx
|