On 12/22/06, Joost Schouten <[EMAIL PROTECTED]> wrote:

Hi,

Part of the reason for me to use shale is the added client side
validation. I would like to suggest the following enhancement though. I
would like to have the option to display the error message not through a
JavaScript alert(), but in the same way the server side validation
messages are displayed. In our current application (not using shale) we
have such a system though using DHTML (or is that term obsolete by now?).


I agree that this would be attractive.  It is especially nice with JSF,
because one of the places you could decide to show the errors would be in
the <h:message> component related to the input component.

From my understanding this will require some changes on the shale side
and the commons validation right? I would love to assist in getting this
feature implemented but would need someone to point me to where I can
start plugging in my additions so that my enhancements can also be
utilized by the rest of the shale community.


Yes, it will require changes in the JavaScript handlers for both Shale and
Commons Validator.  The best thing to do would be to add an RFE on both
products[1][2], where we can start proposing and discussing approaches and
patches.

Best regards,
Joost Schouten
Director


Craig

[1]https://issues.apache.org/struts/browse/SHALE
[2] https://issues.apache.org/jira/browse/VALIDATOR


JS Portal
Dasstraat 21
2623CB Delft
the Netherlands
P: +31 6 160 160 14
E: [EMAIL PROTECTED]
W: www.jsportal.com


Reply via email to