You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by rajesh <ra...@gmail.com> on 2010/12/07 12:15:53 UTC

Re: [T5.1.0.5] 'Tapestry' is undefined JavaScript error on form submit

Hi, 
 I am getting "Tapestry is undefined" error on form submit. I have tried
both Firefox 3.6.12 and IE 8 (Version: 8.0.6001.18702). On both the
browsers, I am facing the same error.

Can someone please explain what switching off combine scripts is? 

Here are the tapestry/jquery packages that I am using:

tapestry5-annotations-5.1.0.5.jar
tapestry-ioc-5.1.0.5.jar
tapestry-core-5.1.0.5.jar
jquery-1.4.2

Regards
Rajesh
-- 
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-1-0-5-Tapestry-is-undefined-JavaScript-error-on-form-submit-tp2393118p3295600.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5.1.0.5] 'Tapestry' is undefined JavaScript error on form submit

Posted by Donny Nadolny <do...@gmail.com>.
Combine scripts is an optimization that Tapestry can do where it
combines all the javascript files in to one virtual file to minimize
the number of HTTP requests that the browser has to do.

As for your problem, you say you've included jQuery - are you setting
no conflict mode on? http://api.jquery.com/jQuery.noConflict/

Tapestry uses the Prototype javascript library, which uses the dollar
sign for a namespace. So does jQuery, which is what causes this
problem.

You can just open up your jQuery js and add "$.noConflict();" to the end.

On Tue, Dec 7, 2010 at 6:15 AM, rajesh <ra...@gmail.com> wrote:
>
> Hi,
>  I am getting "Tapestry is undefined" error on form submit. I have tried
> both Firefox 3.6.12 and IE 8 (Version: 8.0.6001.18702). On both the
> browsers, I am facing the same error.
>
> Can someone please explain what switching off combine scripts is?
>
> Here are the tapestry/jquery packages that I am using:
>
> tapestry5-annotations-5.1.0.5.jar
> tapestry-ioc-5.1.0.5.jar
> tapestry-core-5.1.0.5.jar
> jquery-1.4.2
>
> Regards
> Rajesh
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/T5-1-0-5-Tapestry-is-undefined-JavaScript-error-on-form-submit-tp2393118p3295600.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5.1.0.5] 'Tapestry' is undefined JavaScript error on form submit

Posted by Jonathan Barker <jo...@gmail.com>.
I have hit this before, and I don't have a definitive reason.  But at least
you are not alone.

I have considered it may have something to do with the production setup
where the Tomcat instance sits behind a proxy and uses the AJP connector,
because I don't get it on my development system.



On Tue, Dec 7, 2010 at 6:15 AM, rajesh <ra...@gmail.com> wrote:

>
> Hi,
>  I am getting "Tapestry is undefined" error on form submit. I have tried
> both Firefox 3.6.12 and IE 8 (Version: 8.0.6001.18702). On both the
> browsers, I am facing the same error.
>
> Can someone please explain what switching off combine scripts is?
>
> Here are the tapestry/jquery packages that I am using:
>
> tapestry5-annotations-5.1.0.5.jar
> tapestry-ioc-5.1.0.5.jar
> tapestry-core-5.1.0.5.jar
> jquery-1.4.2
>
> Regards
> Rajesh
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-1-0-5-Tapestry-is-undefined-JavaScript-error-on-form-submit-tp2393118p3295600.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jonathan Barker
ITStrategic