Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 92873 invoked from network); 31 Aug 2005 05:16:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 05:16:21 -0000 Received: (qmail 38298 invoked by uid 500); 31 Aug 2005 05:16:17 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 38269 invoked by uid 500); 31 Aug 2005 05:16:17 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 38253 invoked by uid 99); 31 Aug 2005 05:16:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 22:16:16 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id C7F23127 for ; Wed, 31 Aug 2005 07:16:15 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: dev@struts.apache.org Date: Wed, 31 Aug 2005 05:16:15 -0000 Message-ID: <20050831051615.9244.83539@ajax.apache.org> Subject: [Struts Wiki] Update of "StrutsTi/XWork" by DonBrown X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by DonBrown: http://wiki.apache.org/struts/StrutsTi/XWork New page: #format wiki #language en = Building on XWork = This page describes aspects of Ti that build on XWork. == ControllerAction == src/java/org/apache/ti/processor/ControllerAction.java is a thin wrapper around a Controller object and is the key integration point between XWork and Ti. To support the special handling of this action, the following classes need to replace their XWork equivalences: ||XWork Interface||Ti Impl||Description|| ||[http://www.opensymphony.com/xwork/api/com/opensymphony/xwork/ObjectFactory.html ObjectFactory]||[src/java/org/apache/ti/processor/SpringObjectFactory.java SpringObjectFactory]||Overrides {{{buildAction}}} to support the Action class actually being a Controller, and if so, wrapping it in a !ControllerAction. If not, delegate to old behavior. It is important this extension is used by the custom !ActionInvocation instance since it is called by the configuration during initialization.|| ||[http://www.opensymphony.com/xwork/api/com/opensymphony/xwork/ActionProxyFactory.html ActionProxyFactory]||[src/java/org/apache/ti/processor/SpringActionProxyFactory.java SpringActionProxyFactory]||Overrides {{{createActionInvocation(*)}}} methods to return [src/java/org/apache/ti/processor/ControllerActionInvocation.java ControllerActionInvocation].|| ||[http://www.opensymphony.com/xwork/api/com/opensymphony/xwork/ActionInvocation.html ActionInvocation]||[src/java/org/apache/ti/processor/ControllerActionInvocation.java ControllerActionInvocation]||Provides special handling if Action is a !ControllerAction. If not, delegate to old behavior.|| At this point, the !ControllerAction integration doesn't really do much other than allow an Action to a POJO, however, in the future, Page Flow capabilities will be added, probably to [src/java/org/apache/ti/processor/ControllerActionInvocation.java ControllerActionInvocation]. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org