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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to