>[...]
> > I can't resolve the following issue - is this assumed that
> > invoke() may only be called once per instance, or multiple
> > times (I mean single request)?
> >
>
> Invoke on ActionInvocation? It is executed multiple times. Each call
> moves it forward in the Interceptor chain, so each Interceptor calls
> this to allow the rest of the processing to occur.

So this actually mean that it's assumed that there is a single invoke per
instance, right?

I was thinking if it's possible to that interceptor decides to invoke a
single action invocation chain multiple times to repeat the same logic to
execute over a group of parameters. This way if you had for example a
DeleteObject action that used a single primary-key parameter, you could
execute it over the parameter array by intercepting the execution, and
repeating it.

BTW - I like the idea of extending ActionTag and it's just enough for me. I
would also propose that the id parameter is not necessarily required in case
of using action to produce visible effect rather than for bean definition.

Regards,
-- Mike

Regards,
-- Mike





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to