JBoss Rich Faces SVN: r14315 - in branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng: rf6338 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-05-25 12:36:20 -0400 (Mon, 25 May 2009)
New Revision: 14315
Added:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/Test.java
Log:
Test java bean for RF-6338 added
Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/Test.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/Test.java (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6338/Test.java 2009-05-25 16:36:20 UTC (rev 14315)
@@ -0,0 +1,32 @@
+package org.richfaces.testng.rf6338;
+
+import org.richfaces.SeleniumTestBase;
+
+public class Test extends SeleniumTestBase {
+
+ @org.testng.annotations.Test
+ public void testExecute() throws Exception {
+ renderPage();
+
+ selenium.assignId("iconform:group1", "group1");
+ selenium.assignId("iconform:group2", "group2");
+ clickById("group1");
+ pause(500, null);
+ AssertVisible("iconform:item1_1");
+ clickById("group2");
+ pause(500, null);
+ AssertVisible("iconform:item1_2");
+ clickById("group1");
+ pause(500, null);
+ AssertNotVisible("iconform:item1_1");
+ clickById("group2");
+ pause(500, null);
+ AssertNotVisible("iconform:item1_2");
+ }
+
+ @Override
+ public String getTestUrl() {
+ return "pages/rf6338.xhtml";
+ }
+
+}
15 years, 7 months
JBoss Rich Faces SVN: r14313 - in branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues: rf6487 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-05-25 11:37:03 -0400 (Mon, 25 May 2009)
New Revision: 14313
Added:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6487/
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6487/Bean.java
Log:
RF-6487 test page added.
Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6487/Bean.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6487/Bean.java (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf6487/Bean.java 2009-05-25 15:37:03 UTC (rev 14313)
@@ -0,0 +1,29 @@
+package org.richfaces.regressionarea.issues.rf6487;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("rf6487")
+(a)Scope(ScopeType.SESSION)
+public class Bean {
+
+ private String val;
+
+ public Bean() {
+ val = "";
+ }
+
+ public void action() {
+ val += "-add";
+ }
+
+ public String getVal() {
+ return val;
+ }
+
+ public void setVal(String val) {
+ this.val = val;
+ }
+
+}
15 years, 7 months
JBoss Rich Faces SVN: r14312 - in branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng: rf6487 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-05-25 11:36:16 -0400 (Mon, 25 May 2009)
New Revision: 14312
Added:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6487/
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6487/Test.java
Log:
RF-6487 test java bean.
Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6487/Test.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6487/Test.java (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf6487/Test.java 2009-05-25 15:36:16 UTC (rev 14312)
@@ -0,0 +1,33 @@
+package org.richfaces.testng.rf6487;
+
+import org.richfaces.SeleniumTestBase;
+
+public class Test extends SeleniumTestBase {
+
+ @org.testng.annotations.Test
+ public void testExecute() throws Exception {
+ renderPage();
+
+ selenium.assignId("form:text", "text");
+ selenium.mouseMove("text");
+
+ selenium.fireEvent("text", "mouseover");
+
+ AssertTextEquals("form:toolTipID", "//");
+
+ clickAjaxCommandAndWait("form:buttonID");
+
+ selenium.mouseMove("text");
+ selenium.fireEvent("text", "mouseover");
+
+ AssertTextEquals("form:toolTipID", "-add//");
+
+
+ }
+
+ @Override
+ public String getTestUrl() {
+ return "pages/rf6487.xhtml";
+ }
+
+}
\ No newline at end of file
15 years, 7 months
JBoss Rich Faces SVN: r14311 - branches/community/3.3.X/ui/menu-components/src/main/templates/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2009-05-25 11:15:45 -0400 (Mon, 25 May 2009)
New Revision: 14311
Modified:
branches/community/3.3.X/ui/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx
Log:
ContextMenu: browser context menu is not blocked on menu itself
https://jira.jboss.org/jira/browse/RF-7087
Modified: branches/community/3.3.X/ui/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx
===================================================================
--- branches/community/3.3.X/ui/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx 2009-05-25 14:34:32 UTC (rev 14310)
+++ branches/community/3.3.X/ui/menu-components/src/main/templates/org/richfaces/htmlMenuItem.jspx 2009-05-25 15:15:45 UTC (rev 14311)
@@ -42,7 +42,8 @@
<div id="#{clientId}"
class="#{menuItemClass}"
style="#{menuItemStyle}"
- onclick="Event.stop(event);">
+ onclick="Event.stop(event);"
+ onContextMenu="false;" >
<jsp:scriptlet><![CDATA[
} else {
@@ -65,6 +66,7 @@
onmouseup="Event.stop(event); #{component.attributes['onmouseup']}"
onmousedown="Event.stop(event); #{component.attributes['onmousedown']}"
onclick="#{onclick}"
+ onContextMenu="Event.stop(event); return false;"
style="#{menuItemStyle}">
<f:call name="utils.encodeAttributes">
@@ -78,7 +80,8 @@
<span id="#{clientId}:icon"
class="dr-menu-icon rich-menu-item-icon #{iconDisabledClasses} #{component.attributes['iconClass']}"
- style="#{component.attributes['iconStyle']}">
+ style="#{component.attributes['iconStyle']}"
+ onContextMenu="Event.stop(event); return false;">
<jsp:scriptlet><![CDATA[
UIComponent iconFacet = getIconFacet((org.richfaces.component.UIMenuItem) component);
@@ -99,6 +102,7 @@
<span id="#{clientId}:anchor"
class="#{menuItemLabelClass}"
+ onContextMenu="Event.stop(event); return false;"
>
#{component.attributes['value']}
<f:call name="renderChildren" />
15 years, 7 months
JBoss Rich Faces SVN: r14310 - in branches/community/3.3.X/docs: userguide and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2009-05-25 10:34:32 -0400 (Mon, 25 May 2009)
New Revision: 14310
Modified:
branches/community/3.3.X/docs/pom.xml
branches/community/3.3.X/docs/userguide/en/pom.xml
branches/community/3.3.X/docs/userguide/pom.xml
Log:
https://jira.jboss.org/jira/browse/RF-7081 - masterTranslation parameter was added
Modified: branches/community/3.3.X/docs/pom.xml
===================================================================
--- branches/community/3.3.X/docs/pom.xml 2009-05-25 14:00:46 UTC (rev 14309)
+++ branches/community/3.3.X/docs/pom.xml 2009-05-25 14:34:32 UTC (rev 14310)
@@ -105,5 +105,6 @@
<properties>
<xsl_html_single>classpath:/common-resources/xslt/xhtml-single.xsl</xsl_html_single>
<xsl_html>classpath:/common-resources/xslt/xhtml.xsl</xsl_html>
+ <masterTranslation>en</masterTranslation>
</properties>
</project>
\ No newline at end of file
Modified: branches/community/3.3.X/docs/userguide/en/pom.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/pom.xml 2009-05-25 14:00:46 UTC (rev 14309)
+++ branches/community/3.3.X/docs/userguide/en/pom.xml 2009-05-25 14:34:32 UTC (rev 14310)
@@ -9,7 +9,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.richfaces.docs.userguide</groupId>
- <artifactId>${translation}</artifactId>
+ <artifactId>${masterTranslation}</artifactId>
<version>3.3.2-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Richfaces Manual (${translation})</name>
Modified: branches/community/3.3.X/docs/userguide/pom.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/pom.xml 2009-05-25 14:00:46 UTC (rev 14309)
+++ branches/community/3.3.X/docs/userguide/pom.xml 2009-05-25 14:34:32 UTC (rev 14310)
@@ -620,7 +620,7 @@
org.richfaces.docs.common-resources
</groupId>
<artifactId>
- ${project.translation}
+ ${masterTranslation}
</artifactId>
<version>
${project.version}
@@ -976,10 +976,8 @@
</plugins>
</reporting>
-->
- <properties>
- <masterTranslation>en</masterTranslation>
- </properties>
+
<modules>
<module>en</module>
</modules>
15 years, 7 months
JBoss Rich Faces SVN: r14309 - branches/community/3.3.X/test-applications/jsp/src/main/java/validator.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2009-05-25 10:00:46 -0400 (Mon, 25 May 2009)
New Revision: 14309
Modified:
branches/community/3.3.X/test-applications/jsp/src/main/java/validator/ValidatorBean.java
Log:
Change UIBeanValidator to UIComponent
Modified: branches/community/3.3.X/test-applications/jsp/src/main/java/validator/ValidatorBean.java
===================================================================
--- branches/community/3.3.X/test-applications/jsp/src/main/java/validator/ValidatorBean.java 2009-05-25 14:00:38 UTC (rev 14308)
+++ branches/community/3.3.X/test-applications/jsp/src/main/java/validator/ValidatorBean.java 2009-05-25 14:00:46 UTC (rev 14309)
@@ -22,7 +22,6 @@
import org.hibernate.validator.Pattern;
import org.hibernate.validator.Range;
import org.hibernate.validator.Size;
-import org.richfaces.component.UIBeanValidator;
import util.componentInfo.ComponentInfo;
@@ -45,7 +44,7 @@
@Size(min=1,max=5,message="Size validation failed!")
private ArrayList<SelectItem> sizeValues;
private String sizeValue;
- private UIBeanValidator ajaxValidatorComponent = null;
+ private UIComponent ajaxValidatorComponent = null;
private boolean ajaxSingle;
private String bindLabel;
private boolean disableDefault;
@@ -228,11 +227,11 @@
return null;
}
- public UIBeanValidator getAjaxValidatorComponent() {
+ public UIComponent getAjaxValidatorComponent() {
return ajaxValidatorComponent;
}
- public void setAjaxValidatorComponent(UIBeanValidator ajaxValidatorComponent) {
+ public void setAjaxValidatorComponent(UIComponent ajaxValidatorComponent) {
this.ajaxValidatorComponent = ajaxValidatorComponent;
}
15 years, 7 months
JBoss Rich Faces SVN: r14308 - branches/community/3.3.X/test-applications/facelets/src/main/java/validator.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2009-05-25 10:00:38 -0400 (Mon, 25 May 2009)
New Revision: 14308
Modified:
branches/community/3.3.X/test-applications/facelets/src/main/java/validator/ValidatorBean.java
Log:
Change UIBeanValidator to UIComponent
Modified: branches/community/3.3.X/test-applications/facelets/src/main/java/validator/ValidatorBean.java
===================================================================
--- branches/community/3.3.X/test-applications/facelets/src/main/java/validator/ValidatorBean.java 2009-05-25 14:00:29 UTC (rev 14307)
+++ branches/community/3.3.X/test-applications/facelets/src/main/java/validator/ValidatorBean.java 2009-05-25 14:00:38 UTC (rev 14308)
@@ -14,7 +14,6 @@
import org.hibernate.validator.Pattern;
import org.hibernate.validator.Range;
import org.hibernate.validator.Size;
-import org.richfaces.component.UIBeanValidator;
import util.componentInfo.ComponentInfo;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
@@ -38,7 +37,7 @@
@Size(min=1,max=5,message="Size validation failed!")
private ArrayList<SelectItem> sizeValues;
private String sizeValue;
- private UIBeanValidator ajaxValidatorComponent = null;
+ private UIComponent ajaxValidatorComponent = null;
private boolean ajaxSingle;
private String bindLabel;
private boolean disableDefault;
@@ -194,11 +193,11 @@
return null;
}
- public UIBeanValidator getAjaxValidatorComponent() {
+ public UIComponent getAjaxValidatorComponent() {
return ajaxValidatorComponent;
}
- public void setAjaxValidatorComponent(UIBeanValidator ajaxValidatorComponent) {
+ public void setAjaxValidatorComponent(UIComponent ajaxValidatorComponent) {
this.ajaxValidatorComponent = ajaxValidatorComponent;
}
15 years, 7 months
JBoss Rich Faces SVN: r14307 - branches/community/3.3.X/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/validator.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2009-05-25 10:00:29 -0400 (Mon, 25 May 2009)
New Revision: 14307
Modified:
branches/community/3.3.X/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/validator/ValidatorBean.java
Log:
Change UIBeanValidator to UIComponent
Modified: branches/community/3.3.X/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/validator/ValidatorBean.java
===================================================================
--- branches/community/3.3.X/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/validator/ValidatorBean.java 2009-05-25 13:57:52 UTC (rev 14306)
+++ branches/community/3.3.X/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/validator/ValidatorBean.java 2009-05-25 14:00:29 UTC (rev 14307)
@@ -17,7 +17,6 @@
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
-import org.richfaces.component.UIBeanValidator;
import org.richfaces.helloworld.domain.util.componentInfo.ComponentInfo;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
@@ -42,7 +41,7 @@
@Size(min=1,max=5,message="Size validation failed!")
private ArrayList<SelectItem> sizeValues;
private String sizeValue;
- private UIBeanValidator ajaxValidatorComponent = null;
+ private UIComponent ajaxValidatorComponent = null;
private boolean ajaxSingle;
private String bindLabel;
private boolean disableDefault;
@@ -198,11 +197,11 @@
return null;
}
- public UIBeanValidator getAjaxValidatorComponent() {
+ public UIComponent getAjaxValidatorComponent() {
return ajaxValidatorComponent;
}
- public void setAjaxValidatorComponent(UIBeanValidator ajaxValidatorComponent) {
+ public void setAjaxValidatorComponent(UIComponent ajaxValidatorComponent) {
this.ajaxValidatorComponent = ajaxValidatorComponent;
}
15 years, 7 months
JBoss Rich Faces SVN: r14306 - branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-05-25 09:57:52 -0400 (Mon, 25 May 2009)
New Revision: 14306
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064/EditorBean.java
Log:
remove validate method
Modified: branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064/EditorBean.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064/EditorBean.java 2009-05-25 13:53:34 UTC (rev 14305)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7064/EditorBean.java 2009-05-25 13:57:52 UTC (rev 14306)
@@ -3,15 +3,11 @@
import java.util.ArrayList;
import java.util.List;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
import javax.faces.model.SelectItem;
-import javax.faces.validator.ValidatorException;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
-import org.jboss.seam.ui.validator.FormattedTextValidator;
@Name("editorBean")
@Scope(ScopeType.SESSION)
@@ -77,11 +73,6 @@
public void setUseSeamText(boolean useSeamText) {
this.useSeamText = useSeamText;
- }
+ }
- public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException {
- if (useSeamText) {
- new FormattedTextValidator().validate(context, component, value);
- }
- }
}
15 years, 7 months