JBoss Rich Faces SVN: r7588 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-03 09:46:39 -0400 (Thu, 03 Apr 2008)
New Revision: 7588
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
Log:
http://jira.jboss.com/jira/browse/RF-1226
fixing pictures JS API
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-04-03 13:44:12 UTC (rev 7587)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-04-03 13:46:39 UTC (rev 7588)
@@ -370,30 +370,21 @@
</row>
<row>
<entry>cancel()</entry>
- <entry>changes its state to the previous one before editing (changed or view)</entry>
+ <entry>Changes its state to the previous one before editing (changed or view)</entry>
- </row>
-
- <row>
- <entry>save()</entry>
- <entry>the component hanges the state to the previous one before editing (changed or view)</entry>
- </row>
- <row>
- <entry>save()</entry>
- <entry>the component changes its state to changed with a new value</entry>
- </row>
+ </row>
<row>
<entry>save()</entry>
- <entry>the component changes its state to changed with a new value</entry>
+ <entry>Changes its state to changed with a new value</entry>
</row>
<row>
<entry>getValue()</entry>
- <entry>gets the current value</entry>
+ <entry>Gets the current value</entry>
</row>
<row>
<entry>setValue(newValue)</entry>
- <entry>sets the current value</entry>
+ <entry>Sets the current value</entry>
</row>
</tbody>
17 years, 5 months
JBoss Rich Faces SVN: r7587 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-03 09:44:12 -0400 (Thu, 03 Apr 2008)
New Revision: 7587
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
Log:
http://jira.jboss.com/jira/browse/RF-1226
fixing pictures
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-04-03 13:16:47 UTC (rev 7586)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-04-03 13:44:12 UTC (rev 7587)
@@ -360,35 +360,29 @@
<!--Sorting API -->
<row>
<entry>edit()</entry>
- <entry>changes the state to edit </entry>
+ <entry>Changes the state to edit </entry>
</row>
<row>
<entry>cancel()</entry>
- <entry>changes its state to the previous one before editing (changed or view)</entry>
+ <entry>Changes its state to the previous one before editing (changed or view)</entry>
</row>
+
<row>
<entry>save()</entry>
- <entry>the component hanges the state to the previous one before editing (changed or view)</entry>
+ <entry>Changes its state to changed with a new value</entry>
</row>
- <row>
- <entry>save()</entry>
- <entry>the component changes its state to changed with a new value</entry>
- </row>
+
<row>
- <entry>save()</entry>
- <entry>the component changes its state to changed with a new value</entry>
- </row>
- <row>
<entry>getValue()</entry>
- <entry>gets the current value</entry>
+ <entry>Gets the current value</entry>
</row>
<row>
<entry>setValue(newValue)</entry>
- <entry>sets the current value</entry>
+ <entry>Sets the current value</entry>
</row>
</tbody>
17 years, 5 months
JBoss Rich Faces SVN: r7586 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-03 09:16:47 -0400 (Thu, 03 Apr 2008)
New Revision: 7586
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
Log:
http://jira.jboss.com/jira/browse/RF-1226
fixing pictures
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-04-03 13:15:42 UTC (rev 7585)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-04-03 13:16:47 UTC (rev 7586)
@@ -82,36 +82,36 @@
<itemizedlist>
<listitem>
<para><property>View </property>state displays the current value as text;</para>
-<!-- <figure>
+ <figure>
<title>View state</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/inplaceInputViewState_shadow.png"/>
+ <imagedata fileref="images/inplaceSelectVw1.png"/>
</imageobject>
</mediaobject>
- </figure> -->
+ </figure>
</listitem>
<listitem>
<para><property>Edit </property>state displays a list with options;</para>
- <!--<figure>
+ <figure>
<title>Edit state</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/inplaceInputEditState_shadow.png"/>
+ <imagedata fileref="images/inplaceSelectEd1.png"/>
</imageobject>
</mediaobject>
- </figure>-->
+ </figure>
</listitem>
<listitem>
<para><property>Changed </property>state displays the value of the selected option as text</para>
- <!--<figure>
+ <figure>
<title>Changed state</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/inplaceInputChangedState_shadow.png"/>
+ <imagedata fileref="images/inplaceSelectCh1.png"/>
</imageobject>
</mediaobject>
- </figure> -->
+ </figure>
</listitem>
</itemizedlist>
17 years, 5 months
JBoss Rich Faces SVN: r7585 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-03 09:15:42 -0400 (Thu, 03 Apr 2008)
New Revision: 7585
Added:
trunk/docs/userguide/en/src/main/resources/images/inplaceSelectCh1.png
Log:
http://jira.jboss.com/jira/browse/RF-1226
fixing pictures
Added: trunk/docs/userguide/en/src/main/resources/images/inplaceSelectCh1.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/inplaceSelectCh1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 5 months
JBoss Rich Faces SVN: r7584 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-03 09:15:30 -0400 (Thu, 03 Apr 2008)
New Revision: 7584
Added:
trunk/docs/userguide/en/src/main/resources/images/inplaceSelectEd1.png
trunk/docs/userguide/en/src/main/resources/images/inplaceSelectVw1.png
Log:
http://jira.jboss.com/jira/browse/RF-1226
fixing pictures
Added: trunk/docs/userguide/en/src/main/resources/images/inplaceSelectEd1.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/inplaceSelectEd1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/inplaceSelectVw1.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/inplaceSelectVw1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 5 months
JBoss Rich Faces SVN: r7583 - in trunk/ui/fileUpload/src/main: resources/org/richfaces/renderkit/html/js and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-04-03 08:13:44 -0400 (Thu, 03 Apr 2008)
New Revision: 7583
Modified:
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx
Log:
RF-2925
Modified: trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
===================================================================
--- trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-04-02 16:24:16 UTC (rev 7582)
+++ trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-04-03 12:13:44 UTC (rev 7583)
@@ -5,6 +5,7 @@
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
+import java.util.Iterator;
import java.util.Map;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
@@ -12,8 +13,10 @@
import javax.el.ValueExpression;
import javax.faces.FactoryFinder;
import javax.faces.component.UIComponent;
+import javax.faces.component.UIParameter;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
+import javax.faces.event.ActionEvent;
import javax.faces.render.RenderKit;
import javax.faces.render.RenderKitFactory;
import javax.servlet.ServletRequest;
@@ -21,6 +24,7 @@
import javax.servlet.http.HttpSession;
import org.ajax4jsf.Filter;
+import org.ajax4jsf.component.UIActionParameter;
import org.ajax4jsf.context.AjaxContext;
import org.ajax4jsf.context.AjaxContextImpl;
import org.ajax4jsf.event.AjaxEvent;
@@ -128,7 +132,7 @@
}
}
-
+
/**
* Put max file count into session scope
*
@@ -651,6 +655,25 @@
progressBar.setTransient(false);
return progressBar;
}
+
+
+ /**
+ * Returns set of children UIParameters
+ * @param context
+ * @param component
+ * @return
+ */
+ public Object getChildrenParams(FacesContext context, UIComponent component) {
+ Map<String, Object> parameters = new HashMap<String, Object>();
+ for (Iterator<UIComponent> iterator = component.getChildren().iterator(); iterator.hasNext();) {
+ UIComponent child = iterator.next();
+ if (child instanceof UIParameter) {
+ UIParameter p = (UIParameter)child;
+ parameters.put(p.getName(), p.getValue());
+ }
+ }
+ return ((parameters.size() > 0) ? ScriptUtils.toScript(parameters) : JSReference.NULL);
+ }
/*
* (non-Javadoc)
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-04-02 16:24:16 UTC (rev 7582)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-04-03 12:13:44 UTC (rev 7583)
@@ -377,7 +377,7 @@
uploadedCount: 0,
- initialize: function(id, formId, stopScript, getFileSizeScript, progressBarId, classes, label, maxFiles, events, disabled, acceptedTypes, options, labels) {
+ initialize: function(id, formId, stopScript, getFileSizeScript, progressBarId, classes, label, maxFiles, events, disabled, acceptedTypes, options, labels, parameters) {
this.id = id;
this.element = $(this.id);
if (formId != '') {
@@ -404,6 +404,7 @@
this.items = $(this.id + ":fileItems");
this.classes = classes;
this.events = events;
+ this.parameters = parameters;
this.maxFileBatchSize = maxFiles;
this.currentInput = $(this.id + ":file");
@@ -952,7 +953,12 @@
function (state) {
this.updateViewState(state);
}.bind(this));
- parentForm.submit();
+ if (this.parameters) {
+ _JSFFormSubmit(null, parentForm.id, null, this.parameters);
+ //parentForm.submit();
+ }else {
+ parentForm.submit();
+ }
}
for (var i = 0; i < l; i++) {
Modified: trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx
===================================================================
--- trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx 2008-04-02 16:24:16 UTC (rev 7582)
+++ trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx 2008-04-03 12:13:44 UTC (rev 7583)
@@ -181,7 +181,7 @@
onsizerejected : #{this:getAsEventHandler(context, component, "onsizerejected")}
};
- new FileUpload('#{clientId}','#{formId}',#{this:getStopScript(context, component)}, #{this:getFileSizeScript(context, component)} ,'#{this:getProgressBarId(context, component)}', FileUpload.CLASSES, #{this:getLabelMarkup(context, component)}, #{maxCount}, events, #{component.attributes["disabled"]}, #{this:getAcceptedTypes(context, component)}, {'autoclear':#{component.attributes["autoclear"]},'autoUpload':#{component.attributes["immediateUpload"]}},#{this:_getLabels(labels)});
+ new FileUpload('#{clientId}','#{formId}',#{this:getStopScript(context, component)}, #{this:getFileSizeScript(context, component)} ,'#{this:getProgressBarId(context, component)}', FileUpload.CLASSES, #{this:getLabelMarkup(context, component)}, #{maxCount}, events, #{component.attributes["disabled"]}, #{this:getAcceptedTypes(context, component)}, {'autoclear':#{component.attributes["autoclear"]},'autoUpload':#{component.attributes["immediateUpload"]}},#{this:_getLabels(labels)},#{this:getChildrenParams(context, component)});
</script>
</span>
<f:call name="utils.encodeEndFormIfNessesary" />
17 years, 5 months
JBoss Rich Faces SVN: r7582 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vsukhov
Date: 2008-04-02 12:24:16 -0400 (Wed, 02 Apr 2008)
New Revision: 7582
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/progressBar.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2193 I've added keywords for progressBar, inplaceInput, inplaceSelect
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.desc.xml 2008-04-02 14:36:16 UTC (rev 7581)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.desc.xml 2008-04-02 16:24:16 UTC (rev 7582)
@@ -2,7 +2,7 @@
<section>
<sectioninfo>
<keywordset>
- <keyword></keyword>
+ <keyword>rich:inplaceInput</keyword>
</keywordset>
</sectioninfo>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.desc.xml 2008-04-02 14:36:16 UTC (rev 7581)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.desc.xml 2008-04-02 16:24:16 UTC (rev 7582)
@@ -2,7 +2,7 @@
<section>
<sectioninfo>
<keywordset>
- <keyword></keyword>
+ <keyword>rich:inplaceSelect</keyword>
</keywordset>
</sectioninfo>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/progressBar.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/progressBar.desc.xml 2008-04-02 14:36:16 UTC (rev 7581)
+++ trunk/docs/userguide/en/src/main/docbook/included/progressBar.desc.xml 2008-04-02 16:24:16 UTC (rev 7582)
@@ -2,7 +2,7 @@
<section>
<sectioninfo>
<keywordset>
- <keyword></keyword>
+ <keyword>rich:progressBar</keyword>
</keywordset>
</sectioninfo>
<section>
17 years, 5 months
JBoss Rich Faces SVN: r7581 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-04-02 10:36:16 -0400 (Wed, 02 Apr 2008)
New Revision: 7581
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-2901
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml 2008-04-02 14:28:01 UTC (rev 7580)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml 2008-04-02 14:36:16 UTC (rev 7581)
@@ -58,7 +58,7 @@
</f:facet>
<a4j:outputPanel layout="block">
<rich:toolTip direction="top-right" mode="ajax" showDelay="300"
- styleClass="tooltip" immediate="true" layout="block">
+ styleClass="tooltip" layout="block">
<a4j:actionparam name="key" value="#{row}"
assignTo="#{toolTipData.currentVehicleIndex}" />
17 years, 5 months
JBoss Rich Faces SVN: r7580 - in trunk/ui: drag-drop/src/main/config/component and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-04-02 10:28:01 -0400 (Wed, 02 Apr 2008)
New Revision: 7580
Modified:
trunk/ui/dataTable/src/main/config/component/colgroup.xml
trunk/ui/dataTable/src/main/config/component/dataGrid.xml
trunk/ui/dataTable/src/main/config/component/dataList.xml
trunk/ui/dataTable/src/main/config/component/dataTable.xml
trunk/ui/dataTable/src/main/config/component/subTable.xml
trunk/ui/drag-drop/src/main/config/component/dragSupport.xml
trunk/ui/drag-drop/src/main/config/component/dropSupport.xml
trunk/ui/toolBar/src/main/config/component/toolBar.xml
trunk/ui/tree/src/main/config/component/commonTreeListeners.ent
Log:
RF-2880 - updated description for attributes
Modified: trunk/ui/dataTable/src/main/config/component/colgroup.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/colgroup.xml 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/dataTable/src/main/config/component/colgroup.xml 2008-04-02 14:28:01 UTC (rev 7580)
@@ -65,7 +65,31 @@
<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>
+ <property elonly="true">
+ <name>filterMethod</name>
+ <classname>javax.el.MethodExpression</classname>
+ <methodargs>java.lang.Object</methodargs>
+ <returntype>boolean</returntype>
+ <description>This attribute is defined with method binding. This method accepts on Object parameter and return boolean value</description>
+ </property>
+ <property>
+ <name>filterValue</name>
+ <classname>java.lang.String</classname>
+ <description>Defines current filtering value</description>
+ </property>
+ <property>
+ <name>selfSorted</name>
+ <classname>boolean</classname>
+ <description>Manages if the header of the column is clickable, icons rendered and sorting is fired after click on the header. You need to define this attribute inside <rich:dataTable> component</description>
+ <defaultvalue>true</defaultvalue>
+ </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>param</name>
Modified: trunk/ui/dataTable/src/main/config/component/dataGrid.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataGrid.xml 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/dataTable/src/main/config/component/dataGrid.xml 2008-04-02 14:28:01 UTC (rev 7580)
@@ -129,7 +129,7 @@
<property>
<name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>java.lang.String</description>
+ <description>Request scoped variable for client access to rowKey</description>
</property>
<property>
<name>rowKey</name>
Modified: trunk/ui/dataTable/src/main/config/component/dataList.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataList.xml 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/dataTable/src/main/config/component/dataList.xml 2008-04-02 14:28:01 UTC (rev 7580)
@@ -128,7 +128,25 @@
&ui_data_attributes;
&html_universal_attributes;
&spec_table_attributes;
+
<property>
+ <name>rowKeyConverter</name>
+ <classname>java.lang.String</classname>
+ <description>Converter for a row key object</description>
+ </property>
+
+ <property>
+ <name>rowKey</name>
+ <classname>java.lang.Object</classname>
+ <description>RowKey is a representation of an identifier for a specific data row</description>
+ </property>
+ <property el="false">
+ <name>rowKeyVar</name>
+ <classname>java.lang.String</classname>
+ <description>The attribute provides access to a row key in a Request scope</description>
+ </property>
+
+ <property>
<name>type</name>
<classname>java.lang.String</classname>
<description>Corresponds to the HTML OL type attribute
@@ -243,7 +261,22 @@
<name>headerClass</name>
<classname>java.lang.String</classname>
</property>
-
+ <property>
+ <name>rowKeyConverter</name>
+ <classname>java.lang.String</classname>
+ <description>Converter for a row key object</description>
+ </property>
+ <property>
+ <name>rowKey</name>
+ <classname>java.lang.Object</classname>
+ <description>RowKey is a representation of an identifier for a specific data row</description>
+ </property>
+ <property el="false">
+ <name>rowKeyVar</name>
+ <classname>java.lang.String</classname>
+ <description>The attribute provides access to a row key in a Request scope</description>
+ </property>
+
</component>
</components>
Modified: trunk/ui/dataTable/src/main/config/component/dataTable.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataTable.xml 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/dataTable/src/main/config/component/dataTable.xml 2008-04-02 14:28:01 UTC (rev 7580)
@@ -125,6 +125,11 @@
<description>The attribute provides access to a row key in a Request scope</description>
</property>
<property>
+ <name>rowKeyConverter</name>
+ <classname>java.lang.String</classname>
+ <description>Converter for a row key object</description>
+ </property>
+ <property>
<name>stateVar</name>
<classname>java.lang.String</classname>
<description>
Modified: trunk/ui/dataTable/src/main/config/component/subTable.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/subTable.xml 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/dataTable/src/main/config/component/subTable.xml 2008-04-02 14:28:01 UTC (rev 7580)
@@ -146,6 +146,48 @@
<description>HTML: a script expression; a pointer is moved within of row
</description>
</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>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>selfSorted</name>
+ <classname>boolean</classname>
+ <description>Manages if the header of the column is clickable, icons rendered and sorting is fired after click on the header. You need to define this attribute inside <rich:dataTable> component</description>
+ <defaultvalue>true</defaultvalue>
+ </property>
+ <property elonly="true">
+ <name>filterMethod</name>
+ <classname>javax.el.MethodExpression</classname>
+ <methodargs>java.lang.Object</methodargs>
+ <returntype>boolean</returntype>
+ <description>This attribute is defined with method binding. This method accepts on Object parameter and return boolean value</description>
+ </property>
+ <property>
+ <name>filterValue</name>
+ <classname>java.lang.String</classname>
+ <description>Defines current filtering value</description>
+ </property>
+ <property>
+ <name>sortPriority</name>
+ <classname>java.util.Collection</classname>
+ <description>Defines a set of column ids in the order the columns could be set</description>
+ </property>
+ <property>
+ <name>sortMode</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Defines mode of sorting. Possible values are 'single' for sorting of one column and 'multi' for some.
+ </description>
+ </property>
+
<property hidden="true" existintag="false" exist="false" >
<name>sortFields</name>
</property>
Modified: trunk/ui/drag-drop/src/main/config/component/dragSupport.xml
===================================================================
--- trunk/ui/drag-drop/src/main/config/component/dragSupport.xml 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/drag-drop/src/main/config/component/dragSupport.xml 2008-04-02 14:28:01 UTC (rev 7580)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "http://labs.jboss.com/jbossrichfaces/component-config.dtd
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "http://labs.jboss.com/jbossrichfaces/component-config.dtd
">
<components>
@@ -94,6 +94,12 @@
<listener>
<name>dragListener</name>
+ <property existintag="true" exist="true" el="true" elonly="true">
+ <name>binding</name>
+ <classname>javax.faces.component.UIComponent</classname>
+ <description>The attribute takes a value-binding expression for a component property of
+ a backing bean</description>
+ </property>
<listenerclass>
org.richfaces.event.DragListener
</listenerclass>
Modified: trunk/ui/drag-drop/src/main/config/component/dropSupport.xml
===================================================================
--- trunk/ui/drag-drop/src/main/config/component/dropSupport.xml 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/drag-drop/src/main/config/component/dropSupport.xml 2008-04-02 14:28:01 UTC (rev 7580)
@@ -92,14 +92,20 @@
</description>
<defaultvalue>"default"</defaultvalue>
</property>
- -->
-
- <property hidden="true" >
- <name>actionExpression</name>
+ -->
+
+ <property hidden="true" >
+ <name>actionExpression</name>
</property>
</component>
<listener>
<name>dropListener</name>
+ <property existintag="true" exist="true" el="true" elonly="true">
+ <name>binding</name>
+ <classname>javax.faces.component.UIComponent</classname>
+ <description>The attribute takes a value-binding expression for a component property of
+ a backing bean</description>
+ </property>
<listenerclass>
org.richfaces.event.DropListener
</listenerclass>
Modified: trunk/ui/toolBar/src/main/config/component/toolBar.xml
===================================================================
--- trunk/ui/toolBar/src/main/config/component/toolBar.xml 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/toolBar/src/main/config/component/toolBar.xml 2008-04-02 14:28:01 UTC (rev 7580)
@@ -119,7 +119,7 @@
<property>
<name>onitemmousedown</name>
<classname>java.lang.String</classname>
- <description></description>
+ <description>HTML: script expression; a pointer button is pressed down on an item</description>
</property>
<property>
<name>onitemmousemove</name>
Modified: trunk/ui/tree/src/main/config/component/commonTreeListeners.ent
===================================================================
--- trunk/ui/tree/src/main/config/component/commonTreeListeners.ent 2008-04-02 14:09:15 UTC (rev 7579)
+++ trunk/ui/tree/src/main/config/component/commonTreeListeners.ent 2008-04-02 14:28:01 UTC (rev 7580)
@@ -1,5 +1,11 @@
<listener>
<name>dropListener</name>
+ <property existintag="true" exist="true" el="true" elonly="true">
+ <name>binding</name>
+ <classname>javax.faces.component.UIComponent</classname>
+ <description>The attribute takes a value-binding expression for a component property of
+ a backing bean</description>
+ </property>
<listenerclass>
org.richfaces.event.DropListener
</listenerclass>
@@ -18,6 +24,12 @@
<listener>
<name>dragListener</name>
+ <property existintag="true" exist="true" el="true" elonly="true">
+ <name>binding</name>
+ <classname>javax.faces.component.UIComponent</classname>
+ <description>The attribute takes a value-binding expression for a component property of
+ a backing bean</description>
+ </property>
<listenerclass>
org.richfaces.event.DragListener
</listenerclass>
@@ -37,6 +49,12 @@
<listener>
<name>changeExpandListener</name>
+ <property existintag="true" exist="true" el="true" elonly="true">
+ <name>binding</name>
+ <classname>javax.faces.component.UIComponent</classname>
+ <description>The attribute takes a value-binding expression for a component property of
+ a backing bean</description>
+ </property>
<listenerclass>
org.richfaces.event.NodeExpandedListener
</listenerclass>
@@ -59,6 +77,12 @@
</listener>
<listener>
<name>nodeSelectListener</name>
+ <property existintag="true" exist="true" el="true" elonly="true">
+ <name>binding</name>
+ <classname>javax.faces.component.UIComponent</classname>
+ <description>The attribute takes a value-binding expression for a component property of
+ a backing bean</description>
+ </property>
<listenerclass>
org.richfaces.event.NodeSelectedListener
</listenerclass>
17 years, 5 months
JBoss Rich Faces SVN: r7579 - trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-04-02 10:09:15 -0400 (Wed, 02 Apr 2008)
New Revision: 7579
Modified:
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java
Log:
RF-2912
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java 2008-04-02 12:53:55 UTC (rev 7578)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java 2008-04-02 14:09:15 UTC (rev 7579)
@@ -27,7 +27,7 @@
String filterValue = ((ExtendedFilterField)filterField).getFilterValue();
if(filterValue != null) {
filterValue = filterValue.trim().toUpperCase();
- if(!property.toString().trim().toUpperCase().startsWith(filterValue)) {
+ if(property == null || !property.toString().trim().toUpperCase().startsWith(filterValue)) {
return false;
}
}
17 years, 5 months