Hey Philip, 

Thanks for posting the solution back to the list.  That is a big help when 
others run into the same problems later on [which is basically guaranteed to 
happen ;) ].  And a question is never spam....  wait let me clarify.. a 
question about AppFuse is never spam.  If you were asking about male enhancers 
or prescription drugs or stock tips or "discount" commercial software downloads 
*then* it would be spam ;)

Nathan


----- Original Message -----
From: "pcberg" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, May 21, 2007 4:43:09 PM (GMT-0800) America/Los_Angeles
Subject: Re: [appfuse-user] Exclude action method from Validation?



pcberg wrote:
> 
> 1. I followed the struts2 validation tutorial
> (http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-validation)
> but added a method "detail" to PersonAction. That method retrieves a
> person and forwards to a page that shows details on a person (very similar
> to edit). I now have this error: "VisitorFieldValidator.validate(103) |
> The visited object is null, VisitorValidator will not be able to handle
> validation properly." I believe I can solve that by adding "detail" to
> validation excludeMethods in struts.xml. But that's not really what I want
> since I only want to exclude PersonAction.detail() from validation. Any
> suggestion on how to accomplish that?
> 

I found that you can do this on the WebWork forums: 
ActionClass-actionName-validation.xml  that'll work for me. Thanks, sorry
for the spam!

Philip

-- 
View this message in context: 
http://www.nabble.com/Exclude-action-method-from-Validation--tf3787062s2369.html#a10729206
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to