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:
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:
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
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
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
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-
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
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
This is the default stack:
dojo\..*
:
>
> 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
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
11 matches
Mail list logo