> 2 Actions is the current way. I'm open to other ideas...
Well, 2 actions will become a pain to maintain for sure.
Can you think of a hack for a moment that would turn
off validation altogether if certain conditions are met?
Something like this ")
public void validate()
{
if( ... )
pleaseDoNotValidateAlthoughThereIsThisValidateDotXmlFile()
}
> > -----Original Message-----
> > From: Taavi Tiirik [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 24, 2003 2:07 AM
> > To: [EMAIL PROTECTED]
> > Subject: [OS-webwork] conditional validation in ww2?
> >
> >
> >
> > Is it possible to do kind of conditional validation in ww2?
> > Just started to like this xml way of configuring validation
> > but I would like to turn off some of the validation rules if
> > the form is not yet executed. This is needed because I do not
> > want to see field validation error messages when I first open
> > the form.
> >
> > One way to achieve this would be using two actions. One
> > for displaying the form and another one for processing it.
> > Is there a better way of doing it?
> >
> > thanks,
> > taavi.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork