Is that sufficient? What if there isn't a validation error from the
point of view of the bean constraints? Take my previous example of a
non-admin entering a value that only admins are allowed to enter. In
that case the value itself is perfectly legal, so there would be no
error for the element to trap and modify.
-Steve
Tyler Pitchford wrote:
Actually, I'm thinking the Element could "trap" the errors it wants
and replace them itself before it's sent back over AJAX. Right now,
the Server compiles the template, extracts what the error message(s)
would have been on a post back and sends that to the client. It
wouldn't be hard for the Element to trap that response and simply
replace it with whatever it wants. The tricky part is hooking the
error calls correctly, because the way the frame is now, I never see
what went wrong, I only see the "final" output. Hmmm.
Cheers,
Tyler
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users