tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Longman" <glong...@intelligentworks.com>
Subject Re: [VOTE] Adding a URL Validator to tapestry valid package
Date Tue, 16 Sep 2003 12:15:02 GMT
+1

Geoff
----- Original Message -----
From: "tsvetelin" <tsvetelin.saykov@rushmore-digital.com>
To: "Tapestry development" <tapestry-dev@jakarta.apache.org>
Sent: Tuesday, September 16, 2003 7:37 AM
Subject: [VOTE] Adding a URL Validator to tapestry valid package


> Hi All,
>
> Last week Jimmi Dyson made a proposal URLValidator to the tacos project
but
> I think its right place is in tapestry valid package. The vaidator support
> both client and server side validations.
>
> I would like to propose this validator to be added to tapestry
distribution.
>
> Here are the things that will be done:
> 1. New UrlValidator.java file will be added to org.apache.tapestry.valid
> package with ASL license agreements.
> 2. A UrlValidator.js file fill be added.
> 3. org.apache.tapestry.valid.ValidationStrings.properties will be updated
> with new error messages. The default messages are:
>   2.1 invalid-url-format = Invalid URL.
>   2.2 disallowed-protocol = Disallowed protocol - protocol must be {0}.
>  If you think that the strings need to be changed please make yours
> proposals.
>
> 4. New JUnit Test must be written in validators unit test suite
> 5. A example will be add to workbench application (the page Fields.html
will
> be update to contains a example for new validator).
>
>
> Looking forward
> Tsvetelin.
> PS If someone would like to receive the source code, please contact to me
or
> Jimmi.Dyson@barclayscapital.com.
>
> Here is his mail to tacos mailing list.
> -----Original Message-----
> From: tacos-devel-admin@lists.sourceforge.net
> [mailto:tacos-devel-admin@lists.sourceforge.net]On Behalf Of
> Jimmi.Dyson@barclayscapital.com
> Sent: Friday, September 12, 2003 11:35 AM
> To: tacos-devel@lists.sourceforge.net
> Subject: [Tacos-devel] Custom component: URLValidator
>
>
> Tsvetelin,
>
> I have written a custom validator to validate that a URL entered is of a
> valid format - can limit to specific protocols as well. Includes
client-side
> validation.
>
> If you're interested, then let me know how I can add this to the
repository.
>
> Thanks,
> Jim
>
>
>
> ------------------------------------------------------------------------
> For more information about Barclays Capital, please
> visit our web site at http://www.barcap.com.
>
>
> Internet communications are not secure and therefore the Barclays
> Group does not accept legal responsibility for the contents of this
> message. Although the Barclays Group operates anti-virus programmes,
> it does not accept responsibility for any damage whatsoever that is
> caused by viruses being passed. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of the
> Barclays Group. Replies to this email may be monitored by the Barclays
> Group for operational or business reasons.
>
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message