RE: T5 validation error images displayed withform.clientValidation="false"
On Tue, 2007-06-19 at 10:53 +0800, ASTI Araza, Ariel D. wrote: > Oops, I misread the post. Please ignore my previous post. The subject was misleading indeed ;) Cheers, Martin > > -Original Message- > From: ASTI Araza, Ariel D. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 19, 2007 10:50 AM > To: Tapestry users > Subject: RE: T5 validation error images displayed > withform.clientValidation="false" > > I was wondering about the presence of that tag myself, until I realized > that for client-side validation to avoid having to go back to the > server, the images must already be in the page, but it should remain > hidden until needed. I just ensured that I had the right CSS (I used > tapestry.css) and the client side validation performed as expected, the > error images didn't show until I hit submit and there's a field > violating the validation rules. > > Ariel > > -Original Message- > From: Martin Grotzke [mailto:[EMAIL PROTECTED] > Sent: Monday, June 18, 2007 9:28 PM > To: Tapestry users > Subject: T5 validation error images displayed > withform.clientValidation="false" > > Hi, > > even if you set clientValidation="false" on a form, T5 renders the > validation error image for all input components (for validation > errors that might occur): > > src="/app/assets/tapestry/field-error-marker.png"> > > AFAICS with clientValidation="false" this should not be needed and > markup could be improved + page load time reduced. > > Shall we submit an issue for this / would a patch be welcome? > > Cheers, > Martin > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part
RE: T5 validation error images displayed withform.clientValidation="false"
Oops, I misread the post. Please ignore my previous post. -Original Message- From: ASTI Araza, Ariel D. [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 10:50 AM To: Tapestry users Subject: RE: T5 validation error images displayed withform.clientValidation="false" I was wondering about the presence of that tag myself, until I realized that for client-side validation to avoid having to go back to the server, the images must already be in the page, but it should remain hidden until needed. I just ensured that I had the right CSS (I used tapestry.css) and the client side validation performed as expected, the error images didn't show until I hit submit and there's a field violating the validation rules. Ariel -Original Message- From: Martin Grotzke [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 9:28 PM To: Tapestry users Subject: T5 validation error images displayed withform.clientValidation="false" Hi, even if you set clientValidation="false" on a form, T5 renders the validation error image for all input components (for validation errors that might occur): AFAICS with clientValidation="false" this should not be needed and markup could be improved + page load time reduced. Shall we submit an issue for this / would a patch be welcome? Cheers, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: T5 validation error images displayed withform.clientValidation="false"
I was wondering about the presence of that tag myself, until I realized that for client-side validation to avoid having to go back to the server, the images must already be in the page, but it should remain hidden until needed. I just ensured that I had the right CSS (I used tapestry.css) and the client side validation performed as expected, the error images didn't show until I hit submit and there's a field violating the validation rules. Ariel -Original Message- From: Martin Grotzke [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 9:28 PM To: Tapestry users Subject: T5 validation error images displayed withform.clientValidation="false" Hi, even if you set clientValidation="false" on a form, T5 renders the validation error image for all input components (for validation errors that might occur): AFAICS with clientValidation="false" this should not be needed and markup could be improved + page load time reduced. Shall we submit an issue for this / would a patch be welcome? Cheers, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]