struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gvanma...@apache.org
Subject svn commit: r385089 - /struts/shale/trunk/clay-plugin/src/conf/clay-config.xml
Date Sat, 11 Mar 2006 15:03:04 GMT
Author: gvanmatre
Date: Sat Mar 11 07:03:04 2006
New Revision: 385089

URL: http://svn.apache.org/viewcvs?rev=385089&view=rev
Log:
The styleClass attribute was loosing its bindingType because it was defined twice in the base
clay-config.xml.  This prevented a EL binding for being evaluated.  The default binding type
is “None”.  This bug was reported by Richard Wallace.

Modified:
    struts/shale/trunk/clay-plugin/src/conf/clay-config.xml

Modified: struts/shale/trunk/clay-plugin/src/conf/clay-config.xml
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/conf/clay-config.xml?rev=385089&r1=385088&r2=385089&view=diff
==============================================================================
--- struts/shale/trunk/clay-plugin/src/conf/clay-config.xml (original)
+++ struts/shale/trunk/clay-plugin/src/conf/clay-config.xml Sat Mar 11 07:03:04 2006
@@ -32,8 +32,10 @@
         <set name="lang" bindingType="VB" />  
         <set name="style" bindingType="VB" />  
         <set name="title" bindingType="VB" />  
-        <set name="styleClass" bindingType="VB" /> 
         
+        <!-- Convention mapping "class" attribute to "styleClass" property -->
+        <set name="styleClass" bindingType="VB" value="@class"/>
+
         <!-- HTML 4.0 event-handler attributes --> 
         <set name="onclick" bindingType="VB" />  
         <set name="ondblclick" bindingType="VB" />  
@@ -46,9 +48,6 @@
         <set name="onkeypress" bindingType="VB" />  
         <set name="onkeydown" bindingType="VB" />  
         <set name="onkeyup" bindingType="VB" />
-
-        <!-- Convention mapping "class" attribute to "styleClass" property -->
-        <set name="styleClass" value="@class"/>
 
       </attributes>
       <symbols>



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


Mime
View raw message