JBoss Rich Faces SVN: r21843 - branches/4.0.0.CR1/ui/core/ui/src/main/java/org/richfaces/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2011-02-21 13:16:12 -0500 (Mon, 21 Feb 2011)
New Revision: 21843
Modified:
branches/4.0.0.CR1/ui/core/ui/src/main/java/org/richfaces/renderkit/html/AjaxPollRenderer.java
Log:
RF-10577: a4jPoll markup is fixed
Modified: branches/4.0.0.CR1/ui/core/ui/src/main/java/org/richfaces/renderkit/html/AjaxPollRenderer.java
===================================================================
--- branches/4.0.0.CR1/ui/core/ui/src/main/java/org/richfaces/renderkit/html/AjaxPollRenderer.java 2011-02-21 17:43:56 UTC (rev 21842)
+++ branches/4.0.0.CR1/ui/core/ui/src/main/java/org/richfaces/renderkit/html/AjaxPollRenderer.java 2011-02-21 18:16:12 UTC (rev 21843)
@@ -21,18 +21,6 @@
package org.richfaces.renderkit.html;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.faces.application.ResourceDependencies;
-import javax.faces.application.ResourceDependency;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.context.PartialViewContext;
-import javax.faces.context.ResponseWriter;
-import javax.faces.event.ActionEvent;
-
import org.ajax4jsf.javascript.JSFunction;
import org.ajax4jsf.javascript.JSFunctionDefinition;
import org.ajax4jsf.javascript.JSReference;
@@ -44,6 +32,17 @@
import org.richfaces.renderkit.util.HandlersChain;
import org.richfaces.renderkit.util.RendererUtils;
+import javax.faces.application.ResourceDependencies;
+import javax.faces.application.ResourceDependency;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.PartialViewContext;
+import javax.faces.context.ResponseWriter;
+import javax.faces.event.ActionEvent;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
/**
* @author shura
*/
@@ -99,7 +98,6 @@
utils.encodeBeginForm(context, component, writer, clientId);
utils.encodeEndForm(context, writer);
}
- writer.endElement(rootElementName);
// polling script.
writer.startElement(HtmlConstants.SCRIPT_ELEM, component);
@@ -133,6 +131,7 @@
writer.endElement(HtmlConstants.SCRIPT_ELEM);
+ writer.endElement(rootElementName);
}
/*
13 years, 3 months
JBoss Rich Faces SVN: r21842 - in branches/4.0.X: ui/input/ui/src/main/resources/META-INF/resources/org.richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2011-02-21 12:43:56 -0500 (Mon, 21 Feb 2011)
New Revision: 21842
Modified:
branches/4.0.X/examples/input-demo/src/main/webapp/examples/calendar.xhtml
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
Log:
https://jira.jboss.org/browse/RF-10536
Modified: branches/4.0.X/examples/input-demo/src/main/webapp/examples/calendar.xhtml
===================================================================
--- branches/4.0.X/examples/input-demo/src/main/webapp/examples/calendar.xhtml 2011-02-21 17:39:36 UTC (rev 21841)
+++ branches/4.0.X/examples/input-demo/src/main/webapp/examples/calendar.xhtml 2011-02-21 17:43:56 UTC (rev 21842)
@@ -39,6 +39,7 @@
</script>
</h:head>
<h:body>
+<h:form ></h:form>
<h:form id="form">
<h:panelGrid id="panel" columns="3">
<h:panelGroup layout="block">
Modified: branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
===================================================================
--- branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-21 17:39:36 UTC (rev 21841)
+++ branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-21 17:43:56 UTC (rev 21842)
@@ -988,7 +988,7 @@
if (field.value!=dateStr)
{
field.value=dateStr;
- this.invokeEvent("change", rf.$(this.id), event, this.selectedDate);
+ this.invokeEvent("change", rf.getDomElement(this.id), event, this.selectedDate);
}
},
13 years, 3 months
JBoss Rich Faces SVN: r21841 - in branches/4.0.0.CR1: ui/input/ui/src/main/resources/META-INF/resources/org.richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2011-02-21 12:39:36 -0500 (Mon, 21 Feb 2011)
New Revision: 21841
Modified:
branches/4.0.0.CR1/examples/input-demo/src/main/webapp/examples/calendar.xhtml
branches/4.0.0.CR1/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
Log:
https://jira.jboss.org/browse/RF-10536
Modified: branches/4.0.0.CR1/examples/input-demo/src/main/webapp/examples/calendar.xhtml
===================================================================
--- branches/4.0.0.CR1/examples/input-demo/src/main/webapp/examples/calendar.xhtml 2011-02-21 17:22:23 UTC (rev 21840)
+++ branches/4.0.0.CR1/examples/input-demo/src/main/webapp/examples/calendar.xhtml 2011-02-21 17:39:36 UTC (rev 21841)
@@ -39,6 +39,7 @@
</script>
</h:head>
<h:body>
+<h:form ></h:form>
<h:form id="form">
<h:panelGrid id="panel" columns="3">
<h:panelGroup layout="block">
Modified: branches/4.0.0.CR1/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
===================================================================
--- branches/4.0.0.CR1/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-21 17:22:23 UTC (rev 21840)
+++ branches/4.0.0.CR1/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-21 17:39:36 UTC (rev 21841)
@@ -988,7 +988,7 @@
if (field.value!=dateStr)
{
field.value=dateStr;
- this.invokeEvent("change", rf.$(this.id), event, this.selectedDate);
+ this.invokeEvent("change", rf.getDomElement(this.id), event, this.selectedDate);
}
},
13 years, 3 months
JBoss Rich Faces SVN: r21840 - in trunk: ui/input/ui/src/main/resources/META-INF/resources/org.richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2011-02-21 12:22:23 -0500 (Mon, 21 Feb 2011)
New Revision: 21840
Modified:
trunk/examples/input-demo/src/main/webapp/examples/calendar.xhtml
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
Log:
https://jira.jboss.org/browse/RF-10536
Modified: trunk/examples/input-demo/src/main/webapp/examples/calendar.xhtml
===================================================================
--- trunk/examples/input-demo/src/main/webapp/examples/calendar.xhtml 2011-02-21 15:54:19 UTC (rev 21839)
+++ trunk/examples/input-demo/src/main/webapp/examples/calendar.xhtml 2011-02-21 17:22:23 UTC (rev 21840)
@@ -39,6 +39,7 @@
</script>
</h:head>
<h:body>
+<h:form ></h:form>
<h:form id="form">
<h:panelGrid id="panel" columns="3">
<h:panelGroup layout="block">
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-21 15:54:19 UTC (rev 21839)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-21 17:22:23 UTC (rev 21840)
@@ -988,7 +988,7 @@
if (field.value!=dateStr)
{
field.value=dateStr;
- this.invokeEvent("change", rf.$(this.id), event, this.selectedDate);
+ this.invokeEvent("change", rf.getDomElement(this.id), event, this.selectedDate);
}
},
13 years, 3 months
JBoss Rich Faces SVN: r21839 - in modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1: ftest and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 10:54:19 -0500 (Mon, 21 Feb 2011)
New Revision: 21839
Modified:
modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/pom.xml
modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest/pom.xml
modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/pom.xml
Log:
fixed accidently commited switch of release versions to snapshot versions
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest/pom.xml
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest/pom.xml 2011-02-21 15:50:12 UTC (rev 21838)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest/pom.xml 2011-02-21 15:54:19 UTC (rev 21839)
@@ -25,7 +25,7 @@
<parent>
<artifactId>functional-test-jboss-ci-template</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.3-SNAPSHOT</version>
+ <version>1.5.2.SP5</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -80,8 +80,8 @@
<properties>
<context.path>/metamer/</context.path>
<deployable.classifier>mojarra</deployable.classifier>
- <deployable.version>4.0.0-SNAPSHOT</deployable.version>
- <ftest.source.version>4.0.0-SNAPSHOT</ftest.source.version>
+ <deployable.version>4.0.0.20110220-CR1</deployable.version>
+ <ftest.source.version>4.0.0.20110220-CR1</ftest.source.version>
<testng.suite.xml>src/test/resources/testng.xml</testng.suite.xml>
<container.home>target/installs/${container.dir.deflatted}/${container.dir.unflatted}</container.home>
<jsf.config>Mojarra-2.0</jsf.config>
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/pom.xml
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/pom.xml 2011-02-21 15:50:12 UTC (rev 21838)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/pom.xml 2011-02-21 15:54:19 UTC (rev 21839)
@@ -37,7 +37,7 @@
<dependency>
<artifactId>root</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.3-SNAPSHOT</version>
+ <version>1.5.2.SP5</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/pom.xml
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/pom.xml 2011-02-21 15:50:12 UTC (rev 21838)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/pom.xml 2011-02-21 15:54:19 UTC (rev 21839)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.richfaces.examples</groupId>
<artifactId>richfaces-example-parent</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.20110220-CR1</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -124,7 +124,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<richfaces.checkstyle.version>2</richfaces.checkstyle.version>
- <version.richfaces>4.0.0-SNAPSHOT</version.richfaces>
+ <version.richfaces>4.0.0.20110220-CR1</version.richfaces>
</properties>
<dependencyManagement>
13 years, 3 months
JBoss Rich Faces SVN: r21838 - in modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components: richExtendedDataTable and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 10:50:12 -0500 (Mon, 21 Feb 2011)
New Revision: 21838
Modified:
modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richDataTable/filtering.xhtml
modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richExtendedDataTable/filtering.xhtml
Log:
added event for spinner in data tables
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richDataTable/filtering.xhtml
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richDataTable/filtering.xhtml 2011-02-21 15:49:40 UTC (rev 21837)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richDataTable/filtering.xhtml 2011-02-21 15:50:12 UTC (rev 21838)
@@ -143,7 +143,7 @@
<h:outputText id="columnHeaderNumberOfKidsType" value="(expression >=)" />
<br/>
<rich:inputNumberSpinner id="spinnerFilter" minValue="0" maxValue="6" cycled="false" value="#{richDataTableBean.filtering['numberOfKids1']}">
- <a4j:ajax render="commonGrid" />
+ <a4j:ajax event="change" render="commonGrid" />
</rich:inputNumberSpinner>
</f:facet>
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richExtendedDataTable/filtering.xhtml
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richExtendedDataTable/filtering.xhtml 2011-02-21 15:49:40 UTC (rev 21837)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richExtendedDataTable/filtering.xhtml 2011-02-21 15:50:12 UTC (rev 21838)
@@ -185,7 +185,7 @@
<h:outputText id="columnHeaderNumberOfKidsType" value="(expression >=)" />
<br/>
<rich:inputNumberSpinner id="spinnerFilter" minValue="0" maxValue="6" cycled="false" value="#{richExtendedDataTableBean.filtering['numberOfKids1']}">
- <a4j:ajax render="commonGrid" />
+ <a4j:ajax event="change" render="commonGrid" />
</rich:inputNumberSpinner>
</f:facet>
13 years, 3 months
JBoss Rich Faces SVN: r21837 - modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 10:49:40 -0500 (Mon, 21 Feb 2011)
New Revision: 21837
Modified:
modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteByKeys.java
Log:
rich:autocomplete - after clearing input, no autocompletion box is shown now
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteByKeys.java
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteByKeys.java 2011-02-21 15:48:13 UTC (rev 21836)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteByKeys.java 2011-02-21 15:49:40 UTC (rev 21837)
@@ -96,7 +96,7 @@
typePrefix("ala");
assertCompletionVisible(true);
deleteAll();
- assertCompletionVisible(true);
+ assertCompletionVisible(false);
typePrefix("ala");
assertCompletionVisible(true);
}
13 years, 3 months
JBoss Rich Faces SVN: r21836 - modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPopupPanel.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 10:48:13 -0500 (Mon, 21 Feb 2011)
New Revision: 21836
Modified:
modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPopupPanel/TestRichPopupPanel.java
Log:
test for shadowDepth fixed
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPopupPanel/TestRichPopupPanel.java
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPopupPanel/TestRichPopupPanel.java 2011-02-21 15:47:36 UTC (rev 21835)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPopupPanel/TestRichPopupPanel.java 2011-02-21 15:48:13 UTC (rev 21836)
@@ -432,11 +432,11 @@
waitGui.failWith("Panel was not opened.").until(isDisplayed.locator(panel));
int panelPos = selenium.getElementPositionLeft(panelContainer);
int shadowPos = selenium.getElementPositionLeft(shadow);
- assertEquals(shadowPos - panelPos, 6, "Depth of the shadow (left-right).");
+ assertEquals(shadowPos - panelPos, 15, "Depth of the shadow (left-right).");
panelPos = selenium.getElementPositionTop(panelContainer);
shadowPos = selenium.getElementPositionTop(shadow);
- assertEquals(shadowPos - panelPos, 6, "Depth of the shadow (top-bottom).");
+ assertEquals(shadowPos - panelPos, 15, "Depth of the shadow (top-bottom).");
selenium.type(pjq("input[id$=shadowDepthInput]"), "0");
selenium.waitForPageToLoad();
13 years, 3 months
JBoss Rich Faces SVN: r21834 - modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richInplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-21 10:47:07 -0500 (Mon, 21 Feb 2011)
New Revision: 21834
Modified:
modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richInplaceSelect/simple.xhtml
Log:
removed state attribute from inplaceSelect
Modified: modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richInplaceSelect/simple.xhtml
===================================================================
--- modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richInplaceSelect/simple.xhtml 2011-02-21 15:46:40 UTC (rev 21833)
+++ modules/tests/metamer/tags/metamer-4.0.0.20110220-CR1/application/src/main/webapp/components/richInplaceSelect/simple.xhtml 2011-02-21 15:47:07 UTC (rev 21834)
@@ -95,7 +95,6 @@
saveOnSelect="#{richInplaceSelectBean.attributes['saveOnSelect'].value}"
selectItemClass="#{richInplaceSelectBean.attributes['selectItemClass'].value}"
showControls="#{richInplaceSelectBean.attributes['showControls'].value}"
- state="#{richInplaceSelectBean.attributes['state'].value}"
style="#{richInplaceSelectBean.attributes['style'].value}"
tabindex="#{richInplaceSelectBean.attributes['tabindex'].value}"
validatorMessage="#{richInplaceSelectBean.attributes['validatorMessage'].value}"
13 years, 3 months