Yes, as Andreas mentioned I am pretty sure this came into being with all the
other niceties of 4.0.1:
This works for me:
.page/.jwc:
Alternatively the following also works (under 4.0 and 4.0.1):
.html:
Ash
and Jira appears to be down.
On 4/6/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
> In fact, looking at the source code to Script.java, I'm not sure that
> a sciprtAsset isn't supposed to be a .script file, anyway. In any
> case, it is get a NullPointerException because the IScriptSource
> object is
In fact, looking at the source code to Script.java, I'm not sure that
a sciprtAsset isn't supposed to be a .script file, anyway. In any
case, it is get a NullPointerException because the IScriptSource
object is null when you specify a scriptAsset, but it calls
source.getScript() with the path of t
This appears to be good advice - except that there seems to be a bug
in the Script component. When I use a scriptAsset, it always errors
out with a NullPointerException.
# org.apache.tapestry.html.Script.getParsedScript(Script.java:135)
# org.apache.tapestry.html.Script.renderComponent(Script.jav
Yep, i think this was added in 4.0.1
Ashton Hepburn wrote:
>Using Tapestry4 you can use the Script component and specify the scriptAsset
>parameter instead of scriptpath:
>
>http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Script.html
>
>On 4/5/06, Sam Gendler <[EMAIL PROTECTED]> wr
Using Tapestry4 you can use the Script component and specify the scriptAsset
parameter instead of scriptpath:
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Script.html
On 4/5/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
>
> I have to include a javascript file which must be located