You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(16) |
Sep
(10) |
Oct
(1) |
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(148) |
Feb
(80) |
Mar
(41) |
Apr
(85) |
May
(247) |
Jun
(345) |
Jul
(237) |
Aug
(241) |
Sep
(439) |
Oct
(321) |
Nov
(413) |
Dec
(302) |
2004 |
Jan
(143) |
Feb
(147) |
Mar
(200) |
Apr
(107) |
May
(15) |
Jun
(36) |
Jul
(11) |
Aug
(1) |
Sep
(36) |
Oct
|
Nov
(6) |
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
(115) |
May
(74) |
Jun
(215) |
Jul
(82) |
Aug
(47) |
Sep
(32) |
Oct
(8) |
Nov
(70) |
Dec
(24) |
2006 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <jm...@us...> - 2005-07-11 06:49:17
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/samples/wizardaction/wizardsimple In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/samples/wizardaction/wizardsimple Removed Files: SimpleSignupAction.java SimpleSignupForm.java Log Message: Moving to new package --- SimpleSignupAction.java DELETED --- --- SimpleSignupForm.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:17
|
Update of /cvsroot/struts/dialogs/src/org/superinterface/wizard/intf/doc-files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/org/superinterface/wizard/intf/doc-files Removed Files: ewstatemachine.gif Log Message: Moving to new package --- ewstatemachine.gif DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:17
|
Update of /cvsroot/struts/dialogs/src/org/superinterface/wizard/impl/doc-files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/org/superinterface/wizard/impl/doc-files Removed Files: ewstatemachine.gif Log Message: Moving to new package --- ewstatemachine.gif DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:16
|
Update of /cvsroot/struts/dialogs/src/org/superinterface/wizard/impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/org/superinterface/wizard/impl Removed Files: Wizard.java WizardStep.java WizardTransition.java package.html Log Message: Moving to new package --- Wizard.java DELETED --- --- WizardStep.java DELETED --- --- WizardTransition.java DELETED --- --- package.html DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:16
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/samples/wizardaction/wizardsubclassed In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/samples/wizardaction/wizardsubclassed Removed Files: SubclassedSignupForm.java Log Message: Moving to new package --- SubclassedSignupForm.java DELETED --- |
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/samples/wizardaction/rules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/samples/wizardaction/rules Removed Files: SignupWizard.java StepConfirm.java StepDetails.java StepSignup.java Log Message: Moving to new package --- SignupWizard.java DELETED --- --- StepConfirm.java DELETED --- --- StepDetails.java DELETED --- --- StepSignup.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:16
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/samples/wizardaction/accounts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/samples/wizardaction/accounts Removed Files: UserAccounts.java Log Message: Moving to new package --- UserAccounts.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:15
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/samples/selectaction In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/samples/selectaction Removed Files: SelectActionTest.java Log Message: Moving to new package --- SelectActionTest.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:15
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/samples/dialogloginaction In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/samples/dialogloginaction Removed Files: DialogLoginAction.java DialogLoginActionControl.java DialogLoginForm.java Log Message: Moving to new package --- DialogLoginAction.java DELETED --- --- DialogLoginActionControl.java DELETED --- --- DialogLoginForm.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:15
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/samples/crudaction In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/samples/crudaction Removed Files: CRUDFormSample.java ItemListActionSample.java Log Message: Moving to new package --- CRUDFormSample.java DELETED --- --- ItemListActionSample.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:15
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/samples/crudaction/business In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/samples/crudaction/business Removed Files: BusinessObj.java Log Message: Moving to new package --- BusinessObj.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:15
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/actions/wizard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/actions/wizard Removed Files: IWizardManager.java WizardAction.java WizardConstants.java WizardForm.java Log Message: Moving to new package --- IWizardManager.java DELETED --- --- WizardAction.java DELETED --- --- WizardConstants.java DELETED --- --- WizardForm.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:14
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/actions/doc-files In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/actions/doc-files Removed Files: inputaction.gif selectaction.gif Log Message: Moving to new package --- inputaction.gif DELETED --- --- selectaction.gif DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:13
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/actions/crud In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/actions/crud Removed Files: CRUDAction.java CRUDConstants.java CRUDForm.java ICRUDForm.java Log Message: Moving to new package --- CRUDAction.java DELETED --- --- CRUDConstants.java DELETED --- --- CRUDForm.java DELETED --- --- ICRUDForm.java DELETED --- |
From: <jm...@us...> - 2005-07-11 06:49:13
|
Update of /cvsroot/struts/dialogs/src/net/sf/dialogs/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1987/src/net/sf/dialogs/actions Removed Files: DialogAction.java DialogConstants.java SelectAction.java package.html Log Message: Moving to new package --- DialogAction.java DELETED --- --- DialogConstants.java DELETED --- --- SelectAction.java DELETED --- --- package.html DELETED --- |
From: <jm...@us...> - 2005-07-11 06:07:50
|
Update of /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12571/src/documentation/content/xdocs/strutsdialogs Modified Files: index.xml Added Files: wizardaction.xml Log Message: --- NEW FILE: wizardaction.xml --- <?xml version="1.0"?> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd"> <document> <header> <title>Struts Dialogs: WizardAction</title> </header> <body> <section id="overview"> <title>Overview</title> <p>WizardAction and a corresponding WizardForm provide integration of <link href="https://easywizard.dev.java.net">Easy Wizard</link> flow engine with Struts. Easy Wizard allows to create robust sequences of web pages, known as <em>wizards</em>.</p> <p>See this <link href="http://www.superinterface.com/strutsdialog/wizardaction.do">online demo</link>, which simulates a signup for a new user accout. Play with the wizard, try to refresh any page, to use browser navigation buttons, to go back and forward; leave the wizard, navigate somewhere else, then return back and check its state; try to cancel wizard, to start it again, to use invalid values, just try to break it. If you like what you see, read on.</p> <p>Easy Wizard has modular architecture and consists of two components: <em>Rule Engine</em> and <em>Wizard Manager</em>.</p> <ul> <li>Rule Engine has no user interface, and is portable across different presentation environments.</li> <li>Wizard Manager integrates Rule Engine with particular web framework.</li> </ul> <section id="ruleengine"> <title>Rule Engine</title> <p>Rule Engine is the core wizard component, which does not depend on a particular presentation framework. It can be built and tested in headless mode, using only standard Java SE classes.</p> <p>Rule Engine contains definitions of wizard steps and transitions, and is customized for every specific flow. Rule Engine interacts with Wizard Manager by means of <em>Wizard Controller</em> object.</p> </section> <section id="wizardmanager"> <title>Wizard Manager</title> <p>Wizard Manager is the component, which adapts Rule Engine to a particular web framework. Easy Wizard provides a custom Wizard Manager for every framework it supports. The task of Wizard Manager is to accept input from a user and to render wizard pages.</p> </section> <figure src="images/wizard_arch_struts.gif" alt="Easy Wizard architecture"/> <section id="integration"> <title>Integration with Struts</title> <p>WizardAction and WizardForm classes provide functionality of a Wizard Manager. They handle requests and responses, accept user input, dispatch input event and data to the Rule Engine, collects error messages and display a page, appropriate to current wizard state.</p> <p>WizardAction channels user commands to Wizard Controller. If Forward transition was requested, Wizard Controller validates all outgoing transitions for current step, and chooses a valid one. Wizard Controller changes the state of Rule Engine and returns back error messages if any.</p> <p>After receiving result from Wizard Controller, WizardAction selects a proper page to display according to current state of Rule Engine.</p> </section> </section> <section id="creating"> <title>Creating a wizard</title> <p>To create a wizard you need to peform two steps:</p> <ul> <li>Define wizard rules by customizing Rule Engine</li> <li>Define interaction with a user by creating custom Wizard Manager</li> </ul> <p>To accomplish first task, please consult <link href="http://wiki.java.net/bin/view/Projects/EasyWizard">Easy Wizard project</link> and <link href="http://wiki.java.net/bin/view/Projects/EasyWizardDocumentation">Easy Wizard documentation</link>.</p> <p>You do not need to download Easy Wizard separately. You will find all source code in Struts Dialogs distribution. Easy Wizard source code in src\org\superinterface\wizard directory, WizardAction and WizardForm in src\net\sf\dialogs\actions\wizard directory, and Signup Wizard sample code in src\net\sf\dialogs\samples\wizardaction directory.</p> <p>The rest of this document describes how to create a Wizard Manager using WizardAction and WizardForm, and how to integrate it with Rule Engine that you should have developed beforehand.</p> </section> <section id="accessing"> <title>Accessing Rule Engine from Struts</title> <p>Considering, that you have already created a custom Rule Engine for Signup Wizard, we will now integrate it with Struts.</p> <p>To store and access Rule Engine you need to use an action form, which implements <code>IWizardManager</code> interface. This interface has the following methods:</p> <ul> <li><code>Map getWizardErrors();</code> - returns errors, accumulated by wizard during processing of input data.</li> <li><code>String wizardCancel();</code> - cancels wizard.</li> <li><code>String wizardBack();</code> - moves one step back if possible.</li> <li><code>String wizardNext();</code> - moves one step forward if possible.</li> <li><code>void disposeWizard();</code> - disposes wizard and performs housekeeping tasks.</li> <li><code>boolean isCompleted();</code> - returns true if wizard was completed or was never instantiated.</li> <li><code>String getWizardView();</code> - returns string mapping of a wizard page, corresponding to current wizard state. By convention, a wizard step is used as page mapping.</li> </ul> <p>The easiest way to use <code>IWizardManager</code> is to employ predefined <code>WizardForm</code> class, which already implements this interface.</p> </section> <section id="wizardform"> <title>Using WizardForm</title> <p>First thing you need to do is to decide how you are going to instantiate and initialize the Wizard Controller. The easiest way is to do it in the <code>reset()</code> method. The following code uses protected field <code>wizard</code>, defined in WizardForm. Direct access to this field seems easier than using method like <code>getWizard</code>.</p> <source> public void reset(ActionMapping mapping, HttpServletRequest request) { // Do not forget to call superclass super.reset(mapping, request); // This wizard does not have stub pages, thus initialize it every time // a user navigates to this action and wizard controller does not exist. if (wizard == null) { // Create new Wizard Controller instance; // Use internal to Rule Engine object for error messages. wizard = new SignupWizard(null); // Use this action form as wizard event listener; // it stores account info in the account database when // wizard is about to finish. wizard.addListener(this); } } </source> <p>To provide access to fields of your wizard you need to define a getter for a concrete Wizard Controller:</p> <source> public SignupWizard getSignupWizard() { return (SignupWizard) wizard; } </source> <p>Another thing you are likely to do is to define a listener for wizard forward/back operations by implementing IWizardListener interface. This allows you to catch the event when wizard is about to change state, so you can to prevent the state change if needed. For example, the following code saves new user name and password into user accout table, when wizard is about to finish. If username and password cannot be persisted, error message is generated and wizard is not allowed to finish.</p> <source> public boolean onTransition(int event) { // Not finishing wizard yet ==> not interested if (event != IWizardListener.STEP_LAST) return true; // Wizard is about to complete ==> store new user account if (UserAccounts.addUser( session, getSignupWizard().getStepSignup().getName(), getSignupWizard().getStepSignup().getPassword(), getSignupWizard().getStepDetails().getSecurityAnswerId(), getSignupWizard().getStepDetails().getSecurityAnswer(), true) ) return true; // Account was not stored ==> generate error, do not dispose wizard getWizardErrors().put("loginsignupcontrol.persisterror", new String[] {getSignupWizard().getStepSignup().getName()}); return false; } </source> <p>That is all for integrating Wizard Controller. All is left is to define an action mapping for the wizard in <code>struts-config.xml</code> file.</p> </section> <section id="keysandmappings"> <title>Wizard events and return mappings</title> <p>WizardAction defines the following user event keys and method handler names:</p> <p>"DIALOG-EVENT-CANCEL" --> <code>onCancel</code><br/> Cancel wizard; assigned to "Cancel" button.</p> <p>"DIALOG-EVENT-BACK" --> <code>onBack</code><br/> Tries to move one step back; assigned to "Back" or "Previous" button.</p> <p>"DIALOG-EVENT-NEXT" --> <code>onNext</code><br/> Tries to move one step forward or to finish a wizard, if current page is the last page of the wizard; assigned to "Back" or "Forward" or "Done" button.</p> <p>WizardConstants class defines the following view mappings used to select destination after a user event was processed, and wizard state was updated:</p> <p>String MAPPING_ON_CANCEL = "ON-CANCEL";<br/> Wizard was canceled by user.</p> <p>String MAPPING_ON_DONE = "ON-DONE";<br/> Wizard successfully finished.</p> <p>String MAPPING_ON_BACK_SUCCESS = "ON-BACK-SUCCESS";<br/> Wizard moved one step back.</p> <p>String MAPPING_ON_BACK_FAILURE = "ON-BACK-FAILURE";<br/> Failed to move one step back.</p> <p>String MAPPING_ON_NEXT_SUCCESS = "ON-NEXT-SUCCESS";<br/> Successfully moved one step forward, but not finished yet.</p> <p>String MAPPING_ON_NEXT_FAILURE = "ON-NEXT-FAILURE";<br/> Failed to move to next step.</p> <p>Below is the definition of wizard action mapping.</p> <source> <action path="/wizardaction" type = "net.sf.dialogs.actions.wizard.WizardAction" name = "wizardform" scope = "session" validate = "false" parameter = "DIALOG-EVENT"> <!-- Where to hand control over after input phase (POST) --> <forward name="MAPPING_ON_BACK_SUCCESS" path="/wizardaction.do" redirect="true"/> <forward name="MAPPING_ON_BACK_FAILURE" path="/wizardaction.do" redirect="true"/> <forward name="MAPPING_ON_NEXT_SUCCESS" path="/wizardaction.do" redirect="true"/> <forward name="MAPPING_ON_NEXT_FAILURE" path="/wizarderroraction.do" redirect="true"/> <forward name="ON-CANCEL" path="/allsamples.html" redirect="true"/> <forward name="ON-DONE" path="/wizard-userpage.jsp" redirect="true"/> <!-- Which page to load on the output phase or on refresh (GET) --> <forward name="Signup Node" path="/wizard-signupstart.jsp"/> <forward name="Details Node" path="/wizard-signupdetails.jsp"/> <forward name="Confirmation Node" path="/wizard-signupconfirm.jsp"/> </action> <action path="/wizarderroraction" forward="/wizard-error.jsp"/> </source> </section> <section id="samplecode"> <title>Sample code</title> <p>See full source code of user signup wizard in src\net\sf\dialogs\samples\wizardaction\wizardsubclassed directory of the downloaded code.</p> </section> <section id="livedemo"> <title>Live Demo</title> <p>See <link href="http://www.superinterface.com/strutsdialog/wizardaction.do">live demo of signup wizard</link>.</p> </section> </body> </document> Index: index.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs/index.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.xml 29 Jun 2005 22:51:33 -0000 1.6 --- index.xml 11 Jul 2005 06:07:37 -0000 1.7 *************** *** 89,114 **** handling of both item list and CRUD operations as one web component.</p> </section> ! <!-- <section id="wizardaction"> <title>WizardAction: creates robust page flows</title> ! <p>WizardAction allows to create web wizards, similar to traditional desktop wizard ! dialogs. A wizard has predefined sequence of states, and is rendered with HTML forms, ! containing Back, Forward, Cancel and Done pushbuttons.</p> ! <p>WizardAction is built on top of <link href="https://easywizard.dev.java.net">Easy Wizard</link>. ! To create your own wizard you need to peform two steps. ! First is to ! <link href="http://today.java.net/pub/a/today/2005/03/15/webwizard1.htm">define wizard rules</link>. ! Then you will need to create Wizard UI Manager, see description of WizardAction for details.</p> ! </section> ! --> ! <section id="actions"> ! <title>Links to action classes</title> ! <ul> ! <li><link href="selectaction.html">SelectAction</link></li> ! <li><link href="dialogaction.html">DialogAction</link></li> ! <li><link href="crudaction.html">CRUDAction</link></li> ! </ul> </section> </body> </document> --- 89,112 ---- handling of both item list and CRUD operations as one web component.</p> </section> ! <section id="wizardaction"> <title>WizardAction: creates robust page flows</title> ! <p><link href="wizardaction.html">WizardAction</link> allows to create <em>web wizards</em>, ! similar to traditional desktop wizard dialogs. A wizard has predefined sequence of states, ! and is rendered with HTML forms, containing Back, Forward, Cancel and Done pushbuttons.</p> ! </section> ! <section id="demos"> ! <title>Live Demos</title> ! <p>Each action class from Struts Dialogs library is illustrated with sample code and ! <link href="http://www.superinterface.com/strutsdialog">live demos</link>.</p> ! </section> ! ! <section id="download"> ! <title>Download</title> ! <p>Download Struts Dialogs 1.2 version from ! <link href="http://sourceforge.net/project/showfiles.php?group_id=49385&release_id=338164">SourceForge website</link>.</p> </section> + </body> </document> |
From: <jm...@us...> - 2005-07-11 06:07:46
|
Update of /cvsroot/struts/struts-site/src/documentation/resources/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12571/src/documentation/resources/images Added Files: wizard_arch_struts.gif Log Message: --- NEW FILE: wizard_arch_struts.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/struts/struts-site/src/documentation/resources/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22273/src/documentation/resources/images Added Files: control-login.jpg control-logout.jpg masterpage.jpg wizardaction.gif Removed Files: dialogaction_01.gif masterpage-01.jpg Log Message: --- NEW FILE: control-login.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: control-logout.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: masterpage.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wizardaction.gif --- (This appears to be a binary file; contents omitted.) --- dialogaction_01.gif DELETED --- --- masterpage-01.jpg DELETED --- |
Update of /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22273/src/documentation/content/xdocs/strutsdialogs Modified Files: dialogaction-logincomponentsample.xml dialogaction-logincontrolsample.xml dialogaction-logindialogsample.xml dialogaction.xml Log Message: Index: dialogaction-logincomponentsample.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs/dialogaction-logincomponentsample.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dialogaction-logincomponentsample.xml 29 Jun 2005 22:51:33 -0000 1.1 --- dialogaction-logincomponentsample.xml 5 Jul 2005 07:54:00 -0000 1.2 *************** *** 17,23 **** states of a user, and to change the mapping for result pages, because now we have two pages instead of one.</p> ! <figure src="images/logincomponent.gif" alt="Login web component"/> ! </section> --- 17,23 ---- states of a user, and to change the mapping for result pages, because now we have two pages instead of one.</p> ! <!-- <figure src="images/logincomponent.gif" alt="Login web component"/> ! --> </section> Index: dialogaction-logincontrolsample.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs/dialogaction-logincontrolsample.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dialogaction-logincontrolsample.xml 29 Jun 2005 22:51:33 -0000 1.3 --- dialogaction-logincontrolsample.xml 5 Jul 2005 07:54:00 -0000 1.4 *************** *** 17,21 **** be integrated in the master page:</p> ! <figure src="images/masterpage-01.jpg" alt="Login control"/> --> <p>Converting a login component into a control is easy. We need to change the apperance of JSP pages, --- 17,21 ---- be integrated in the master page:</p> ! <figure src="images/masterpage.jpg" alt="Login control"/> --> <p>Converting a login component into a control is easy. We need to change the apperance of JSP pages, *************** *** 69,73 **** </section> ! <section id="iocycle"> <title>Input/Output cycle</title> --- 69,73 ---- </section> ! <!-- <section id="iocycle"> <title>Input/Output cycle</title> *************** *** 83,90 **** </section> ! <section id="actionmapping"> <title>Action Mapping</title> <p>The only change that we need to make to login control comparing to login component, is the location of DIALOG-RELOAD mapping. Now it will point to the master page. Notice, that this change is made in --- 83,93 ---- </section> ! --> <section id="actionmapping"> <title>Action Mapping</title> + <p>User input is submitted directly to login control instead of being channeled to the master page. + How the login control can redraw itself, after its state changes?</p> + <p>The only change that we need to make to login control comparing to login component, is the location of DIALOG-RELOAD mapping. Now it will point to the master page. Notice, that this change is made in Index: dialogaction-logindialogsample.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs/dialogaction-logindialogsample.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dialogaction-logindialogsample.xml 29 Jun 2005 22:51:33 -0000 1.3 --- dialogaction-logindialogsample.xml 5 Jul 2005 07:54:01 -0000 1.4 *************** *** 7,10 **** --- 7,11 ---- <body> + <!-- <section id="test"> <title>Login Dialog Example</title> *************** *** 14,18 **** </section> ! <section id="actionclass"> <title>Action class</title> --- 15,19 ---- </section> ! --> <section id="actionclass"> <title>Action class</title> Index: dialogaction.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/strutsdialogs/dialogaction.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** dialogaction.xml 29 Jun 2005 22:51:33 -0000 1.4 --- dialogaction.xml 5 Jul 2005 07:54:01 -0000 1.5 *************** *** 37,42 **** <li><em>view rendering</em> phase generates a result page.</li> </ul> ! ! <figure src="images/dialogaction_01.gif" alt="DialogAction"/> <p>HTTP specification recommends to use POST method to modify server data, --- 37,44 ---- <li><em>view rendering</em> phase generates a result page.</li> </ul> ! <!-- ! <figure src="images/dialogaction.gif" alt="DialogAction"/> ! --> ! <figure src="images/dialogaction.gif" alt="DialogAction"/> <p>HTTP specification recommends to use POST method to modify server data, |
From: <jm...@us...> - 2005-07-05 07:54:14
|
Update of /cvsroot/struts/struts-site/src/documentation/content/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22273/src/documentation/content/xdocs Modified Files: index.xml Log Message: Index: index.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/index.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** index.xml 1 Jul 2005 22:54:34 -0000 1.11 --- index.xml 5 Jul 2005 07:54:00 -0000 1.12 *************** *** 88,99 **** <p> <strong>Struts Dialogs</strong><br /> ! Provides basic dialog functions, like accepting input data, dispatching submit event to a method, ! generating and storing error messages and rendering a view. DialogAction allows to create robust ! user inteface and provides simple event-based programming model.<br /> ! <br /> ! The main concept of Struts Dialogs is <strong>separation of input and output phases</strong>. This solves several issues related to HTML form input, most evident of which are double submit problem ! and annoying POSTDATA messages. I/O separation also improves usability for Reload, Back and ! Forward buttons. At present, Struts 1.2.7 and higher is supported. </p> <p> --- 88,96 ---- <p> <strong>Struts Dialogs</strong><br /> ! Provides basic dialog functions, allows to create robust user inteface using two-phase input processing. ! The main concept of Struts Dialogs is <strong>separation of input and output phases</strong>. This solves several issues related to HTML form input, most evident of which are double submit problem ! and annoying POSTDATA messages. I/O separation also improves usability for Reload, Back and ! Forward buttons. Struts 1.2.2+ is supported. </p> <p> *************** *** 121,127 **** This project is a modified version of the Struts HTML taglib that adds AJAX functionality. It is a declarative approach, i.e., a developer doesn't have to write any AJAX code themselves, although ! it is flexible enough to allow you to do so if you wish. At present, almost all Struts version in the ! 1.2.x branch are supported (1.2.0 through 1.2.6 at present). All the planned standard handlers are now ! done (read the readme for what that means!), but a few others will probably sneak in soon as well. If you are a Struts developer and want to jump on the AJAX bandwagon with little or no effort, this might be just the ticket! (please see the important note about this project on the AjaxTags page) --- 118,124 ---- This project is a modified version of the Struts HTML taglib that adds AJAX functionality. It is a declarative approach, i.e., a developer doesn't have to write any AJAX code themselves, although ! it is flexible enough to allow you to do so if you wish. At present, any Struts version in the ! 1.2.x branch is supported (1.2.0 through 1.2.7 at present). All the planned standard handlers are not ! done yet (read the readme for what that means!), but it is quite useful in it's current form. If you are a Struts developer and want to jump on the AJAX bandwagon with little or no effort, this might be just the ticket! (please see the important note about this project on the AjaxTags page) |
From: <fza...@us...> - 2005-07-01 22:54:47
|
Update of /cvsroot/struts/struts-site/src/documentation/content/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16762/src/documentation/content/xdocs Modified Files: index.xml Log Message: Index: index.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/index.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** index.xml 29 Jun 2005 04:32:14 -0000 1.10 --- index.xml 1 Jul 2005 22:54:34 -0000 1.11 *************** *** 56,60 **** </li> <li> ! <em>AjaxTags</em> - A modified version of the Struts HTML taglib that adds AJAX functionality in a purely declarative fashion </li> </ul> --- 56,61 ---- </li> <li> ! <em>AjaxTags</em> - A modified version of the Struts HTML taglib that adds AJAX functionality in a purely declarative fashion (please ! see the important note about this project on the AjaxTags page) </li> </ul> *************** *** 124,128 **** done (read the readme for what that means!), but a few others will probably sneak in soon as well. If you are a Struts developer and want to jump on the AJAX bandwagon with little or no effort, this ! might be just the ticket! </p> --- 125,129 ---- done (read the readme for what that means!), but a few others will probably sneak in soon as well. If you are a Struts developer and want to jump on the AJAX bandwagon with little or no effort, this ! might be just the ticket! (please see the important note about this project on the AjaxTags page) </p> |
From: <fza...@us...> - 2005-07-01 22:54:47
|
Update of /cvsroot/struts/struts-site/src/documentation/content/xdocs/ajaxtags In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16762/src/documentation/content/xdocs/ajaxtags Modified Files: index.xml Log Message: Index: index.xml =================================================================== RCS file: /cvsroot/struts/struts-site/src/documentation/content/xdocs/ajaxtags/index.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.xml 29 Jun 2005 04:32:13 -0000 1.4 --- index.xml 1 Jul 2005 22:54:33 -0000 1.5 *************** *** 28,31 **** --- 28,44 ---- <title>What's New</title> <section> + <title>AjaxTags (in its current form!) is dead... long live AjaxTags!</title> + <p> + 7/1/2005 - AjaxTags has evolved... it is no longer a Struts-only solution! AjaxTags can now function with any framework + out there, or with no framework at all, with the same degree of ease and codeless implementation as it gives developers now. + New versions of AjaxTags, not being Struts-specific any longer, will not be distributed on this site (what is here now + will of course remain though). AjaxTags is being rolled into the <link href="http://javawebparts.sourceforge.net">Java Web Parts</link> + project, and all new versions will proceed from there. Although the generic version is not strictly-speaking + backwards-compatible, you will find that the transition is quite easy. Your configuration files ARE NOT changed in ANY WAY, + only what is on your JSPs are slightly different. I highly encourage anyone using AjaxTags now, or considering using them, + to head on over to The Java Web Parts site and grab and download and check it out. <link href="http://javawebparts.sourceforge.net">The Java Web Parts Site</link> + </p> + </section> + <section> <title>v1.0 beta 3 released</title> <p> |
From: <fza...@us...> - 2005-07-01 20:51:02
|
Update of /cvsroot/struts/ajaxtags/WEB-INF/src/org/apache/struts/taglib/html/ajax/handlers/std In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16626/std Added Files: stdTextboxArea.java Log Message: --- NEW FILE: stdTextboxArea.java --- /* * Copyright 2005 Frank W. Zammetti * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package javawebparts.taglib.ajaxtags.handlers.std; import javawebparts.taglib.ajaxtags.handlers.HandlerRendererBase; /** * This class renders the Javascript for the std:TextboxArea response * handler. * * @author <a href="mailto:fza...@om...">Frank W. Zammetti</a> */ public class stdTextboxArea implements HandlerRendererBase { /** * Render the Javascript for this handler. * * @return The Javascript contents to insert into the page */ public String render() { StringBuffer sb = new StringBuffer(2048); sb.append("function stdTextboxArea() {\n"); sb.append(" if (ajaxXHR.readyState == 4) {\n"); sb.append(" if (ajaxXHR.status == 200) {\n"); sb.append(" for (i = 0; i < ajaxFRM.elements.length; i++) {\n"); sb.append(" if (ajaxFRM.elements[i].name == ajaxRHP) {\n"); sb.append(" ajaxFRM.elements[i].value = ajaxXHR.responseText;\n"); sb.append(" }\n"); sb.append(" }\n"); sb.append(" } else {\n"); sb.append(" alert(ajaxXHR.status);\n"); sb.append(" }\n"); sb.append(" }\n"); sb.append("}\n"); return sb.toString(); } // End render() } // End class |
From: <fza...@us...> - 2005-07-01 20:50:49
|
Update of /cvsroot/struts/ajaxtags/WEB-INF/src/org/apache/struts/taglib/html/ajax/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16527 Modified Files: AjaxElement.java Log Message: Index: AjaxElement.java =================================================================== RCS file: /cvsroot/struts/ajaxtags/WEB-INF/src/org/apache/struts/taglib/html/ajax/config/AjaxElement.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AjaxElement.java 29 Jun 2005 21:13:35 -0000 1.3 --- AjaxElement.java 1 Jul 2005 20:50:40 -0000 1.4 *************** *** 101,104 **** --- 101,116 ---- /** + * Returns the collection of AjaxEvent instances for this element. + * + * @return The collection of AjaxEvent instances for this element. + */ + public HashMap getEvents() { + + return events; + + } // End getEvents() + + + /** * Freezes the configuration of this object. */ |
From: <jm...@us...> - 2005-06-29 22:51:44
|
Update of /cvsroot/struts/struts-site In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27766 Added Files: b.cmd Log Message: --- NEW FILE: b.cmd --- call c:\Dev\apache-forrest-0-5-1\bin\forrest.bat site |