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 <rajesh...@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-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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

Reply via email to