Re: Form generator in webdoclet?

"No Body" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
Thanks Matt.  I was becoming concerned about my mental health.  Also, thanks
for the pointer to AppFuse.  As it turns out I am starting to evaulate
Spring this week.


On 5/12/06, Matt Raible <[email protected]> wrote:
>
> Yes, this is possible, and it's used in AppFuse (http://appfuse.org).
>
>    <!-- Generate ActionForms from POJOs -->
>    <target name="gen-forms" depends="prepare" unless="webdoclet.uptodate"
>        description="Generates ActionForms from POJOs">
>        <taskdef name="xdoclet" classname="xdoclet.DocletTask"
>            classpathref="xdoclet.classpath"/>
>
>        <!-- generate struts forms -->
>        <xdoclet destdir="${build.dir}/web/gen"
> excludedtags="@version,@author"
>            addedtags="@xdoclet-generated at ${TODAY}" force="${
> xdoclet.force}"
>            mergedir="metadata/web">
>            <fileset dir="src/dao"/>
>
>            <configParam name="basePackageName" value="org.appfuse"/>
>
>            <!-- generate struts forms -->
>            <actionform templateFile="metadata/templates/struts_form.xdt">
>                <packageSubstitution packages="model"
> substituteWith="webapp.form"/>
>            </actionform>
>        </xdoclet>
>    </target>
>
> Hope this helps,
>
> Matt
>
> On 5/11/06, Monkey Den <[email protected]> wrote:
> > Was there an ActionForm generator for webdoclet at one time or am I
> crazy?
> > I could swear I've generated an ActionForm without using ejbdoclet.
> >
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> _______________________________________________
> xdoclet-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.