struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ricardo Andres Quintero" <>
Subject Re: Validate some forms and not the others. How?
Date Mon, 04 Oct 2004 15:26:26 GMT
I dont understand why u use an ActionForm where u dont collect data neither
use the ActionForm to show data.


On Mon, 4 Oct 2004 12:10:49 -0400, Nadia Kunkov wrote
> Hi, 
> I'm building an application using DispatchAction.  I have several 
> screens that use the same ActionForm and I set validate to "true" 
> for this action form. The first page of my app is just a jsp with a 
> single button ( I have to start somewhere :) .  When I click the 
> button on this first page which is not the form and has no input 
> fields, I guess Struts tries to validate it.  What I see in the log 
> is that I do get into the validate method, the validation fails and 
> the action itself is not performed.  How can I tell struts to not 
> validate this first page but validate other screens where there are 
> input fields.  Since I use dispatch action I can't specify validate 
> "false" for some actions and "true" for the others, it's just one validate...
> That brings me to the next question.  Should I use DispatchAction?
> Thanks for your help.
> NK
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Ricardo Andrés Quintero R.
Ubiquando Ltda.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message