Hi Tyler,
This really is wonderful initiative! I never would have thought to
integrate it like this, but it's a brilliant idea!
I have a few remarks though, but I am already considering to
integrate your sources with the core RIFE distribution since he using
Ajax for doing validation seems to be the top most interesting
application domain for it.
Ideally, all this should be able to be bundled into a jar file
without having to add anything to the regular web directory. This can
be done in several ways: either you integrate the whole of JQuery
into the template when you modify it through the Ajax helper, either
you add the capability to the validation elements to stream out JQuery.
Also, it would be better to just have to enable the form validation
with one method call. The additional wrappers for the generation of
the validation errors and markings, seems a bit too much for me and
they might not properly integrate with an existing element. The
reason for that is that you normally shouldn't generate the
validation errors and markings manually. This is done automatically
when people generate a form from a bean with generateForm.
What do you think of this?
Best regards,
Geert
On 03 Jul 2006, at 00:56, Tyler Pitchford wrote:
I wrote up an AJAX Form Validation Framework for RIFE. The framework
uses your existing MetaData and ERRORS: / MARK: tags to build it's
responses, so the AJAX validation will look exactly like the standard
POST validation that RIFE uses. Thought some of you might find it
useful, so I posted the source code and a small article on how to use
it:
http://rifers.org/wiki/display/RIFE/Adding+AJAX+Validation+To+Your
+Forms
I'd appreciate any feedback or bugs you find.
Happy coding,
Tyler
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users