On Fri, 15 Mar 2002, Heath Chiavettone wrote:
> Date: Fri, 15 Mar 2002 15:56:42 -0800
> From: Heath Chiavettone <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: 'Struts Developers List' <[EMAIL PROTECTED]>
> Subject: RE: DynaActionForm questions
>
> Hello all,
>
> I'm looking for more information related to this thread. I can see the
> javadoc for the class, but I can't seem to find any real documentation on
> how to configure things in the struts-config.xml file. If someone can point
> me to where this information is, I'd appreciate it.
>
It's not heavily covered in the docs yet. The places I would look first:
* The "lib/struts-config_1_1.dtd" file (the DTD for struts-config.xml
files) documents the new attributes of the <form-bean> and nested
<form-property> elements).
* The struts-config.xml for the Struts example app uses a dynamic form
bean for the login form, configured like this:
<form-bean name="logonForm"
type="org.apache.struts.action.DynaActionForm">
<form-property name="username" type="java.lang.String"/>
<form-property name="password" type="java.lang.String"/>
</form-bean>
Both of these are available in the recent nightly builds (which run from
the HEAD branch).
You might also download the commons-beanutils package (and associated
docs) from the Jakarta web site. The Javadocs cover some of the general
concepts of programming DynaBeans:
http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-beanutils/
While you're there, Struts 1.1 will use several other Commons packages as
enhanced features or as replacements for code from org.apache.struts.util
- you might want to grab the packages for the collections, dbcp, digester,
pool, services, and validator packages as well.
> TIA,
> Heath
>
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>