You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "ASTI Araza, Ariel D." <AD...@ayalasystems.com> on 2007/06/19 04:50:02 UTC
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