So if I wanted to add a FormSub handler in the new way from within a
component that does not use validators or translators, how would I do so?
----- Original Message -----
From: "Howard Lewis Ship" <[EMAIL PROTECTED]>
To: "Tapestry users" <tapestry-user@jakarta.apache.org>
Sent: Saturday, September 03, 2005 11:04 AM
Subject: Re: Form.addEventHandler deprecated without clear replacement
I hope to document this soon.
You now "manage" the event listeners for a Form on the client side.
Client-side Forms now have an "errors" property of type
FormEventManager (remeber, this is all JavaScript). See Form.js. You
can register an event handler for a form ... there's a multitude of
types of listeners basically tied into the normal submit (with
validation), refresh, and cancel forms of requests.
FormComponentContributorContext streamlines the process of generating
this JavaScript. It is primiarly used by Translator and Validator
implementations.
On 9/3/05, Adam Greene <[EMAIL PROTECTED]> wrote:
What is the expected replacement for Form.addEventHandler. I know it has
to do with FormComponentContributor and FormComponentContributorContext,
but how does one use them?
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]