Re: [S2] Validation aliases seem broken

2007-04-24 Thread Brian Pontarelli
Okay, this doesn't appear to work, unless I'm missing something. I changed the name a few times and each time it seems as though it is validating even though I'm not calling the specific action. Here are the names I've tried: NewsPersist-newsPersist!save-validation.xml NewsPersist!save-validat

Re: [S2] Validation aliases seem broken

2007-04-24 Thread Brian Pontarelli
Haha. Freudian click for sure. Thanks. I know in WebWork it was the action name and had nothing to do with the method, so this does make some sense actually, since the action name is Action!method. Just a something I was pondering Why is the class name in the file at all? Really it is the

Re: [S2] Validation aliases seem broken

2007-04-23 Thread Dave Newton
Oops, sorry; meant to not send this. --- Dave Newton <[EMAIL PROTECTED]> wrote: > --- Brian Pontarelli <[EMAIL PROTECTED]> wrote: > > And finally, I have a single validation file > named: > > > > NewsPersist-validation.xml > > > > What I figured would work was an XML file named: > > > > NewsPe

Re: [S2] Validation aliases seem broken

2007-04-23 Thread Dave Newton
--- Brian Pontarelli <[EMAIL PROTECTED]> wrote: > And finally, I have a single validation file named: > > NewsPersist-validation.xml > > What I figured would work was an XML file named: > > NewsPersist-save-validation.xml > > This doesn't seem to work however. Any ideas? Check the archives for

[S2] Validation aliases seem broken

2007-04-23 Thread Brian Pontarelli
I'm trying to put together a form that uses the bang notation for action methods and for whatever reason I can't seem to get the aliased validation XML files to work and have to resort to some fairly nasty @SkipValidation hacks. Anyone see this also or is there a patch for it in a version later