You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/11/08 15:48:50 UTC
T5: Redundant javascripts in the page when clientvalidate="false"
Hi,
This is a post related to
http://www.nabble.com/T5%3A-disable-javascript-tf4749556.html#a13581860
disable javascript , here is a simple form:
<t:form t:id="myform" t:clientvalidation="false">
<input t:type="textfield" t:id="comment" t:validate="required" />
<input t:type="submit" name="Submit" t:id="Submit" value="Submit"
/><br />
<t:errors />
</t:form>
The page still contains javascript even when clientvalidate="false", the
only way to totally remove javascript from the page is, no t:validate
parameter, actually those javascript is not being used when
clientvalidation="false", I believe it's redundant, try to disable
javascript in the browser and click submit, it still displays the correct
error message same as when browser's javascript is enabled.
--
View this message in context: http://www.nabble.com/T5%3A-Redundant-javascripts-in-the-page-when-clientvalidate%3D%22false%22-tf4771350.html#a13648349
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org