myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r294851 - in /myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader: HtmlCommandSortHeader.java HtmlCommandSortHeader.xml HtmlCommandSortHeaderTag.java
Date Tue, 04 Oct 2005 17:18:28 GMT
Author: mmarinschek
Date: Tue Oct  4 10:18:23 2005
New Revision: 294851

URL: http://svn.apache.org/viewcvs?rev=294851&view=rev
Log:
fix for MYFACES-639 - thanks to Dave Brondsema

Modified:
    myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.java
    myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.xml
    myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeaderTag.java

Modified: myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.java?rev=294851&r1=294850&r2=294851&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.java
(original)
+++ myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.java
Tue Oct  4 10:18:23 2005
@@ -111,7 +111,7 @@
 
     public static final String COMPONENT_TYPE = "org.apache.myfaces.HtmlCommandSortHeader";
     public static final String COMPONENT_FAMILY = "javax.faces.Command";
-    private static final String DEFAULT_RENDERER_TYPE = "javax.faces.Link";
+    public static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.SortHeader";
 
     private String _columnName = null;
     private Boolean _arrow = null;

Modified: myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.xml?rev=294851&r1=294850&r2=294851&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.xml
(original)
+++ myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeader.xml
Tue Oct  4 10:18:23 2005
@@ -7,7 +7,7 @@
     <base-class>org.apache.myfaces.component.html.ext.HtmlCommandLink</base-class>
     <component-type>org.apache.myfaces.HtmlCommandSortHeader</component-type>
     <component-family>javax.faces.Command</component-family>
-    <renderer-type>javax.faces.Link</renderer-type>
+    <renderer-type>org.apache.myfaces.SortHeader</renderer-type>
     <field>
         <name>columnName</name>
         <type>java.lang.String</type>

Modified: myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeaderTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeaderTag.java?rev=294851&r1=294850&r2=294851&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeaderTag.java
(original)
+++ myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/sortheader/HtmlCommandSortHeaderTag.java
Tue Oct  4 10:18:23 2005
@@ -36,7 +36,7 @@
 
     public String getRendererType()
     {
-        return "org.apache.myfaces.SortHeader";
+        return HtmlCommandSortHeader.DEFAULT_RENDERER_TYPE;
     }
 
     private String _columnName;



Mime
View raw message