JBoss Rich Faces SVN: r4504 - trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-12-05 11:05:20 -0500 (Wed, 05 Dec 2007)
New Revision: 4504
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
RF-1494 small changes
Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-12-05 16:04:23 UTC (rev 4503)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-12-05 16:05:20 UTC (rev 4504)
@@ -842,7 +842,8 @@
},
doExpand: function(e) {
- if (e) this.skipEventOnCollapse = true;
+ this.skipEventOnCollapse = false;
+ if (e && e.type=='click') this.skipEventOnCollapse = true;
if (!this.params.popup || this.isVisible) return;
var element = $(this.id);
18 years, 7 months
JBoss Rich Faces SVN: r4503 - branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-12-05 11:04:23 -0500 (Wed, 05 Dec 2007)
New Revision: 4503
Modified:
branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
RF-1494 small changes
Modified: branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-12-05 15:50:54 UTC (rev 4502)
+++ branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-12-05 16:04:23 UTC (rev 4503)
@@ -842,7 +842,8 @@
},
doExpand: function(e) {
- if (e) this.skipEventOnCollapse = true;
+ this.skipEventOnCollapse = false;
+ if (e && e.type=='click') this.skipEventOnCollapse = true;
if (!this.params.popup || this.isVisible) return;
var element = $(this.id);
18 years, 7 months
JBoss Rich Faces SVN: r4502 - in branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit: html and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-12-05 10:50:54 -0500 (Wed, 05 Dec 2007)
New Revision: 4502
Modified:
branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java
branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
Log:
add more understandable error message if for attribute is null (RF-1327)
Modified: branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java
===================================================================
--- branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java 2007-12-05 15:50:26 UTC (rev 4501)
+++ branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java 2007-12-05 15:50:54 UTC (rev 4502)
@@ -29,8 +29,6 @@
protected static final Log log = LogFactory.getLog(HtmlRichMessageRenderer.class);
- public static final String NULL_PARAMETER_ERROR_MESSAGE = "null parameter ERROR";
-
public static final String COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE = "component not found in the view WARNING";
private static final String ERROR_NAME = "ERROR";
Modified: branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
===================================================================
--- branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-12-05 15:50:26 UTC (rev 4501)
+++ branches/3.1.x/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-12-05 15:50:54 UTC (rev 4502)
@@ -31,7 +31,7 @@
if(forClientId == null){
if(log.isErrorEnabled()){
- log.error(NULL_PARAMETER_ERROR_MESSAGE);
+ log.error("'for' attribute cannot be null");
}
}else{
18 years, 7 months
JBoss Rich Faces SVN: r4501 - in trunk/ui/message/src/main/java/org/richfaces/renderkit: html and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-12-05 10:50:26 -0500 (Wed, 05 Dec 2007)
New Revision: 4501
Modified:
trunk/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java
trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
Log:
add more understandable error message if for attribute is null (RF-1327)
Modified: trunk/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java
===================================================================
--- trunk/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java 2007-12-05 15:47:13 UTC (rev 4500)
+++ trunk/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java 2007-12-05 15:50:26 UTC (rev 4501)
@@ -29,8 +29,6 @@
protected static final Log log = LogFactory.getLog(HtmlRichMessageRenderer.class);
- public static final String NULL_PARAMETER_ERROR_MESSAGE = "null parameter ERROR";
-
public static final String COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE = "component not found in the view WARNING";
private static final String ERROR_NAME = "ERROR";
Modified: trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
===================================================================
--- trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-12-05 15:47:13 UTC (rev 4500)
+++ trunk/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-12-05 15:50:26 UTC (rev 4501)
@@ -29,9 +29,9 @@
String forClientId = msgComponent.getFor();
if(forClientId == null){
-
+
if(log.isErrorEnabled()){
- log.error(NULL_PARAMETER_ERROR_MESSAGE);
+ log.error("'for' attribute cannot be null");
}
}else{
18 years, 7 months
JBoss Rich Faces SVN: r4500 - branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-12-05 10:47:13 -0500 (Wed, 05 Dec 2007)
New Revision: 4500
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
Log:
fix rerender
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml 2007-12-05 15:23:13 UTC (rev 4499)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanelProperty.xhtml 2007-12-05 15:47:13 UTC (rev 4500)
@@ -8,32 +8,32 @@
<h:panelGrid columns="2">
<h:outputText value="Width:" />
<h:inputText value="#{modalPanel.width}">
- <a4j:support event="onchange" reRender="MPform:MPid"></a4j:support>
+ <a4j:support event="onchange" reRender="MPid"></a4j:support>
</h:inputText>
<h:outputText value="Height:" />
<h:inputText value="#{modalPanel.height}">
- <a4j:support event="onchange" reRender="MPform:MPid"></a4j:support>
+ <a4j:support event="onchange" reRender="MPid"></a4j:support>
</h:inputText>
<h:outputText value="minWidth:" />
<h:inputText value="#{modalPanel.minWidth}">
- <a4j:support event="onchange" reRender="MPform:MPid"></a4j:support>
+ <a4j:support event="onchange" reRender="MPid"></a4j:support>
</h:inputText>
<h:outputText value="minHeight:" />
<h:inputText value="#{modalPanel.minHeight}">
- <a4j:support event="onchange" reRender="MPform:MPid"></a4j:support>
+ <a4j:support event="onchange" reRender="MPid"></a4j:support>
</h:inputText>
<h:outputText value="Resizeable:" />
<h:selectBooleanCheckbox value="#{modalPanel.resizeable}">
- <a4j:support event="onclick" reRender="MPform:MPid"></a4j:support>
+ <a4j:support event="onclick" reRender="MPid"></a4j:support>
</h:selectBooleanCheckbox>
<h:outputText value="Moveable:" />
<h:selectBooleanCheckbox value="#{modalPanel.moveable}">
- <a4j:support event="onclick" reRender="MPform:MPid"></a4j:support>
+ <a4j:support event="onclick" reRender="MPid"></a4j:support>
</h:selectBooleanCheckbox>
</h:panelGrid>
</rich:simpleTogglePanel>
18 years, 7 months
JBoss Rich Faces SVN: r4499 - in branches/3.1.x/ui/componentControl/src/main: resources/org/richfaces/renderkit/html/script and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-12-05 10:23:13 -0500 (Wed, 05 Dec 2007)
New Revision: 4499
Modified:
branches/3.1.x/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java
branches/3.1.x/ui/componentControl/src/main/resources/org/richfaces/renderkit/html/script/controlUtils.js
branches/3.1.x/ui/componentControl/src/main/templates/htmlComponentControl.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1482
Modified: branches/3.1.x/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java
===================================================================
--- branches/3.1.x/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java 2007-12-05 15:14:00 UTC (rev 4498)
+++ branches/3.1.x/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java 2007-12-05 15:23:13 UTC (rev 4499)
@@ -16,6 +16,7 @@
import org.ajax4jsf.component.AjaxSupport;
import org.ajax4jsf.component.EventValueBinding;
import org.ajax4jsf.component.JavaScriptParameter;
+import org.ajax4jsf.javascript.JSFunction;
import org.ajax4jsf.javascript.JSReference;
import org.ajax4jsf.javascript.ScriptUtils;
import org.apache.commons.logging.Log;
@@ -41,20 +42,22 @@
*/
public String getEventString()
{
- StringBuffer buildOnEvent = new StringBuffer();
-
String targetId = HtmlUtil.idsToIdSelector(getFor());
- targetId=HtmlUtil.expandIdSelector(targetId, this, FacesContext.getCurrentInstance());
+ targetId = HtmlUtil.expandIdSelector(targetId, this, FacesContext.getCurrentInstance());
+
+ JSFunction invocation = new JSFunction("Richfaces.componentControl.performOperation");
+ invocation.addParameter(new JSReference("event"));
+ //FIXME: Maksim
+ //Replacement looks ugly - move that functionality to HtmlUtil
+ invocation.addParameter(targetId.replace("\\\\", "\\"));
+ invocation.addParameter(getOperation());
+ invocation.addParameter(new JSReference("{" + getEncodedParametersMap() + "}"));
+ invocation.addParameter(Boolean.valueOf(isDisableDefault()));
+
+ return invocation.toScript();
- buildOnEvent.append("Richfaces.componentControl.performOperation(event, ");
- buildOnEvent.append("'" + targetId + "',");
- buildOnEvent.append("'" + getOperation() + "',");
- buildOnEvent.append("{" + getEncodedParametersMap() + "});");
- return buildOnEvent.toString();
-
-
}
public String getEncodedParametersMap() {
Modified: branches/3.1.x/ui/componentControl/src/main/resources/org/richfaces/renderkit/html/script/controlUtils.js
===================================================================
--- branches/3.1.x/ui/componentControl/src/main/resources/org/richfaces/renderkit/html/script/controlUtils.js 2007-12-05 15:14:00 UTC (rev 4498)
+++ branches/3.1.x/ui/componentControl/src/main/resources/org/richfaces/renderkit/html/script/controlUtils.js 2007-12-05 15:23:13 UTC (rev 4499)
@@ -29,11 +29,9 @@
};
-Richfaces.componentControl.attachEvent = function(attachTo, aevent, forAttr, operation, params) {
- jQuery(attachTo).bind(Richfaces.effectEventOnOut(aevent), function(cevent) {
- Richfaces.componentControl.eachComponent(forAttr, function(component) {
- component[operation](cevent, params);
- });
+Richfaces.componentControl.attachEvent = function(attachTo, aevent, forAttr, operation, params, disableDefault) {
+ jQuery(attachTo).bind(Richfaces.effectEventOnOut(aevent),function(cevent) {
+ Richfaces.componentControl.performOperation(cevent, forAttr, operation, params, disableDefault);
}).each(function() {
Richfaces.componentControl.applyDecorations(this, forAttr, function(element) {
//TODO: handle component decoration
@@ -41,10 +39,13 @@
});
};
-Richfaces.componentControl.performOperation = function( cevent, forAttr, operation, params) {
+Richfaces.componentControl.performOperation = function( cevent, forAttr, operation, params, disableDefault) {
Richfaces.componentControl.eachComponent(forAttr, function(component) {
component[operation](cevent, params);
});
+ if (disableDefault) {
+ Event.stop(cevent);
+ }
};
Modified: branches/3.1.x/ui/componentControl/src/main/templates/htmlComponentControl.jspx
===================================================================
--- branches/3.1.x/ui/componentControl/src/main/templates/htmlComponentControl.jspx 2007-12-05 15:14:00 UTC (rev 4498)
+++ branches/3.1.x/ui/componentControl/src/main/templates/htmlComponentControl.jspx 2007-12-05 15:23:13 UTC (rev 4499)
@@ -41,7 +41,7 @@
//<![CDATA[
function #{name}(cevent) {
Richfaces.componentControl.performOperation(
- cevent, '#{forAttr}', '#{operation}', {#{params}} );
+ cevent, '#{forAttr}', '#{operation}', {#{params}}, #{component.disableDefault} );
}
//]]>
</script>
@@ -54,7 +54,7 @@
{
Richfaces.componentControl.attachEvent(
- '#{attachTo}', '#{event}', '#{forAttr}', '#{operation}', {#{params}} );
+ '#{attachTo}', '#{event}', '#{forAttr}', '#{operation}', {#{params}}, #{component.disableDefault} );
}
//]]>
@@ -68,7 +68,7 @@
//<![CDATA[
jQuery(document).ready(function() {
Richfaces.componentControl.attachEvent(
- '#{attachTo}', '#{event}', '#{forAttr}', '#{operation}', {#{params}} );
+ '#{attachTo}', '#{event}', '#{forAttr}', '#{operation}', {#{params}}, #{component.disableDefault} );
});
//]]>
18 years, 7 months
JBoss Rich Faces SVN: r4498 - branches/3.1.x/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-12-05 10:14:00 -0500 (Wed, 05 Dec 2007)
New Revision: 4498
Modified:
branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml
Log:
http://jira.jboss.com/jira/browse/RF-1184 - fixed errors in classes names
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml 2007-12-05 15:06:39 UTC (rev 4497)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml 2007-12-05 15:14:00 UTC (rev 4498)
@@ -361,88 +361,72 @@
<thead>
<row>
<entry>Function</entry>
- <entry>Description</entry>
- <!--entry>Element</entry-->
+ <entry>Description</entry><!--entry>Element</entry-->
</row>
</thead>
<tbody>
<!--Sorting API -->
<row>
<entry>doSortAscending()</entry>
- <entry>Sorts items in the list ascending</entry>
- <!--entry>Component</entry-->
+ <entry>Sorts items in the list ascending</entry><!--entry>Component</entry-->
</row>
<row>
<entry>doSortDescending()</entry>
- <entry>Sorts items in the list descending</entry>
- <!--entry>Component</entry-->
+ <entry>Sorts items in the list descending</entry><!--entry>Component</entry-->
</row>
<row>
<entry>doSort()</entry>
- <entry>Inverts current sorting</entry>
- <!--entry>Component</entry-->
+ <entry>Inverts current sorting</entry><!--entry>Component</entry-->
</row>
<!--Controls common API -->
<row>
<entry>doHide()</entry>
- <entry>Hides ordering control</entry>
- <!--entry>Any Ordering control</entry-->
+ <entry>Hides ordering control</entry><!--entry>Any Ordering control</entry-->
</row>
<row>
<entry>doShow()</entry>
- <entry>Shows ordering control</entry>
- <!--entry>Any Ordering control</entry-->
+ <entry>Shows ordering control</entry><!--entry>Any Ordering control</entry-->
</row>
<row>
<entry>isShown()</entry>
- <entry>Checks if current control is shown</entry>
- <!--entry>Any Ordering control</entry-->
+ <entry>Checks if current control is shown</entry><!--entry>Any Ordering control</entry-->
</row>
<row>
<entry>doEnable()</entry>
- <entry>Enables ordering control</entry>
- <!--entry>Any Ordering control</entry-->
+ <entry>Enables ordering control</entry><!--entry>Any Ordering control</entry-->
</row>
<row>
<entry>doDisable()</entry>
- <entry>Disables ordering control</entry>
- <!--entry>Any Ordering control</entry-->
+ <entry>Disables ordering control</entry><!--entry>Any Ordering control</entry-->
</row>
<row>
<entry>isEnabled()</entry>
- <entry>Checksif current control is enabled</entry>
- <!--entry>Any Ordering control</entry-->
+ <entry>Checksif current control is enabled</entry><!--entry>Any Ordering control</entry-->
</row>
<!--List managing API -->
<row>
<entry>moveUp()</entry>
- <entry>Moves up selected item in the list</entry>
- <!--entry>Any Item</entry-->
+ <entry>Moves up selected item in the list</entry><!--entry>Any Item</entry-->
</row>
<row>
<entry>moveDown()</entry>
- <entry>Moves down selected item in the list</entry>
- <!--entry>Any Item</entry-->
+ <entry>Moves down selected item in the list</entry><!--entry>Any Item</entry-->
</row>
<row>
<entry>moveTop()</entry>
- <entry>Moves top selected item in the list</entry>
- <!--entry>Any Item</entry-->
+ <entry>Moves top selected item in the list</entry><!--entry>Any Item</entry-->
</row>
<row>
<entry>moveBottom()</entry>
- <entry>Moves bottom selected item in the list</entry>
- <!--entry>Any Item</entry-->
+ <entry>Moves bottom selected item in the list</entry><!--entry>Any Item</entry-->
</row>
<row>
<entry>getSelection()</entry>
- <entry>Returns currently selected item</entry>
- <!--entry>Any Item</entry-->
+ <entry>Returns currently selected item</entry><!--entry>Any Item</entry-->
</row>
<row>
<entry>getItems()</entry>
- <entry>Returns the collection of all items</entry>
- <!--entry>Any Item</entry-->
+ <entry>Returns the collection of all items</entry><!--entry>Any Item</entry-->
</row>
</tbody>
</tgroup>
@@ -466,6 +450,35 @@
</itemizedlist>
</para>
</section>
+
+ <!--section>
+ <title>Skin Parameters Redefinition</title>
+
+ <table>
+ <title>Skin parameters redefinition for a popup element</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-color</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ </section-->
+
<section>
<title>Definition of Custom Style Classes</title>
@@ -500,7 +513,7 @@
</table>
<table>
- <title>Classes names that define item rows representations</title>
+ <title>Classes names that define rows representation</title>
<tgroup cols="2">
<thead>
<row>
@@ -511,25 +524,25 @@
<tbody>
<row>
<entry>rich-ordering-list-row</entry>
- <entry>Defines styles for an item row</entry>
+ <entry>Defines styles for a row</entry>
</row>
<row>
<entry>rich-ordering-list-row-selected</entry>
- <entry>Defines styles for a selected item row</entry>
+ <entry>Defines styles for a selected row</entry>
</row>
<row>
<entry>rich-ordering-list-row-active</entry>
- <entry>Defines styles for an active item row</entry>
+ <entry>Defines styles for an active row</entry>
</row>
<row>
<entry>rich-ordering-list-row-disabled</entry>
- <entry>Defines styles for a disabled item row</entry>
+ <entry>Defines styles for a disabled row</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
- <title>Classes names that define item cells representations</title>
+ <title>Classes names that define cells representation</title>
<tgroup cols="2">
<thead>
<row>
@@ -539,27 +552,27 @@
</thead>
<tbody>
<row>
- <entry>rich-ordering-list-item-cell</entry>
- <entry>Defines styles for an item cell</entry>
+ <entry>rich-ordering-list-cell</entry>
+ <entry>Defines styles for a cell</entry>
</row>
<row>
- <entry>rich-ordering-list-item-cell-selected</entry>
- <entry>Defines styles for a selected item cell</entry>
+ <entry>rich-ordering-list-cell-selected</entry>
+ <entry>Defines styles for a selected cell</entry>
</row>
<row>
- <entry>rich-ordering-list-item-cell-active</entry>
- <entry>Defines styles for an active item cell</entry>
+ <entry>rich-ordering-list-cell-active</entry>
+ <entry>Defines styles for an active cell</entry>
</row>
<row>
<entry>rich-ordering-list-cell-disabled</entry>
- <entry>Defines styles for a disabled item cell</entry>
+ <entry>Defines styles for a disabled cell</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
- <title>Classes names that define controls representations</title>
+ <title>Classes names that define controls representation</title>
<tgroup cols="2">
<thead>
<row>
18 years, 7 months
JBoss Rich Faces SVN: r4497 - branches/3.1.x/docs/userguide/en/src/main/docbook.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-12-05 10:06:39 -0500 (Wed, 05 Dec 2007)
New Revision: 4497
Modified:
branches/3.1.x/docs/userguide/en/src/main/docbook/master.xml
Log:
http://jira.jboss.com/jira/browse/RF-1174 - new components added to build process
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/master.xml 2007-12-05 15:06:30 UTC (rev 4496)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/master.xml 2007-12-05 15:06:39 UTC (rev 4497)
@@ -47,7 +47,11 @@
<!ENTITY treeModel_table SYSTEM "../../../target/generated/tree-model.xml">
<!ENTITY scrollableDataTable_table SYSTEM "../../../target/generated/scrollableDataTable.xml">
<!ENTITY jQuery_table SYSTEM "../../../target/generated/jQuery.xml">
+<!ENTITY contextMenu_table SYSTEM "../../../target/generated/contextMenu.xml">
+<!ENTITY listShuttle_table SYSTEM "../../../target/generated/listShuttle.xml">
+<!ENTITY orderingList_table SYSTEM "../../../target/generated/orderingList.xml">
+
<!ENTITY coreComponents_table SYSTEM "../../../target/generated/a4j.xml">
]>
@@ -80,6 +84,7 @@
-->
&coreComponents_table;
&calendar_table;
+&contextMenu_table;
&dataFilterSlider_table;
&dataScroller_table;
&dataTable_table;
@@ -93,8 +98,10 @@
&inputNumberSpinner_table;
&insert_table;
&jQuery_table;
+&listShuttle_table;
&message_table;
&modalPanel_table;
+&orderingList_table;
&paint2D_table;
&panel_table;
&panelBar_table;
18 years, 7 months
JBoss Rich Faces SVN: r4496 - branches/3.1.x/docs/userguide.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-12-05 10:06:30 -0500 (Wed, 05 Dec 2007)
New Revision: 4496
Modified:
branches/3.1.x/docs/userguide/pom.xml
Log:
http://jira.jboss.com/jira/browse/RF-1174 - new components added to build process
Modified: branches/3.1.x/docs/userguide/pom.xml
===================================================================
--- branches/3.1.x/docs/userguide/pom.xml 2007-12-05 14:53:40 UTC (rev 4495)
+++ branches/3.1.x/docs/userguide/pom.xml 2007-12-05 15:06:30 UTC (rev 4496)
@@ -70,6 +70,19 @@
org.richfaces.ui
</groupId>
<artifactId>
+ contextMenu
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+
+
+ <artifactItem>
+ <groupId>
+ org.richfaces.ui
+ </groupId>
+ <artifactId>
dataFilterSlider
</artifactId>
<version>
@@ -189,6 +202,17 @@
<groupId>
org.richfaces.ui
</groupId>
+ <artifactId>listShuttle</artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+
+
+ <artifactItem>
+ <groupId>
+ org.richfaces.ui
+ </groupId>
<artifactId>
menu-components
</artifactId>
@@ -231,6 +255,18 @@
<groupId>
org.richfaces.ui
</groupId>
+ <artifactId>
+ orderingList
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+
+ <artifactItem>
+ <groupId>
+ org.richfaces.ui
+ </groupId>
<artifactId>paint2D</artifactId>
<version>
${project.version}
18 years, 7 months
JBoss Rich Faces SVN: r4495 - branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2007-12-05 09:53:40 -0500 (Wed, 05 Dec 2007)
New Revision: 4495
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
Log:
BUG: /RF-1493
Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2007-12-05 14:35:57 UTC (rev 4494)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2007-12-05 14:53:40 UTC (rev 4495)
@@ -56,7 +56,7 @@
this.shuttle = null;
this.sortOrder = Richfaces.ListBase.ASC;
- $(contentTableId).observe("click", function(e) {this.onclickHandler(window.event || e)}.bindAsEventListener(this));
+ this.shuttleTable.observe("click", function(e) {this.onclickHandler(window.event || e)}.bindAsEventListener(this));
},
retrieveShuttleItems : function(containerId) {
@@ -126,6 +126,9 @@
},
onclickHandler : function(event) {
+ if (event.srcElement && (event.srcElement.tagName.toLowerCase() == "tbody")) {
+ return;
+ }
var activeElem = this.getEventTargetRow(event);
if (activeElem != null) {
18 years, 7 months