You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Martin Grotzke <ma...@javakaffee.de> on 2007/06/19 10:40:16 UTC
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:ADAraza@ayalasystems.com]
> 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:martin.grotzke@javakaffee.de]
> 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):
>
> <img alt="[Error]" class="t-error-icon t-invisible" id="cancel:icon"
> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
--
Martin Grotzke
http://www.javakaffee.de/blog/