struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhol...@apache.org
Subject cvs commit: jakarta-struts/conf/share tiles-config_1_1.dtd
Date Sat, 03 May 2003 15:47:03 GMT
jholmes     2003/05/03 08:47:03

  Modified:    conf/share tiles-config_1_1.dtd
  Log:
  Put attributes in alphabetic order similar to struts-config.dtd
  
  Revision  Changes    Path
  1.5       +48 -46    jakarta-struts/conf/share/tiles-config_1_1.dtd
  
  Index: tiles-config_1_1.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/conf/share/tiles-config_1_1.dtd,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- tiles-config_1_1.dtd	3 May 2003 15:36:49 -0000	1.4
  +++ tiles-config_1_1.dtd	3 May 2003 15:47:03 -0000	1.5
  @@ -79,72 +79,73 @@
        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.
   
  -     name            The unique identifier for this definition.
  -
  -     path            The context-relative path to the resource used as tiles to
  -                     insert. This tiles will be inserted and a tiles context
  -                     containing appropriate attributes will be available.
  +     controllerClass The fully qualified Java class name of the controller
  +                     subclass to call immediately before the tiles is inserted.
  +                     Only one of controllerClass or controllerUrl should be
  +                     specified.
   
  -     page            Same as path.
  -     template        Same as path. For compatibility with the template tag library.
  +     controllerUrl   The context-relative path to the resource used as controller
  +                     called immediately before the tiles is inserted.
  +                     Only one of controllerClass or controllerUrl 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
                        be overloaded by providing a new value.
   
  +     name            The unique identifier for this definition.
  +
  +     page            Same as path.
  +
  +     path            The context-relative path to the resource used as tiles to
  +                     insert. This tiles will be inserted and a tiles context
  +                     containing appropriate attributes will be available.
  +
        role            Security role name that is allowed access to this definition
                        object. The definition is inserted only if the role name is
                        allowed.
   
  -     controllerClass The fully qualified Java class name of the controller
  -                     subclass to call immediately before the tiles is inserted.
  -                     Only one of controllerClass or controllerUrl should be
  -                     specified.
  -
  -     controllerUrl   The context-relative path to the resource used as controller
  -                     called immediately before the tiles is inserted.
  -                     Only one of controllerClass or controllerUrl should be
  -                     specified.
  +     template        Same as path. For compatibility with the template tag library.
   -->
   <!ELEMENT definition (icon?, display-name?, description?, put*, putList*)>
   <!ATTLIST definition       id               ID               #IMPLIED>
  +<!ATTLIST definition       controllerClass  %ClassName;      #IMPLIED>
  +<!ATTLIST definition       controllerUrl    %RequestPath;    #IMPLIED>
  +<!ATTLIST definition       extends          %DefinitionName; #IMPLIED>
   <!ATTLIST definition       name             %DefinitionName; #REQUIRED>
   <!ATTLIST definition       page             %RequestPath;    #IMPLIED>
   <!ATTLIST definition       path             %RequestPath;    #IMPLIED>
  -<!ATTLIST definition       extends          %DefinitionName; #IMPLIED>
   <!ATTLIST definition       role             CDATA            #IMPLIED>
   <!ATTLIST definition       template         %RequestPath;    #IMPLIED>
  -<!ATTLIST definition       controllerClass  %ClassName;      #IMPLIED>
  -<!ATTLIST definition       controllerUrl    %RequestPath;    #IMPLIED>
   
   
   <!-- The "put" element describes an attribute of a definition. It allows to
        specify the tiles attribute name and its value. The tiles value can be
        specified as an xml attribute, or in the body of the <put> tag.
   
  -     name            The unique identifier for this tiles attribute.
  +     content         Same as value. For compatibility with the template tag library.
   
  -     value           The value associated to this tiles attribute. The value should
  -                     be specified with this tag attribute, or in the body of the tag.
  +     direct          Same as type="string". For compatibility with the template
  +                     tag library.
  +
  +     name            The unique identifier for this tiles attribute.
   
        type            The type of the value. Can be: string, page, template or definition.
                        By default, no type is associated to a value. If a type is
                        associated, it will be used as a hint to process the value
                        when the attribute will be used in the inserted tiles.
   
  -     content         Same as value. For compatibility with the template tag library.
  -
  -     direct          Same as type="string". For compatibility with the template
  -                     tag library.
  +     value           The value associated to this tiles attribute. The value should
  +                     be specified with this tag attribute, or in the body of the tag.
   -->
   <!ELEMENT put (#PCDATA)>
   <!ATTLIST put              id               ID              #IMPLIED>
  -<!ATTLIST put              name             CDATA           #REQUIRED>
  -<!ATTLIST put              value            CDATA           #IMPLIED>
  -<!ATTLIST put              type             %ContentType;   #IMPLIED>
   <!ATTLIST put              content          CDATA           #IMPLIED>
   <!ATTLIST put              direct           %Boolean;       #IMPLIED>
  +<!ATTLIST put              name             CDATA           #REQUIRED>
  +<!ATTLIST put              type             %ContentType;   #IMPLIED>
  +<!ATTLIST put              value            CDATA           #IMPLIED>
   
   
   <!-- The "putList" element describes a list attribute of a definition. It allows to
  @@ -163,25 +164,25 @@
   <!-- The "add" element describes an element of a list. It is similar to the
        <put> element.
   
  -     value           The value associated to this tiles attribute. The value should
  -                     be specified with this tag attribute, or in the body of the tag.
  +     content         Same as value. For compatibility with the template tag library.
  +
  +     direct          Same as type="string". For compatibility with the template
  +                     tag library.
   
        type            The type of the value. Can be: string, page, template or definition.
                        By default, no type is associated to a value. If a type is
                        associated, it will be used as a hint to process the value
                        when the attribute will be used in the inserted tiles.
   
  -     content         Same as value. For compatibility with the template tag library.
  -
  -     direct          Same as type="string". For compatibility with the template
  -                     tag library.
  +     value           The value associated to this tiles attribute. The value should
  +                     be specified with this tag attribute, or in the body of the tag.
   -->
   <!ELEMENT add (#PCDATA)>
   <!ATTLIST add              id               ID              #IMPLIED>
  -<!ATTLIST add              value            CDATA           #IMPLIED>
  -<!ATTLIST add              type             %ContentType;   #IMPLIED>
   <!ATTLIST add              content          CDATA           #IMPLIED>
   <!ATTLIST add              direct           %Boolean;       #IMPLIED>
  +<!ATTLIST add              type             %ContentType;   #IMPLIED>
  +<!ATTLIST add              value            CDATA           #IMPLIED>
   
   
   <!-- The "bean" element describes an element of a list. It create a bean of the
  @@ -219,25 +220,26 @@
        "org.apache.struts.tiles.beans.SimpleMenuItem". This bean is useful to
        create a list of beans used as menu items.
   
  -     value           The bean 'value' property.
  -
  -     link            The bean 'link' property.
  +     classtype       The fully qualified classtype for this bean.
  +                     If specified, the classtype must be a subclass of the interface
  +                     "org.apache.struts.tiles.beans.MenuItem".
   
        icon            The bean 'icon' property.
   
  +     link            The bean 'link' property.
  +
        tooltip         The bean 'tooltip' property.
   
  -     classtype       The fully qualified classtype for this bean.
  -                     If specified, the classtype must be a subclass of the interface
  -                     "org.apache.struts.tiles.beans.MenuItem".
  +     value           The bean 'value' property.
   -->
   <!ELEMENT item (#PCDATA)>
   <!ATTLIST item             id               ID              #IMPLIED>
  -<!ATTLIST item             value            CDATA           #REQUIRED>
  -<!ATTLIST item             link             CDATA           #REQUIRED>
   <!ATTLIST item             classtype        %ClassName;     #IMPLIED>
   <!ATTLIST item             icon             CDATA           #IMPLIED>
  +<!ATTLIST item             link             CDATA           #REQUIRED>
   <!ATTLIST item             tooltip          CDATA           #IMPLIED>
  +<!ATTLIST item             value            CDATA           #REQUIRED>
  +
   
   <!-- ========== Info Elements ====================================== -->
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message