I'm not so sure we want to restrict all these things. I'm not terribly concerned about name. classname, I can live with. I feel pretty strongly that I want to be able to use EL to define value. I can think of circumstances where I would want to define id using EL. And it seems reasonable to be able to evaluate file with EL.

Can you give me your reasoning for wanting to restrict them from being used with EL?

Greg

On Sep 26, 2006, at 6:26 AM, [EMAIL PROTECTED] wrote:

Author: apetrelli
Date: Tue Sep 26 04:26:48 2006
New Revision: 449993

URL: http://svn.apache.org/viewvc?view=rev&rev=449993
Log:
SB-23
Specified <rtexprvalue>true</rtexprvalue> on all attributes that are not "scope", "type", "flush", "direct" that, IMO, don't need to be evaluated by EL.

Modified:
struts/sandbox/trunk/tiles/tiles-core/src/main/resources/META- INF/tiles-core.tld

Modified: struts/sandbox/trunk/tiles/tiles-core/src/main/resources/ META-INF/tiles-core.tld URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles- core/src/main/resources/META-INF/tiles-core.tld? view=diff&rev=449993&r1=449992&r2=449993 ====================================================================== ======== --- struts/sandbox/trunk/tiles/tiles-core/src/main/resources/META- INF/tiles-core.tld (original) +++ struts/sandbox/trunk/tiles/tiles-core/src/main/resources/META- INF/tiles-core.tld Tue Sep 26 04:26:48 2006
@@ -140,7 +140,7 @@
       <attribute>
          <name>name</name>
          <required>true</required>
-         <rtexprvalue>false</rtexprvalue>
+         <rtexprvalue>true</rtexprvalue>
          <description>
          <![CDATA[
<p>Specifies the name under which the newly created definition bean
@@ -220,7 +220,7 @@
       <attribute>
          <name>name</name>
          <required>false</required>
-         <rtexprvalue>false</rtexprvalue>
+         <rtexprvalue>true</rtexprvalue>
          <description>
          <![CDATA[
          <p>Name of the attribute.</p>
@@ -297,7 +297,7 @@
       <attribute>
          <name>name</name>
          <required>true</required>
-         <rtexprvalue>false</rtexprvalue>
+         <rtexprvalue>true</rtexprvalue>
          <description>
          <![CDATA[
          <p>Name of the list.</p>
@@ -323,7 +323,7 @@
       <attribute>
          <name>value</name>
          <required>false</required>
-         <rtexprvalue>false</rtexprvalue>
+         <rtexprvalue>true</rtexprvalue>
          <description>
          <![CDATA[
          <p>Element value. Can be a String or Object.</p>
@@ -508,7 +508,7 @@
       <attribute>
          <name>id</name>
          <required>false</required>
-         <rtexprvalue>false</rtexprvalue>
+         <rtexprvalue>true</rtexprvalue>
          <description>
          <![CDATA[
          <p>Declared attribute and variable name.</p>
@@ -518,7 +518,7 @@
       <attribute>
          <name>classname</name>
          <required>false</required>
-         <rtexprvalue>false</rtexprvalue>
+         <rtexprvalue>true</rtexprvalue>
          <description>
          <![CDATA[
          <p>Class of the declared variable.</p>
@@ -631,7 +631,7 @@
       <attribute>
          <name>file</name>
          <required>true</required>
-         <rtexprvalue>false</rtexprvalue>
+         <rtexprvalue>true</rtexprvalue>
          <description>
          <![CDATA[
          <p>Definition file name.</p>
@@ -641,7 +641,7 @@
       <attribute>
          <name>classname</name>
          <required>false</required>
-         <rtexprvalue>false</rtexprvalue>
+         <rtexprvalue>true</rtexprvalue>
          <description>
          <![CDATA[
<p>If specified, classname of the factory to create and initialized.</p>





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to