Author: maksimkaszynski
Date: 2007-08-30 10:32:23 -0400 (Thu, 30 Aug 2007)
New Revision: 2617
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumn.java
trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumnGroup.java
trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataGrid.java
trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataList.java
trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java
trunk/ui/dataTable/src/main/java/org/richfaces/component/UISubTable.java
trunk/ui/dataTable/src/test/java/org/richfaces/util/ColumnUtilTest.java
Log:
fixed incorrect COMPONENT_TYPE declaration. It MUST be public
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumn.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumn.java 2007-08-30
14:31:00 UTC (rev 2616)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumn.java 2007-08-30
14:32:23 UTC (rev 2617)
@@ -21,17 +21,16 @@
package org.richfaces.component;
-import java.util.Date;
/**
* JSF component class
- *
+ *
*/
public abstract class UIColumn extends javax.faces.component.UIColumn implements Column
{
- private static final String COMPONENT_TYPE = "org.richfaces.Column";
+ public static final String COMPONENT_TYPE = "org.richfaces.Column";
- private static final String COMPONENT_FAMILY = "org.richfaces.Column";
+ public static final String COMPONENT_FAMILY = "org.richfaces.Column";
}
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumnGroup.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumnGroup.java 2007-08-30
14:31:00 UTC (rev 2616)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UIColumnGroup.java 2007-08-30
14:32:23 UTC (rev 2617)
@@ -33,9 +33,9 @@
*/
public abstract class UIColumnGroup extends UIPanel implements Row {
- private static final String COMPONENT_TYPE = "org.richfaces.Colgroup";
+ public static final String COMPONENT_TYPE = "org.richfaces.Colgroup";
- private static final String COMPONENT_FAMILY = "org.richfaces.Colgroup";
+ public static final String COMPONENT_FAMILY = "org.richfaces.Colgroup";
public Iterator columns(){
return new FilterIterator(getChildren().iterator(),UIDataTable.isColumn);
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataGrid.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataGrid.java 2007-08-30
14:31:00 UTC (rev 2616)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataGrid.java 2007-08-30
14:32:23 UTC (rev 2617)
@@ -31,9 +31,9 @@
*/
public abstract class UIDataGrid extends SequenceDataAdaptor {
- private static final String COMPONENT_TYPE = "org.richfaces.DataGrig";
+ public static final String COMPONENT_TYPE = "org.richfaces.DataGrig";
- private static final String COMPONENT_FAMILY = "org.richfaces.DataGrig";
+ public static final String COMPONENT_FAMILY = "org.richfaces.DataGrig";
/**
* Number of columns in one table row.
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataList.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataList.java 2007-08-30
14:31:00 UTC (rev 2616)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataList.java 2007-08-30
14:32:23 UTC (rev 2617)
@@ -27,13 +27,13 @@
/**
* JSF component class
- *
+ *
*/
public abstract class UIDataList extends SequenceDataAdaptor {
- private static final String COMPONENT_TYPE = "org.richfaces.DataList";
+ public static final String COMPONENT_TYPE = "org.richfaces.DataList";
- private static final String COMPONENT_FAMILY = "org.richfaces.DataList";
+ public static final String COMPONENT_FAMILY = "org.richfaces.DataList";
/* (non-Javadoc)
* @see org.ajax4jsf.ajax.repeat.UIDataAdaptor#dataChildren()
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java 2007-08-30
14:31:00 UTC (rev 2616)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java 2007-08-30
14:32:23 UTC (rev 2617)
@@ -145,8 +145,8 @@
return new FilterIterator(getChildren().iterator(), isColumn);
}
- private static final String COMPONENT_TYPE = "org.richfaces.DataTable";
+ public static final String COMPONENT_TYPE = "org.richfaces.DataTable";
- private static final String COMPONENT_FAMILY = "org.richfaces.DataTable";
+ public static final String COMPONENT_FAMILY = "org.richfaces.DataTable";
}
\ No newline at end of file
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UISubTable.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UISubTable.java 2007-08-30
14:31:00 UTC (rev 2616)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UISubTable.java 2007-08-30
14:32:23 UTC (rev 2617)
@@ -23,18 +23,16 @@
import java.util.Iterator;
-import org.apache.commons.collections.iterators.FilterIterator;
-
/**
* JSF component class
*
*/
public abstract class UISubTable extends UIDataTable implements Row {
- private static final String COMPONENT_TYPE = "org.richfaces.SubTable";
+ public static final String COMPONENT_TYPE = "org.richfaces.SubTable";
- private static final String COMPONENT_FAMILY = "org.richfaces.SubTable";
+ public static final String COMPONENT_FAMILY = "org.richfaces.SubTable";
/* (non-Javadoc)
* @see org.richfaces.component.Column#isBreakBefore()
Modified: trunk/ui/dataTable/src/test/java/org/richfaces/util/ColumnUtilTest.java
===================================================================
--- trunk/ui/dataTable/src/test/java/org/richfaces/util/ColumnUtilTest.java 2007-08-30
14:31:00 UTC (rev 2616)
+++ trunk/ui/dataTable/src/test/java/org/richfaces/util/ColumnUtilTest.java 2007-08-30
14:32:23 UTC (rev 2617)
@@ -21,8 +21,6 @@
package org.richfaces.util;
-import java.util.Collections;
-
import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
import org.richfaces.component.UIColumn;
Show replies by date