You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Gary S. Cuozzo" <ga...@innovationsw.com> on 2004/08/30 04:24:43 UTC
manual validation of a form field
Hello,
I am using Struts 1.1 and the built-in validation framework, which works
great. However, I have a few forms that have data that must be parsed a
bit before it can be validated. For example, a textarea with 1 email
address per line. Is there a way that I can use the validator api to do
this from within my action?
If somebody has some code/configuration that does this or some url to
point me in the right direction, that'd be great.
Thanks in advance,
Gary.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: manual validation of a form field
Posted by "Gary S. Cuozzo" <ga...@innovationsw.com>.
Thanks for the quick reply. I'll read up on that.
gary.
On Sun, 2004-08-29 at 22:50, Yves Sy wrote:
> Hi,
>
> You can write your own validator to take care of that -- see the
> Pluggable Validators section on the Struts site.
>
> -Yves-
>
> On 29 Aug 2004 22:24:43 -0400, Gary S. Cuozzo
> <ga...@innovationsw.com> wrote:
> > Hello,
> > I am using Struts 1.1 and the built-in validation framework, which works
> > great. However, I have a few forms that have data that must be parsed a
> > bit before it can be validated. For example, a textarea with 1 email
> > address per line. Is there a way that I can use the validator api to do
> > this from within my action?
> >
> > If somebody has some code/configuration that does this or some url to
> > point me in the right direction, that'd be great.
> >
> > Thanks in advance,
> > Gary.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: manual validation of a form field
Posted by Yves Sy <yv...@gmail.com>.
Hi,
You can write your own validator to take care of that -- see the
Pluggable Validators section on the Struts site.
-Yves-
On 29 Aug 2004 22:24:43 -0400, Gary S. Cuozzo
<ga...@innovationsw.com> wrote:
> Hello,
> I am using Struts 1.1 and the built-in validation framework, which works
> great. However, I have a few forms that have data that must be parsed a
> bit before it can be validated. For example, a textarea with 1 email
> address per line. Is there a way that I can use the validator api to do
> this from within my action?
>
> If somebody has some code/configuration that does this or some url to
> point me in the right direction, that'd be great.
>
> Thanks in advance,
> Gary.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
For me to poop on!
http://www.formetopoopon.com
http://www.nbc.com/nbc/Late_Night_with_Conan_O'Brien/video/triumph.shtml
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org