JBoss Rich Faces SVN: r3193 - trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-10-02 10:52:07 -0400 (Tue, 02 Oct 2007)
New Revision: 3193
Modified:
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-1022
Modified: trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
--- trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-10-02 14:51:09 UTC (rev 3192)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-10-02 14:52:07 UTC (rev 3193)
@@ -156,18 +156,7 @@
}
this.upDown = 0;
},
- preventBlur:function(event) {
- Event.stop(event);
- },
-
- preventBlurByScroll: function() {
- Event.observe(this.update, "click", this.preventBlur);
- },
-
- enableBlurByScroll: function() {
- Event.stopObserving(this.update, "click", this.preventBlur);
- },
-
+
show: function() {
if ("SAFARI" == RichFaces.navigatorType()) {
this.wasScroll = false;
@@ -179,7 +168,6 @@
if (Element.getStyle(this.update, 'display')
== 'none') this.options.onShow(this.element, this.update, this.options);
this.disableSubmit();
- this.preventBlurByScroll();
},
hide: function() {
@@ -193,7 +181,6 @@
this.stopIndicator();
if (Element.getStyle(this.update, 'display')
!= 'none') this.options.onHide(this.element, this.update, this.options);
- this.enableBlurByScroll();
this.enableSubmit();
this.hasFocus = false;
this.active = false;
@@ -393,14 +380,22 @@
this.wasBlur = true;
if (!this.active) return;
var offsets = RichFaces.Position.calcOffsets(this.update);
+
if (RichFaces.navigatorType() != "MSIE") {
offsets["x"] = 0;
offsets["y"] = 0;
}
- if (event.clientX > offsets["x"] && event.clientX
- < (this.update.clientWidth + offsets["x"])) {
- if (event.clientY > (offsets["y"] - this.update.clientHeight)
- && event.clientY < offsets["y"]) {
+
+ var x = event.clientX +
+ document.body.scrollLeft +
+ document.documentElement.scrollLeft;
+
+ var y = event.clientY +
+ document.body.scrollTop+
+ document.documentElement.scrollTop;
+
+ if (x > offsets["x"] && x < (this.update.clientWidth + offsets["x"])) {
+ if (y > (offsets["y"] - this.update.clientHeight) && y < offsets["y"]) {
this.element.focus();
return;
}
17 years, 3 months
JBoss Rich Faces SVN: r3192 - in trunk/ui: treeTable and 14 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-10-02 10:51:09 -0400 (Tue, 02 Oct 2007)
New Revision: 3192
Added:
trunk/ui/treeTable/
trunk/ui/treeTable/pom.xml
trunk/ui/treeTable/src/
trunk/ui/treeTable/src/main/
trunk/ui/treeTable/src/main/config/
trunk/ui/treeTable/src/main/config/component/
trunk/ui/treeTable/src/main/config/component/README
trunk/ui/treeTable/src/main/java/
trunk/ui/treeTable/src/main/java/org/
trunk/ui/treeTable/src/main/java/org/richfaces/
trunk/ui/treeTable/src/main/java/org/richfaces/component/
trunk/ui/treeTable/src/main/java/org/richfaces/component/README
trunk/ui/treeTable/src/main/resources/
trunk/ui/treeTable/src/main/templates/
trunk/ui/treeTable/src/main/templates/README
trunk/ui/treeTable/src/test/
trunk/ui/treeTable/src/test/java/
trunk/ui/treeTable/src/test/java/org/
trunk/ui/treeTable/src/test/java/org/richfaces/
trunk/ui/treeTable/src/test/java/org/richfaces/component/
trunk/ui/treeTable/src/test/java/org/richfaces/component/JSFComponentTest.java
Log:
initial placement of treeTable
Added: trunk/ui/treeTable/pom.xml
===================================================================
--- trunk/ui/treeTable/pom.xml (rev 0)
+++ trunk/ui/treeTable/pom.xml 2007-10-02 14:51:09 UTC (rev 3192)
@@ -0,0 +1,37 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>ui</artifactId>
+ <groupId>org.richfaces</groupId>
+ <version>3.2.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces</groupId>
+ <artifactId>treeTable</artifactId>
+ <name>treeTable</name>
+ <version>3.2.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <library>
+ <prefix>org.richfaces</prefix>
+ <taglib>
+ <shortName>treeTable</shortName>
+ </taglib>
+ </library>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added: trunk/ui/treeTable/src/main/config/component/README
===================================================================
Added: trunk/ui/treeTable/src/main/java/org/richfaces/component/README
===================================================================
Added: trunk/ui/treeTable/src/main/templates/README
===================================================================
Added: trunk/ui/treeTable/src/test/java/org/richfaces/component/JSFComponentTest.java
===================================================================
--- trunk/ui/treeTable/src/test/java/org/richfaces/component/JSFComponentTest.java (rev 0)
+++ trunk/ui/treeTable/src/test/java/org/richfaces/component/JSFComponentTest.java 2007-10-02 14:51:09 UTC (rev 3192)
@@ -0,0 +1,53 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.component;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import javax.faces.component.UIComponent;
+
+/**
+ * Unit test for simple Component.
+ */
+public class JSFComponentTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public JSFComponentTest( String testName )
+ {
+ super( testName );
+ }
+
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testComponent()
+ {
+ assertTrue( true );
+ }
+}
17 years, 3 months
JBoss Rich Faces SVN: r3191 - in trunk/test-applications/jsp/src/main: webapp/DataFilterSlider and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-10-02 10:20:35 -0400 (Tue, 02 Oct 2007)
New Revision: 3191
Modified:
trunk/test-applications/jsp/src/main/java/dfs/DemoSliderBean.java
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp
Log:
http://jira.jboss.com/jira/browse/RF-1044
Modified: trunk/test-applications/jsp/src/main/java/dfs/DemoSliderBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/dfs/DemoSliderBean.java 2007-10-02 14:20:28 UTC (rev 3190)
+++ trunk/test-applications/jsp/src/main/java/dfs/DemoSliderBean.java 2007-10-02 14:20:35 UTC (rev 3191)
@@ -28,36 +28,14 @@
* @author $Autor$
*
*/
-
-
-
public class DemoSliderBean {
- private boolean manualInput;
- private boolean onSlide;
- private boolean storeResults;
- private boolean trailer;
private boolean rendered;
- private String width;
- private int increment;
- private int handleValue;
- private int startRange;
- private int endRange;
-
DemoInventoryList demoInventoryList;
public DemoSliderBean() {
rendered = true;
- manualInput = true;
- onSlide = true;
- storeResults = true;
- width="400px";
- startRange = 10000;
- endRange = 60000;
- increment = 10000;
- trailer = true;
- handleValue = 10000;
}
-
+
public void setDemoInventoryList(DemoInventoryList demoInventoryList) {
this.demoInventoryList = demoInventoryList;
}
@@ -71,6 +49,18 @@
}
+ public void doRendered()
+ {
+ if(rendered)
+ rendered = false;
+ else rendered = true;
+ }
+
+ public String getRenderedName() {
+ if(rendered) return "Rendered on";
+ else return "Rendered off";
+ }
+
public boolean isRendered() {
return rendered;
}
@@ -78,5 +68,4 @@
public void setRendered(boolean rendered) {
this.rendered = rendered;
}
-
}
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp 2007-10-02 14:20:28 UTC (rev 3190)
+++ trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp 2007-10-02 14:20:35 UTC (rev 3191)
@@ -47,28 +47,25 @@
<f:subview id="dfsID">
- <h:form>
+ <a4j:form id="form1" reRender="list-body" ajaxSubmit="true"
+ ignoreDupResponses="true" requestDelay="100">
<a4j:region id="stat1">
- <a4j:outputPanel id="slider-body">
-
- <rich:dataFilterSlider sliderListener="#{dfs.doSlide}"
- rendered="#{dfs.rendered}"
+ <a4j:outputPanel id="p1">
+ <rich:dataFilterSlider sliderListener="#{dfs.doSlide}" rendered="#{dfs.rendered}"
binding="#{inventoryList.dataFilterSlider}" for="carList"
forValRef="inventoryList.carInventory" filterBy="getMileage"
- manualInput="true" onSlide="true" storeResults="true"
- trackStyleClass="track" width="400px" styleClass="slider-container"
- startRange="10000" endRange="60000" increment="10000"
- rangeStyleClass="range" trailer="true" trailerStyleClass="trailer"
- handleStyleClass="handle" handleValue="10000" id="slider_1">
+ manualInput="true" onSlide="true" onChange="true"
+ storeResults="true" trackStyleClass="track" width="400px"
+ styleClass="slider-container" startRange="10000" endRange="60000"
+ increment="10000" rangeStyleClass="range" trailer="true"
+ trailerStyleClass="trailer" handleStyleClass="handle"
+ handleValue="10000" id="slider_1">
</rich:dataFilterSlider>
-
</a4j:outputPanel>
- <a4j:outputPanel id="list-body">
- <f:verbatim>
- </f:verbatim>
+ <a4j:outputPanel id="list-body" style="border: 1px">
<h:dataTable id="carIndex" rows="10"
binding="#{inventoryList.carMakeIndexUIData}"
value="#{inventoryList.carMakeIndex}" var="category"
@@ -90,19 +87,20 @@
value="#{inventoryList.carInventory}" var="category"
rowClasses="list-row1, list-row2" columnClasses="column"
headerClass="list-header" styleClass="list-table2">
-
<h:column>
<f:facet name="header">
<h:outputText styleClass="headerText" value="Make" />
</f:facet>
<h:outputText value="#{category.make}" />
</h:column>
+
<h:column>
<f:facet name="header">
<h:outputText styleClass="headerText" value="Model" />
</f:facet>
<h:outputText value="#{category.model}" />
</h:column>
+
<h:column>
<f:facet name="header">
<h:outputText styleClass="headerText"
@@ -110,6 +108,7 @@
</f:facet>
<h:outputText value="#{category.price}" />
</h:column>
+
<h:column>
<f:facet name="header">
<h:outputText styleClass="headerText"
@@ -120,14 +119,13 @@
</h:dataTable>
</a4j:outputPanel>
</a4j:region>
-
<h:panelGrid columns="2">
- <h:outputText value="Rendered" />
- <h:selectBooleanCheckbox value="#{dfs.rendered}" onclick="submit();" />
- </h:panelGrid>
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dfs.rendered}" >
+ <a4j:support event="onclick" reRender="p1"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ </a4j:form>
- <h:commandLink value="Back" action="main"></h:commandLink>
- </h:form>
-
</f:subview>
17 years, 3 months
JBoss Rich Faces SVN: r3190 - in trunk/test-applications/facelets/src/main: webapp/DataFilterSlider and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-10-02 10:20:28 -0400 (Tue, 02 Oct 2007)
New Revision: 3190
Modified:
trunk/test-applications/facelets/src/main/java/dfs/DemoSliderBean.java
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-1044
Modified: trunk/test-applications/facelets/src/main/java/dfs/DemoSliderBean.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/dfs/DemoSliderBean.java 2007-10-02 11:56:34 UTC (rev 3189)
+++ trunk/test-applications/facelets/src/main/java/dfs/DemoSliderBean.java 2007-10-02 14:20:28 UTC (rev 3190)
@@ -49,6 +49,18 @@
}
+ public void doRendered()
+ {
+ if(rendered)
+ rendered = false;
+ else rendered = true;
+ }
+
+ public String getRenderedName() {
+ if(rendered) return "Rendered on";
+ else return "Rendered off";
+ }
+
public boolean isRendered() {
return rendered;
}
@@ -56,5 +68,4 @@
public void setRendered(boolean rendered) {
this.rendered = rendered;
}
-
}
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml 2007-10-02 11:56:34 UTC (rev 3189)
+++ trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml 2007-10-02 14:20:28 UTC (rev 3190)
@@ -1,4 +1,5 @@
- <h:form
+ <a4j:form id="form1" reRender="list-body" ajaxSubmit="true"
+ ignoreDupResponses="true" requestDelay="100"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
@@ -6,8 +7,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<a4j:region id="stat1">
-
- <a4j:outputPanel id="slider-body">
+ <a4j:outputPanel id="p1">
<rich:dataFilterSlider sliderListener="#{dfs.doSlide}" rendered="#{dfs.rendered}"
binding="#{inventoryList.dataFilterSlider}" for="carList"
forValRef="inventoryList.carInventory" filterBy="getMileage"
@@ -18,11 +18,11 @@
trailerStyleClass="trailer" handleStyleClass="handle"
handleValue="10000" id="slider_1">
</rich:dataFilterSlider>
-
</a4j:outputPanel>
- <a4j:outputPanel id="list-body">
+
+ <a4j:outputPanel id="list-body" style="border: 1px">
<h:dataTable id="carIndex" rows="10"
binding="#{inventoryList.carMakeIndexUIData}"
value="#{inventoryList.carMakeIndex}" var="category"
@@ -76,10 +76,10 @@
</h:dataTable>
</a4j:outputPanel>
</a4j:region>
-
<h:panelGrid columns="2">
- <h:outputText value="Rendered" />
- <h:selectBooleanCheckbox value="#{dfs.rendered}" onclick="submit();"/>
- </h:panelGrid>
-
- </h:form>
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dfs.rendered}" >
+ <a4j:support event="onclick" reRender="p1"></a4j:support>
+ </h:selectBooleanCheckbox>
+ </h:panelGrid>
+ </a4j:form>
17 years, 3 months
JBoss Rich Faces SVN: r3189 - trunk/test-applications/qa.
by richfaces-svn-commits@lists.jboss.org
Author: viktor_volkov
Date: 2007-10-02 07:56:34 -0400 (Tue, 02 Oct 2007)
New Revision: 3189
Modified:
trunk/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
Log:
Modified: trunk/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
===================================================================
(Binary files differ)
17 years, 3 months
JBoss Rich Faces SVN: r3188 - branches/3.1.x/test-applications/qa.
by richfaces-svn-commits@lists.jboss.org
Author: viktor_volkov
Date: 2007-10-02 06:55:52 -0400 (Tue, 02 Oct 2007)
New Revision: 3188
Removed:
branches/3.1.x/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
Log:
Deleted: branches/3.1.x/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
===================================================================
(Binary files differ)
17 years, 3 months
JBoss Rich Faces SVN: r3187 - trunk/test-applications/qa.
by richfaces-svn-commits@lists.jboss.org
Author: viktor_volkov
Date: 2007-10-02 06:55:23 -0400 (Tue, 02 Oct 2007)
New Revision: 3187
Added:
trunk/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
Log:
Added: trunk/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 3 months
JBoss Rich Faces SVN: r3186 - branches/3.1.x/test-applications/qa.
by richfaces-svn-commits@lists.jboss.org
Author: viktor_volkov
Date: 2007-10-02 06:53:35 -0400 (Tue, 02 Oct 2007)
New Revision: 3186
Added:
branches/3.1.x/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
Log:
Added: branches/3.1.x/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/test-applications/qa/QA test report Build RF3.1.1 CR1.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 3 months
JBoss Rich Faces SVN: r3185 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect.
by richfaces-svn-commits@lists.jboss.org
Author: SergeySmirnov
Date: 2007-10-01 19:20:19 -0400 (Mon, 01 Oct 2007)
New Revision: 3185
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect/attributes.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect/usage.xhtml
Log:
corrected in the doc - target id (was effectId)
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect/attributes.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect/attributes.xhtml 2007-10-01 17:24:14 UTC (rev 3184)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect/attributes.xhtml 2007-10-01 23:20:19 UTC (rev 3185)
@@ -26,7 +26,7 @@
of the component if such component is found. If not, the value is left as is for
possible wiring with on the DOM element's id on the client side.<br/>
By default, the target of the effect is the same element that effect pointed to.
- However, the target element is might be overridden with 'effectId' option passed
+ However, the target element is might be overridden with 'targetId' option passed
with 'params' attribute of with function paramenter.
</p>
<p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect/usage.xhtml 2007-10-01 17:24:14 UTC (rev 3184)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/effect/usage.xhtml 2007-10-01 23:20:19 UTC (rev 3185)
@@ -11,7 +11,7 @@
<p>rich:effect utilizes the set of effects provided by scriptaculous javascript library. It
allows to attach effects to JSF components and html tags. For the reference of the available
effects and their parameters see the scriptaculous documentation and wiki. There are
- some of many possible effects available out-of-the-box:
+ <b>some of many</b> possible effects available out-of-the-box:
</p>
<div class="sample-container">
<ui:include src="/richfaces/effect/examples/diffTypes.xhtml" />
17 years, 3 months