Em Wed, 14 Oct 2009 14:16:30 -0300, Lindsay Ridgeway <lindsay.ridge...@mac.com> escreveu:

But in addition, each submit button is associated with a different
JavaScript function.  Each JavaScript function enters into a particular
dialog in order to obtain some information. The JavaScript function needs to store that information in a hidden field of the form, then submit the
form.

This looks like ordinary HTML and JavaScript work here, not related to Tapestry itself. JavaScript frameworks like Prototype (included with Tapestry) can help you a lot here. Anyway, for an explanation of how to make Tapestry and JavaScript work together, take a look at http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained.

In answering, I'd appreciate if you would not use T5 shorthand like "inject an XYZ component and implement the ABC event listener", or something like
that.

It's almost impossbile to learn anything in software development without getting familiar with the associated jargon. ;) (Disclaimer: I'm teaching Java in a graduate course and have around 800 hours as an instructor, so I guess I have a glimpse of how people learn software development)

I hope you will supply sample JavaScript functions, a sample form
(everything between the t.form tag and its end tag), and a sample of the
Java class.

In mailing lists, a good way to get what you want is to not ask many things in the same message. :)

I'd also like to have multiple Java methods that receive control depending on which submit button is clicked. But if that's not possible, please
indicate that that is not possible.

Take a look at the Submit component.

An awesome place to look for Tapestry 5 examples is http://jumpstart.doublenegative.com.au:8080/jumpstart/.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to