Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
So, as I was saying, I don't like having to define multiple namespaces just to be able to define a default stack for a different group of actions. In the last example, if I give package B a namespace, it will work with each package having its own default stack. -- View this message in context:

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
When you specify a default stack for a package in which an action is part of, you do not have to specify an interceptor or interceptor stack on the action mapping. This makes maintenance far easier. In any case, I am referring to being able to do this:

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
Right now, I am forced to define a different namespace for each group of actions with a different default stack. Unlike the example discussed thus far, my action definitions don't specify an interceptor. The code posted is a little unique in that only this action uses the shown set of interceptor

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
aren't smart. I really wish there was a way to group actions for the purpose of applying default stacks without being forced to define a namespace or overriding the default stack of an existing namespace. newton.dave wrote: > > From: specdev2 <[EMAIL PROTECTED]> >> The action

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
Just to clarify, the following works as desired: toHtmlUtilityViewDef The action validate() method gets called properly by the Workflow Interceptor. http://struts.apache.org/2.x/docs/workflow-interc

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
Ok, I found the issue. The Workflow Interceptor is the one that calls validate. Hence, that's the interceptor I needed. The application now works fine. Thanks for all the help Dave. -- View this message in context: http://www.nabble.com/How-does-one-get-the-%22validate%22-method-to-be-called-

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
A break point in debug mode. Again, I get to the break point if I use the default stack as follow: toHtmlUtilityViewDef newton.dave wrote: > > From: specdev2 <[EMAIL PROTECTED]> >> There is just no logical reason as to why my st

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
I also have this: So: 1. I override the default stack. 2. I specify the exact interceptor(s) I need per action. This is to avoid useless processing. There is a fix in the work (a dtd fix) that will enable me to have a truely empty stack. Cu

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
This is the default stack: dojo\..*

Re: How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
: > > specdev2 <[EMAIL PROTECTED]> wrote: >> My action is extending ActionSupport and overriding the >> "validate" method. However, the validate method is not >> being called. > > > 1. Are you using the default interceptor stack? > 2. Have you co

How does one get the "validate" method to be called?

2008-01-29 Thread specdev2
Hi, My action is extending ActionSupport and overriding the "validate" method. However, the validate method is not being called. I have set the form tag validate attribute to true, but it makes no difference. What am I missing? Thanks. -- View this message in context: http://www.nabble.com/H