> By making it @Persist (i.e. with default), then the container (i.e., your
> page) can set a @Meta to control the default persistence of components below
> it.  Thus, if you want the default to be "flash", you're in luck.
So, you think every page in every T5 app in the world should override the default persistence to "flash"? I don't think that's good - Tapestry should have reasonable defaults. Most of the newbies will have big problems with the defaultTracker to be in the session - most will think T5 has a bug because it does not clear form errors on leaving the page.
If somebody wants some other behaviour, he/she could still set another tracker parameter to the form.

> Or, you can inject the Form component, it has methods that overlap
>ValidationDelegate for clearing errors & etc. (it just delegates to
>its ValidationDelegate).
I don't think dealing with clearing errors manually on page-leave should be the concern of the "normal" programmer - the framework should do this at reasonable points (with the option to clear them manually).

--
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to