Author: konstantin.mishin
Date: 2008-03-05 13:43:31 -0500 (Wed, 05 Mar 2008)
New Revision: 6575
Added:
trunk/ui/dataTable/src/main/config/component/columnAttributes.ent
Modified:
trunk/ui/dataTable/src/main/config/component/column.xml
Log:
RF-1741
Modified: trunk/ui/dataTable/src/main/config/component/column.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/column.xml 2008-03-05 18:40:11 UTC (rev
6574)
+++ trunk/ui/dataTable/src/main/config/component/column.xml 2008-03-05 18:43:31 UTC (rev
6575)
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
"https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd" >
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
"https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd"
+[
+<!ENTITY attributes SYSTEM "columnAttributes.ent">
+]
+>
<components>
<component>
<name>org.richfaces.Column</name>
@@ -29,123 +33,6 @@
<taghandler>
<classname>org.richfaces.taglib.ColumnTagHandler</classname>
</taghandler>
- &ui_component_attributes;
- &html_universal_attributes;
- <property disabled="true">
- <name>header</name>
- </property>
- <property disabled="true">
- <name>footer</name>
- </property>
- <property>
- <name>colspan</name>
- <classname>int</classname>
- <description>Corresponds to the HTML colspan attribute</description>
- </property>
- <property>
- <name>rowspan</name>
- <classname>int</classname>
- <description>Corresponds to the HTML rowspan attribute</description>
- </property>
- <property>
- <name>breakBefore</name>
- <classname>boolean</classname>
- <description>if "true" next column begins from the first
row</description>
- </property>
- <property>
- <name>headerClass</name>
- <classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to
any header generated for this table</description>
- <defaultvalue>""</defaultvalue>
- </property>
- <property>
- <name>footerClass</name>
- <classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to
any footer generated for this table</description>
- <defaultvalue>""</defaultvalue>
- </property>
- <property>
- <name>width</name>
- <classname>java.lang.String</classname>
- <description>
- Attribute defines width of column.
- </description>
- </property>
-
- <property>
- <name>sortable</name>
- <classname>boolean</classname>
- <description>Boolean attribute. If "true" it's possible to sort
the column content after click on the header.
- Default value is "true"
- </description>
- <defaultvalue>true</defaultvalue>
- </property>
- <property>
- <name>sortExpression</name>
- <classname>java.lang.String</classname>
- <description>DEPRECATED(use sortBy)Attribute defines a bean property which is
used for sorting of a column</description>
- </property>
- <property>
- <name>sortBy</name>
- <classname>java.lang.String</classname>
- <description>Attribute defines a bean property which is used for sorting of a
column</description>
- </property>
- <property>
- <name>sortOrder</name>
- <classname>org.richfaces.model.Ordering</classname>
- <description>SortOrder is an enumeration of the possible sort
orderings.</description>
- <defaultvalue>Ordering.UNSORTED</defaultvalue>
- </property>
- <property>
- <name>comparator</name>
- <classname>java.util.Comparator</classname>
- <description></description>
- </property>
- <property>
- <name>selfSorted</name>
- <classname>boolean</classname>
- <description></description>
- <defaultvalue>true</defaultvalue>
- </property>
-
- <property elonly="true">
- <name>filterExpression</name>
- <classname>boolean</classname>
- <description>Attribute defines a bean property which is used for filtering of a
column</description>
- </property>
- <property elonly="true">
- <name>filterMethod</name>
- <classname>javax.el.MethodExpression</classname>
- <methodargs>java.lang.Object</methodargs>
- <returntype>boolean</returntype>
- <description></description>
- </property>
- <property elonly="true">
- <name>filterBy</name>
- <classname>java.lang.Object</classname>
- <description></description>
- </property>
- <property>
- <name>filterValue</name>
- <classname>java.lang.String</classname>
- <description></description>
- </property>
-
- <!--
- <property>
- <name>param</name>
- <classname>java.lang.String</classname>
- <description>
- </description>
- <defaultvalue>"default"</defaultvalue>
- </property>
- -->
-
- <property>
- <name>filterEvent</name>
- <classname>java.lang.String</classname>
- <description>Event for filter input that forces the filtration (default =
onchange)</description>
- <defaultvalue>"onchange"</defaultvalue>
- </property>
+ &attributes;
</component>
</components>
Added: trunk/ui/dataTable/src/main/config/component/columnAttributes.ent
===================================================================
--- trunk/ui/dataTable/src/main/config/component/columnAttributes.ent
(rev 0)
+++ trunk/ui/dataTable/src/main/config/component/columnAttributes.ent 2008-03-05 18:43:31
UTC (rev 6575)
@@ -0,0 +1,107 @@
+&ui_component_attributes;
+&html_universal_attributes;
+<property disabled="true">
+ <name>header</name>
+</property>
+<property disabled="true">
+ <name>footer</name>
+</property>
+<property>
+ <name>colspan</name>
+ <classname>int</classname>
+ <description>Corresponds to the HTML colspan attribute</description>
+</property>
+<property>
+ <name>rowspan</name>
+ <classname>int</classname>
+ <description>Corresponds to the HTML rowspan attribute</description>
+</property>
+<property>
+ <name>breakBefore</name>
+ <classname>boolean</classname>
+ <description>if "true" next column begins from the first
row</description>
+</property>
+<property>
+ <name>headerClass</name>
+ <classname>java.lang.String</classname>
+ <description>Space-separated list of CSS style class(es) that are be applied to
any header generated for this table</description>
+ <defaultvalue>""</defaultvalue>
+</property>
+<property>
+ <name>footerClass</name>
+ <classname>java.lang.String</classname>
+ <description>Space-separated list of CSS style class(es) that are be applied to
any footer generated for this table</description>
+ <defaultvalue>""</defaultvalue>
+</property>
+<property>
+ <name>width</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Attribute defines width of column.
+ </description>
+</property>
+
+<property>
+ <name>sortable</name>
+ <classname>boolean</classname>
+ <description>Boolean attribute. If "true" it's possible to sort the
column content after click on the header.
+ Default value is "true"
+ </description>
+ <defaultvalue>true</defaultvalue>
+</property>
+<property>
+ <name>sortExpression</name>
+ <classname>java.lang.String</classname>
+ <description>DEPRECATED(use sortBy)Attribute defines a bean property which is used
for sorting of a column</description>
+</property>
+<property>
+ <name>sortBy</name>
+ <classname>java.lang.String</classname>
+ <description>Attribute defines a bean property which is used for sorting of a
column</description>
+</property>
+<property>
+ <name>sortOrder</name>
+ <classname>org.richfaces.model.Ordering</classname>
+ <description>SortOrder is an enumeration of the possible sort
orderings.</description>
+ <defaultvalue>Ordering.UNSORTED</defaultvalue>
+</property>
+<property>
+ <name>comparator</name>
+ <classname>java.util.Comparator</classname>
+ <description></description>
+</property>
+<property>
+ <name>selfSorted</name>
+ <classname>boolean</classname>
+ <description></description>
+ <defaultvalue>true</defaultvalue>
+</property>
+
+<property elonly="true">
+ <name>filterExpression</name>
+ <classname>boolean</classname>
+ <description>Attribute defines a bean property which is used for filtering of a
column</description>
+</property>
+<property elonly="true">
+ <name>filterMethod</name>
+ <classname>javax.el.MethodExpression</classname>
+ <methodargs>java.lang.Object</methodargs>
+ <returntype>boolean</returntype>
+ <description></description>
+</property>
+<property elonly="true">
+ <name>filterBy</name>
+ <classname>java.lang.Object</classname>
+ <description></description>
+</property>
+<property>
+ <name>filterValue</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+</property>
+<property>
+ <name>filterEvent</name>
+ <classname>java.lang.String</classname>
+ <description>Event for filter input that forces the filtration (default =
onchange)</description>
+ <defaultvalue>"onchange"</defaultvalue>
+</property>
Show replies by date