someone promoted 2.2 from Alpha to GA while i was working on something else ...we need to take a look at this asap how did this bug slip between the cracks of the testcases? thanks for catching this bug steve! Martin ______________________________________________ Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > To: user@struts.apache.org; mgai...@hotmail.com > Subject: Re: Interceptor - Dynamically Add Result Config to Action Config > Date: Tue, 24 Aug 2010 11:17:47 -0400 > From: stur...@mit.edu > > On Tue, 24 Aug 2010 10:59:29 -0400, Martin Gainty <mgai...@hotmail.com> > wrote: > > > > > //reiterate 2.1.8 functionality: > > com.opensymphony.xwork2.ActionInvocation action_invocation; > > ActionProxy proxy=action_invocation.getProxy() > > ActionConfig config =proxy.getConfig(); > > > //where ActionConfig contains the addResultConfig method > > public Builder addResultConfig(ResultConfig resultConfig) { > > target.results.put(resultConfig.getName(), resultConfig); > > return this; > > } > > There's my problem - ActionConfig no longer exposes addResultConfig. This > method is now in the Builder inner class and only operates on a new > ActionConfig object (as far as I can see), whereas I want to add a result > to an existing ActionConfig. > > Steve > > > > //Struts 2.2 is in Alpha Stage if the functionality is absent can you > > file a JIRA? > > Struts 2.2. is now a GA release. > > Steve