Essentially you already do a "two phase" approach.

 Phase one (ejbdoclet) parses the EJB files, generates supporting interfaces
and forms.  The forms are marked up with the appropriate @struts-form tags
(an artifact from the EJB file).

 Phase two (webdoclet) parses the resulting files (ie, the generated forms)
and your hand-coded files and generates the appropriate deployment
descriptors (struts-config, web.xml).

----- Original Message -----
From: "Hamilton Verissimo de Oliveira (Engenharia - SPO)"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 16, 2003 2:15 PM
Subject: Re: [Xdoclet-user] EJB -> Sruts Form + Validator


> Hmmm... The generated code is the one to be used. If XDoclet generate
> ActionForms with more xdoclet tags one must run xdoclet twice to get the
> work done. The worst part: one must then have two kind of gen-src
> directories fo the two phase generation.
>
>
>
> hammett
>
>
>
> -----Mensagem original-----
> De: Adam L [mailto:[EMAIL PROTECTED]
> Enviada em: domingo, 16 de novembro de 2003 15:53
> Para: [EMAIL PROTECTED]
> Assunto: Re: [Xdoclet-user] EJB -> Sruts Form + Validator
>
>
> 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.
>
>
> -------------------------------------------------------
> 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

Reply via email to