> -----Original Message----- > From: Michal Mosiewicz [mailto:[EMAIL PROTECTED] > > 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. >
In that case you wouldn't want to go through the Interceptors again for each Id... Just iterate over the Ids passed as params and call some method to delete each one. > 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. > I agree, but I wonder if we should throw an IllegalStateException if both the id is null and the executeResult is false... > Regards, > -- Mike > Jason ------------------------------------------------------- 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