you have to change the xdt file a bit
look at struts forums. I know there 
were a couple of questions like this

I know, because I asked, and got the answer,
basically the xdt file that will propogate 
those validator tags over to your form 
without chnages, so that you can 
generate validation config later.

The person who helped me was Matt Raible, I think.

If you do not find it let me know
I will send you mine. I just have no access to my code 
today. If you need it I can send it tomorrow.

Alex.

On Sunday 16 November 2003 13:52, Adam L wrote:
> That is correct. They do only seem to work from a Form class.   The issue
> at hand is getting the generated Form to contain the validator tags from
> the source EJB file.
>
> ----- Original Message -----
> From: "Hamilton Verissimo de Oliveira (Engenharia - SPO)"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, November 16, 2003 1:06 PM
> Subject: RES: [Xdoclet-user] EJB -> Sruts Form + Validator
>
> > I think the attributes @struts.validator @struts.validator-args can only
>
> be
>
> > applied to a ActionForm derived class. They will generate the
> > validation.xml.
> >
> >
> > hammett
> >
> > -----Mensagem original-----
> > De: Adam L [mailto:[EMAIL PROTECTED]
> > Enviada em: domingo, 16 de novembro de 2003 14:29
> > Para: [EMAIL PROTECTED]
> > Assunto: [Xdoclet-user] EJB -> Sruts Form + Validator
> >
> >
> > Later in EJB code, for a particular field, I also declare:
> >
> >    *
> >    * @struts.validator
> >
> >
> > -------------------------------------------------------
> > This SF. Net email is sponsored by: GoToMyPC
> > GoToMyPC is the fast, easy and secure way to access your computer from
> > any Web browser or wireless device. Click here to Try it Free!
> > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
> > _______________________________________________
> > xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
> -------------------------------------------------------
> This SF. Net email is sponsored by: GoToMyPC
> GoToMyPC is the fast, easy and secure way to access your computer from
> any Web browser or wireless device. Click here to Try it Free!
> https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user

-- 
Thanks,
Alex.


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to