Return-Path: Delivered-To: apmail-struts-commits-archive@locus.apache.org Received: (qmail 96510 invoked from network); 2 Jun 2006 12:32:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2006 12:32:53 -0000 Received: (qmail 67048 invoked by uid 500); 2 Jun 2006 12:32:50 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 66697 invoked by uid 500); 2 Jun 2006 12:32:49 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 66688 invoked by uid 99); 2 Jun 2006 12:32:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 05:32:48 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 05:32:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 9F62D1A9842; Fri, 2 Jun 2006 05:32:27 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r411140 [2/2] - in /struts/action/trunk: el/src/site/ el/src/site/xdoc/ extras/src/site/ extras/src/site/xdoc/ faces/src/site/ faces/src/site/xdoc/ scripting/src/site/ scripting/src/site/xdoc/ src/site/xdoc/ src/site/xdoc/faqs/ src/site/xdo... Date: Fri, 02 Jun 2006 12:32:21 -0000 To: commits@struts.apache.org From: husted@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060602123227.9F62D1A9842@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Modified: struts/action/trunk/taglib/src/site/xdoc/indexedprops.xml URL: http://svn.apache.org/viewvc/struts/action/trunk/taglib/src/site/xdoc/indexedprops.xml?rev=411140&r1=411139&r2=411140&view=diff ============================================================================== --- struts/action/trunk/taglib/src/site/xdoc/indexedprops.xml (original) +++ struts/action/trunk/taglib/src/site/xdoc/indexedprops.xml Fri Jun 2 05:32:19 2006 @@ -39,13 +39,13 @@ except with explicit JSP expressions (<%= %>).

- The Struts framework provides much more powerful features + The Struts Action Framework provides much more powerful features related to indexed properties, but in truth most of the heavy lifting is not even in - the Struts framework, but in the Jakarta Commons Beanutils + the Struts Action Framework, but in the Jakarta Commons Beanutils package. This - package is used by Struts to provide this functionality. + package is used by the framework to provide this functionality. You can see the javadoc documentation for the Beanutils package at

- The simplest demonstration of using indexed properties in - Struts can be + The simplest demonstration of using indexed properties + can be shown with the following simple bean and JSP page:

@@ -100,7 +100,7 @@
                     an "int" and
                     the "set" method takes an "int" and "String". The
                     Beanutils package and
-                    Struts recognizes this arrangement of signatures as an
+                    the framework recognizes this arrangement of signatures as an
                     "indexed property",
                     in this case with the property name "stringIndexed".
                 

@@ -269,7 +269,7 @@

First note the use of the class "LabelValueBean". This is a simple class - provided in the Struts library which represents a pair of + provided in the framework which represents a pair of two Strings, a "label" and a "value". It itself is a bean, providing these two @@ -305,12 +305,9 @@

- When people started using indexed properties in Struts - tags, I'm - reasonably certain they started out with a high level of - enthusiasm, but - were somewhat frustrated when they discovered reality. The - reality is + People often start using indexed properties with + enthusiasm, but soon become frustrated by an inconvenient + reality. The reality is that the "index" for indexed properties often needs to be a dynamic value, usually from the "indexId" counter in the "<logic:iterate>" @@ -561,13 +558,6 @@ </html-el:form> </body> </html>

-

- The Struts-EL library is part of the Struts distribution, - in the "contrib" - directory. The one drawback to using Struts-EL is that it - requires a web - container supporting the Servlet 2.3 specification. -

Modified: struts/action/trunk/taglib/src/site/xdoc/ssl.xml URL: http://svn.apache.org/viewvc/struts/action/trunk/taglib/src/site/xdoc/ssl.xml?rev=411140&r1=411139&r2=411140&view=diff ============================================================================== --- struts/action/trunk/taglib/src/site/xdoc/ssl.xml (original) +++ struts/action/trunk/taglib/src/site/xdoc/ssl.xml Fri Jun 2 05:32:19 2006 @@ -136,11 +136,11 @@
- +

- An extension to Struts 1.1, named sslext, helps solve many - of these issues for Struts + An extension to version 1.1, named sslext, helps solve many + of these issues for Struts Action developers. It extends the ActionConfig class, RequestProcessor, and Plugin classes to define a framework where developers may specify the Modified: struts/action/trunk/tiles/src/site/site.xml URL: http://svn.apache.org/viewvc/struts/action/trunk/tiles/src/site/site.xml?rev=411140&r1=411139&r2=411140&view=diff ============================================================================== --- struts/action/trunk/tiles/src/site/site.xml (original) +++ struts/action/trunk/tiles/src/site/site.xml Fri Jun 2 05:32:19 2006 @@ -57,9 +57,6 @@ - ${reports} Modified: struts/action/trunk/tiles/src/site/xdoc/dev_tiles.xml URL: http://svn.apache.org/viewvc/struts/action/trunk/tiles/src/site/xdoc/dev_tiles.xml?rev=411140&r1=411139&r2=411140&view=diff ============================================================================== --- struts/action/trunk/tiles/src/site/xdoc/dev_tiles.xml (original) +++ struts/action/trunk/tiles/src/site/xdoc/dev_tiles.xml Fri Jun 2 05:32:19 2006 @@ -166,7 +166,7 @@

-The Tiles framework is bundled with Struts but not enabled by default. To enable Tiles you need to: +The Tiles framework is bundled with Struts Action but not enabled by default. To enable Tiles you need to:

    @@ -191,7 +191,7 @@
    <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
    • - If you plan to use Tiles definitions defined in a centralized file, you need to create this file and instruct Struts to load the Tiles plugin which will create the factory corresponding to the file. You can have more than one definitions file. + If you plan to use Tiles definitions defined in a centralized file, you need to create this file and instruct Struts Action to load the Tiles plugin which will create the factory corresponding to the file. You can have more than one definitions file.
      • @@ -212,7 +212,7 @@
        • - Note: This plugin creates one factory for each Struts modules. The plugin first reads the factory parameters from web.xml and then overloads them with the ones defined in the first struts-config.xml file. + Note: This plugin creates one factory for each Struts Action modules. The plugin first reads the factory parameters from web.xml and then overloads them with the ones defined in the first struts-config.xml file.
      • @@ -255,13 +255,13 @@
        Developing applications with Tiles by Cedric Dumoulin and Ted Husted. Sample chapter from -Struts in Action; available as a free download (PDF). +Struts in Action; available as a free download (PDF).

        Using Tiles Sample beta chapter from -Programming Jakarta Struts; available as a free download (PDF). +Programming Jakarta Struts; available as a free download (PDF).

        Modified: struts/action/trunk/tiles/src/site/xdoc/examples.xml URL: http://svn.apache.org/viewvc/struts/action/trunk/tiles/src/site/xdoc/examples.xml?rev=411140&r1=411139&r2=411140&view=diff ============================================================================== --- struts/action/trunk/tiles/src/site/xdoc/examples.xml (original) +++ struts/action/trunk/tiles/src/site/xdoc/examples.xml Fri Jun 2 05:32:19 2006 @@ -140,7 +140,7 @@

        The scenario above can be avoided by defining Tiles in an XML configuration file. The file is loaded at servlet startup using the Tiles Servlet or - a Struts plugin. The example below defines the Tile in an XML file and + a Struts Action plugin. The example below defines the Tile in an XML file and uses the Tiles insert tag in a JSP to invoke it.

        file: WEB-INF/tiles-defs.xml @@ -271,7 +271,7 @@
        -
        +
        Modified: struts/action/trunk/tiles/src/site/xdoc/index.xml URL: http://svn.apache.org/viewvc/struts/action/trunk/tiles/src/site/xdoc/index.xml?rev=411140&r1=411139&r2=411140&view=diff ============================================================================== --- struts/action/trunk/tiles/src/site/xdoc/index.xml (original) +++ struts/action/trunk/tiles/src/site/xdoc/index.xml Fri Jun 2 05:32:19 2006 @@ -18,13 +18,13 @@ --> - Struts Action 1 - Tiles + Struts Action Framework - Tiles
        -

        Welcome to the Struts Tiles subproject. Tiles is a templating +

        Welcome to the Struts Tiles component. Tiles is a templating framework. It can be used to create a common look & feel for a web site or application and to create reusable view components. This site will give you all the information you need to get started.

        @@ -42,8 +42,8 @@ Definitions can take place :
        • in a centralized xml file
        • -
        • directly in jsp pages
        • -
        • programatically in struts actions
        • +
        • directly in JSP pages
        • +
        • programatically in Actions
      • Modified: struts/action/trunk/tiles/src/site/xdoc/installation.xml URL: http://svn.apache.org/viewvc/struts/action/trunk/tiles/src/site/xdoc/installation.xml?rev=411140&r1=411139&r2=411140&view=diff ============================================================================== --- struts/action/trunk/tiles/src/site/xdoc/installation.xml (original) +++ struts/action/trunk/tiles/src/site/xdoc/installation.xml Fri Jun 2 05:32:19 2006 @@ -63,19 +63,19 @@ Project. See the Dependencies List for specific versions. These dependencies can be downloaded using the Maven build process.
      • -
      • Struts Framework - If you are planning to use - Tiles with Struts, you should download and install Struts from +
      • Struts Action Framework - If you are planning to use + Tiles with Struts Action, you should download and install the framework from Apache Struts Project. - If you have acquired Tiles with the Struts distribution, you - don't need to install it again. Tiles can run without Struts. + If you have acquired Tiles with the framework distribution, you + don't need to install it again. Tiles can run without the framework. In this case you lose some features.

      First, download a binary distribution of Tiles, currently distributed - with the Struts Framework.

      + with the Struts Action Framework.

      Unpack the Tiles binary distribution into a convenient directory. (If you build Tiles from the source distribution, the result of the build will already be an unpacked binary distribution @@ -102,7 +102,7 @@

    • If you want to use the definitions configuration file, you need to initialize the definitions factory. This can be done as follows:
        -
      • Using Tiles With Struts - +
      • Using Tiles With Struts Action - Modify the WEB-INF/web.xml file for your web application to use a <servlet> that responds to Struts actions. Usually, this @@ -122,10 +122,10 @@ 2 ]]> -
      • Using Tiles With Struts - +
      • Using Tiles With Struts Action - You will also need to configure the Tiles Plugin and the Tiles Request Processor to - allow Struts to respond to Tiles-based Action Forwards. Below + allow the framework to respond to Tiles-based Action Forwards. Below is a sample Tiles Plugin configuration. @@ -135,8 +135,8 @@ ]]>
      • -
      • Using Tiles Without Struts - - If you don't want to use Struts, use the +
      • Using Tiles Without Struts Action - + If you don't want to use the framework, use the org.apache.struts.tiles.TilesServlet as the servlet.
      • Create a configuration file for definitions. Its name must @@ -181,10 +181,10 @@ commons-*.jar files (copied earlier) on the CLASSPATH that is submitted to the compiler.
      -

      Note to Struts 1.0 users :

      +

      Note to version 1.0 users :

        -
      • You should use a tiles.jar built with Struts 1.0.x.
      • -
      • If you have downloaded a Tiles version build with Struts 1.0.x, you +
      • You should use a tiles.jar built with version 1.0.x.
      • +
      • If you have downloaded a Tiles version build with version 1.0.x, you already have it.