Author: husted Date: Sun Nov 6 20:03:20 2005 New Revision: 331193 URL: http://svn.apache.org/viewcvs?rev=331193&view=rev Log: Update Core FAQs for 1.3 series.
Added: struts/core/trunk/xdocs/images/ struts/core/trunk/xdocs/images/how-to/ - copied from r331186, struts/site/trunk/xdocs/images/how-to/ Removed: struts/site/trunk/xdocs/images/how-to/ Modified: struts/core/trunk/xdocs/faqs/dispatchValidator.xml struts/core/trunk/xdocs/faqs/eclipse.xml struts/core/trunk/xdocs/faqs/index.xml struts/core/trunk/xdocs/faqs/netbeans40.xml struts/core/trunk/xdocs/faqs/works.xml struts/sandbox/trunk/overdrive/Nexus/Web/Controls/LetterFilter.ascx.cs struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs struts/sandbox/trunk/overdrive/PhoneBook/Core/PhoneBook.Core.xml Modified: struts/core/trunk/xdocs/faqs/dispatchValidator.xml URL: http://svn.apache.org/viewcvs/struts/core/trunk/xdocs/faqs/dispatchValidator.xml?rev=331193&r1=331192&r2=331193&view=diff ============================================================================== --- struts/core/trunk/xdocs/faqs/dispatchValidator.xml (original) +++ struts/core/trunk/xdocs/faqs/dispatchValidator.xml Sun Nov 6 20:03:20 2005 @@ -1,9 +1,9 @@ <?xml version="1.0"?> -<document url="./disValidate.xml"> +<document url="./dispatchValidator.xml"> <properties> - <title> Using the DispatchAction and Validator</title> + <title> Using the DispatchAction and Validator - Apache Struts</title> </properties> <body> @@ -196,7 +196,7 @@ onclick="this.form.submitName.value='previous'; this.form.page.value='1'"/> ]]></source> -For cancel, there are two options. We could use the Struts +For cancel, there are two options. We could use the Struts Taglib Cancel button or create an action specifically designed to process a cancel request. The <code>cancel</code> action has no associated validations. Modified: struts/core/trunk/xdocs/faqs/eclipse.xml URL: http://svn.apache.org/viewcvs/struts/core/trunk/xdocs/faqs/eclipse.xml?rev=331193&r1=331192&r2=331193&view=diff ============================================================================== --- struts/core/trunk/xdocs/faqs/eclipse.xml (original) +++ struts/core/trunk/xdocs/faqs/eclipse.xml Sun Nov 6 20:03:20 2005 @@ -1,29 +1,29 @@ <?xml version="1.0"?> -<document url="./ssl.xml"> +<document url="./eclipe.xml"> <properties> -<title>How to setup a basic Struts project using Eclipse IDE - Apache Struts</title> +<title>How to setup a basic Struts Core project using Eclipse IDE - Apache Struts</title> </properties> <body> -<section name="How to setup a basic Struts project using Eclipse IDE"> +<section name="How to setup a basic Struts Core project using Eclipse IDE"> <subsection name="Legal Disclamer"> <p> * DISCLAIMER - This simple How-To shows you one of many ways to setup a working project using<br/> -the Struts framework. This is mainly geared toward struts users who are new to Eclipse, and<br/> +the Struts Core framework. This is mainly geared toward Struts users who are new to Eclipse, and<br/> don't want to spend a lot of time figuring out the differences between their old IDE (if any)<br/> and this one.<br/> <br/> I will also apologize ahead of time for the formatting of this page.<br/> </p> In this How-To, I will demonstrate (using Eclipse 2.0.1) how to setup, compile, run,<br/> -and debug the struts-example web application that is bundled with the distribution.<br/> +and debug the struts-mailreader web application that is part of the Struts Applications subproject.<br/> <br/> Next, I will modify the code to pull some data from a MySql database using the popular <br/> relational mapping tool OJB. (This is actually quite simple) @@ -33,7 +33,7 @@ <subsection name="Let's get started"> Before we begin, you will need to create a directory somewhere to store your project.<br/> I typically use C:\personal\development\Projects\(some project)<br/> -Once that's done, extract the struts-example.war to that directory <br/> +Once that's done, extract the struts-mailreader.war to that directory <br/> (using your favorite zip utility)<br/> <br/> Delete the META-INF folder because this will be created during the build/jar/war process.<br/> @@ -42,7 +42,7 @@ <pre> -<project name="Struts Example" default="main" basedir="."> +<project name="Struts Mailreader" default="main" basedir="."> <!-- This is a basic build script, only the minimums here --> @@ -62,7 +62,7 @@ <property name="build.compiler" value="modern"/> <property name="build.dir" value="./WEB-INF/classes" /> <property name="src.dir" value="./WEB-INF/src"/> - <property name="war.file" value="struts-example"/> + <property name="war.file" value="struts-mailreader"/> <property name="war.file.name" value="${war.file}.war"/> <path id="project.class.path"> Modified: struts/core/trunk/xdocs/faqs/index.xml URL: http://svn.apache.org/viewcvs/struts/core/trunk/xdocs/faqs/index.xml?rev=331193&r1=331192&r2=331193&view=diff ============================================================================== --- struts/core/trunk/xdocs/faqs/index.xml (original) +++ struts/core/trunk/xdocs/faqs/index.xml Sun Nov 6 20:03:20 2005 @@ -69,10 +69,6 @@ </li> <li> - <a href="netbeans.html">Installing the Netbeans IDE (Version 3.4)</a> - </li> - - <li> <a href="netbeans40.html">Installing the Netbeans IDE (Version 4.0)</a> </li> @@ -100,17 +96,23 @@ </li> </ul> - <ul> - <li> - <a href="http://strutstestcase.sourceforge.net">Unit Testing with Struts TestCase</a> by Deryl Seale - </li> - </ul> +<ul> + <li> + <a href="http://opensource2.atlassian.com/confluence/oss/display/STRUTS/Home">Struts University</a> + </li> +</ul> <ul> <li> <a href="http://www.raibledesigns.com/page/rd/20030226#struts_validator_validating_two_fields">Struts Validator: Validating Two Fields Match</a> by Matt Raible </li> </ul> + + <ul> + <li> + <a href="http://strutstestcase.sourceforge.net">Unit Testing with Struts TestCase</a> by Deryl Seale + </li> + </ul> </section> Modified: struts/core/trunk/xdocs/faqs/netbeans40.xml URL: http://svn.apache.org/viewcvs/struts/core/trunk/xdocs/faqs/netbeans40.xml?rev=331193&r1=331192&r2=331193&view=diff ============================================================================== --- struts/core/trunk/xdocs/faqs/netbeans40.xml (original) +++ struts/core/trunk/xdocs/faqs/netbeans40.xml Sun Nov 6 20:03:20 2005 @@ -18,11 +18,11 @@ <p> * DISCLAIMER - This simple How-To shows you how easy it is to use NetBeans IDE 4.0 to write code for the Struts<br/> framework. It just works straight out of the box. Simply specify where your sources are<br/> -and where you want to store your Struts application, and NetBeans IDE 4.0 does everything<br/> +and where you want to store your Struts Core application, and NetBeans IDE 4.0 does everything<br/> you need -- it even generates a customized Ant build script for you and hooks its targets<br/> up to IDE commands such as "Build" and "Run".<br/> <br/> -This is mainly geared toward struts users who are new to NetBeans IDE 4.0, and don't want to spend +This is mainly geared toward Struts users who are new to NetBeans IDE 4.0, and don't want to spend a lot of time figuring out the differences between their old IDE and this one. <br/> </p> @@ -31,10 +31,10 @@ <section name="Let's get started"> -You will use wizards to set up and deploy the struts-example in 5 steps.<br/> +You will use wizards to set up and deploy the struts-mailreader in 5 steps.<br/> <br/> -Before we begin, let's create (or reuse) a folder to hold the project. Copy the struts-example.war<br/> -from the Struts distribution and extract it, with the result that it looks like this:<br/> +Before we begin, let's create (or reuse) a folder to hold the project. Copy the struts-mailreader.war<br/> +from the Struts Applications distribution and extract it, with the result that it looks like this:<br/> <br/> <img alt="" src="../images/how-to/netbeans4/directory.jpg"></img><br/><br/><br/> <ol> @@ -64,7 +64,7 @@ Now click Finish. That's it! You're done.<br/> Let's take a look at the result in the Projects window, and notice how<br/> - the Source Editor provides JSP code completion for Struts tag libraries:<br/> + the Source Editor provides JSP code completion for Struts JSP tag libraries:<br/> <br/> <img alt="" src="../images/how-to/netbeans4/creating-project7.jpg"></img><br/> <br/> @@ -79,7 +79,7 @@ <img alt="" src="../images/how-to/netbeans4/creating-project8.jpg"></img><br/><br/><br/> </li> <li> - Finally, run the Struts application. Right-click the project node in the Projects window<br/> + Finally, run the Mailreader application. Right-click the project node in the Projects window<br/> and choose Run Project.<br/> <br/> The Run Project command is hooked to the Run target in the IDE-generated Ant script.<br/> @@ -96,7 +96,7 @@ </section> -<section name="Let's set up a blank Struts application"> +<section name="Let's set up a blank Struts Core application"> Now you will use wizards to set up a new Struts application in NetBeans IDE 4.0, again in 5 steps.<br/> <br/> <ol> Modified: struts/core/trunk/xdocs/faqs/works.xml URL: http://svn.apache.org/viewcvs/struts/core/trunk/xdocs/faqs/works.xml?rev=331193&r1=331192&r2=331193&view=diff ============================================================================== --- struts/core/trunk/xdocs/faqs/works.xml (original) +++ struts/core/trunk/xdocs/faqs/works.xml Sun Nov 6 20:03:20 2005 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<document url="./newbie.xml"> +<document url="./works.xml"> <properties> <title>How Does Struts Core Work? - Apache Struts</title> </properties> Modified: struts/sandbox/trunk/overdrive/Nexus/Web/Controls/LetterFilter.ascx.cs URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Web/Controls/LetterFilter.ascx.cs?rev=331193&r1=331192&r2=331193&view=diff ============================================================================== --- struts/sandbox/trunk/overdrive/Nexus/Web/Controls/LetterFilter.ascx.cs (original) +++ struts/sandbox/trunk/overdrive/Nexus/Web/Controls/LetterFilter.ascx.cs Sun Nov 6 20:03:20 2005 @@ -183,7 +183,7 @@ /// </summary> /// <param name="input">List of letters to present as commands</param> private void LetterTable_Init(IList input) - { + { DataTable dt = new DataTable(); dt.Columns.Add(new DataColumn(LETTER_COLUMN, typeof (string))); @@ -195,6 +195,7 @@ } LetterTable = dt; + Letter = null; } /// <summary> Modified: struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs?rev=331193&r1=331192&r2=331193&view=diff ============================================================================== --- struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs (original) +++ struts/sandbox/trunk/overdrive/Nexus/Web/GridControl.ascx.cs Sun Nov 6 20:03:20 2005 @@ -800,7 +800,7 @@ { int from = (page * size) + 1; int thru = (page * size) + size; - // if (thru>count) thru = count; + if (thru>count) thru = count; ListPageIndexChangedArgs a = new ListPageIndexChangedArgs(); a.ItemFrom = from; a.ItemThru = thru; Modified: struts/sandbox/trunk/overdrive/PhoneBook/Core/PhoneBook.Core.xml URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Core/PhoneBook.Core.xml?rev=331193&r1=331192&r2=331193&view=diff ============================================================================== --- struts/sandbox/trunk/overdrive/PhoneBook/Core/PhoneBook.Core.xml (original) +++ struts/sandbox/trunk/overdrive/PhoneBook/Core/PhoneBook.Core.xml Sun Nov 6 20:03:20 2005 @@ -137,6 +137,21 @@ </summary> </member> + <member name="T:PhoneBook.Core.Commands.EntryInitial"> + <summary> + Create list of initial letters for Facility Names. + </summary> + </member> + <member name="F:PhoneBook.Core.Commands.EntryInitial.ALL"> + <summary> + Document token representing match all entries. + </summary> + </member> + <member name="F:PhoneBook.Core.Commands.EntryInitial.WILDCARD"> + <summary> + Document the wildcard character used by SQL queries. + </summary> + </member> <member name="T:PhoneBook.Core.App"> <summary> Tokens representing context keys. @@ -217,7 +232,13 @@ </member> <member name="F:PhoneBook.Core.App.ENTRY_LIST"> <summary> - Token for select all command. + Token for list all command. + </summary> + + </member> + <member name="F:PhoneBook.Core.App.ENTRY_INITIAL"> + <summary> + Token for Entry Initial command. </summary> </member> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]