Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by ChrisLewis: http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained ------------------------------------------------------------------------------ == Introduction == - !Javascript is a critical element of modern web applications. Historically "real" software developers have avoided JS either because they had more important things to do, or because they simply didn't want to be bothered with front-end details. Well as we know, times have changed and are changing still. If you want to have an application that can compete with other modern applications, you have to use JS (including AJAX). + Javascript is a critical element of modern web applications. Historically "real" software developers have avoided JS either because they had more important things to do, or because they simply didn't want to be bothered with front-end details. Well as we know, times have changed and are changing still. If you want to have an application that can compete with other modern applications, you have to use JS (including AJAX). Modern frameworks, and perhaps none more aggressively than [http://www.rubyonrails.org/ RoR], go a long way in removing the pains of JS from developing web applications. Tapestry 5 is no exception and even though it is currently in the beta stages, it has come along way in making JS transparent to developers (not to mention 3rd party libraries like [http://code.google.com/p/tapestry5-components/ tapestry5-components]). However, there are brave souls who wish to know how it all works. Perhaps you're tracing some weird error, developing a sophisticated component with JS, or maybe you're just curious. This article is for such people, so we'll have a look at how Tapestry 5 elegantly weaves JS into your application by creating a mixin. This mixin can be applied to links (that is, !PageLink or !ActionLink components) so that the user will be asked to confirm that they would like to follow that link, which is ultimately accomplished by a javascript `confirm` dialog. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
