myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r940153 - /myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/datalist/HtmlListRenderer.java
Date Sun, 02 May 2010 02:05:39 GMT
Author: lu4242
Date: Sun May  2 02:05:38 2010
New Revision: 940153

URL: http://svn.apache.org/viewvc?rev=940153&view=rev
Log:
TOMAHAWK-1433 Add attribute itemOnclick to datalist

Modified:
    myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/datalist/HtmlListRenderer.java

Modified: myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/datalist/HtmlListRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/datalist/HtmlListRenderer.java?rev=940153&r1=940152&r2=940153&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/datalist/HtmlListRenderer.java
(original)
+++ myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/datalist/HtmlListRenderer.java
Sun May  2 02:05:38 2010
@@ -211,6 +211,7 @@ public class HtmlListRenderer
                     {
                         writer.startElement(HTML.LI_ELEM, component);
                         HtmlRendererUtils.renderHTMLAttribute(writer, component, "itemStyleClass",
HTML.STYLE_CLASS_ATTR);
+                        HtmlRendererUtils.renderHTMLAttribute(writer, component, "itemOnClick",
HTML.ONCLICK_ATTR);
                     }
                     else if (layout.equals(LAYOUT_GRID))
                     {



Mime
View raw message