The style related css stuff you want might be helped by looking here:
http://tapestry.apache.org/tapestry4.1/usersguide/clientside-validation.html(i thought that Andy had made the css style for that stuff inlined
automatically though, maybe there is some other weird collision
happening)
For customization of validation UI - you can do it however you like by
overriding any of the tapestry javascript functions discussed here:
http://tapestry.apache.org/tapestry4.1/javascript/form-validation.htmlFor example, if you wanted to inline the error messages you could redefine
tapestry.form.validation.summarizeErrors(form, results, profile)
to do something more humane - like
http://www.humanized.com/weblog/2006/09/11/monolog_boxes_and_transparent_messages/.
I keep forgetting to add it in but I implemented the humanized style
toaster in dojo (before humanized talked about it) and you can find a
tapestry impl of it here:
http://blog.opencomponentry.com/2007/03/29/philly-is-burning/If you want text to appear somewhere next to fields it might be
easiest to override:
tapestry.form.validation.handleMissingField(field, profile)
tapestry.form.validation.handleInvalidField(field, profile)
The most up to date API kind of javascript docs can be found here:
http://tapestry.apache.org/tapestry4.1/jsdoc/index.htmlOn 8/23/07, mraible <
matt@...> wrote:
--
Jesse Kuhnert
Tapestry/Dojo team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.
http://blog.opencomponentry.com---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...