JBoss Rich Faces SVN: r10235 - Reports/3.2.2 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-08-29 09:01:44 -0400 (Fri, 29 Aug 2008)
New Revision: 10235
Modified:
trunk/test-applications/qa/Test Reports/3.2.2/ComponentsAssignment3.2.2.BETA5.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.2.2/ComponentsAssignment3.2.2.BETA5.xls
===================================================================
(Binary files differ)
16 years, 4 months
JBoss Rich Faces SVN: r10234 - in trunk/ui/inputnumber-spinner/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-08-29 08:45:36 -0400 (Fri, 29 Aug 2008)
New Revision: 10234
Modified:
trunk/ui/inputnumber-spinner/src/main/config/component/inputNumberSpinner.xml
trunk/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx
Log:
https://jira.jboss.org/jira/browse/RF-4319
Modified: trunk/ui/inputnumber-spinner/src/main/config/component/inputNumberSpinner.xml
===================================================================
--- trunk/ui/inputnumber-spinner/src/main/config/component/inputNumberSpinner.xml 2008-08-29 10:48:40 UTC (rev 10233)
+++ trunk/ui/inputnumber-spinner/src/main/config/component/inputNumberSpinner.xml 2008-08-29 12:45:36 UTC (rev 10234)
@@ -281,5 +281,11 @@
<classname>java.lang.String</classname>
<description>A localized user presentable name for this component.</description>
</property>
+ <property>
+ <name>disableBrowserAutoComplete</name>
+ <classname>boolean</classname>
+ <description>Disable browser's auto completion</description>
+ <defaultvalue>false</defaultvalue>
+ </property>
</component>
</components>
Modified: trunk/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx
===================================================================
--- trunk/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx 2008-08-29 10:48:40 UTC (rev 10233)
+++ trunk/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx 2008-08-29 12:45:36 UTC (rev 10234)
@@ -30,6 +30,16 @@
<tbody>
<tr>
<td width="1%" class="dr-spnr-e rich-spinner-input-container" id="#{clientId}Edit">
+ <jsp:scriptlet><![CDATA[
+ String autocomplete = "on";
+ boolean disableBrowserAutoComplete = getUtils().isBooleanAttribute(component, "disableBrowserAutoComplete");
+ if (disableBrowserAutoComplete)
+ {
+ autocomplete = "off";
+ }
+ variables.setVariable("autocomplete", autocomplete);
+ ]]></jsp:scriptlet>
+
<input
class="dr-spnr-i rich-spinner-input #{component.attributes['inputClass']}"
onchange="#{component.attributes['onchange']}"
@@ -54,6 +64,7 @@
onmouseout='#{component.attributes["oninputmouseout"]}'
onmouseover='#{component.attributes["oninputmouseover"]}'
onmouseup='#{component.attributes["oninputmouseup"]}'
+ autocomplete='#{autocomplete}'
/>
</td>
<td id="#{clientId}For" class="dr-spnr-b rich-spinner-buttons" width="1%">
16 years, 4 months
JBoss Rich Faces SVN: r10232 - trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-08-29 06:42:12 -0400 (Fri, 29 Aug 2008)
New Revision: 10232
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
Log:
https://jira.jboss.org/jira/browse/RF-4149
Modified: trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
--- trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2008-08-29 10:39:30 UTC (rev 10231)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2008-08-29 10:42:12 UTC (rev 10232)
@@ -83,9 +83,9 @@
fileUpload =richInputs, \t File Upload, \t\t/images/ico_FileUpload.gif, \t\t/images/cn_FileUpload.gif, fileUpload.html, jbossrichfaces/freezone/docs/tlddoc/rich/fileUpload.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIFileUpload.html, \t\t\t\t\t/richfaces/fileUpload.jsf
StandardSkinning =richMisc, \t Standard Skinning, \t\t/images/ico_StandardComponentsSkinning.gif, \t\t/images/cn_StandardComponentsSkinning.gif, ArchitectureOverview.html\#StControlsSkinning, jbossrichfaces/freezone/docs/tlddoc/rich/StandardSkinning.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIfileUpload.html, \t\t\t\t\t/richfaces/standardSkinning.jsf
plugnskin =richMisc, \t Plug'n'Skin, \t\t/images/ico_plugnskin.gif, \t\t/images/cn_plugnskin.gif, ArchitectureOverview.html\#PlugnSkin, jbossrichfaces/freezone/docs/tlddoc/rich/plugnskin.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIfileUpload.html, \t\t\t\t\t/richfaces/plugnskin.jsf
-hotKey=richMisc, \t Hot Key, \t\t/images/ico_Hotkey.gif, \t\t/images/cn_Hotkey.gif, hotKey.html, jbossrichfaces/freezone/docs/tlddoc/rich/hotkey.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIhotkey.html, \t\t\t\t\t/richfaces/hotKey.jsf
+hotKey=richMisc, \t Hot Key, \t\t/images/ico_HotKey.gif, \t\t/images/cn_HotKey.gif, hotKey.html, jbossrichfaces/freezone/docs/tlddoc/rich/hotkey.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIhotkey.html, \t\t\t\t\t/richfaces/hotKey.jsf
ajaxValidator=richValidators, \t Ajax Validator, \t\t/images/ico_AjaxValidator.gif, \t\t/images/cn_AjaxValidator.gif, ajaxValidator.html, jbossrichfaces/freezone/docs/tlddoc/rich/ajaxValidator.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIhotkey.html, \t\t\t\t\t/richfaces/ajaxValidator.jsf
beanValidator=richValidators, \t Bean Validator, \t\t/images/ico_BeanValidator.gif, \t\t/images/cn_BeanValidator.gif, beanValidator.html, jbossrichfaces/freezone/docs/tlddoc/rich/beanValidator.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIhotkey.html, \t\t\t\t\t/richfaces/beanValidator.jsf
graphValidator=richValidators, \t Graph Validator, \t\t/images/ico_GraphValidator.gif, \t\t/images/cn_GraphValidator.gif, graphValidator.html, jbossrichfaces/freezone/docs/tlddoc/rich/graphValidator.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIhotkey.html, \t\t\t\t\t/richfaces/graphValidator.jsf
stateAPI=richMisc, \t State Manager API, \t\t/images/ico_StateManagerAPI.gif, \t\t/images/cn_StateManagerAPI.gif, ArchitectureOverview.html\#statemanagerapi, jbossrichfaces/freezone/docs/tlddoc/rich/graphValidator.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIhotkey.html, \t\t\t\t\t/richfaces/stateAPI.jsf
-extendedDataTable= richDataIterators, Extended DataTable, /images/ico_extendedDataTable.gif, /images/cn_extendedDataTable.gif, extendedDataTable.html, jbossrichfaces/freezone/docs/tlddoc/rich/dataTable.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataTable.html, /richfaces/extendedDataTable.jsf
+extendedDataTable= richDataIterators, Extended Data Table, /images/ico_extendedDataTable.gif, /images/cn_extendedDataTable.gif, extendedDataTable.html, jbossrichfaces/freezone/docs/tlddoc/rich/dataTable.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataTable.html, /richfaces/extendedDataTable.jsf
16 years, 4 months
JBoss Rich Faces SVN: r10231 - in trunk/test-applications/seleniumTest: richfaces and 9 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-08-29 06:39:30 -0400 (Fri, 29 Aug 2008)
New Revision: 10231
Added:
trunk/test-applications/seleniumTest/richfaces/
trunk/test-applications/seleniumTest/richfaces/pom.xml
trunk/test-applications/seleniumTest/samples/
trunk/test-applications/seleniumTest/samples/pom.xml
trunk/test-applications/seleniumTest/samples/src/
trunk/test-applications/seleniumTest/samples/src/test/
trunk/test-applications/seleniumTest/samples/src/test/java/
trunk/test-applications/seleniumTest/samples/src/test/java/org/
trunk/test-applications/seleniumTest/samples/src/test/java/org/samples/
trunk/test-applications/seleniumTest/samples/src/test/java/org/samples/booking/
trunk/test-applications/seleniumTest/samples/src/test/java/org/samples/seamdiscs/
trunk/test-applications/seleniumTest/samples/src/test/testng/
trunk/test-applications/seleniumTest/samples/src/test/testng/unix/
trunk/test-applications/seleniumTest/samples/src/test/testng/unix/testng.xml
trunk/test-applications/seleniumTest/samples/src/test/testng/win/
trunk/test-applications/seleniumTest/samples/src/test/testng/win/testng.xml
Modified:
trunk/test-applications/seleniumTest/pom.xml
Log:
created Selenium-based integration test structure for sample projects
Modified: trunk/test-applications/seleniumTest/pom.xml
===================================================================
--- trunk/test-applications/seleniumTest/pom.xml 2008-08-29 09:18:46 UTC (rev 10230)
+++ trunk/test-applications/seleniumTest/pom.xml 2008-08-29 10:39:30 UTC (rev 10231)
@@ -10,8 +10,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>seleniumTest</groupId>
<artifactId>seleniumTest</artifactId>
- <packaging>war</packaging>
- <name>seleniumTest Maven Webapp</name>
+ <packaging>pom</packaging>
+ <name>SeleniumTest</name>
<version>3.2.2-SNAPSHOT</version>
<url>http://maven.apache.org</url>
<properties>
@@ -44,7 +44,6 @@
</repository>
</repositories>
<build>
- <finalName>seleniumTest</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
@@ -92,70 +91,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- <configuration>
- <!-- Skip the normal tests, we'll run them in the integration-test phase -->
- <skip>true</skip>
- <suiteXmlFiles>
- <!--suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_all_all_none.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_all_all_tidy.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_all_all_neko.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_all_default_none.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_all_default_none.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_all_default_none.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_default_all_none.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_default_all_none.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_default_all_none.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_default_default_none.xml
- </suiteXmlFile>
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_default_default_none.xml
- </suiteXmlFile-->
- <suiteXmlFile>
- ${project.build.directory}/test-classes/testng/testng_default_default_neko.xml
- </suiteXmlFile>
- </suiteXmlFiles>
- <properties>
- <property>
- <name>listener</name>
- <value>org.richfaces.TestAnnotationTransformer</value>
- </property>
- </properties>
- </configuration>
- <executions>
- <execution>
- <phase>integration-test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <skip>false</skip>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
<profiles>
@@ -242,6 +177,10 @@
</build>
</profile>
</profiles>
+ <modules>
+ <module>richfaces</module>
+ <module>samples</module>
+ </modules>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
Added: trunk/test-applications/seleniumTest/richfaces/pom.xml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/pom.xml (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/pom.xml 2008-08-29 10:39:30 UTC (rev 10231)
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>seleniumTest</groupId>
+ <artifactId>seleniumTest</artifactId>
+ <version>3.2.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>seleniumTest</groupId>
+ <artifactId>richfaces</artifactId>
+ <packaging>war</packaging>
+ <name>seleniumTest Maven Webapp</name>
+ <version>3.2.2-SNAPSHOT</version>
+ <build>
+ <finalName>seleniumTest</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <!-- Skip the normal tests, we'll run them in the integration-test phase -->
+ <skip>true</skip>
+ <suiteXmlFiles>
+ <!--suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_all_all_none.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_all_all_tidy.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_all_all_neko.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_all_default_none.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_all_default_none.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_all_default_none.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_default_all_none.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_default_all_none.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_default_all_none.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_default_default_none.xml
+ </suiteXmlFile>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_default_default_none.xml
+ </suiteXmlFile-->
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng_default_default_neko.xml
+ </suiteXmlFile>
+ </suiteXmlFiles>
+ <properties>
+ <property>
+ <name>listener</name>
+ <value>org.richfaces.TestAnnotationTransformer</value>
+ </property>
+ </properties>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Property changes on: trunk/test-applications/seleniumTest/richfaces/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Added: trunk/test-applications/seleniumTest/samples/pom.xml
===================================================================
--- trunk/test-applications/seleniumTest/samples/pom.xml (rev 0)
+++ trunk/test-applications/seleniumTest/samples/pom.xml 2008-08-29 10:39:30 UTC (rev 10231)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>seleniumTest</groupId>
+ <artifactId>seleniumTest</artifactId>
+ <version>3.2.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>seleniumTest</groupId>
+ <artifactId>samples</artifactId>
+ <name>Samples</name>
+ <version>3.2.2-SNAPSHOT</version>
+ <build>
+ <finalName>seleniumTest</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <version>0.3.1</version>
+ <dependencies></dependencies>
+ <configuration>
+ <wait>false</wait>
+ <container>
+ <containerId>jetty6x</containerId>
+ <dependencies>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>el-impl</groupId>
+ <artifactId>el-impl</artifactId>
+ </dependency>
+ </dependencies>
+ <type>embedded</type>
+ </container>
+ <configuration>
+ <properties>
+ <cargo.servlet.port>
+ ${http.port}
+ </cargo.servlet.port>
+ </properties>
+ </configuration>
+ </configuration>
+ <executions>
+ <execution>
+ <id>start-container</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>stop-container</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <!-- Skip the normal tests, we'll run them in the integration-test phase -->
+ <skip>true</skip>
+ <suiteXmlFiles>
+ <suiteXmlFile>
+ ${project.build.directory}/test-classes/testng/testng.xml
+ </suiteXmlFile>
+ </suiteXmlFiles>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Property changes on: trunk/test-applications/seleniumTest/samples/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/test-applications/seleniumTest/samples/src/test/testng/unix/testng.xml
===================================================================
--- trunk/test-applications/seleniumTest/samples/src/test/testng/unix/testng.xml (rev 0)
+++ trunk/test-applications/seleniumTest/samples/src/test/testng/unix/testng.xml 2008-08-29 10:39:30 UTC (rev 10231)
@@ -0,0 +1,19 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="seleniumTest">
+ <test name="IEFunctionalTests">
+ <parameter name="browser" value="*iexplore"/>
+ <packages>
+ <package name="org.samples.booking" />
+ <package name="org.samples.seamdiscs" />
+ </packages>
+ </test>
+
+ <test name="FireFoxFunctionalTests">
+ <parameter name="browser" value="*firefox"/>
+ <packages>
+ <package name="org.samples.booking" />
+ <package name="org.samples.seamdiscs" />
+ </packages>
+ </test>
+</suite>
+
Property changes on: trunk/test-applications/seleniumTest/samples/src/test/testng/unix/testng.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/test-applications/seleniumTest/samples/src/test/testng/win/testng.xml
===================================================================
--- trunk/test-applications/seleniumTest/samples/src/test/testng/win/testng.xml (rev 0)
+++ trunk/test-applications/seleniumTest/samples/src/test/testng/win/testng.xml 2008-08-29 10:39:30 UTC (rev 10231)
@@ -0,0 +1,19 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="seleniumTest">
+ <test name="IEFunctionalTests">
+ <parameter name="browser" value="*iexplore"/>
+ <packages>
+ <package name="org.samples.booking" />
+ <package name="org.samples.seamdiscs" />
+ </packages>
+ </test>
+
+ <test name="FireFoxFunctionalTests">
+ <parameter name="browser" value="*firefox"/>
+ <packages>
+ <package name="org.samples.booking" />
+ <package name="org.samples.seamdiscs" />
+ </packages>
+ </test>
+</suite>
+
Property changes on: trunk/test-applications/seleniumTest/samples/src/test/testng/win/testng.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
16 years, 4 months
JBoss Rich Faces SVN: r10230 - in trunk/ui/toolBar/src/main: java/org/richfaces/renderkit/html and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-08-29 05:18:46 -0400 (Fri, 29 Aug 2008)
New Revision: 10230
Modified:
trunk/ui/toolBar/src/main/config/component/toolBar.xml
trunk/ui/toolBar/src/main/java/org/richfaces/renderkit/html/ToolBarRendererBase.java
Log:
https://jira.jboss.org/jira/browse/RF-4312
Modified: trunk/ui/toolBar/src/main/config/component/toolBar.xml
===================================================================
--- trunk/ui/toolBar/src/main/config/component/toolBar.xml 2008-08-29 08:40:36 UTC (rev 10229)
+++ trunk/ui/toolBar/src/main/config/component/toolBar.xml 2008-08-29 09:18:46 UTC (rev 10230)
@@ -206,5 +206,56 @@
&ui_component_attributes;
&html_style_attributes;
&html_events;
+
+ <property>
+ <name>onitemkeydown</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is pressed down on an item</description>
+ </property>
+ <property>
+ <name>onitemkeypress</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is pressed and released on an item</description>
+ </property>
+ <property>
+ <name>onitemkeyup</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is released on an item</description>
+ </property>
+ <property>
+ <name>onitemclick</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer button is clicked on an item</description>
+ </property>
+ <property>
+ <name>onitemdblclick</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer button is double-clicked on an item</description>
+ </property>
+ <property>
+ <name>onitemmousedown</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: script expression; a pointer button is pressed down on an item</description>
+ </property>
+ <property>
+ <name>onitemmousemove</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved on an item</description>
+ </property>
+ <property>
+ <name>onitemmouseover</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved onto an item</description>
+ </property>
+ <property>
+ <name>onitemmouseout</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved away from an item</description>
+ </property>
+ <property>
+ <name>onitemmouseup</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: script expression; a pointer button is released on an item</description>
+ </property>
</component>
</components>
\ No newline at end of file
Modified: trunk/ui/toolBar/src/main/java/org/richfaces/renderkit/html/ToolBarRendererBase.java
===================================================================
--- trunk/ui/toolBar/src/main/java/org/richfaces/renderkit/html/ToolBarRendererBase.java 2008-08-29 08:40:36 UTC (rev 10229)
+++ trunk/ui/toolBar/src/main/java/org/richfaces/renderkit/html/ToolBarRendererBase.java 2008-08-29 09:18:46 UTC (rev 10230)
@@ -195,22 +195,16 @@
protected void encodeEventsAttributes(FacesContext facesContext, UIComponent component, ResponseWriter writer)
throws IOException {
- UIToolBar toolbar = getParentToolBar(component);
- Map<String, Object> attributes = toolbar.getAttributes();
- Map<String, Object> groupAttributes = component.getAttributes();
-
+ Map<String, Object> attributes = component.getAttributes();
for (int i = 0; i < ON_ITEM_EVENTS.length; i++) {
- String eventName = ON_ITEM_EVENTS[i].replace("item", "");
- Object value = attributes.get(ON_ITEM_EVENTS[i]);
- Object groupValue = groupAttributes.get(eventName);
- String attrvalue = "";
+ String eventName = ON_ITEM_EVENTS[i];
+ Object value = null;
+ value = attributes.get(eventName);
+ String attrvalue = "";
if ((null != value && !"".equals(value))) {
attrvalue = attrvalue + value;
}
- if ((null != groupValue && !"".equals(groupValue))) {
- attrvalue = attrvalue + ";" + groupValue;
- }
- getUtils().writeAttribute(writer, eventName, attrvalue);
+ getUtils().writeAttribute(writer, eventName.replace("item",""), attrvalue);
}
}
16 years, 4 months
JBoss Rich Faces SVN: r10229 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable: examples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-08-29 04:40:36 -0400 (Fri, 29 Aug 2008)
New Revision: 10229
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/usage.xhtml
Log:
extendedDataTable sample finished
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml 2008-08-28 22:37:50 UTC (rev 10228)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml 2008-08-29 08:40:36 UTC (rev 10229)
@@ -8,23 +8,26 @@
<ui:composition>
<h:form>
- <h:panelGrid columns="2">
+ <h:panelGrid columns="2" columnClasses="top,top">
<rich:extendedDataTable value="#{capitalsBean.capitals}" var="cap" id="table"
- width="400px" height="400px" sortMode="#{extendedTableBean.sortMode}"
+ width="420px" height="400px" sortMode="#{extendedTableBean.sortMode}"
selectionMode="#{extendedTableBean.selectionMode}">
+ <f:facet name="header">
+ <h:outputText value="States Capitals"/>
+ </f:facet>
<rich:column sortable="false">
<f:facet name="header">
<h:outputText value="Flag"/>
</f:facet>
<h:graphicImage value="#{cap.stateFlag}"/>
</rich:column>
- <rich:column sortable="true" sortBy="#{cap.state}">
+ <rich:column sortable="true" sortBy="#{cap.state}" filterBy="#{cap.state}" filterEvent="onkeyup">
<f:facet name="header">
<h:outputText value="State Name"/>
</f:facet>
<h:outputText value="#{cap.state}"/>
</rich:column>
- <rich:column sortable="true" sortBy="#{cap.name}">
+ <rich:column sortable="true" sortBy="#{cap.name}" filterBy="#{cap.state}" filterEvent="onkeyup">
<f:facet name="header">
<h:outputText value="State Capital"/>
</f:facet>
@@ -38,6 +41,9 @@
</rich:column>
</rich:extendedDataTable>
<rich:panel>
+ <f:facet name="header">
+ <h:outputText value="Sort/Selection modes changing"/>
+ </f:facet>
<h:panelGrid columns="2">
<h:outputText value="Sort Mode:"/>
<h:selectOneMenu value="#{extendedTableBean.sortMode}">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/usage.xhtml 2008-08-28 22:37:50 UTC (rev 10228)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/usage.xhtml 2008-08-29 08:40:36 UTC (rev 10229)
@@ -7,9 +7,28 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
- <p>Desc
+ <style>
+ .top{
+ vertical-align:top;
+ }
+ </style>
+ <p>
+ This is <b>dataTable extension component</b> contributed to the Rich Faces from
+ the community. It adds next features to the rich:dataTable component:
</p>
-
+ <ul>
+ <li><b>Scrolling data</b> on the client and usage scrolling together with paggination</li>
+ <li><b>Selection of rows</b> with management of the selection on server through simple binding</li>
+ <li>Management the <b>modes of the selection</b> (none, single line or multiple lines)</li>
+ <li><b>Columns reordering</b> using drag and drop of the headers</li>
+ <li><b>Showing/hiding columns </b>through built-in context menu</li>
+ <li><b>State saving </b>through value binding</li>
+ <li><b>Grouping rows </b>by any column</li>
+ </ul>
+ <p>
+ <b>Note</b><i>: This component is in a preview state for 3.2.2 release cause it was
+ not fully tested/reviewed by the RF team.</i>
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Extended DataTable example</legend>
<div class="sample-container">
16 years, 4 months
JBoss Rich Faces SVN: r10228 - trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-08-28 18:37:50 -0400 (Thu, 28 Aug 2008)
New Revision: 10228
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp/HeaderResourceElement.java
Log:
https://jira.jboss.org/jira/browse/RF-4303
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp/HeaderResourceElement.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp/HeaderResourceElement.java 2008-08-28 17:18:58 UTC (rev 10227)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp/HeaderResourceElement.java 2008-08-28 22:37:50 UTC (rev 10228)
@@ -67,6 +67,7 @@
super(element, componentBean);
String resourcesAsString = element.getTextContent();
if (resourcesAsString != null) {
+ resourcesAsString = resourcesAsString.trim();
StringTokenizer tokenizer = new StringTokenizer(resourcesAsString,
"\r\n\t,;");
List paths = new ArrayList(tokenizer.countTokens());
16 years, 4 months
JBoss Rich Faces SVN: r10227 - trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-08-28 13:18:58 -0400 (Thu, 28 Aug 2008)
New Revision: 10227
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
https://jira.jboss.org/jira/browse/RF-4314
Modified: trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-08-28 15:37:13 UTC (rev 10226)
+++ trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-08-28 17:18:58 UTC (rev 10227)
@@ -102,16 +102,18 @@
//TODO: Event.element here?
switchingStatesHandler : function(e) {
- if (this.skipSwitching) {
- this.skipSwitching = false;
- return;
- }
- var el = (e.srcElement) ? e.srcElement : e.target;
- this.edit();
- if (el.id == this.inplaceInput.id) {
- this.skipSwitching = true;
- this.tempValueKeeper.focus();
- }
+ if (this.skipSwitching) {
+ this.skipSwitching = false;
+ return;
+ }
+ var el = (e.srcElement) ? e.srcElement : e.target;
+ if (this.currentState != Richfaces.InplaceInput.STATES[1]) {
+ this.edit();
+ }
+ if (el.id == this.inplaceInput.id) {
+ this.skipSwitching = true;
+ this.tempValueKeeper.focus();
+ }
},
edit: function (){
16 years, 4 months
JBoss Rich Faces SVN: r10226 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-08-28 11:37:13 -0400 (Thu, 28 Aug 2008)
New Revision: 10226
Modified:
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
Log:
RF-3819: Documenting. Tree built-in drag-and-drop.
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-08-28 14:58:50 UTC (rev 10225)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-08-28 15:37:13 UTC (rev 10226)
@@ -657,94 +657,131 @@
<section id="tsebro" role="updated">
<title>Built-In Drag and Drop</title>
- <para>Words "built-in" in this context mean,
- that <emphasis role="bold"><property><rich:tree></property></emphasis> component has its own attributes, that provide <property>drag-and-drop</property> capability.
- These attributes can be divided into two groups: those ones which provide <property>drag</property> and those which provide <property>drop</property> operations (see the tables below).
- </para>
-
+ <para>Words "built-in" in this context mean, that <emphasis
+ role="bold">
+ <property><rich:tree></property>
+ </emphasis> component has its own attributes, that provide
+ <property>drag-and-drop</property> capability. These
+ attributes can be divided into two groups: those ones which provide
+ <property>drag</property> and those which provide
+ <property>drop</property> operations (see the tables below). </para>
+
<table>
<title>Drag group</title>
<tgroup cols="2">
<thead>
<row>
- <entry>Attribute Name</entry>
- <entry>Description</entry>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
</row>
</thead>
<tbody>
<row>
- <entry>dragValue</entry>
- <entry>Element value drag passed into processing after a Drop event</entry>
+ <entry>dragValue</entry>
+ <entry>Element value drag passed into
+ processing after a Drop
+ event</entry>
</row>
<row>
- <entry>dragListener</entry>
- <entry>A listener that processes a Drag event</entry>
+ <entry>dragListener</entry>
+ <entry>A listener that processes a Drag
+ event</entry>
</row>
<row>
- <entry>dragIndicator</entry>
- <entry>Id of a component that is used as a drag pointer during the drag
- operation</entry>
+ <entry>dragIndicator</entry>
+ <entry>Id of a component that is used as
+ a drag pointer during the drag
+ operation</entry>
</row>
<row>
- <entry>dragType</entry>
- <entry>Defines a drag zone type that is used for definition of a dragged element, which
- can be accepted by a drop zone</entry>
+ <entry>dragType</entry>
+ <entry>Defines a drag zone type that is
+ used for definition of a
+ dragged element, which can be
+ accepted by a drop
+ zone</entry>
</row>
</tbody>
</tgroup>
</table>
-
+
<table>
<title>Drop group</title>
<tgroup cols="2">
<thead>
<row>
- <entry>Attribute Name</entry>
- <entry>Description</entry>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
</row>
</thead>
<tbody>
<row>
- <entry>dropValue</entry>
- <entry>Element value drop passed into processing after Drop events </entry>
- </row>
+ <entry>dropValue</entry>
+ <entry>Element value drop passed into
+ processing after Drop events
+ </entry>
+ </row>
<row>
- <entry>dropListener</entry>
- <entry>A listener that processes a Drop event. </entry>
+ <entry>dropListener</entry>
+ <entry>A listener that processes a Drop
+ event. </entry>
</row>
<row>
- <entry>acceptedTypes</entry>
- <entry>Drag zone names are allowed to be processed with a Drop zone</entry>
+ <entry>acceptedTypes</entry>
+ <entry>Drag zone names are allowed to be
+ processed with a Drop
+ zone</entry>
</row>
<row>
- <entry>typeMapping</entry>
- <entry>Drag zones names mapping on the corresponding drop zone parameters</entry>
+ <entry>typeMapping</entry>
+ <entry>Drag zones names mapping on the
+ corresponding drop zone
+ parameters</entry>
</row>
</tbody>
</tgroup>
</table>
-
- <para>Consider <property>drag-and-drop</property> inside a tree.
- All zones, which are assumed to be dragged, must be marked.
- In terms of <emphasis role="bold"><property><rich:tree></property></emphasis> these zones completely correspond to tree nodes.
- So, all dragging nodes should be marked with <emphasis><property>"dragType"</property></emphasis> attribute, which value must be the same as value for node’s <emphasis><property>"type"</property></emphasis> attribute.
- Then, to mark zone(-s), where the dragging node could be dropped, pass the type of dragging node to the <emphasis><property>"acceptedTypes"</property></emphasis> attribute of the drop zone.
- It would be good to itemize, that each tree node in the <emphasis role="bold"><property><rich:tree></property></emphasis> component’s structure has its own <emphasis>key</emphasis>.
- Depending on how the component is used, these keys can be generated by the component itself or can be taken from the component’s data model.
- Keys help to identify each node in a tree; key is what exactly being passing from one node to another in <property>drag-and-drop</property> operations.
- Finally, the method binding, that will process <property>drag-and-drop</property> operation, should be pointed via <emphasis><property>"dropListener"</property></emphasis> attribute of the <emphasis role="bold"><property><rich:tree></property></emphasis>.
- </para>
+
+ <para>Consider <property>drag-and-drop</property> inside a tree. All zones,
+ which are assumed to be dragged, must be marked. In terms of <emphasis
+ role="bold">
+ <property><rich:tree></property>
+ </emphasis> these zones completely correspond to tree nodes. So, all
+ dragging nodes should be marked with <emphasis>
+ <property>"dragType"</property>
+ </emphasis> attribute.
+ Then, to mark zone(-s), where the dragging node
+ could be dropped, pass the type of dragging node to the <emphasis>
+ <property>"acceptedTypes"</property>
+ </emphasis> attribute of the drop zone. It would be good to itemize,
+ that each tree node in the <emphasis role="bold">
+ <property><rich:tree></property>
+ </emphasis> component’s structure has its own
+ <emphasis>key</emphasis>. Depending on how the component is used,
+ these keys can be generated by the component itself or can be taken
+ from the component’s data model. Keys help to identify each node in a
+ tree; key is what exactly being passing from one node to another in
+ <property>drag-and-drop</property> operations. Finally, the
+ method binding, that will process <property>drag-and-drop</property>
+ operation, should be pointed via <emphasis>
+ <property>"dropListener"</property>
+ </emphasis> attribute of the <emphasis role="bold">
+ <property><rich:tree></property>
+ </emphasis>. </para>
+ <para> Chapters "<link linkend="ch1">6.40
+ <dragIndicator></link>" and "<link
+ linkend="dndParam">6.39
+ <dndParam></link>" describes how to apply
+ visual element, that show some additional information (e.g. dragging
+ item name) while operating with <property>drag-and-drop</property>. </para>
+ <para> Page code, that describes a tree with built in
+ <property>drag-and-drop</property> in the way it is considered, is
+ shown below. </para>
+
<para>
- Chapters "<link linkend="ch1">6.40 <dragIndicator></link>" and "<link linkend="dndParam">6.39 <dndParam></link>" describes how to apply visual element, that show some additional information (e.g. dragging item name) while operating with <property>drag-and-drop</property>.
- </para>
- <para>
- Page code, that describes a tree with built in <property>drag-and-drop</property> in the way it is considered, is shown below.
- </para>
-
- <para>
<emphasis role="bold">Example:</emphasis>
</para>
-
+
<programlisting role="XML"><![CDATA[...
<h:form>
<rich:tree style="width:300px" value="#{libraryAjaxTree.data}" nodeFace="#{item.type}" var="item" dropListener="#{libraryAjaxTree.processDrop}" dragIndicator=":treeDragIndicator">
@@ -762,9 +799,9 @@
</rich:tree>
</h:form>
...]]></programlisting>
-
+
<para>This code renders following tree:</para>
-
+
<figure>
<title>Drag-and-drop operations</title>
<mediaobject>
@@ -773,9 +810,9 @@
</imageobject>
</mediaobject>
</figure>
-
+
</section>
-
+
<section>
<title>Events handling</title>
<para>Listeners classes that process events on the server side are defined with
16 years, 4 months