> Inside test.js, I used jQuery, but an error show up telling that jQuery is
> not recognized. But if I change User class to reimport jQuery the problem
> solved.
The problem sounds like the order your scripts are getting included.
When you add the import to your page it moves the jquery import b
If you want include some script in *all* pages you may conribute to
MarkupRenderer
service. See org.apache.tapestry5.services.TapestryModule as example
Mihail
16 июля 2011 г. 19:05 пользователь Rendy Tapestry
написал:
> Hi Mihail,
>
> Thank you for your response. If that is how the correct thing
I was try it, but its still not working.
Thanks,
Rendy.
On Sat, Jul 16, 2011 at 11:26 PM, Taha Tapestry wrote:
> Did you try directly inserting the script in layout by using script tag
> inside head tag
>
> Regards
> Taha
>
> On Jul 16, 2011, at 9:35 PM, Rendy Tapestry
> wrote:
>
> > Hi Mihail,
Did you try directly inserting the script in layout by using script tag inside
head tag
Regards
Taha
On Jul 16, 2011, at 9:35 PM, Rendy Tapestry wrote:
> Hi Mihail,
>
> Thank you for your response. If that is how the correct thing should
> happened, I will accept it. I come to this question
Hi Mihail,
Thank you for your response. If that is how the correct thing should
happened, I will accept it. I come to this question because in Tapestry 4, I
am using decorator to build a template. In default.jsp I put an import to
jquery lib once and never import it again in every page that use th
Hi, Rendy!
You must import every used script in every page/component class same as
import other used java classes.
Mihail Slobodyanuk.
2011/7/16 Rendy Tapestry
> Hi All,
>
> I am using tapestry layout component, in page class I add @Import
> annotation
> to import jquery library. I have anothe
Hi All,
I am using tapestry layout component, in page class I add @Import annotation
to import jquery library. I have another page that is being used along with
the layout component and having @Import annotation to import specific
javascript for that page. That javascript used jquery inside it, th