myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r709743 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java
Date Sat, 01 Nov 2008 18:24:32 GMT
Author: bommel
Date: Sat Nov  1 11:24:32 2008
New Revision: 709743

URL: http://svn.apache.org/viewvc?rev=709743&view=rev
Log:
TOBAGO-715: Constants * moving the attribute constants to class Attributes
Attribute name could not be the same as the method name
this cause an infinite loop on attribute map access

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java?rev=709743&r1=709742&r2=709743&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java
Sat Nov  1 11:24:32 2008
@@ -128,7 +128,9 @@
   public static final String SCRIPT_FILES = "scriptFiles";
   public static final String SCROLLBAR_HEIGHT = "scrollbarHeight";
   public static final String SCROLLBARS = "scrollbars";
-  public static final String SCROLL_POSITION = "scrollPosition";
+  // Attribute name could not be the same as the method name
+  // this cause an infinite loop on attribute map
+  public static final String SCROLL_POSITION = "attrScrollPosition";
   public static final String SELECTED_INDEX = "selectedIndex";
   public static final String SELECTED_LIST_STRING = "selectedListString";
   public static final String SORTABLE = "sortable";



Mime
View raw message