RE: Question about struts-example struts-config.xml

2003-02-03 Thread PILGRIM, Peter, FM
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] On Fri, 31 Jan 2003, Wendy Smoak wrote: ----- As for working on the example... would any changes have a chance of getting committed before 1.1 final, or should I just wait until that's finished?

Re: Question about struts-example struts-config.xml

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Wendy Smoak wrote: Date: Fri, 31 Jan 2003 09:49:15 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: Question about struts-example struts-config.xml This appears

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Wendy Smoak
Craig wrote: Again, that's a carryover from the 1.0 (pre-dynabeans) approach. We should definitely clean this up to avoid confusion. I hate to complain, but the example really is confusing. It also has a bunch of code that makes you think you need to instantiate ActionForms yourself:

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Wendy Smoak
Craig wrote: For this specific case, there is no reason to have a LogonForm class at all, because the default behavior of a DynaValidatorForm (which is a DynaActionForm plus using the validator framework to define validation rules) does everything you need. Wow... I just deleted the

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Wendy Smoak wrote: Date: Fri, 31 Jan 2003 10:50:56 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Question about struts-example struts-config.xml Craig

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Sri Sankaran
/snip Confused again. (I will need a custom validate method.) How does Struts know to start with my class that extends DynaWhateverForm and add the stuff in the form-bean tag to it, rather than creating a new one? Would it be: form-bean name=logonForm

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Vinh Tran
: Friday, January 31, 2003 1:14 PM To: 'Struts Users Mailing List' Subject: RE: Question about struts-example struts-config.xml Craig wrote: For this specific case, there is no reason to have a LogonForm class at all, because the default behavior of a DynaValidatorForm (which is a DynaActionForm

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Wendy Smoak wrote: Date: Fri, 31 Jan 2003 11:14:25 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Question about struts-example struts-config.xml Craig

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Kris Schneider
: RE: Question about struts-example struts-config.xml Craig wrote: Again, that's a carryover from the 1.0 (pre-dynabeans) approach. We should definitely clean this up to avoid confusion. I hate to complain, but the example really is confusing. Don't feel bad!!! None

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Wendy Smoak
Actually, there *is* a case when form will be passed as a null -- if someone were to modify the struts-config.xml entry for this action, and accidentally (or on purpose) remove the name or attribute attribute. Then, the controller servlet would assume that no form bean needs to be created, so

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Wendy Smoak wrote: Date: Fri, 31 Jan 2003 12:56:54 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Question about struts-example struts-config.xml