You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by gv...@apache.org on 2006/03/11 16:03:04 UTC

svn commit: r385089 - /struts/shale/trunk/clay-plugin/src/conf/clay-config.xml

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


Re: svn commit: r385089 - /struts/shale/trunk/clay-plugin/src/conf/clay-config.xml

Posted by Craig McClanahan <cr...@apache.org>.
On 3/11/06, gvanmatre@apache.org <gv...@apache.org> wrote:
>
> 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.


Gary,

Last night I added the beginnings of release notes for a 1.0.1 release that
Wendy volunteered to manage (she'll be updating the release plan early next
week).  As we move forwards on stuff that does end up getting included in
1.0.1, could you add a paragraph under Section 3.2 or 3.3 (for bugs and
RFEs, respectively) for each change?

Thanks,
Craig

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
>
>