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
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user