Sun, 19 Oct 2014 16:14:17 -0200, Name Surname <[email protected]> wrote:

I made a jquery script that listens for change on every single field. It produces exactly what I wanted, but that's not what I needed. I wanted to implement it using Tap for better understanding how Tap deals with JS.

What you need to do is pure client-side stuff (updating a simple message according to a couple of form fields), so this isn't a good scenario for learning how Tapestry interacts with JavaScript. Instead, you should look at @Import and JavaScriptSupport. Tapestry isn't a client-side (JavaScript) framework like jQuery or Prototype.js. It's a server-side framework with some features that help you do some client-side stuff automatically wired to the server-side part.

Using a Tapestry-only solution for this very specific problem isn't ideal, because the problem itself is 100% client-side. I agree with George: you seem to be learning Tapestry now and you want to use jQuery, so the better option is to use the latest Tapestry 5.4 beta (right now, 22).

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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

Reply via email to