From: <jm...@us...> - 2005-11-09 03:20:50
|
Update of /cvsroot/struts/dialogs/war/WEB-INF/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29970/war/WEB-INF/lib Modified Files: struts-config_1_2_dialog.dtd Log Message: Index: struts-config_1_2_dialog.dtd =================================================================== RCS file: /cvsroot/struts/dialogs/war/WEB-INF/lib/struts-config_1_2_dialog.dtd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** struts-config_1_2_dialog.dtd 23 Sep 2005 06:37:56 -0000 1.1 --- struts-config_1_2_dialog.dtd 9 Nov 2005 03:20:42 -0000 1.2 *************** *** 333,348 **** ! <!-- The "event" element is a "forward" element (see above) tuned for dialogs. ! By default, ActionForward defined with "event" element, has "redirect" attribute ! set to "true", because "event" is used to reload/navigate after first phase ! of two-phase request processing. ! Differences between "event" and "forward" are defined below. ! name The unique identifier for this forward. Referenced by the Action object at runtime to select - by its logical name - the resource that should complete the request/response. Contrary to regular "forward" element, this attribute ! can contain several mapping names, for example: name="ON-CREATE-SUCCESS, ON-DUPLICATE-SUCCESS". The above notation makes dialog configuration more compact, --- 333,363 ---- ! <!-- The "event" element allows to define method handlers for submit events. ! "name" is a submit element name, that is, request key. "handler" is a name ! of a method that is defined in an action class and handles the event. ! The signature of handler method must be the same as of execute() method. ! Class serving events is based on ForwardConfig. ! --> ! <!ELEMENT event (icon?, display-name?, description?, set-property*)> ! <!ATTLIST event id ID #IMPLIED> ! <!ATTLIST event className %ClassName; #IMPLIED> ! <!ATTLIST event name CDATA #REQUIRED> ! <!ATTLIST event handler CDATA #REQUIRED> ! ! <!-- The "transfer" element is a "forward" element (see above) tuned for dialogs. ! By default, ActionForward defined with "transfer" element has "redirect" ! attribute set to "true", because "transfer" is used to reload/navigate ! after first phase of two-phase request processing or to hand control ! to another action. ! ! Differences between "transfer" and "forward" are defined below. ! ! name The unique identifier for this transfer. Referenced by the Action object at runtime to select - by its logical name - the resource that should complete the request/response. Contrary to regular "forward" element, this attribute ! can contain several mapping names, for example: name="ON-CREATE-SUCCESS, ON-DUPLICATE-SUCCESS". The above notation makes dialog configuration more compact, *************** *** 350,366 **** redirect Set to "false" to perform in-server forward using ! RequestDispatcher.forward. If set to "true", a redirect ! instruction will be issued to the user-agent so that a new GET request is issued for this forward's resource. [true] --> ! <!ELEMENT event (icon?, display-name?, description?, set-property*)> ! <!ATTLIST event id ID #IMPLIED> ! <!ATTLIST event className %ClassName; #IMPLIED> ! <!ATTLIST event contextRelative %Boolean; #IMPLIED> ! <!ATTLIST event module %RequestPath; #IMPLIED> ! <!ATTLIST event name CDATA #REQUIRED> ! <!ATTLIST event path %RequestPath; #REQUIRED> ! <!ATTLIST event redirect %Boolean; #IMPLIED> --- 365,381 ---- redirect Set to "false" to perform in-server forward using ! RequestDispatcher.forward. If set to "true", a redirect ! instruction will be issued to the user-agent so that a new GET request is issued for this forward's resource. [true] --> ! <!ELEMENT transfer (icon?, display-name?, description?, set-property*)> ! <!ATTLIST transfer id ID #IMPLIED> ! <!ATTLIST transfer className %ClassName; #IMPLIED> ! <!ATTLIST transfer contextRelative %Boolean; #IMPLIED> ! <!ATTLIST transfer module %RequestPath; #IMPLIED> ! <!ATTLIST transfer name CDATA #REQUIRED> ! <!ATTLIST transfer path %RequestPath; #REQUIRED> ! <!ATTLIST transfer redirect %Boolean; #IMPLIED> *************** *** 548,552 **** [false] --> ! <!ELEMENT component (icon?, display-name?, description?, set-property*, exception*, event*, render*, forward*)> <!ATTLIST component id ID #IMPLIED> <!ATTLIST component attribute %BeanName; #IMPLIED> --- 563,567 ---- [false] --> ! <!ELEMENT component (icon?, display-name?, description?, set-property*, exception*, event*, transfer*, render*, forward*)> <!ATTLIST component id ID #IMPLIED> <!ATTLIST component attribute %BeanName; #IMPLIED> |