We have a formbean (CreateUser) which we want to do basic validation on the
fields (not null/empty) so validation is set to true within the CreateUser
action config. However when this action is first called to set up the form
we don't want the validation to occur because there is nothing in the form
fields at this point.

What is the best way/practice in dealing with this situation ? We need
access to the formbean in the action class during the setup to populate it
with the data needed to display the CreateUse JSP. It seems to be a bit of a
chicken and egg situation. Am I missing a obvious way around this ?

Any guidance appreciated

Dan


> Daniel Haynes
> 
> Rule Financial
> 30 Cannon Street
> London EC4M 6YN
> E: [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to