You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by DOMINGUEZ Felipe <Fe...@eurocontrol.int> on 2006/11/15 16:54:59 UTC

Using the validation framework without struts

Hello.

 

I am new in this list, so Hi to every body.

 

I am trying to use the validation frame work, but I do not find any good
documentation on it.  The google is plenty of help to use the validation
frame work with Struts, but I want to use it without struts.=20

 

Any information would be well appreciated.=20

 

Cheers

 

Felipe


____

This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.

Any views expressed in this message are those of the sender.


Re: Using the validation framework without struts

Posted by Ray Shi <ra...@gmail.com>.
Well my guess is TestTypeValidator was introduced originally in the test
cases, and that example could be based from one of the test cases. You need
probably check with the commons-validator team to confirm my theory though
:-)

Anyway there is a built-in integer validator*
org.apache.commons.validator.routines.IntegerValidator* as well, maybe you
want to have a look at that instead.

Cheers
Ray


On 16/11/06, DOMINGUEZ Felipe <Fe...@eurocontrol.int> wrote:
>
> HI Ray.
>
> I the examples are very good. But they refer to class
> org.apache.commons.validator.TestTypeValidator
> Which is not part of the binary download?
>
> I have checked the source files and it is there but in a test directory.
>
> It is there any reason why this class is not part of the binary
> download?
>
> Thanks
>
> Felipe
>
> -----Original Message-----
> From: Ray Shi [mailto:ray.b.shi@gmail.com]
> Sent: Wednesday 15 November 2006 23:46
> To: Jakarta Commons Users List
> Subject: Re: Using the validation framework without struts
>
> Hi Felipe,
>
> Validator FAQ from Commons Wiki has an excellent example for using
> standalone Validator. Here is the URL,
> http://wiki.apache.org/jakarta-commons/ValidatorStandalone.
>
> Hope this is what you are after.
>
> Cheers
> Ray
>
> On 16/11/06, DOMINGUEZ Felipe <Fe...@eurocontrol.int> wrote:
> >
> > Hello.
> >
> >
> >
> > I am new in this list, so Hi to every body.
> >
> >
> >
> > I am trying to use the validation frame work, but I do not find any
> good
> > documentation on it.  The google is plenty of help to use the
> validation
> > frame work with Struts, but I want to use it without struts.=20
> >
> >
> >
> > Any information would be well appreciated.=20
> >
> >
> >
> > Cheers
> >
> >
> >
> > Felipe
> >
> >
> > ____
> >
> > This message and any files transmitted with it are legally privileged
> and
> > intended for the sole use of the individual(s) or entity to whom they
> are
> > addressed. If you are not the intended recipient, please notify the
> sender
> > by reply and delete the message and any attachments from your system.
> Any
> > unauthorised use or disclosure of the content of this message is
> strictly
> > prohibited and may be unlawful.
> >
> > Nothing in this e-mail message amounts to a contractual or legal
> > commitment on the part of EUROCONTROL, unless it is confirmed by
> > appropriately signed hard copy.
> >
> > Any views expressed in this message are those of the sender.
> >
> >
> ____
>
> This message and any files transmitted with it are legally privileged and
> intended for the sole use of the individual(s) or entity to whom they are
> addressed. If you are not the intended recipient, please notify the sender
> by reply and delete the message and any attachments from your system. Any
> unauthorised use or disclosure of the content of this message is strictly
> prohibited and may be unlawful.
>
> Nothing in this e-mail message amounts to a contractual or legal
> commitment on the part of EUROCONTROL, unless it is confirmed by
> appropriately signed hard copy.
>
> Any views expressed in this message are those of the sender.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

RE: Using the validation framework without struts

Posted by DOMINGUEZ Felipe <Fe...@eurocontrol.int>.
HI Ray.

I the examples are very good. But they refer to class 
org.apache.commons.validator.TestTypeValidator
Which is not part of the binary download? 

I have checked the source files and it is there but in a test directory.

It is there any reason why this class is not part of the binary
download?

Thanks

Felipe

-----Original Message-----
From: Ray Shi [mailto:ray.b.shi@gmail.com] 
Sent: Wednesday 15 November 2006 23:46
To: Jakarta Commons Users List
Subject: Re: Using the validation framework without struts

Hi Felipe,

Validator FAQ from Commons Wiki has an excellent example for using
standalone Validator. Here is the URL,
http://wiki.apache.org/jakarta-commons/ValidatorStandalone.

Hope this is what you are after.

Cheers
Ray

On 16/11/06, DOMINGUEZ Felipe <Fe...@eurocontrol.int> wrote:
>
> Hello.
>
>
>
> I am new in this list, so Hi to every body.
>
>
>
> I am trying to use the validation frame work, but I do not find any
good
> documentation on it.  The google is plenty of help to use the
validation
> frame work with Struts, but I want to use it without struts.=20
>
>
>
> Any information would be well appreciated.=20
>
>
>
> Cheers
>
>
>
> Felipe
>
>
> ____
>
> This message and any files transmitted with it are legally privileged
and
> intended for the sole use of the individual(s) or entity to whom they
are
> addressed. If you are not the intended recipient, please notify the
sender
> by reply and delete the message and any attachments from your system.
Any
> unauthorised use or disclosure of the content of this message is
strictly
> prohibited and may be unlawful.
>
> Nothing in this e-mail message amounts to a contractual or legal
> commitment on the part of EUROCONTROL, unless it is confirmed by
> appropriately signed hard copy.
>
> Any views expressed in this message are those of the sender.
>
>
____

This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.

Any views expressed in this message are those of the sender.


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


RE: Using the validation framework without struts

Posted by DOMINGUEZ Felipe <Fe...@eurocontrol.int>.
Hi Ray.
Thanks  a lot.

I will have a  look to it. 

I think I sow it yesterday, but very quick and I did not realize the
link to the examples. 

Cheers

felipe

-----Original Message-----
From: Ray Shi [mailto:ray.b.shi@gmail.com] 
Sent: Wednesday 15 November 2006 23:46
To: Jakarta Commons Users List
Subject: Re: Using the validation framework without struts

Hi Felipe,

Validator FAQ from Commons Wiki has an excellent example for using
standalone Validator. Here is the URL,
http://wiki.apache.org/jakarta-commons/ValidatorStandalone.

Hope this is what you are after.

Cheers
Ray

On 16/11/06, DOMINGUEZ Felipe <Fe...@eurocontrol.int> wrote:
>
> Hello.
>
>
>
> I am new in this list, so Hi to every body.
>
>
>
> I am trying to use the validation frame work, but I do not find any
good
> documentation on it.  The google is plenty of help to use the
validation
> frame work with Struts, but I want to use it without struts.=20
>
>
>
> Any information would be well appreciated.=20
>
>
>
> Cheers
>
>
>
> Felipe
>
>
> ____
>
> This message and any files transmitted with it are legally privileged
and
> intended for the sole use of the individual(s) or entity to whom they
are
> addressed. If you are not the intended recipient, please notify the
sender
> by reply and delete the message and any attachments from your system.
Any
> unauthorised use or disclosure of the content of this message is
strictly
> prohibited and may be unlawful.
>
> Nothing in this e-mail message amounts to a contractual or legal
> commitment on the part of EUROCONTROL, unless it is confirmed by
> appropriately signed hard copy.
>
> Any views expressed in this message are those of the sender.
>
>
____

This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.

Any views expressed in this message are those of the sender.


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


Re: Using the validation framework without struts

Posted by Ray Shi <ra...@gmail.com>.
Hi Felipe,

Validator FAQ from Commons Wiki has an excellent example for using
standalone Validator. Here is the URL,
http://wiki.apache.org/jakarta-commons/ValidatorStandalone.

Hope this is what you are after.

Cheers
Ray

On 16/11/06, DOMINGUEZ Felipe <Fe...@eurocontrol.int> wrote:
>
> Hello.
>
>
>
> I am new in this list, so Hi to every body.
>
>
>
> I am trying to use the validation frame work, but I do not find any good
> documentation on it.  The google is plenty of help to use the validation
> frame work with Struts, but I want to use it without struts.=20
>
>
>
> Any information would be well appreciated.=20
>
>
>
> Cheers
>
>
>
> Felipe
>
>
> ____
>
> This message and any files transmitted with it are legally privileged and
> intended for the sole use of the individual(s) or entity to whom they are
> addressed. If you are not the intended recipient, please notify the sender
> by reply and delete the message and any attachments from your system. Any
> unauthorised use or disclosure of the content of this message is strictly
> prohibited and may be unlawful.
>
> Nothing in this e-mail message amounts to a contractual or legal
> commitment on the part of EUROCONTROL, unless it is confirmed by
> appropriately signed hard copy.
>
> Any views expressed in this message are those of the sender.
>
>