You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by ap...@apache.org on 2008/05/02 20:08:37 UTC

svn commit: r652854 - in /tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources: tiles-config_2_0.dtd tiles-config_2_1.dtd

Author: apetrelli
Date: Fri May  2 11:08:37 2008
New Revision: 652854

URL: http://svn.apache.org/viewvc?rev=652854&view=rev
Log:
TILES-266
Clarified docs for <add-attribute> and <add-list-attribute> elements.

Modified:
    tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd
    tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_1.dtd

Modified: tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd?rev=652854&r1=652853&r2=652854&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd (original)
+++ tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_0.dtd Fri May  2 11:08:37 2008
@@ -195,8 +195,9 @@
 <!ATTLIST add-attribute              value            CDATA           #IMPLIED>
 <!--
 @attr role           Security role name that is allowed access to this attribute
-                     object. The attribute is inserted only if the role name is
-                     allowed.
+                     object. The attribute will be added to the parent list
+                     anyway. It is delegated to the user of this attribute to
+                     use it or not depending on the role of the user.
 -->
 <!ATTLIST add-attribute              role             CDATA            #IMPLIED>
 
@@ -210,8 +211,9 @@
 <!ATTLIST add-list-attribute id               ID              #IMPLIED>
 <!--
 @attr role           Security role name that is allowed access to this attribute
-                     object. The attribute is inserted only if the role name is
-                     allowed.
+                     object. The attribute will be added to the parent list
+                     anyway. It is delegated to the user of this attribute to
+                     use it or not depending on the role of the user.
 -->
 <!ATTLIST add-list-attribute role             CDATA            #IMPLIED>
 

Modified: tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_1.dtd
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_1.dtd?rev=652854&r1=652853&r2=652854&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_1.dtd (original)
+++ tiles/framework/trunk/tiles-core/src/main/resources/org/apache/tiles/resources/tiles-config_2_1.dtd Fri May  2 11:08:37 2008
@@ -207,8 +207,9 @@
 <!ATTLIST add-attribute              value            CDATA           #IMPLIED>
 <!--
 @attr role           Security role name that is allowed access to this attribute
-                     object. The attribute is inserted only if the role name is
-                     allowed.
+                     object. The attribute will be added to the parent list
+                     anyway. It is delegated to the user of this attribute to
+                     use it or not depending on the role of the user.
 -->
 <!ATTLIST add-attribute              role             CDATA            #IMPLIED>
 
@@ -222,8 +223,9 @@
 <!ATTLIST add-list-attribute id               ID              #IMPLIED>
 <!--
 @attr role           Security role name that is allowed access to this attribute
-                     object. The attribute is inserted only if the role name is
-                     allowed.
+                     object. The attribute will be added to the parent list
+                     anyway. It is delegated to the user of this attribute to
+                     use it or not depending on the role of the user.
 -->
 <!ATTLIST add-list-attribute role             CDATA            #IMPLIED>