RE: validation and DynaActionForm / concrete question

2003-12-17 Thread Marco Mistroni
Hi all, After struggling with my application, I have One question to ask. I have a DispatchAction class that handles my logic, and A DynaActionForm associated with it. The problem is that the jsp from which the request comes can Contain either 1, 2 parameters (out of 13 of DynaActionForm) o

Re: validation and DynaActionForm / concrete question

2003-12-17 Thread Mark Lowe
Hi marco well i think the problem your having is because you're using a dispatch action so the form is mapped to the action and its set to validate. You can either separte yu dispatch actions into standard actions or hack it by having a single action that calls your dispatch action much like y

RE: validation and DynaActionForm / concrete question

2003-12-17 Thread Wendy Smoak
> well i think the problem your having is because you're using > a dispatch action > so the form is mapped to the action and its set to validate. You can > either separte yu dispatch actions into standard actions or > hack it by having a single action that calls your dispatch action much like yo

RE: validation and DynaActionForm / concrete question

2003-12-17 Thread Marco Mistroni
ginal Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 17 December 2003 17:06 To: Struts Users Mailing List Subject: RE: validation and DynaActionForm / concrete question > well i think the problem your having is because you're using > a dispatch action > so the form is mappe

RE: validation and DynaActionForm / concrete question

2003-12-17 Thread Wendy Smoak
Marco wrote: > Only a little problem.. I haven't written any class for my > DynaActionForm. Instead, I declare all the properties in the > struts-config.xml That does not preclude you from writing a class-- "Dyna" forms just get you out of writing a bunch of get/set methods. You can still o

RE: validation and DynaActionForm / concrete question

2003-12-17 Thread Yves Sy
... -Yves a.k.a. the witness to your long debates with Chad regarding morality and politcs :o) -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 1:30 AM To: 'Struts Users Mailing List' Subject: RE: validation and DynaActionForm

RE: validation and DynaActionForm / concrete question

2003-12-18 Thread Marco Mistroni
PROTECTED] Sent: 18 December 2003 04:50 To: 'Struts Users Mailing List' Subject: RE: validation and DynaActionForm / concrete question Hi Marco! I think using only one jsp wherein the number of form elements vary according to what you are doing can be considered as "anti-pattern"