From: <jm...@us...> - 2005-11-18 00:34:24
|
Update of /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13531/src/documentation/content/xdocs/strutsdialogs Modified Files: index.xml mailreader-home.xml Log Message: Index: index.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs/index.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** index.xml 28 Sep 2005 16:57:44 -0000 1.16 --- index.xml 18 Nov 2005 00:34:15 -0000 1.17 *************** *** 247,250 **** --- 247,253 ---- and benefits of component approach for a Struts application. See the <link href="mailreader-walkingtour.html">Mail Reader Walking Tour</link> for details.</p> + + <p>See <link href="http://www.superinterface.com/mailreader">MailReader live demo</link> to + compare Struts Dialogs implementation with original Struts version.</p> </section> Index: mailreader-home.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs/mailreader-home.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mailreader-home.xml 23 Sep 2005 07:23:42 -0000 1.1 --- mailreader-home.xml 18 Nov 2005 00:34:15 -0000 1.2 *************** *** 202,207 **** <title>Configuration of Home component</title> <p>Follows the configuration of Home component in <code>struts-config.xml</code> file. The example ! below uses new <strong>component</strong>, <strong>event</strong> and <strong>render</strong> elements, ! introduced in Struts Dialogs 1.23:</p> <source> <action-mappings> --- 202,207 ---- <title>Configuration of Home component</title> <p>Follows the configuration of Home component in <code>struts-config.xml</code> file. The example ! below uses new <strong>component</strong>, <strong>transfer</strong> and ! <strong>render</strong> elements, introduced in Struts Dialogs 1.24:</p> <source> <action-mappings> *************** *** 211,218 **** view = "/home.jsp" type = "net.jspcontrols.mailreader.HomeAction"> ! <event name = "logon" path = "/Logon.do?DIALOG-EVENT-INIT"/> ! <event name = "signup" path = "/Registration.do?DIALOG-EVENT-CREATE"/> ! <event name = "accupdate" path = "/Registration.do?DIALOG-EVENT-UPDATE"/> ! <event name = "subscriptions" path = "/Subscriptions.do?DIALOG-EVENT-INIT"/> <render name = "failure" path = "/error.jsp" /> </component> --- 211,218 ---- view = "/home.jsp" type = "net.jspcontrols.mailreader.HomeAction"> ! <transfer name = "logon" path = "/Logon.do?DIALOG-EVENT-INIT"/> ! <transfer name = "signup" path = "/Registration.do?DIALOG-EVENT-CREATE"/> ! <transfer name = "accupdate" path = "/Registration.do?DIALOG-EVENT-UPDATE"/> ! <transfer name = "subscriptions" path = "/Subscriptions.do?DIALOG-EVENT-INIT"/> <render name = "failure" path = "/error.jsp" /> </component> *************** *** 244,248 **** configuration is used, the view should be defined as result of a forward element with "DIALOG-VIEW" name. This is one of the default view mapping names, that is used by <link href="dialogaction.html">DialogAction</link>.</p> ! <p>Similarly, <code><event></code> element is just the same as <code><forward ... redirect = "true"></code>, while <code><render></code> element is the same as <code><forward ... redirect = "false"></code>. Also, <code><component></code> element has different defaults, like turned off validation and session scope for --- 244,248 ---- configuration is used, the view should be defined as result of a forward element with "DIALOG-VIEW" name. This is one of the default view mapping names, that is used by <link href="dialogaction.html">DialogAction</link>.</p> ! <p>Similarly, <code><transfer></code> element is just the same as <code><forward ... redirect = "true"></code>, while <code><render></code> element is the same as <code><forward ... redirect = "false"></code>. Also, <code><component></code> element has different defaults, like turned off validation and session scope for |