Oh, ok! I see how that fits together. Thanks for the advice!
That's much simpler than the crazy things I was thinking...
(At the moment I'm upgrading from Tap4.0 + Tacos to T4.1.2 and it's
challenging to get the stuff working the same way visually that it used to.)
Thanks again,
Rachel
andyhot wrote:
>
> Not exactly sure what Jesse had originally in mind, but changing 'themes'
> is quite possible & even easy -
> You just need to override the family of methods at
> tapestry.form.validation
>
> Here's an example I recently used for amplafi:
>
> amplafi.presentErrors: function(miObj) {
> var form = miObj.args[0], results = miObj.args[1], profile =
> miObj.args[2];
> if (amplafi.showValidationDialog) {
> return miObj.proceed(); }
> }
> then set it up with
> dojo.event.connectAround(tapestry.form.validation, "summarizeErrors",
> amplafi,"presentErrors");
>
> So, every time tapestry.form.validation.summarizeErrors is called (which
> pops up the dialog) I am able
> to change the execution the way I want it - I also trap calls to
> tapestry.form.validation.processResults e.t.c.
>
> Take a look at
> https://svn.apache.org/repos/asf/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js
> to get more ideas.
>
>
>
>
> RachelS wrote:
>> Can anyone shed some light as to what happened with this idea of having a
>> configurable validation 'theme'?
>>
>> Thanks,
>> Rachel
>>
>>
>>
>> Jessek wrote:
>>
>>> ......
>>> Not sure which release this belongs in but I've got all kinds of
>>> usability/humane/etc plans for validation that I'm going to want to
>>> try applying at some point. I'd really rather just completely remove
>>> this dialog but want to see how people feel about it first.
>>>
>>> I can always just make this a configurable option where you opt-in and
>>> choose which kind of client side validation "theme" you'd like, but
>>> I'm not as convinced that more options here will necessarily be
>>> helping people.
>>>
>>> What do you think/feel ?
>>>
>>> --
>>> Jesse Kuhnert
>>> Tapestry/Dojo team member/developer
>>>
>>>
>>
>>
>
> --
> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/-poll--how-do-people-feel-about-me-changing-that-validation-dialog-in-4.1.1---tf2867566.html#a13134802
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]