Thanks for the reply Howard - must have crossed you in my previous <solved>
the email - I got to the bottom of this.

Regards,
Jim.

-----Original Message-----
From: Howard Lewis Ship [mailto:[email protected]] 
Sent: 26 May 2010 17:11
To: Tapestry users
Subject: Re: Tap 5.2.0-SNAPSHOT Javascript file inclusion order

On Wed, May 26, 2010 at 4:01 AM, Jim O'Callaghan
<[email protected]> wrote:
> I'm working through an upgrade to Tap 5.2.0-SNAPSHOT at the moment and
> having some issues would really appreciate any pointers on.  Prototype
1.6.1
> (supplied with Tap 5.2.0-SNAPSHOT) doesn't appear to play nice with jQuery
> (IE 8 only), effectively breaking client-side validation - I'm thinking it
> down to the order of JS script inclusions (as suggested here:
>
>
http://tapestry.markmail.org/message/meemcpo6spv2f6cr?q=clientinfrastructure
> ).
>
>
>
> I'm using jQuery, with noConflict set, but my JS file inclusion order is:
>
>
>
> prototype.js
>
> scriptaculous.js
>
> effects.js
>
> tapestry.js
>
> blackbird.js
>
> tapestry-messages.js
>
> utils.js
>
> jquery-1.3.2.min.js
>
> jquery-ui-1.7.1.custom.min.js
>
> common.js
>

That order looks reasonable to me; the Tapestry core stack first, then
the specific additional libraries imported by your page.

>
>
>
>
> In my common Layout.tml I have:
>
>
>
> @IncludeJavaScriptLibrary({"context:/scripts/utils.js",
>
>
> "context:/scripts/jquery-1.3.2.min.js",
>
>
> "context:/scripts/jquery-ui-1.7.1.custom.min.js",
>
>
> "context:/scripts/common.js"})
>
>
>
> Is it the jump from prototype 1.6.0.3 (w/ T5.1.0.5) to prototype 1.6.1 (w/
T
> 5.2.0) that is causing an issue?
>

I suspect so, but am not sure.

>
>
> On a related note I'm also finding a decorate method I used to use in my
> AppModule is no longer being called:
>
>
>
> public ClientInfrastructure
> decorateClientInfrastructure(ClientInfrastructure original,
> @InjectService("AssetSource") AssetSource assetSource) {
>
> .

This is very odd. ClientInfrastructure hasn't changed; it is still a
service, still bound by TapestryModule.

>
> .
>
> .
>
> }
>
>
>
> ... which is causing other new behaviour.
>
>
>
> Are there any docs / notes on the jump from 5.1.0.5 to 5.2.0-SNAPSHOT
> relating to this area?
>
>
>
> Regards,
>
> Jim.
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to