yep, i cant find any other way of putting the script component outside
the body tag. so i am going to just reference an external js file. and
that seems to work for now.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
A Script component must be enclosed by a Body
component. Please see the following details.
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Script.html
Shing
--- Peter Dawn <[EMAIL PROTECTED]> wrote:
> i am already using the javascript component for
> this. but i am unable
> to
i am already using the javascript component for this. but i am unable
to put this component outside the body tag (inbetween and
) in the HTML.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
An alternative is to wrap your javascript in a Script
component. In .script file, just use the
include-script
element to include your javascript.
Here is a sample.
preview.script :
http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd";>