You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ap...@apache.org on 2006/11/14 13:18:48 UTC

svn commit: r474759 - /struts/sandbox/trunk/tiles/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd

Author: apetrelli
Date: Tue Nov 14 04:18:47 2006
New Revision: 474759

URL: http://svn.apache.org/viewvc?view=rev&rev=474759
Log:
SB-85
Renamed "preparerClass" into "preparer" and removed "preparerUrl"

Modified:
    struts/sandbox/trunk/tiles/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd

Modified: struts/sandbox/trunk/tiles/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd?view=diff&rev=474759&r1=474758&r2=474759
==============================================================================
--- struts/sandbox/trunk/tiles/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd (original)
+++ struts/sandbox/trunk/tiles/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd Tue Nov 14 04:18:47 2006
@@ -96,16 +96,11 @@
      page. This definition is identified by its logical name. A definition allows
      to define all the attributes that can be set in <insert> tag from a jsp page.
 
-     preparerClass The fully qualified Java class name of the preparer
+     preparer        The fully qualified Java class name of the preparer
                      subclass to call immediately before the tiles is inserted.
                      Only one of preparerClass or preparerUrl should be
                      specified.
 
-     preparerUrl   The context-relative path to the resource used as preparer
-                     called immediately before the tiles is inserted.
-                     Only one of preparerClass or preparerUrl should be
-                     specified.
-
      extends         Name of a definition that is used as ancestor of this definition.
                      All attributes from the ancestor are available to the new
                      definition. Any attribute inherited from the ancestor can
@@ -123,8 +118,7 @@
 -->
 <!ELEMENT definition (icon?, display-name?, description?, put*, putList*)>
 <!ATTLIST definition       id               ID               #IMPLIED>
-<!ATTLIST definition       preparerClass  %ClassName;      #IMPLIED>
-<!ATTLIST definition       preparerUrl    %RequestPath;    #IMPLIED>
+<!ATTLIST definition       preparer         %ClassName;      #IMPLIED>
 <!ATTLIST definition       extends          %DefinitionName; #IMPLIED>
 <!ATTLIST definition       name             %DefinitionName; #REQUIRED>
 <!ATTLIST definition       role             CDATA            #IMPLIED>