JBoss Rich Faces SVN: r6087 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: orderingList and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-02-14 11:17:11 -0500 (Thu, 14 Feb 2008)
New Revision: 6087
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle/listShuttle.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/orderingList.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-2245
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle/listShuttle.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle/listShuttle.xhtml 2008-02-14 16:09:59 UTC (rev 6086)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle/listShuttle.xhtml 2008-02-14 16:17:11 UTC (rev 6087)
@@ -14,7 +14,7 @@
List Shuttle could contain several columns in list representation. And it
also has strong keyboard support out of the box.
</p>
- <p><b>Example.</b>Customize simple application toolbar using List Shuttle.
+ <p><b>Example. </b>Customize simple application toolbar using List Shuttle.
In this example you may select items and their order within the toolBar.
<br/>
After you move some items between lists or reorder them in "Currently Active" list - you'll
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/orderingList.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/orderingList.xhtml 2008-02-14 16:09:59 UTC (rev 6086)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/orderingList.xhtml 2008-02-14 16:17:11 UTC (rev 6087)
@@ -14,7 +14,7 @@
Ordering List could contain several columns in list representation. And it
also has strong keyboard support out of the box.
</p>
- <p><b>Example.</b>Manage simple playlist represented via Ordering List:</p>
+ <p><b>Example. </b>Manage simple playlist represented via Ordering List:</p>
<div class="sample-container">
<ui:include src="/richfaces/orderingList/example/playlist.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
18 years, 2 months
JBoss Rich Faces SVN: r6086 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-02-14 11:09:59 -0500 (Thu, 14 Feb 2008)
New Revision: 6086
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-2240
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D/usage.xhtml 2008-02-14 16:01:06 UTC (rev 6085)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D/usage.xhtml 2008-02-14 16:09:59 UTC (rev 6086)
@@ -19,7 +19,7 @@
should be serializable.</p>
<p>To improve the performance and avoid the extra unnecessary
traffic over the net, a generated image will be cached if the data
- is not changed. You can turn this feature of with a cacheable attribute.</p>
+ is not changed. You can turn this feature off with a cacheable attribute.</p>
<div class="sample-container">
<ui:include src="/richfaces/paint2D/examples/painter.xhtml"/>
18 years, 2 months
JBoss Rich Faces SVN: r6085 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-02-14 11:01:06 -0500 (Thu, 14 Feb 2008)
New Revision: 6085
Modified:
trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
Log:
http://jira.jboss.com/jira/browse/RF-2258
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-02-14 15:55:04 UTC (rev 6084)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-02-14 16:01:06 UTC (rev 6085)
@@ -51,7 +51,7 @@
</para>
<programlisting role="XML"><![CDATA[...
<h:inputText value="#{bean.property}" id="suggest"/>
- <rich:suggestionBox for="suggest" suggestionAction="#{bean.autocomplete}"
+ <rich:suggestionbox for="suggest" suggestionAction="#{bean.autocomplete}"
var="suggest">
<h:column>
<h:outputText value="#{suggest.text}"/>
@@ -122,7 +122,7 @@
could get any collection for an output and outputs it in a ToolTip window the same as a
custom dataTable (in several columns)</para>
<programlisting role="XML"><![CDATA[...
- <rich:suggestionBox for="test"
+ <rich:suggestionbox for="test"
suggestionAction="#{bean.autocomplete}" var="cit" fetchValue="#{cit.text}">
<h:column>
<h:outputText value="#{cit.label}"/>
@@ -130,7 +130,7 @@
<h:column>
<h:outputText value="#{cit.text}"/>
</h:column>
- </rich:suggestionBox>
+ </rich:suggestionbox>
...
]]></programlisting>
<para>It looks on a page in the following way:</para>
@@ -152,12 +152,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:suggestionBox for="test" suggestionAction="#{bean.autocomplete}" var="cit"
+ <rich:suggestionbox for="test" suggestionAction="#{bean.autocomplete}" var="cit"
selfRendered="true" tokens=",">
<h:column>
<h:outputText value="#{cit.text}"/>
</h:column>
- </rich:suggestionBox>
+ </rich:suggestionbox>
...
]]></programlisting>
<para>This example shows that when a city is chosen and a comma and first letter character
@@ -199,25 +199,25 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:suggestionBox nothingLabel="Empty" for="test" suggestionAction="#{bean.autocomplete}" var="cit">
+ <rich:suggestionbox nothingLabel="Empty" for="test" suggestionAction="#{bean.autocomplete}" var="cit">
<h:column>
<h:outputText value="#{cit.text}"/>
</h:column>
- </rich:suggestionBox>
+ </rich:suggestionbox>
...
]]></programlisting>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
-<rich:suggestioBox for="test" suggestionAction="#{bean.autocomplete}" var="cit">
+<rich:suggestionbox for="test" suggestionAction="#{bean.autocomplete}" var="cit">
<facet name="nothingLabel">
<h:outputText value="Empty"/>
</facet>
<h:column>
<h:outputText value="#{cit.text}"/>
</h:column>
-</rich:suggestionBox>
+</rich:suggestionbox>
...
]]></programlisting>
@@ -539,7 +539,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="CSS"><![CDATA[<rich:suggestionBox ... selectedClass="myClass"/>
+ <programlisting role="CSS"><![CDATA[<rich:suggestionbox ... selectedClass="myClass"/>
]]></programlisting>
<para>This is a result:</para>
18 years, 2 months
JBoss Rich Faces SVN: r6084 - trunk/sandbox/samples.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-14 10:55:04 -0500 (Thu, 14 Feb 2008)
New Revision: 6084
Modified:
trunk/sandbox/samples/pom.xml
Log:
add inplace's to the pom file
Modified: trunk/sandbox/samples/pom.xml
===================================================================
--- trunk/sandbox/samples/pom.xml 2008-02-14 15:50:22 UTC (rev 6083)
+++ trunk/sandbox/samples/pom.xml 2008-02-14 15:55:04 UTC (rev 6084)
@@ -19,5 +19,7 @@
<module>fileUploadPOC</module>
<module>fileUploadDemo</module>
<module>sortingFilteringDemo</module>
+ <module>inplaceInput-sample</module>
+ <module>inplaceSelect-sample</module>
</modules>
</project>
\ No newline at end of file
18 years, 2 months
JBoss Rich Faces SVN: r6083 - in trunk/sandbox/samples: inplaceSelect-sample and 12 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-14 10:50:22 -0500 (Thu, 14 Feb 2008)
New Revision: 6083
Added:
trunk/sandbox/samples/inplaceSelect-sample/
trunk/sandbox/samples/inplaceSelect-sample/pom.xml
trunk/sandbox/samples/inplaceSelect-sample/src/
trunk/sandbox/samples/inplaceSelect-sample/src/main/
trunk/sandbox/samples/inplaceSelect-sample/src/main/java/
trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/
trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/
trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java
trunk/sandbox/samples/inplaceSelect-sample/src/main/resources/
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/faces-config.xml
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/index.jsp
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp
trunk/sandbox/samples/inplaceSelect-sample/src/test/
trunk/sandbox/samples/inplaceSelect-sample/src/test/java/
trunk/sandbox/samples/inplaceSelect-sample/src/test/java/org/
trunk/sandbox/samples/inplaceSelect-sample/src/test/java/org/richfaces/
trunk/sandbox/samples/inplaceSelect-sample/src/test/java/org/richfaces/BeanTest.java
Log:
initial commit
Added: trunk/sandbox/samples/inplaceSelect-sample/pom.xml
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/pom.xml (rev 0)
+++ trunk/sandbox/samples/inplaceSelect-sample/pom.xml 2008-02-14 15:50:22 UTC (rev 6083)
@@ -0,0 +1,85 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>samples</artifactId>
+ <groupId>org.richfaces.sandbox</groupId>
+ <version>3.2.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces</groupId>
+ <artifactId>inplaceSelect-sample</artifactId>
+ <packaging>war</packaging>
+ <name>JSF Maven Webapp</name>
+ <version>1.0-SNAPSHOT</version>
+ <build>
+ <finalName>inplaceSelect-sample</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>6.1.1</version>
+ <configuration>
+ <scanIntervalSeconds>10</scanIntervalSeconds>
+ <connectors>
+ <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+ <port>8080</port>
+ <maxIdleTime>60000</maxIdleTime>
+ </connector>
+ </connectors>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>mortbay-repo</id>
+ <name>mortbay-repo</name>
+ <url>http://www.mortbay.org/maven2/snapshot</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven Artifacts</name>
+ <url>http://repository.jboss.com/maven2</url>
+ </pluginRepository>
+ </pluginRepositories>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.ajax4jsf</groupId>
+ <artifactId>ajax4jsf</artifactId>
+ <version>1.1.1-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>1.1.12</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>el-impl</groupId>
+ <artifactId>el-impl</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.0</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.samples</groupId>
+ <artifactId>skins</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Added: trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java (rev 0)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java 2008-02-14 15:50:22 UTC (rev 6083)
@@ -0,0 +1,29 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - 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;
+/**
+ * @author $Autor$
+ *
+ */
+public class Bean {
+
+}
\ No newline at end of file
Added: trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/faces-config.xml (rev 0)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/faces-config.xml 2008-02-14 15:50:22 UTC (rev 6083)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+ <managed-bean>
+ <managed-bean-name>bean</managed-bean-name>
+ <managed-bean-class>org.richfaces.Bean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+</faces-config>
Added: trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/web.xml (rev 0)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/WEB-INF/web.xml 2008-02-14 15:50:22 UTC (rev 6083)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>Archetype Created Web Application</display-name>
+ <context-param>
+ <param-name>javax.faces.CONFIG_FILES</param-name>
+ <param-value>/WEB-INF/faces-config.xml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>ajax4jsf</filter-name>
+ <servlet-name>Faces Servlet</servlet-name>
+ <dispatcher>REQUEST</dispatcher>
+ <dispatcher>FORWARD</dispatcher>
+ <dispatcher>INCLUDE</dispatcher>
+ </filter-mapping>
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>/faces/*</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>
Added: trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/index.jsp
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/index.jsp (rev 0)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/index.jsp 2008-02-14 15:50:22 UTC (rev 6083)
@@ -0,0 +1,13 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+
+<html>
+
+<head></head>
+
+ <body>
+
+ <jsp:forward page="/pages/index.jsf" />
+
+ </body>
+
+</html>
\ No newline at end of file
Added: trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp (rev 0)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp 2008-02-14 15:50:22 UTC (rev 6083)
@@ -0,0 +1,12 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<html>
+ <head>
+ <title></title>
+ </head>
+ <body>
+ <f:view>
+
+ </f:view>
+ </body>
+</html>
Added: trunk/sandbox/samples/inplaceSelect-sample/src/test/java/org/richfaces/BeanTest.java
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/test/java/org/richfaces/BeanTest.java (rev 0)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/test/java/org/richfaces/BeanTest.java 2008-02-14 15:50:22 UTC (rev 6083)
@@ -0,0 +1,46 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - 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;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+*/
+public class BeanTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public BeanTest( String testName )
+ {
+ super( testName );
+ }
+
+ public void testStub() throws Exception {
+
+ }
+}
18 years, 2 months
JBoss Rich Faces SVN: r6082 - in trunk/sandbox/ui/inplaceInput/src/main: resources/org/richfaces/renderkit/html/scripts and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-02-14 10:22:29 -0500 (Thu, 14 Feb 2008)
New Revision: 6082
Modified:
trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml
trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx
Log:
component's attributes is added
Modified: trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-02-14 15:21:59 UTC (rev 6081)
+++ trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-02-14 15:22:29 UTC (rev 6082)
@@ -119,7 +119,45 @@
<classname>java.lang.String</classname>
</property>
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>viewClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>editClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>changedClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>controlClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>viewHoveredClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>changedHoveredClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>controlPressedClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property>
+ <name>controlHoveredClass</name>
+ <classname>java.lang.String</classname>
+ </property>
+
+
</properties>
</component>
</components>
Modified: trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-02-14 15:21:59 UTC (rev 6081)
+++ trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-02-14 15:22:29 UTC (rev 6082)
@@ -32,6 +32,9 @@
initHandlers : function() {
this.inplaceInput.observe(this.attributes.editEvent, function(e){this.switchingStatesHandler(e);}.bindAsEventListener(this));
+ this.inplaceInput.observe("mouseout", function(e){this.inplaceMouseOutHandler(e);}.bindAsEventListener(this));
+ this.inplaceInput.observe("mouseover", function(e){this.inplaceMouseOverHandler(e);}.bindAsEventListener(this));
+
this.tempValueKeeper.observe("blur", function(e){this.tmpValueBlurHandler(e);}.bindAsEventListener(this));
this.tempValueKeeper.observe("keydown", function(e){this.tmpValueKeyDownHandler(e);}.bindAsEventListener(this));
@@ -62,6 +65,23 @@
/*
* HANDLERS
*/
+
+ inplaceMouseOverHandler : function(e) {
+ if (this.currentState == Richfaces.InplaceInput.STATES[0]) {
+ this.inplaceInput.className += " " + this.classes.COMPONENT.VIEW.HOVERED;
+ } else if (this.currentState == Richfaces.InplaceInput.STATES[2]) {
+ this.inplaceInput.className += " " + this.classes.COMPONENT.CHANGED.HOVERED;
+ }
+ },
+
+ inplaceMouseOutHandler : function(e) {
+ if (this.currentState == Richfaces.InplaceInput.STATES[0]) {
+ this.inplaceInput.className = this.classes.COMPONENT.VIEW.NORMAL;
+ } else if (this.currentState == Richfaces.InplaceInput.STATES[2]) {
+ this.inplaceInput.className = this.classes.COMPONENT.CHANGED.NORMAL;
+ }
+ },
+
switchingStatesHandler : function(e) {
var target;
if (e.target) {
@@ -171,14 +191,14 @@
this.changeState(Richfaces.InplaceInput.STATES[0]);
this.createNewText(this.currentText);
- this.inplaceInput.className = this.classes.COMPONENT.VIEW;
+ this.inplaceInput.className = this.classes.COMPONENT.VIEW.NORMAL;
},
startChangedState : function () {
this.changeState(Richfaces.InplaceInput.STATES[2]);
this.createNewText(this.valueKeeper.value);
- this.inplaceInput.className = this.classes.COMPONENT.CHANGED;
+ this.inplaceInput.className = this.classes.COMPONENT.CHANGED.NORMAL;
},
/**
@@ -306,7 +326,6 @@
positioning : function(inpWidth, inpHeight) {
this.bar.style.position = "absolute";
- //this.bsPanel.style.position = "relative";
var bs = this.bar.style;
switch (this.position) {
case "top" :
@@ -331,11 +350,6 @@
};
Richfaces.InplaceInput.STATES = [0, 1, 2];// 0 - view, 1- editable, 2 - changed
-Richfaces.InplaceInput.CLASSES = {
- COMPONENT : {CHANGED : "rich-inplace rich-inplace-changed",
- VIEW : "rich-inplace rich-inplace-view",
- EDITABLE : "rich-inplace rich-inplace-edit"}
-}
Richfaces.InplaceInput.textboxSelect = function(oTextbox, iStart, iEnd) {
if (Prototype.Browser.IE) {
@@ -349,4 +363,4 @@
//FIXME
oTextbox.setSelectionRange(iStart, iEnd);
}
-}
\ No newline at end of file
+};
\ No newline at end of file
Modified: trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-02-14 15:21:59 UTC (rev 6081)
+++ trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-02-14 15:22:29 UTC (rev 6082)
@@ -46,10 +46,17 @@
if (cancelIcon != null && cancelIcon.length() != 0 ) {
variables.setVariable("cancelIcon", cancelIcon);
}
+
+ String controllClass = (String)component.getAttributes().get("controllClass");
+ variables.setVariable("controllClass", controllClass);
+ String controllHoveredClass = (String)component.getAttributes().get("controllHoveredClass");
+ variables.setVariable("controllHoveredClass", controllHoveredClass);
+ String controllPressedClass = (String)component.getAttributes().get("controllPressedClass");
+ variables.setVariable("controllPressedClass", controllPressedClass);
]]>
</jsp:scriptlet>
- <span id="#{clientId}" class="rich-inplace rich-inplace-view">
+ <span id="#{clientId}" class='rich-inplace rich-inplace-view #{component.attributes["styleClass"]}'>
<input id="#{clientId}tabber" type="button" value="" style="width: 1px; position: absolute; left: -32767px;" />
<input id='#{clientId}tempValue'
class='rich-inplace-field'
@@ -91,12 +98,20 @@
</table>
</div>
<div id="#{clientId}buttons" style="position:relative;">
- <input id="#{clientId}ok" class="rich-inplace-control" type="image" onmouseup="this.className='rich-inplace-control'"
- onmouseout="this.className='rich-inplace-control'" onmousedown="this.className='rich-inplace-control-press'"
- src="#{saveIcon}"/>
- <input id="#{clientId}cancel" class="rich-inplace-control" type="image" onmouseup="this.className='rich-inplace-control'"
- onmouseout="this.className='rich-inplace-control'" onmousedown="this.className='rich-inplace-control-press'"
- src="#{cancelIcon}"/>
+ <input id='#{clientId}ok' class='rich-inplace-control #{controlClass}'
+ type='image'
+ onmouseup="this.className='rich-inplace-control #{controlClass}'"
+ onmouseout="this.className='rich-inplace-control #{controlClass}'"
+ onmousedown="this.className='rich-inplace-control-press #{controlPressedClass}'"
+ onmouseover="this.className='rich-inplace-control #{controlHoveredClass}'"
+ src='#{saveIcon}'/>
+ <input id='#{clientId}cancel' class='rich-inplace-control #{controlClass}'
+ type='image'
+ onmouseup="this.className='rich-inplace-control #{controlClass}'"
+ onmouseout="this.className='rich-inplace-control #{controlClass}'"
+ onmousedown="this.className='rich-inplace-control-press #{controlPressedClass}'"
+ onmouseover="this.className='rich-inplace-control #{controlHoveredClass}'"
+ src='#{cancelIcon}'/>
</div>
<jsp:scriptlet>
<![CDATA[
@@ -123,6 +138,12 @@
oneditactivated : #{this:getAsEventHandler(context, component, "oneditactivated")},
onviewactivated : #{this:getAsEventHandler(context, component, "onviewactivated")}};
+ Richfaces.InplaceInput.CLASSES = {
+ COMPONENT : {CHANGED : {NORMAL : 'rich-inplace rich-inplace-changed #{component.attributes["changedClass"]}', HOVERED : '#{component.attributes["changedHoveredClass"]}'},
+ VIEW : {NORMAL : 'rich-inplace rich-inplace-view #{component.attributes["viewClass"]}', HOVERED : '#{component.attributes["viewHoveredClass"]}'},
+ EDITABLE : 'rich-inplace rich-inplace-edit #{component.attributes["editClass"]}'}
+ };
+
var inplaceInput = new Richfaces.InplaceInput('#{clientId}', '#{clientId}tempValue', '#{clientId}value', '#{clientId}tabber', attributes, events, Richfaces.InplaceInput.CLASSES, ['#{clientId}bar', '#{clientId}ok', '#{clientId}cancel', '#{clientId}buttons']);
</script>
</f:root>
\ No newline at end of file
18 years, 2 months
JBoss Rich Faces SVN: r6081 - in trunk/test-applications/jsp/src/main: java/combobox and 48 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2008-02-14 10:21:59 -0500 (Thu, 14 Feb 2008)
New Revision: 6081
Added:
trunk/test-applications/jsp/src/main/java/progressBar/
trunk/test-applications/jsp/src/main/java/progressBar/ProgressBar.java
trunk/test-applications/jsp/src/main/java/util/event/
trunk/test-applications/jsp/src/main/java/util/event/Event.java
trunk/test-applications/jsp/src/main/java/util/phaseTracker/PhaseTrackerComponent.java
trunk/test-applications/jsp/src/main/java/util/ptComponent/
trunk/test-applications/jsp/src/main/java/util/ptComponent/PTComponent.java
trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
trunk/test-applications/jsp/src/main/webapp/PickList/PickListProperty.jsp
trunk/test-applications/jsp/src/main/webapp/ProgressBar/
trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Event.xml
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-PTComponent.xml
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-ProgressBar.xml
Modified:
trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java
trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java
trunk/test-applications/jsp/src/main/java/pickList/PickList.java
trunk/test-applications/jsp/src/main/java/rich/RichBean.java
trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java
trunk/test-applications/jsp/src/main/java/util/data/Data.java
trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
trunk/test-applications/jsp/src/main/webapp/Columns/Columns.jsp
trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenu.jsp
trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp
trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp
trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp
trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DropDownMenu.jsp
trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DropDownMenuProperty.jsp
trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp
trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp
trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp
trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp
trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttle.jsp
trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
trunk/test-applications/jsp/src/main/webapp/OrderingList/OrderingList.jsp
trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp
trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp
trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp
trunk/test-applications/jsp/src/main/webapp/PickList/PickList.jsp
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp
trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp
trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp
trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp
trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp
trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp
trunk/test-applications/jsp/src/main/webapp/pages/RichMenu/RichMenu.jsp
Log:
+update test
+add progressBar
Modified: trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -46,7 +46,7 @@
this.tabindex = 2;
this.size = 5;
this.showDelay = "200";
- this.required = true;
+ this.required = false;
this.requiredMessage = "requiredMessage";
this.rendered = true;
this.selectFirstOnUpdate = true;
Modified: trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/java/ddMenu/DDMenu.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -19,6 +19,7 @@
private String mode;
private boolean rendered;
private boolean disabled;
+ private boolean disabledDDM;
private boolean check;
public DDMenu() {
@@ -37,6 +38,7 @@
iconFolder = null;
rendered = true;
disabled = false;
+ disabledDDM = false;
check = false;
}
@@ -248,4 +250,12 @@
setPopupWidth("auto");
setDisabled(true);
}
+
+ public boolean isDisabledDDM() {
+ return disabledDDM;
+ }
+
+ public void setDisabledDDM(boolean disabledDDM) {
+ this.disabledDDM = disabledDDM;
+ }
}
Modified: trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -1,7 +1,7 @@
package modalPanel;
public class ModalPanel {
-
+ private String id;
private boolean autosized;
private boolean keepVisualState;
private String left;
@@ -222,4 +222,12 @@
public void setZindex(int zindex) {
this.zindex = zindex;
}
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
}
Modified: trunk/test-applications/jsp/src/main/java/pickList/PickList.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/pickList/PickList.java 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/java/pickList/PickList.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -25,13 +25,12 @@
public boolean switchByClick;
public String targetListWidth;
public String title;
- public String [] value;
private ArrayList<SelectItem> data;
-
- public PickList() {
- this.copyAllControlLabel = "copyAllControlLabel";
+
+ public PickList() {
+ this.copyAllControlLabel = "copyAllControlLabel";
this.copyControlLabel = "copyControlLabel";
- this.dir = "LTR";
+ this.dir = "alert('work')";
this.disabled = false;
this.displayValueOnly = false;
this.fastOrderControlsVisible = true;
@@ -55,7 +54,7 @@
}
public void valueChangeListener(ValueChangeEvent event) {
-
+ //event.getNewValue();
}
public String getCopyAllControlLabel() {
@@ -202,19 +201,11 @@
this.title = title;
}
- public String [] getValue() {
- return value;
- }
-
- public void setValue(String [] value) {
- this.value = value;
- }
-
public String getShowButtonLabels() {
return showButtonLabels;
}
public ArrayList<SelectItem> getData() {
- return data;
+ return data;
}
public void setData(ArrayList<SelectItem> data) {
this.data = data;
Added: trunk/test-applications/jsp/src/main/java/progressBar/ProgressBar.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/progressBar/ProgressBar.java (rev 0)
+++ trunk/test-applications/jsp/src/main/java/progressBar/ProgressBar.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,144 @@
+package progressBar;
+
+import javax.faces.event.ActionEvent;
+
+import util.data.Data;
+
+public class ProgressBar {
+ private boolean ajaxSingle;
+ private Integer value;
+ private boolean enabled;
+ private String mode;
+ private String interval;
+ private String maxValue;
+ private String minValue;
+ private boolean dualColoredLabel;
+ private boolean rendered;
+ private String listnerInfo;
+ private boolean ignoreDupResponses;
+ private boolean permanent;
+
+ public boolean isIgnoreDupResponses() {
+ return ignoreDupResponses;
+ }
+
+ public void setIgnoreDupResponses(boolean ignoreDupResponses) {
+ this.ignoreDupResponses = ignoreDupResponses;
+ }
+
+ public String getListnerInfo() {
+ return listnerInfo;
+ }
+
+ public void setListnerInfo(String listnerInfo) {
+ this.listnerInfo = listnerInfo;
+ }
+
+ public String getLoadInfo() {
+ return Data.cityAfrica[value % 62];
+ }
+
+ public ProgressBar() {
+ ajaxSingle = false;
+ value = 0;
+ enabled = false;
+ mode = "ajax";
+ interval = "500";
+ maxValue = "100";
+ minValue = "0";
+ dualColoredLabel = false;
+ rendered = true;
+ ignoreDupResponses = false;
+ permanent = false;
+ }
+
+ public String action() {
+ System.out.println("action");
+ return null;
+ }
+
+ public void actionListener(ActionEvent actionEvent){
+ System.out.println("actionEvent");
+ }
+
+ public boolean isAjaxSingle() {
+ return ajaxSingle;
+ }
+
+ public void setAjaxSingle(boolean ajaxSingle) {
+ this.ajaxSingle = ajaxSingle;
+ }
+
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ public void setEnabled(boolean enabled) {
+ this.enabled = enabled;
+ }
+
+ public String getMode() {
+ return mode;
+ }
+
+ public void setMode(String mode) {
+ this.mode = mode;
+ }
+
+ public String getInterval() {
+ return interval;
+ }
+
+ public void setInterval(String interval) {
+ this.interval = interval;
+ }
+
+ public String getMaxValue() {
+ return maxValue;
+ }
+
+ public void setMaxValue(String maxValue) {
+ this.maxValue = maxValue;
+ }
+
+ public String getMinValue() {
+ return minValue;
+ }
+
+ public void setMinValue(String minValue) {
+ this.minValue = minValue;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public Integer getValue() {
+ // without a vodka bottle you will not understand :)
+ return enabled ? (permanent ? new Integer(maxValue) - 1 : value++) : value;
+ }
+
+ public void setValue(Integer value) {
+ this.value = value;
+ }
+
+ public boolean isDualColoredLabel() {
+ return dualColoredLabel;
+ }
+
+ public void setDualColoredLabel(boolean dualColoredLabel) {
+ this.dualColoredLabel = dualColoredLabel;
+ }
+
+ public boolean isPermanent() {
+ return permanent;
+ }
+
+ public void setPermanent(boolean permanent) {
+ this.permanent = permanent;
+ }
+}
Modified: trunk/test-applications/jsp/src/main/java/rich/RichBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/rich/RichBean.java 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/java/rich/RichBean.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -12,19 +12,20 @@
private static final String EXT = ".jsp";
private String version = VersionBean.SCM_REVISION;
private String src;
+ private String srcContainer;
private MapComponent map;
+ private List<SelectItem> list;
private boolean reComponent;
private boolean reProperty;
private boolean reStraightforward;
- private boolean log;
- //private String [] menu = {"Blank", "Calendar", "DataFilterSlider", "DataScroller", "DataTable", "DragAndDrop", "DropDownMenu", "Effect", "Gmap", "InputNumberSlider", "InputNumberSpinner", "Insert", "Message", "ModalPanel", "Paint2D", "Panel", "Panel2", "PanelBar", "PanelMenu", "Separator", "SimpleTogglePanel", "Spacer", "SuggestionBox", "TabPanel", "TogglePanel", "ToolBar", "Tooltip", "Tree", "VirtualEarth", "ScrollableDataTable", "jQuery", "OrderingList"};
public RichBean() {
+ list = new ArrayList<SelectItem>();
src = "Blank";
+ srcContainer = "Blank";
reComponent = true;
reProperty = true;
reStraightforward = true;
- log = false;
map = new MapComponent();
// map.add( value, add( pages_path/name_pages, array<boolean>(Property, Straightforward) );
map.add("Blank", add("/pages/Blank/Blank", new boolean [] {true, true}));
@@ -64,8 +65,13 @@
map.add("ListShuttle", add("/ListShuttle/ListShuttle", new boolean [] {true, true}));
map.add("ComponentControl", add("/ComponentControl/ComponentControl", new boolean [] {false, false}));
map.add("Columns", add("/Columns/Columns", new boolean [] {true, false}));
- map.add("PickList", add("/PickList/PickList", new boolean [] {false, false}));
- map.add("Combobox", add("/Combobox/Combobox", new boolean [] {false, false}));
+ map.add("PickList", add("/PickList/PickList", new boolean [] {true, false}));
+ map.add("Combobox", add("/Combobox/Combobox", new boolean [] {true, false}));
+ map.add("ProgressBar", add("/ProgressBar/ProgressBar", new boolean [] {false, false}));
+ Iterator<String> iterator = map.getSet().iterator();
+ while(iterator.hasNext()){
+ list.add(new SelectItem(iterator.next()));
+ }
}
public String getSrc() {
@@ -128,21 +134,31 @@
this.version = version;
}
- public boolean isLog() {
- return log;
+ public List<SelectItem> getList(){
+ return list;
}
+
+ public String getSrcContainer() {
+ return srcContainer;
+ }
- public void setLog(boolean log) {
- this.log = log;
+ public void setSrcContainer(String srcContainer) {
+ this.srcContainer = srcContainer;
}
- public List<SelectItem> getList(){
+ public String getPathComponentContainer() {
+ return map.get(srcContainer).get(0);
+ }
+
+ public List<SelectItem> getListContainer() {
Iterator<String> iterator = map.getSet().iterator();
- List<SelectItem> list = new ArrayList<SelectItem>();
+ List<SelectItem> l = new ArrayList<SelectItem>();
+ String str;
while(iterator.hasNext()){
- list.add(new SelectItem(iterator.next()));
+ str = iterator.next();
+ if(!str.equals(src))
+ l.add(new SelectItem(str));
}
- return list;
+ return l;
}
-
}
Modified: trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -24,7 +24,7 @@
private int first;
private boolean rendered;
- private String timeout;
+ private int timeout;
private String height;
private boolean limitToList;
private DataComponentState componentState;
@@ -43,7 +43,7 @@
data = new ArrayList<Data>();
first = 0;
rendered = true;
- timeout = "10";
+ timeout = 500;
height = "400px";
limitToList = false;
bypassUpdates = false;
@@ -84,11 +84,11 @@
this.rendered = rendered;
}
- public String getTimeout() {
+ public int getTimeout() {
return timeout;
}
- public void setTimeout(String timeout) {
+ public void setTimeout(int timeout) {
this.timeout = timeout;
}
Modified: trunk/test-applications/jsp/src/main/java/util/data/Data.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/data/Data.java 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/java/util/data/Data.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -4,7 +4,7 @@
public static final String[] statusIcon = {"/pics/error.gif", "/pics/fatal.gif", "/pics/info.gif", "/pics/passed.gif", "/pics/warn.gif"};
public static final String[] status = {"error", "fatal", "info", "passed", "warn"};
- public static final String[] cityAfrica = {"Africa", "Algeria", "Angola", "Bassas da India", "Benin", "Botswana", "Burkina Faso", "Burundi", "Cameroon", "Central African Republic", "Chad", "Comoros", "Democratic Republic of the Congo", "Djibouti", "Egypt", "Equatorial Guinea", "Eritrea", "Ethiopia", "Europa Island", "Gabon", "Gambia", "Ghana", "Glorioso Islands", "Guinea", "Guinea-Bissau", "Ivory Coast", "Juan de Nova Island", "Kenya", "Lesotho", "Liberia", "Libya", "Madagascar", "Malawi", "Mali", "Mauritania", "Mauritius Island", "Mayotte", "Morocco", "Mozambique", "Namibia", "Niger", "Nigeria", "Republic of the Congo", "Reunion", "Rwanda", "Saint Helena", "Sao Tome and Principe", "Senegal", "Seychelles", "Sierra Leone", "Somalia", "South Africa", "Sudan", "Swaziland", "Tanzania", "Togo", "Tromelin Island", "Tunisia", "Uganda", "Western Sahara", "Zambia", "Zimbabwe"};
+ public static final String[] cityAfrica = {"Africa", "Algeria", "Angola", "Bassas da India", "Benin", "Botswana", "Burkina Faso", "Burundi", "Cameroon", "Central African Republic", "Chad", "Comoros", "Democratic Republic of the Congo", "Djibouti", "Egypt", "Equatorial Guinea", "Eritrea", "Ethiopia", "Europa Island", "Gabon", "Gambia", "Ghana", "Glorioso Islands", "Guinea", "Guinea-Bissau", "Ivory Coast", "Juan de Nova Island", "Kenya", "Lesotho", "Liberia", "Libya", "Madagascar", "Malawi", "Mali", "Mauritania", "Mauritius Island", "Mayotte", "Morocco", "Mozambique", "Namibia", "Nigeria", "Republic of the Congo", "Reunion", "Rwanda", "Niger", "Saint Helena", "Sao Tome and Principe", "Senegal", "Seychelles", "Sierra Leone", "Somalia", "South Africa", "Sudan", "Swaziland", "Tanzania", "Togo", "Tromelin Island", "Tunisia", "Uganda", "Western Sahara", "Zambia", "Zimbabwe"};
public static final String[] cityAsia = {"Asia", "Afghanistan", "Armenia", "Azerbaijan", "Bangladesh", "Bhutan", "China", "Georgia", "India", "Japan", "Kazakhstan", "Korea, North", "Korea, South", "Kyrgyzstan", "Maldives", "Mongolia", "Nepal", "Pakistan", "Russia", "Sri Lanka", "Tajikistan", "Turkmenistan", "Uzbekistan"};
public static final String[] cityCAmerica = {"Central America", "Belize", "Costa Rica", "El Salvador", "Guatemala", "Honduras", "Nicaragua", "Panama"};
public static final String[] cityEurope = {"Europe", "Albania", "Andorra", "Austria", "Belarus", "Belgium", "Bosnia and Herzegovina", "Bulgaria", "Canary Islands", "Croatia", "Czech Republic", "Denmark", "Estonia", "Faroe Islands", "Finland", "France", "Germany", "Gibraltar", "Greece", "Guernsey", "Hungary", "Iceland", "Ireland", "Isle of Man", "Italy", "Jersey", "Latvia", "Liechtenstein", "Lithuania", "Luxembourg", "Macedonia", "Malta", "Moldova", "Monaco", "Montenegro", "Netherlands", "Norway", "Poland", "Portugal", "Romania", "San Marino", "Serbia and Montenegro", "Slovakia", "Slovenia", "Spain", "Sweden", "Switzerland", "Ukraine", "United Kingdom", "Vatican The Holy See"};
Added: trunk/test-applications/jsp/src/main/java/util/event/Event.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/event/Event.java (rev 0)
+++ trunk/test-applications/jsp/src/main/java/util/event/Event.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,1047 @@
+package util.event;
+
+import javax.faces.model.SelectItem;
+import java.util.ArrayList;
+
+/**
+ * User: ayanul Date: Feb 11, 2008 Time: 10:15:14 AM
+ */
+public class Event {
+ private String onmouseup;
+ private String ontabenter;
+ private String ontableave;
+ private String onLoadMap;
+ private String onselectionchange;
+ private String ondownclick;
+ private String onupclick;
+ private String oninit;
+ private String ongroupactivate;
+ private String onitemselect;
+ private String onsubmit;
+ private String onRowClick;
+ private String onRowDblClick;
+ private String onRowMouseDown;
+ private String onRowMouseMove;
+ private String onRowMouseOut;
+ private String onRowMouseOver;
+ private String onRowMouseUp;
+ private String onselect;
+ private String onchange;
+ private String onfocus;
+ private String onblur;
+ private String onclick;
+ private String oncollapse;
+ private String oncomplete;
+ private String ondblclick;
+ private String ondragend;
+ private String ondragenter;
+ private String ondragexit;
+ private String ondragstart;
+ private String ondrop;
+ private String ondropend;
+ private String onexpand;
+ private String onkeydown;
+ private String onkeypress;
+ private String onkeyup;
+ private String onmousedown;
+ private String onmousemove;
+ private String onmouseout;
+ private String onmouseover;
+ private String onselected;
+ private String onhide;
+ private String onshow;
+ private String onlistcall;
+ private String onitemselected;
+ private String oninputblur;
+ private String oninputchange;
+ private String oninputclick;
+ private String oninputfocus;
+ private String oninputkeydown;
+ private String oninputkeypress;
+ private String oninputkeyup;
+ private String oninputselect;
+ private String ondateselected;
+ private String ondateselect;
+ private String ontimeselect;
+ private String ontimeselected;
+ private String onchanged;
+ private String ondatemouseover;
+ private String ondatemouseout;
+ private String oncurrentdateselect;
+ private String onbeforedomupdate;
+ private String onslide;
+ private String ondropover;
+ private String ondropout;
+ private String onerror;
+ private String ontopclick;
+ private String onbottomclick;
+ private String onorderchanged;
+ private String onmove;
+ private String onheaderclick;
+ private String onmaskclick;
+ private String onresize;
+ private String onmaskmouseover;
+ private String onmaskmouseout;
+ private String onmaskmousemove;
+ private String onmaskmouseup;
+ private String onmaskmousedown;
+ private String onmaskdblclick;
+ private String onmaskcontextmenu;
+ private String onitemchange;
+ private String onitemhover;
+ private String ongroupexpand;
+ private String oncontextmenu;
+
+ // showEvent('onkeypressInputID', 'onkeypress work!')
+ public Event() {
+ onLoadMap = "showEvent('onLoadMapInputID', 'onLoadMap work!')";
+ onRowClick = "showEvent('onRowClickInputID', 'onRowClick work!')";
+ onRowDblClick = "showEvent('onRowDblClickInputID', 'onRowDblClick work!')";
+ onRowMouseDown = "showEvent('onRowMouseDownInputID', 'onRowMouseDown work!')";
+ onRowMouseMove = "showEvent('onRowMouseMoveInputID', 'onRowMouseMove work!')";
+ onRowMouseOut = "showEvent('onRowMouseOutInputID', 'onRowMouseOut work!')";
+ onRowMouseOver = "showEvent('onRowMouseOverInputID', 'onRowMouseOver work!')";
+ onRowMouseUp = "showEvent('onRowMouseUpInputID', 'onRowMouseUp work!')";
+ onbeforedomupdate = "showEvent('onbeforedomupdateInputID', 'onbeforedomupdate work!')";
+ onblur = "showEvent('onblurInputID', 'onblur work!')";
+ onbottomclick = "showEvent('onbottomclickInputID', 'onbottomclick work!')";
+ onchange = "showEvent('onchangeInputID', 'onchange work!')";
+ onchanged = "showEvent('onchangedInputID', 'onchanged work!')";
+ onclick = "showEvent('onclickInputID', 'onclick work!')";
+ oncollapse = "showEvent('oncollapseInputID', 'oncollapse work!')";
+ oncomplete = "showEvent('oncompleteInputID', 'oncomplete work!')";
+ oncontextmenu = "showEvent('oncontextmenuInputID', 'oncontextmenu work!')";
+ oncurrentdateselect = "showEvent('oncurrentdateselectInputID', 'oncurrentdateselect work!')";
+ ondatemouseout = "showEvent('ondatemouseoutInputID', 'ondatemouseout work!')";
+ ondatemouseover = "showEvent('ondatemouseoverInputID', 'ondatemouseover work!')";
+ ondateselect = "showEvent('ondateselectInputID', 'ondateselect work!')";
+ ondateselected = "showEvent('ondateselectedInputID', 'ondateselected work!')";
+ ondblclick = "showEvent('ondblclickInputID', 'ondblclick work!')";
+ ondownclick = "showEvent('ondownclickInputID', 'ondownclick work!')";
+ ondragend = "showEvent('ondragendInputID', 'ondragend work!')";
+ ondragenter = "showEvent('ondragenterInputID', 'ondragenter work!')";
+ ondragexit = "showEvent('ondragexitInputID', 'ondragexit work!')";
+ ondragstart = "showEvent('ondragstartInputID', 'ondragstart work!')";
+ ondrop = "showEvent('ondropInputID', 'ondrop work!')";
+ ondropend = "showEvent('ondropendInputID', 'ondropend work!')";
+ ondropout = "showEvent('ondropoutInputID', 'ondropout work!')";
+ ondropover = "showEvent('ondropoverInputID', 'ondropover work!')";
+ onerror = "showEvent('onerrorInputID', 'onerror work!')";
+ onexpand = "showEvent('onexpandInputID', 'onexpand work!')";
+ onfocus = "showEvent('onfocusInputID', 'onfocus work!')";
+ ongroupactivate = "showEvent('ongroupactivateInputID', 'ongroupactivate work!')";
+ ongroupexpand = "showEvent('ongroupexpandInputID', 'ongroupexpand work!')";
+ onheaderclick = "showEvent('onheaderclickInputID', 'onheaderclick work!')";
+ onhide = "showEvent('onhideInputID', 'onhide work!')";
+ oninit = "showEvent('oninitInputID', 'oninit work!')";
+ oninputblur = "showEvent('oninputblurInputID', 'oninputblur work!')";
+ oninputchange = "showEvent('oninputchangeInputID', 'oninputchange work!')";
+ oninputclick = "showEvent('oninputclickInputID', 'oninputclick work!')";
+ oninputfocus = "showEvent('oninputfocusInputID', 'oninputfocus work!')";
+ oninputkeydown = "showEvent('oninputkeydownInputID', 'oninputkeydown work!')";
+ oninputkeypress = "showEvent('oninputkeypressInputID', 'oninputkeypress work!')";
+ oninputkeyup = "showEvent('oninputkeyupInputID', 'oninputkeyup work!')";
+ oninputselect = "showEvent('oninputselectInputID', 'oninputselect work!')";
+ onitemchange = "showEvent('onitemchangeInputID', 'onitemchange work!')";
+ onitemhover = "showEvent('onitemhoverInputID', 'onitemhover work!')";
+ onitemselect = "showEvent('onitemselectInputID', 'onitemselect work!')";
+ onitemselected = "showEvent('onitemselectedInputID', 'onitemselected work!')";
+ onkeydown = "showEvent('onkeydownInputID', 'onkeydown work!')";
+ onkeypress = "showEvent('onkeypressInputID', 'onkeypress work!')";
+ onkeyup = "showEvent('onkeyupInputID', 'onkeyup work!')";
+ onlistcall = "showEvent('onlistcallInputID', 'onlistcall work!')";
+ onmaskclick = "showEvent('onmaskclickInputID', 'onmaskclick work!')";
+ onmaskcontextmenu = "showEvent('onmaskcontextmenuInputID', 'onmaskcontextmenu work!')";
+ onmaskdblclick = "showEvent('onmaskdblclickInputID', 'onmaskdblclick work!')";
+ onmaskmousedown = "showEvent('onmaskmousedownInputID', 'onmaskmousedown work!')";
+ onmaskmousemove = "showEvent('onmaskmousemoveInputID', 'onmaskmousemove work!')";
+ onmaskmouseout = "showEvent('onmaskmouseoutInputID', 'onmaskmouseout work!')";
+ onmaskmouseover = "showEvent('onmaskmouseoverInputID', 'onmaskmouseover work!')";
+ onmaskmouseup = "showEvent('onmaskmouseupInputID', 'onmaskmouseup work!')";
+ onmousedown = "showEvent('onmousedownInputID', 'onmousedown work!')";
+ onmousemove = "showEvent('onmousemoveInputID', 'onmousemove work!')";
+ onmouseout = "showEvent('onmouseoutInputID', 'onmouseout work!')";
+ onmouseover = "showEvent('onmouseoverInputID', 'onmouseover work!')";
+ onmouseup = "showEvent('onmouseupInputID', 'onmouseup work!')";
+ onmove = "showEvent('onmoveInputID', 'onmove work!')";
+ onorderchanged = "showEvent('onorderchangedInputID', 'onorderchanged work!')";
+ onresize = "showEvent('onresizeInputID', 'onresize work!')";
+ onselect = "showEvent('onselectInputID', 'onselect work!')";
+ onselected = "showEvent('onselectedInputID', 'onselected work!')";
+ onselectionchange = "showEvent('onselectionchangeInputID', 'onselectionchange work!')";
+ onshow = "showEvent('onshowInputID', 'onshow work!')";
+ onslide = "showEvent('onslideInputID', 'onslide work!')";
+ onsubmit = "showEvent('onsubmitInputID', 'onsubmit work!')";
+ ontabenter = "showEvent('ontabenterInputID', 'ontabenter work!')";
+ ontableave = "showEvent('ontableaveInputID', 'ontableave work!')";
+ ontimeselect = "showEvent('ontimeselectInputID', 'ontimeselect work!')";
+ ontimeselected = "showEvent('ontimeselectedInputID', 'ontimeselected work!')";
+ ontopclick = "showEvent('ontopclickInputID', 'ontopclick work!')";
+ onupclick = "showEvent('onupclickInputID', 'onupclick work!')";
+ }
+
+ public String getOncontextmenu() {
+ return oncontextmenu;
+ }
+
+ public void setOncontextmenu(String oncontextmenu) {
+ this.oncontextmenu = oncontextmenu;
+ }
+
+ public String getOngroupexpand() {
+ return ongroupexpand;
+ }
+
+ public void setOngroupexpand(String ongroupexpand) {
+ this.ongroupexpand = ongroupexpand;
+ }
+
+ public String getOnitemhover() {
+ return onitemhover;
+ }
+
+ public void setOnitemhover(String onitemhover) {
+ this.onitemhover = onitemhover;
+ }
+
+ public String getOnitemchange() {
+ return onitemchange;
+ }
+
+ public void setOnitemchange(String onitemchange) {
+ this.onitemchange = onitemchange;
+ }
+
+ public String getOnheaderclick() {
+ return onheaderclick;
+ }
+
+ public void setOnheaderclick(String onheaderclick) {
+ this.onheaderclick = onheaderclick;
+ }
+
+ public String getOnmove() {
+ return onmove;
+ }
+
+ public void setOnmove(String onmove) {
+ this.onmove = onmove;
+ }
+
+ public String getOntopclick() {
+ return ontopclick;
+ }
+
+ public void setOntopclick(String ontopclick) {
+ this.ontopclick = ontopclick;
+ }
+
+ public String getOnerror() {
+ return onerror;
+ }
+
+ public void setOnerror(String onerror) {
+ this.onerror = onerror;
+ }
+
+ public String getOndropover() {
+ return ondropover;
+ }
+
+ public void setOndropover(String ondropover) {
+ this.ondropover = ondropover;
+ }
+
+ public String getOnslide() {
+ return onslide;
+ }
+
+ public void setOnslide(String onslide) {
+ this.onslide = onslide;
+ }
+
+ public String getOnbeforedomupdate() {
+ return onbeforedomupdate;
+ }
+
+ public void setOnbeforedomupdate(String onbeforedomupdate) {
+ this.onbeforedomupdate = onbeforedomupdate;
+ }
+
+ public ArrayList<SelectItem> getEvent(String event) {
+ ArrayList<SelectItem> arr = new ArrayList<SelectItem>();
+ arr.add(new SelectItem("showEvent('" + event + "', '" + event + " work!'"));
+ arr.add(new SelectItem("alert('" + event + "')"));
+ arr.add(new SelectItem(""));
+ return arr;
+
+ }
+
+ public ArrayList<SelectItem> getOntabenterSI() {
+ return getEvent("ontabenter");
+ }
+
+ public ArrayList<SelectItem> getOntableaveSI() {
+ return getEvent("ontableave");
+ }
+
+ public ArrayList<SelectItem> getOnLoadMapSI() {
+ return getEvent("onLoadMap");
+ }
+
+ public ArrayList<SelectItem> getOnselectionchangeSI() {
+ return getEvent("onselectionchange");
+ }
+
+ public ArrayList<SelectItem> getOndownclickSI() {
+ return getEvent("ondownclick");
+ }
+
+ public ArrayList<SelectItem> getOnupclickSI() {
+ return getEvent("onupclick");
+ }
+
+ public ArrayList<SelectItem> getOninitSI() {
+ return getEvent("oninit");
+ }
+
+ public ArrayList<SelectItem> getOngroupactivateSI() {
+ return getEvent("ongroupactivate");
+ }
+
+ public ArrayList<SelectItem> getOnitemselectSI() {
+ return getEvent("onitemselect");
+ }
+
+ public ArrayList<SelectItem> getOnsubmitSI() {
+ return getEvent("onsubmit");
+ }
+
+ public ArrayList<SelectItem> getOnRowClickSI() {
+ return getEvent("onRowClick");
+ }
+
+ public ArrayList<SelectItem> getOnRowDblClickSI() {
+ return getEvent("onRowDblClick");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseDownSI() {
+ return getEvent("onRowMouseDown");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseMoveSI() {
+ return getEvent("onRowMouseMove");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseOutSI() {
+ return getEvent("onRowMouseOut");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseOverSI() {
+ return getEvent("onRowMouseOut");
+ }
+
+ public ArrayList<SelectItem> getOnRowMouseUpSI() {
+ return getEvent("onRowMouseUp");
+ }
+
+ public ArrayList<SelectItem> getOnselectSI() {
+ return getEvent("onselect");
+ }
+
+ public ArrayList<SelectItem> getOnchangeSI() {
+ return getEvent("onchange");
+ }
+
+ public ArrayList<SelectItem> getOnfocusSI() {
+ return getEvent("onfocus");
+ }
+
+ public ArrayList<SelectItem> getOnblurSI() {
+ return getEvent("onblur");
+ }
+
+ public ArrayList<SelectItem> getOnclickSI() {
+ return getEvent("onclick");
+ }
+
+ public ArrayList<SelectItem> getOncollapseSI() {
+ return getEvent("oncollapse");
+ }
+
+ public ArrayList<SelectItem> getOncompleteSI() {
+ return getEvent("oncomplete");
+ }
+
+ public ArrayList<SelectItem> getOndblclickSI() {
+ return getEvent("ondblclick");
+ }
+
+ public ArrayList<SelectItem> getOndragendSI() {
+ return getEvent("ondragend");
+ }
+
+ public ArrayList<SelectItem> getOndragenterSI() {
+ return getEvent("ondragenter");
+ }
+
+ public ArrayList<SelectItem> getOndragexitSI() {
+ return getEvent("ondragexit");
+ }
+
+ public ArrayList<SelectItem> getOndragstartSI() {
+ return getEvent("ondragstart");
+ }
+
+ public ArrayList<SelectItem> getOndropSI() {
+ return getEvent("ondrop");
+ }
+
+ public ArrayList<SelectItem> getOndropendSI() {
+ return getEvent("ondropend");
+ }
+
+ public ArrayList<SelectItem> getOnexpandSI() {
+ return getEvent("onexpand");
+ }
+
+ public ArrayList<SelectItem> getOnkeydownSI() {
+ return getEvent("onkeydown");
+ }
+
+ public ArrayList<SelectItem> getOnkeypressSI() {
+ return getEvent("onkeypress");
+ }
+
+ public ArrayList<SelectItem> getOnkeyupSI() {
+ return getEvent("onkeyup");
+ }
+
+ public ArrayList<SelectItem> getOnmousedownSI() {
+ return getEvent("onmousedown");
+ }
+
+ public ArrayList<SelectItem> getOnmousemoveSI() {
+ return getEvent("onmousemove");
+ }
+
+ public ArrayList<SelectItem> getOnmouseoutSI() {
+ return getEvent("onmouseout");
+ }
+
+ public ArrayList<SelectItem> getOnmouseoverSI() {
+ return getEvent("onmouseover");
+ }
+
+ public ArrayList<SelectItem> getOnselectedSI() {
+ return getEvent("onselected");
+ }
+
+ public ArrayList<SelectItem> getOnhideSI() {
+ return getEvent("onhide");
+ }
+
+ public ArrayList<SelectItem> getOnshowSI() {
+ return getEvent("onshow");
+ }
+
+ public ArrayList<SelectItem> getOnmouseupSI() {
+ return getEvent("onmouseup");
+ }
+
+ public ArrayList<SelectItem> getOnlistcallSI() {
+ return getEvent("onlistcall");
+ }
+
+ public ArrayList<SelectItem> getOnitemselectedSI() {
+ return getEvent("onitemselected");
+ }
+
+ public ArrayList<SelectItem> getOninputblurSI() {
+ return getEvent("oninputblur");
+ }
+
+ public String getOnmouseup() {
+ return onmouseup;
+ }
+
+ public void setOnmouseup(String onmouseup) {
+ this.onmouseup = onmouseup;
+ }
+
+ public String getOntabenter() {
+ return ontabenter;
+ }
+
+ public void setOntabenter(String ontabenter) {
+ this.ontabenter = ontabenter;
+ }
+
+ public String getOntableave() {
+ return ontableave;
+ }
+
+ public void setOntableave(String ontableave) {
+ this.ontableave = ontableave;
+ }
+
+ public String getOnLoadMap() {
+ return onLoadMap;
+ }
+
+ public void setOnLoadMap(String onLoadMap) {
+ this.onLoadMap = onLoadMap;
+ }
+
+ public String getOnselectionchange() {
+ return onselectionchange;
+ }
+
+ public void setOnselectionchange(String onselectionchange) {
+ this.onselectionchange = onselectionchange;
+ }
+
+ public String getOndownclick() {
+ return ondownclick;
+ }
+
+ public void setOndownclick(String ondownclick) {
+ this.ondownclick = ondownclick;
+ }
+
+ public String getOnupclick() {
+ return onupclick;
+ }
+
+ public void setOnupclick(String onupclick) {
+ this.onupclick = onupclick;
+ }
+
+ public String getOninit() {
+ return oninit;
+ }
+
+ public void setOninit(String oninit) {
+ this.oninit = oninit;
+ }
+
+ public String getOngroupactivate() {
+ return ongroupactivate;
+ }
+
+ public void setOngroupactivate(String ongroupactivate) {
+ this.ongroupactivate = ongroupactivate;
+ }
+
+ public String getOnitemselect() {
+ return onitemselect;
+ }
+
+ public void setOnitemselect(String onitemselect) {
+ this.onitemselect = onitemselect;
+ }
+
+ public String getOnsubmit() {
+ return onsubmit;
+ }
+
+ public void setOnsubmit(String onsubmit) {
+ this.onsubmit = onsubmit;
+ }
+
+ public String getOnRowClick() {
+ return onRowClick;
+ }
+
+ public void setOnRowClick(String onRowClick) {
+ this.onRowClick = onRowClick;
+ }
+
+ public String getOnRowDblClick() {
+ return onRowDblClick;
+ }
+
+ public void setOnRowDblClick(String onRowDblClick) {
+ this.onRowDblClick = onRowDblClick;
+ }
+
+ public String getOnRowMouseDown() {
+ return onRowMouseDown;
+ }
+
+ public void setOnRowMouseDown(String onRowMouseDown) {
+ this.onRowMouseDown = onRowMouseDown;
+ }
+
+ public String getOnRowMouseMove() {
+ return onRowMouseMove;
+ }
+
+ public void setOnRowMouseMove(String onRowMouseMove) {
+ this.onRowMouseMove = onRowMouseMove;
+ }
+
+ public String getOnRowMouseOut() {
+ return onRowMouseOut;
+ }
+
+ public void setOnRowMouseOut(String onRowMouseOut) {
+ this.onRowMouseOut = onRowMouseOut;
+ }
+
+ public String getOnRowMouseOver() {
+ return onRowMouseOver;
+ }
+
+ public void setOnRowMouseOver(String onRowMouseOver) {
+ this.onRowMouseOver = onRowMouseOver;
+ }
+
+ public String getOnRowMouseUp() {
+ return onRowMouseUp;
+ }
+
+ public void setOnRowMouseUp(String onRowMouseUp) {
+ this.onRowMouseUp = onRowMouseUp;
+ }
+
+ public String getOnselect() {
+ return onselect;
+ }
+
+ public void setOnselect(String onselect) {
+ this.onselect = onselect;
+ }
+
+ public String getOnchange() {
+ return onchange;
+ }
+
+ public void setOnchange(String onchange) {
+ this.onchange = onchange;
+ }
+
+ public String getOnfocus() {
+ return onfocus;
+ }
+
+ public void setOnfocus(String onfocus) {
+ this.onfocus = onfocus;
+ }
+
+ public String getOnblur() {
+ return onblur;
+ }
+
+ public void setOnblur(String onblur) {
+ this.onblur = onblur;
+ }
+
+ public String getOnclick() {
+ return onclick;
+ }
+
+ public void setOnclick(String onclick) {
+ this.onclick = onclick;
+ }
+
+ public String getOncollapse() {
+ return oncollapse;
+ }
+
+ public void setOncollapse(String oncollapse) {
+ this.oncollapse = oncollapse;
+ }
+
+ public String getOncomplete() {
+ return oncomplete;
+ }
+
+ public void setOncomplete(String oncomplete) {
+ this.oncomplete = oncomplete;
+ }
+
+ public String getOndblclick() {
+ return ondblclick;
+ }
+
+ public void setOndblclick(String ondblclick) {
+ this.ondblclick = ondblclick;
+ }
+
+ public String getOndragend() {
+ return ondragend;
+ }
+
+ public void setOndragend(String ondragend) {
+ this.ondragend = ondragend;
+ }
+
+ public String getOndragenter() {
+ return ondragenter;
+ }
+
+ public void setOndragenter(String ondragenter) {
+ this.ondragenter = ondragenter;
+ }
+
+ public String getOndragexit() {
+ return ondragexit;
+ }
+
+ public void setOndragexit(String ondragexit) {
+ this.ondragexit = ondragexit;
+ }
+
+ public String getOndragstart() {
+ return ondragstart;
+ }
+
+ public void setOndragstart(String ondragstart) {
+ this.ondragstart = ondragstart;
+ }
+
+ public String getOndrop() {
+ return ondrop;
+ }
+
+ public void setOndrop(String ondrop) {
+ this.ondrop = ondrop;
+ }
+
+ public String getOndropend() {
+ return ondropend;
+ }
+
+ public void setOndropend(String ondropend) {
+ this.ondropend = ondropend;
+ }
+
+ public String getOnexpand() {
+ return onexpand;
+ }
+
+ public void setOnexpand(String onexpand) {
+ this.onexpand = onexpand;
+ }
+
+ public String getOnkeydown() {
+ return onkeydown;
+ }
+
+ public void setOnkeydown(String onkeydown) {
+ this.onkeydown = onkeydown;
+ }
+
+ public String getOnkeypress() {
+ return onkeypress;
+ }
+
+ public void setOnkeypress(String onkeypress) {
+ this.onkeypress = onkeypress;
+ }
+
+ public String getOnkeyup() {
+ return onkeyup;
+ }
+
+ public void setOnkeyup(String onkeyup) {
+ this.onkeyup = onkeyup;
+ }
+
+ public String getOnmousedown() {
+ return onmousedown;
+ }
+
+ public void setOnmousedown(String onmousedown) {
+ this.onmousedown = onmousedown;
+ }
+
+ public String getOnmousemove() {
+ return onmousemove;
+ }
+
+ public void setOnmousemove(String onmousemove) {
+ this.onmousemove = onmousemove;
+ }
+
+ public String getOnmouseout() {
+ return onmouseout;
+ }
+
+ public void setOnmouseout(String onmouseout) {
+ this.onmouseout = onmouseout;
+ }
+
+ public String getOnmouseover() {
+ return onmouseover;
+ }
+
+ public void setOnmouseover(String onmouseover) {
+ this.onmouseover = onmouseover;
+ }
+
+ public String getOnselected() {
+ return onselected;
+ }
+
+ public void setOnselected(String onselected) {
+ this.onselected = onselected;
+ }
+
+ public String getOnhide() {
+ return onhide;
+ }
+
+ public void setOnhide(String onhide) {
+ this.onhide = onhide;
+ }
+
+ public String getOnshow() {
+ return onshow;
+ }
+
+ public void setOnshow(String onshow) {
+ this.onshow = onshow;
+ }
+
+ public String getOnlistcall() {
+ return onlistcall;
+ }
+
+ public void setOnlistcall(String onlistcall) {
+ this.onlistcall = onlistcall;
+ }
+
+ public String getOnitemselected() {
+ return onitemselected;
+ }
+
+ public void setOnitemselected(String onitemselected) {
+ this.onitemselected = onitemselected;
+ }
+
+ public String getOninputblur() {
+ return oninputblur;
+ }
+
+ public void setOninputblur(String oninputblur) {
+ this.oninputblur = oninputblur;
+ }
+
+ public String getOninputclick() {
+ return oninputclick;
+ }
+
+ public void setOninputclick(String oninputclick) {
+ this.oninputclick = oninputclick;
+ }
+
+ public String getOninputfocus() {
+ return oninputfocus;
+ }
+
+ public void setOninputfocus(String oninputfocus) {
+ this.oninputfocus = oninputfocus;
+ }
+
+ public String getOninputkeydown() {
+ return oninputkeydown;
+ }
+
+ public void setOninputkeydown(String oninputkeydown) {
+ this.oninputkeydown = oninputkeydown;
+ }
+
+ public String getOninputkeypress() {
+ return oninputkeypress;
+ }
+
+ public void setOninputkeypress(String oninputkeypress) {
+ this.oninputkeypress = oninputkeypress;
+ }
+
+ public String getOninputkeyup() {
+ return oninputkeyup;
+ }
+
+ public void setOninputkeyup(String oninputkeyup) {
+ this.oninputkeyup = oninputkeyup;
+ }
+
+ public String getOninputselect() {
+ return oninputselect;
+ }
+
+ public void setOninputselect(String oninputselect) {
+ this.oninputselect = oninputselect;
+ }
+
+ public String getOndateselected() {
+ return ondateselected;
+ }
+
+ public void setOndateselected(String ondateselected) {
+ this.ondateselected = ondateselected;
+ }
+
+ public String getOndateselect() {
+ return ondateselect;
+ }
+
+ public void setOndateselect(String ondateselect) {
+ this.ondateselect = ondateselect;
+ }
+
+ public String getOntimeselect() {
+ return ontimeselect;
+ }
+
+ public void setOntimeselect(String ontimeselect) {
+ this.ontimeselect = ontimeselect;
+ }
+
+ public String getOntimeselected() {
+ return ontimeselected;
+ }
+
+ public void setOntimeselected(String ontimeselected) {
+ this.ontimeselected = ontimeselected;
+ }
+
+ public String getOnchanged() {
+ return onchanged;
+ }
+
+ public void setOnchanged(String onchanged) {
+ this.onchanged = onchanged;
+ }
+
+ public String getOndatemouseover() {
+ return ondatemouseover;
+ }
+
+ public void setOndatemouseover(String ondatemouseover) {
+ this.ondatemouseover = ondatemouseover;
+ }
+
+ public String getOndatemouseout() {
+ return ondatemouseout;
+ }
+
+ public void setOndatemouseout(String ondatemouseout) {
+ this.ondatemouseout = ondatemouseout;
+ }
+
+ public String getOncurrentdateselect() {
+ return oncurrentdateselect;
+ }
+
+ public void setOncurrentdateselect(String oncurrentdateselect) {
+ this.oncurrentdateselect = oncurrentdateselect;
+ }
+
+ public String getOninputchange() {
+ return oninputchange;
+ }
+
+ public void setOninputchange(String oninputchange) {
+ this.oninputchange = oninputchange;
+ }
+
+ public String getOndropout() {
+ return ondropout;
+ }
+
+ public void setOndropout(String ondropout) {
+ this.ondropout = ondropout;
+ }
+
+ public String getOnbottomclick() {
+ return onbottomclick;
+ }
+
+ public void setOnbottomclick(String onbottomclick) {
+ this.onbottomclick = onbottomclick;
+ }
+
+ public String getOnorderchanged() {
+ return onorderchanged;
+ }
+
+ public void setOnorderchanged(String onorderchanged) {
+ this.onorderchanged = onorderchanged;
+ }
+
+ public String getOnmaskclick() {
+ return onmaskclick;
+ }
+
+ public void setOnmaskclick(String onmaskclick) {
+ this.onmaskclick = onmaskclick;
+ }
+
+ public String getOnresize() {
+ return onresize;
+ }
+
+ public void setOnresize(String onresize) {
+ this.onresize = onresize;
+ }
+
+ public String getOnmaskmouseover() {
+ return onmaskmouseover;
+ }
+
+ public void setOnmaskmouseover(String onmaskmouseover) {
+ this.onmaskmouseover = onmaskmouseover;
+ }
+
+ public String getOnmaskmouseout() {
+ return onmaskmouseout;
+ }
+
+ public void setOnmaskmouseout(String onmaskmouseout) {
+ this.onmaskmouseout = onmaskmouseout;
+ }
+
+ public String getOnmaskmousemove() {
+ return onmaskmousemove;
+ }
+
+ public void setOnmaskmousemove(String onmaskmousemove) {
+ this.onmaskmousemove = onmaskmousemove;
+ }
+
+ public String getOnmaskmouseup() {
+ return onmaskmouseup;
+ }
+
+ public void setOnmaskmouseup(String onmaskmouseup) {
+ this.onmaskmouseup = onmaskmouseup;
+ }
+
+ public String getOnmaskmousedown() {
+ return onmaskmousedown;
+ }
+
+ public void setOnmaskmousedown(String onmaskmousedown) {
+ this.onmaskmousedown = onmaskmousedown;
+ }
+
+ public String getOnmaskdblclick() {
+ return onmaskdblclick;
+ }
+
+ public void setOnmaskdblclick(String onmaskdblclick) {
+ this.onmaskdblclick = onmaskdblclick;
+ }
+
+ public String getOnmaskcontextmenu() {
+ return onmaskcontextmenu;
+ }
+
+ public void setOnmaskcontextmenu(String onmaskcontextmenu) {
+ this.onmaskcontextmenu = onmaskcontextmenu;
+ }
+}
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/java/util/phaseTracker/PhaseTrackerComponent.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/phaseTracker/PhaseTrackerComponent.java (rev 0)
+++ trunk/test-applications/jsp/src/main/java/util/phaseTracker/PhaseTrackerComponent.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,61 @@
+/**
+ *
+ */
+package util.phaseTracker;
+
+import java.io.IOException;
+import java.io.StringWriter;
+import java.util.Map;
+
+import javax.faces.component.UIPanel;
+import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+/**
+ * @author user
+ *
+ */
+public class PhaseTrackerComponent extends UIPanel{
+
+// private String var;
+//
+// public String getVar() {
+// if (var == null) {
+// return "pttc";
+// }
+// return var;
+// }
+//
+// public void setVar(String var) {
+// this.var = var;
+// }
+
+ @Override
+ public void encodeAll(FacesContext context) throws IOException {
+ ResponseWriter responseWriter = context.getResponseWriter();
+ StringWriter stringWriter = new StringWriter();
+ ResponseWriter clonedWriter = responseWriter.cloneWithWriter(stringWriter);
+ context.setResponseWriter(clonedWriter);
+
+ super.encodeAll(context);
+ clonedWriter.flush();
+ context.setResponseWriter(responseWriter);
+
+ String string = stringWriter.toString();
+ responseWriter.write(string);
+ //System.out.println(string);
+
+ ExternalContext externalContext = context.getExternalContext();
+ Map<String, Object> requestMap = externalContext.getRequestMap();
+ requestMap.put("pttc", string);
+// requestMap.put(getAttributes().get("var"), string);
+ }
+
+ @Override
+ public String getRendererType() {
+ return null;
+ }
+
+
+}
Added: trunk/test-applications/jsp/src/main/java/util/ptComponent/PTComponent.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/ptComponent/PTComponent.java (rev 0)
+++ trunk/test-applications/jsp/src/main/java/util/ptComponent/PTComponent.java 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,18 @@
+package util.ptComponent;
+
+import javax.faces.component.UIPanel;
+
+import util.phaseTracker.PhaseTrackerComponent;
+
+public class PTComponent {
+ private UIPanel component = new PhaseTrackerComponent();
+
+
+ public UIPanel getComponent() {
+ return component;
+ }
+
+ public void setComponent(UIPanel component) {
+ this.component = component;
+ }
+}
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -9,30 +9,70 @@
<rich:messages showDetail="true"></rich:messages>
<h:panelGrid columns="2">
- <h:outputText value="Client mode" rendered="#{calendarBean.renderedClient}" />
- <h:outputText value="Ajax mode" rendered="#{calendarBean.renderedAjax}" />
+ <h:outputText value="Client mode"
+ rendered="#{calendarBean.renderedClient}" />
+ <h:outputText value="Ajax mode"
+ rendered="#{calendarBean.renderedAjax}" />
- <rich:calendar id="calendarClientID" dataModel="#{calendarDataModel}" locale="#{calendarBean.locale}"
- popup="#{calendarBean.popup}" preloadDateRangeBegin="#{calendarBean.prDateRangeBegin}"
- preloadDateRangeEnd="#{calendarBean.prDateRangeEnd}" datePattern="#{calendarBean.pattern}"
- weekDayLabels="#{calendarBean.weekDayLabels}" weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
- monthLabels="#{calendarBean.monthLabels}" monthLabelsShort="#{calendarBean.monthLabelsShort}"
- value="#{calendarBean.selectedDate}" currentDate="#{calendarBean.currentDate}" jointPoint="#{calendarBean.jointPoint}"
- direction="#{calendarBean.direction}" enableManualInput="#{calendarBean.enableManualInput}"
- showInput="#{calendarBean.showInput}" buttonLabel="#{calendarBean.label}" boundaryDatesMode="#{calendarBean.boundary}"
- currentDateChangeListener="#{calendarBean.dcl}" valueChangeListener="#{calendarBean.ddd}" reRender="calendarPropertyID,counter"
- inputClass="ic" buttonClass="bc" ajaxSingle="#{calendarBean.ajaxSingle}" buttonIcon="#{calendarBean.icon}"
- buttonIconDisabled="#{icon.iconFileManagerReject}" disabled="#{calendarBean.disabled}"
- bypassUpdates="#{calendarBean.bypassUpdates}" zindex="#{calendarBean.zindex}" toolTipMode="#{calendarBean.toolTipMode}"
- rendered="#{calendarBean.renderedClient}" focus="popupModeID" mode="client" required="#{calendarBean.required}"
- requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}" cellHeight="#{calendarBean.cellHeight}"
- cellWidth="#{calendarBean.cellWidth}" showApplyButton="#{calendarBean.showApplyButton}"
- showScrollerBar="#{calendarBean.showScrollerBar}" showWeekDaysBar="#{calendarBean.showWeekDaysBar}"
- showWeeksBar="#{calendarBean.showWeeksBar}" todayControlMode="#{calendarBean.todayControlMode}"
- immediate="#{calendarBean.immediate}">
+ <rich:calendar id="calendarClientID" dataModel="#{calendarDataModel}"
+ locale="#{calendarBean.locale}" popup="#{calendarBean.popup}"
+ preloadDateRangeBegin="#{calendarBean.prDateRangeBegin}"
+ preloadDateRangeEnd="#{calendarBean.prDateRangeEnd}"
+ datePattern="#{calendarBean.pattern}"
+ weekDayLabels="#{calendarBean.weekDayLabels}"
+ weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
+ monthLabels="#{calendarBean.monthLabels}"
+ monthLabelsShort="#{calendarBean.monthLabelsShort}"
+ value="#{calendarBean.selectedDate}"
+ currentDate="#{calendarBean.currentDate}"
+ jointPoint="#{calendarBean.jointPoint}"
+ direction="#{calendarBean.direction}"
+ enableManualInput="#{calendarBean.enableManualInput}"
+ showInput="#{calendarBean.showInput}"
+ buttonLabel="#{calendarBean.label}"
+ boundaryDatesMode="#{calendarBean.boundary}"
+ currentDateChangeListener="#{calendarBean.dcl}"
+ valueChangeListener="#{calendarBean.ddd}"
+ reRender="calendarPropertyID,counter" inputClass="ic"
+ buttonClass="bc" ajaxSingle="#{calendarBean.ajaxSingle}"
+ buttonIcon="#{calendarBean.icon}"
+ buttonIconDisabled="#{icon.iconFileManagerReject}"
+ disabled="#{calendarBean.disabled}"
+ bypassUpdates="#{calendarBean.bypassUpdates}"
+ zindex="#{calendarBean.zindex}"
+ toolTipMode="#{calendarBean.toolTipMode}"
+ rendered="#{calendarBean.renderedClient}" focus="popupModeID"
+ mode="client" required="#{calendarBean.required}"
+ requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}"
+ cellHeight="#{calendarBean.cellHeight}"
+ cellWidth="#{calendarBean.cellWidth}"
+ showApplyButton="#{calendarBean.showApplyButton}"
+ showWeekDaysBar="#{calendarBean.showWeekDaysBar}"
+ showWeeksBar="#{calendarBean.showWeeksBar}"
+ todayControlMode="#{calendarBean.todayControlMode}"
+ immediate="#{calendarBean.immediate}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchanged="#{event.onchanged}" oncollapse="#{event.oncollapse}"
+ oncomplete="#{event.oncomplete}"
+ oncurrentdateselect="#{event.oncurrentdateselect}"
+ ondatemouseout="#{event.ondatemouseout}"
+ ondatemouseover="#{event.ondatemouseover}"
+ ondateselect="#{event.ondateselect}"
+ ondateselected="#{event.ondateselected}" onexpand="#{event.onexpand}"
+ oninputblur="#{event.oninputblur}"
+ oninputchange="#{event.oninputchange}"
+ oninputclick="#{event.oninputclick}"
+ oninputfocus="#{event.oninputfocus}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputselect="#{event.oninputselect}"
+ ontimeselect="#{event.ontimeselect}"
+ ontimeselected="#{event.ontimeselected}">
<f:facet name="weekDay">
<f:verbatim>
- <span style="padding: 2px; font-size: 4">{weekDayLabel + weekDayLabelShort}</span>
+ <span style="padding: 2px; font-size: 4">{weekDayLabel +
+ weekDayLabelShort}</span>
</f:verbatim>
</f:facet>
@@ -58,21 +98,57 @@
</h:panelGrid>
</rich:calendar>
- <rich:calendar id="calendarAjaxID" dataModel="#{calendarDataModel}" locale="#{calendarBean.locale}"
- popup="#{calendarBean.popup}" datePattern="#{calendarBean.pattern}" weekDayLabels="#{calendarBean.weekDayLabels}"
- weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}" monthLabels="#{calendarBean.monthLabels}"
- monthLabelsShort="#{calendarBean.monthLabelsShort}" value="#{calendarBean.selectedDate}"
- currentDate="#{calendarBean.currentDate}" jointPoint="#{calendarBean.jointPoint}" direction="#{calendarBean.direction}"
- enableManualInput="#{calendarBean.enableManualInput}" showInput="#{calendarBean.showInput}" buttonLabel="#{calendarBean.label}"
- boundaryDatesMode="#{calendarBean.boundary}" currentDateChangeListener="#{calendarBean.dcl}"
- valueChangeListener="#{calendarBean.ddd}" reRender="calendarPropertyID,counter" inputClass="ic" buttonClass="bc"
- ajaxSingle="#{calendarBean.ajaxSingle}" buttonIcon="#{calendarBean.icon}" buttonIconDisabled="#{icon.iconFileManagerReject}"
- disabled="#{calendarBean.disabled}" bypassUpdates="#{calendarBean.bypassUpdates}" zindex="#{calendarBean.zindex}"
- toolTipMode="#{calendarBean.toolTipMode}" rendered="#{calendarBean.renderedAjax}" focus="popupModeID" mode="ajax"
- required="#{calendarBean.required}" requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}">
+ <rich:calendar id="calendarAjaxID" dataModel="#{calendarDataModel}"
+ locale="#{calendarBean.locale}" popup="#{calendarBean.popup}"
+ datePattern="#{calendarBean.pattern}"
+ weekDayLabels="#{calendarBean.weekDayLabels}"
+ weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
+ monthLabels="#{calendarBean.monthLabels}"
+ monthLabelsShort="#{calendarBean.monthLabelsShort}"
+ value="#{calendarBean.selectedDate}"
+ currentDate="#{calendarBean.currentDate}"
+ jointPoint="#{calendarBean.jointPoint}"
+ direction="#{calendarBean.direction}"
+ enableManualInput="#{calendarBean.enableManualInput}"
+ showInput="#{calendarBean.showInput}"
+ buttonLabel="#{calendarBean.label}"
+ boundaryDatesMode="#{calendarBean.boundary}"
+ currentDateChangeListener="#{calendarBean.dcl}"
+ valueChangeListener="#{calendarBean.ddd}"
+ reRender="calendarPropertyID,counter" inputClass="ic"
+ buttonClass="bc" ajaxSingle="#{calendarBean.ajaxSingle}"
+ buttonIcon="#{calendarBean.icon}"
+ buttonIconDisabled="#{icon.iconFileManagerReject}"
+ disabled="#{calendarBean.disabled}"
+ bypassUpdates="#{calendarBean.bypassUpdates}"
+ zindex="#{calendarBean.zindex}"
+ toolTipMode="#{calendarBean.toolTipMode}"
+ rendered="#{calendarBean.renderedAjax}" focus="popupModeID"
+ mode="ajax" required="#{calendarBean.required}"
+ requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchanged="#{event.onchanged}" oncollapse="#{event.oncollapse}"
+ oncomplete="#{event.oncomplete}"
+ oncurrentdateselect="#{event.oncurrentdateselect}"
+ ondatemouseout="#{event.ondatemouseout}"
+ ondatemouseover="#{event.ondatemouseover}"
+ ondateselect="#{event.ondateselect}"
+ ondateselected="#{event.ondateselected}" onexpand="#{event.onexpand}"
+ oninputblur="#{event.oninputblur}"
+ oninputchange="#{event.oninputchange}"
+ oninputclick="#{event.oninputclick}"
+ oninputfocus="#{event.oninputfocus}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputselect="#{event.oninputselect}"
+ ontimeselect="#{event.ontimeselect}"
+ ontimeselected="#{event.ontimeselected}">
+
<f:facet name="weekDay">
<f:verbatim>
- <span style="padding: 2px; font-size: 4">{weekDayLabel + weekDayLabelShort}</span>
+ <span style="padding: 2px; font-size: 4">{weekDayLabel +
+ weekDayLabelShort}</span>
</f:verbatim>
</f:facet>
Modified: trunk/test-applications/jsp/src/main/webapp/Columns/Columns.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Columns/Columns.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Columns/Columns.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -33,7 +33,7 @@
<rich:columns value="#{columns.data2}" var="d2" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" sortable="#{columns.sortable}"
- begin="#{columns.begin}" end="#{columns.end}" width="#{columns.width}">
+ begin="#{columns.begin}" end="#{columns.end}" width="#{columns.width}" >
<f:facet name="header">
<h:outputText value="header #{d2.int0}"></h:outputText>
</f:facet>
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -1,82 +1,25 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<f:subview id="comboboxSubviewID">
- <rich:comboBox id="comboboxID" disabled="#{combobox.disabled}" defaultLabel="#{combobox.defaultLabel}"
- filterNewValues="#{combobox.filterNewValues}" hideDelay="#{combobox.hideDelay}"
- directInputSuggestions="#{combobox.directInputSuggestions}" immediate="#{combobox.immediate}" inputSize="#{combobox.inputSize}"
- width="#{combobox.width}" valueChangeListener="#{combobox.valueChangeListener}" value="#{combobox.value}"
- tabindex="#{combobox.tabindex}" suggestionValues="#{combobox.suggestionValues}" size="#{combobox.size}"
- showDelay="#{combobox.showDelay}" required="#{combobox.required}" requiredMessage="#{combobox.requiredMessage}"
- rendered="#{combobox.rendered}" selectFirstOnUpdate="#{combobox.selectFirstOnUpdate}" maxlength="#{combobox.maxlength}"
- enableManualInput="#{combobox.enableManualInput}" listHeight="#{combobox.listHeight}" listWidth="#{combobox.listWidth}">
- <f:selectItem itemLabel="selectItem 1" itemValue="selectItem 1" />
- <f:selectItem itemLabel="selectItem 2" itemValue="selectItem 2" />
- <f:selectItem itemLabel="selectItem 3" itemValue="selectItem 3" />
- <f:selectItems value="#{combobox.selectItem}" />
- </rich:comboBox>
-
- <h:panelGrid columns="2">
- <h:outputText value="defaultLabel"></h:outputText>
- <h:inputText value="#{combobox.defaultLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="filterNewValues"></h:outputText>
- <h:selectBooleanCheckbox value="#{combobox.filterNewValues}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="hideDelay"></h:outputText>
- <h:inputText value="#{combobox.hideDelay}"></h:inputText>
-
- <h:outputText value="showDelay"></h:outputText>
- <h:inputText value="#{combobox.showDelay}" onchange="submit();"></h:inputText>
-
- <h:outputText value="inputSize"></h:outputText>
- <h:inputText value="#{combobox.inputSize}" onchange="submit();"></h:inputText>
-
- <h:outputText value="value"></h:outputText>
- <h:inputText value="#{combobox.value}" onchange="submit();"></h:inputText>
-
- <h:outputText value="tabindex"></h:outputText>
- <h:inputText value="#{combobox.tabindex}" onchange="submit();"></h:inputText>
-
- <h:outputText value="maxlength"></h:outputText>
- <h:inputText value="#{combobox.maxlength}" onchange="submit();"></h:inputText>
-
- <h:outputText value="width"></h:outputText>
- <h:inputText value="#{combobox.width}" onchange="submit();"></h:inputText>
-
- <h:outputText value="size"></h:outputText>
- <h:inputText value="#{combobox.size}" onchange="submit();"></h:inputText>
-
- <h:outputText value="listHeight"></h:outputText>
- <h:inputText value="#{combobox.listHeight}" onchange="submit();"></h:inputText>
-
- <h:outputText value="listWidth"></h:outputText>
- <h:inputText value="#{combobox.listWidth}" onchange="submit();"></h:inputText>
-
- <h:outputText value="enableManualInput"></h:outputText>
- <h:selectBooleanCheckbox value="#{combobox.enableManualInput}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="selectFirstOnUpdate"></h:outputText>
- <h:selectBooleanCheckbox value="#{combobox.selectFirstOnUpdate}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="directInputSuggestions"></h:outputText>
- <h:selectBooleanCheckbox value="#{combobox.directInputSuggestions}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="disabled"></h:outputText>
- <h:selectBooleanCheckbox value="#{combobox.disabled}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="rendered"></h:outputText>
- <h:selectBooleanCheckbox value="#{combobox.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="immediate"></h:outputText>
- <h:selectBooleanCheckbox value="#{combobox.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="required"></h:outputText>
- <h:selectBooleanCheckbox value="#{combobox.required}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="requiredMessage"></h:outputText>
- <h:inputText value="#{combobox.requiredMessage}" onchange="submit();"></h:inputText>
- </h:panelGrid>
+ <rich:comboBox id="comboboxID" disabled="#{combobox.disabled}" defaultLabel="#{combobox.defaultLabel}"
+ filterNewValues="#{combobox.filterNewValues}"
+ directInputSuggestions="#{combobox.directInputSuggestions}" immediate="#{combobox.immediate}" inputSize="#{combobox.inputSize}"
+ width="#{combobox.width}" valueChangeListener="#{combobox.valueChangeListener}" value="#{combobox.value}"
+ tabindex="#{combobox.tabindex}" suggestionValues="#{combobox.suggestionValues}" size="#{combobox.size}"
+ required="#{combobox.required}" requiredMessage="#{combobox.requiredMessage}"
+ rendered="#{combobox.rendered}" selectFirstOnUpdate="#{combobox.selectFirstOnUpdate}" maxlength="#{combobox.maxlength}"
+ enableManualInput="#{combobox.enableManualInput}" listHeight="#{combobox.listHeight}" listWidth="#{combobox.listWidth}"
+ onblur="#{event.onblur}" onchange="#{event.onchange}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onfocus="#{event.onfocus}" onitemselected="#{event.onitemselected}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onlistcall="#{event.onlistcall}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}">
+ <f:selectItem itemValue="selectItem 1"/>
+ <f:selectItem itemValue="selectItem 2"/>
+ <f:selectItem itemValue="selectItem 3"/>
+ <f:selectItems value="#{combobox.selectItem}"/>
+ </rich:comboBox>
+
</f:subview>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,62 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+
+<f:subview id="comboboxPropertySubviewID">
+ <h:panelGrid columns="2">
+ <h:outputText value="defaultLabel"></h:outputText>
+ <h:inputText value="#{combobox.defaultLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="filterNewValues"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.filterNewValues}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="inputSize"></h:outputText>
+ <h:inputText value="#{combobox.inputSize}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="value"></h:outputText>
+ <h:inputText value="#{combobox.value}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="tabindex"></h:outputText>
+ <h:inputText value="#{combobox.tabindex}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="maxlength"></h:outputText>
+ <h:inputText value="#{combobox.maxlength}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="width"></h:outputText>
+ <h:inputText value="#{combobox.width}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="size"></h:outputText>
+ <h:inputText value="#{combobox.size}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listHeight"></h:outputText>
+ <h:inputText value="#{combobox.listHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="listWidth"></h:outputText>
+ <h:inputText value="#{combobox.listWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="enableManualInput"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.enableManualInput}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="selectFirstOnUpdate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.selectFirstOnUpdate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="directInputSuggestions"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.directInputSuggestions}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.disabled}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="required"></h:outputText>
+ <h:selectBooleanCheckbox value="#{combobox.required}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="requiredMessage"></h:outputText>
+ <h:inputText value="#{combobox.requiredMessage}" onchange="submit();"></h:inputText>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenu.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenu.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -7,10 +7,12 @@
<h:panelGrid columns="2">
<rich:panel style="width: 130px; height: 50px; background-color: #98FB98;">
<h:outputText value="panel with contextMenu(DEFAULT)" />
- <rich:contextMenu id="contextMenuDefaultID" submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}">
+ <h:outputText value="testing events" />
+ <rich:contextMenu id="contextMenuDefaultID" submitMode="ajax" disableDefaultMenu="#{contextMenu.disableDefaultMenu}" oncollapse="#{event.oncollapse}" onexpand="#{event.onexpand}" ongroupactivate="#{event.ongroupactivate}" onitemselect="#{event.onitemselect}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}">
<rich:menuItem icon="/pics/header.png" value="abc" reRender="cmInfoID">
<f:param name="cmdParam" value="abc" />
</rich:menuItem>
+ <rich:menuItem onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}"><h:outputText value="event item"/></rich:menuItem>
<rich:menuItem icon="/pics/header.png" value="JSAPI Hide" onclick="$(formID:contextMenuSubviewID:contextMenuDefaultID).component.doHide()" reRender="cmInfoID">
<f:param name="cmdParam" value="hide" />
</rich:menuItem>
Modified: trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -9,7 +9,6 @@
<head>
<f:loadBundle basename="message" var="msg" />
<title></title>
-
<script type="text/javascript">
function showEvent(elementID, value) {
var oldObject = window.document.getElementById(elementID);
@@ -22,13 +21,20 @@
oldObject.parentNode.replaceChild(newObject,oldObject);
}
</script>
- <link rel="stylesheet"
- href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
+
+ <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
</head>
<body>
+ <h:panelGroup binding="#{pTComponent.component}">
+
+ <f:attribute name="var" value="body" />
<h:form id="test">
-
+
</h:form>
+ </h:panelGroup>
+
+ <h:outputText value="#{pttc}" escape="true"></h:outputText>
+
</body>
</f:view>
</html>
Modified: trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -5,66 +5,78 @@
<f:subview id="dataFilterSliderSubviewID">
- <rich:dataFilterSlider sliderListener="#{dfs.doSlide}" rendered="#{dfs.rendered}" binding="#{inventoryList.dataFilterSlider}"
- for="carList" forValRef="inventoryList.carInventory" filterBy="getMileage" 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="dfsID">
- </rich:dataFilterSlider>
+ <rich:dataFilterSlider sliderListener="#{dfs.doSlide}"
+ rendered="#{dfs.rendered}" binding="#{inventoryList.dataFilterSlider}"
+ for="carList" forValRef="inventoryList.carInventory"
+ filterBy="getMileage" manualInput="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="dfsID"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onchange="#{event.onchange}" onclick="#{event.onclick}"
+ oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" onslide="#{event.onslide}"
+ onSlideSubmit="#{event.onSlideSubmit}">
+ </rich:dataFilterSlider>
- <h:panelGrid id="list-body">
- <h:dataTable id="carIndex" rows="10"
- binding="#{inventoryList.carMakeIndexUIData}"
- value="#{inventoryList.carMakeIndex}" var="category"
- styleClass="list-table1" columnClasses="column-index"
- rowClasses="list-row3">
+ <h:panelGrid id="list-body">
+ <h:dataTable id="carIndex" rows="10"
+ binding="#{inventoryList.carMakeIndexUIData}"
+ value="#{inventoryList.carMakeIndex}" var="category"
+ styleClass="list-table1" columnClasses="column-index"
+ rowClasses="list-row3">
- <h:column>
- <a4j:commandLink actionListener="#{inventoryList.filterCarList}"
- reRender="carList">
- <h:outputText value="#{category}" />
- <f:attribute name="filterRule" value="showTable" />
+ <h:column>
+ <a4j:commandLink actionListener="#{inventoryList.filterCarList}"
+ reRender="carList">
+ <h:outputText value="#{category}" />
+ <f:attribute name="filterRule" value="showTable" />
- </a4j:commandLink>
- </h:column>
- </h:dataTable>
+ </a4j:commandLink>
+ </h:column>
+ </h:dataTable>
- <h:dataTable id="carList" rows="10"
- 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"
- value="#{inventoryList.priceColumnName}" />
- </f:facet>
- <h:outputText value="#{category.price}" />
- </h:column>
-
- <h:column>
- <f:facet name="header">
- <h:outputText styleClass="headerText"
- value="#{inventoryList.mileageColumnName}" />
- </f:facet>
- <h:outputText value="#{category.mileage}" />
- </h:column>
- </h:dataTable>
- </h:panelGrid>
- <h:outputText value="click reRender for update page(RF-1365)" />
- <h:commandButton value="reRender" />
+ <h:dataTable id="carList" rows="10"
+ 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"
+ value="#{inventoryList.priceColumnName}" />
+ </f:facet>
+ <h:outputText value="#{category.price}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText styleClass="headerText"
+ value="#{inventoryList.mileageColumnName}" />
+ </f:facet>
+ <h:outputText value="#{category.mileage}" />
+ </h:column>
+ </h:dataTable>
+ </h:panelGrid>
+ <h:outputText value="click reRender for update page(RF-1365)" />
+ <h:commandButton value="reRender" />
+
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -4,27 +4,27 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="DataScrollerSubviewID">
- <h:dataTable id="dataTableId" value="#{dataScroller.dataTable}"
- var="dT" cellpadding="5px" rows="5" border="1">
- <f:facet name="header">
- <rich:datascroller reRender="dataTableId" fastControls="#{dataScroller.fastControls}"
- align="#{dataScroller.align}" rendered="#{dataScroller.render}"
- limitToList="#{dataScroller.limitToList}"
- renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
- maxPages="#{dataScroller.maxPages}"
- scrollerListener="#{dataScroller.ScrollerListener}"
- onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
- onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"/>
- </f:facet>
- <h:column>
- <h:outputText value="#{dT.data0}" />
- </h:column>
- <h:column>
- <h:outputText value="#{dT.data1}" />
- </h:column>
- </h:dataTable>
+ <h:dataTable id="dataTableId" value="#{dataScroller.dataTable}"
+ var="dT" cellpadding="5px" rows="5" border="1">
+ <f:facet name="header">
+ <rich:datascroller fastControls="#{dataScroller.fastControls}"
+ align="#{dataScroller.align}" rendered="#{dataScroller.render}"
+ limitToList="#{dataScroller.limitToList}"
+ renderIfSinglePage="#{dataScroller.renderIfSinglePage}"
+ maxPages="#{dataScroller.maxPages}"
+ scrollerListener="#{dataScroller.ScrollerListener}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"/>
+ </f:facet>
+ <h:column>
+ <h:outputText value="#{dT.data0}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{dT.data1}" />
+ </h:column>
+ </h:dataTable>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -7,12 +7,8 @@
<rich:dataTable id="dataTableID" var="dataTableID" value="#{dataTable.mounths}" rowKeyVar="key" styleClass="table"
captionClass="caption" rowClasses="rowa,rowb,rowc rowcc" headerClass="header" footerClass="footer" onRowClick="showEvent('onRowClickInputID', 'onRowClick work!');alert('row #{key}');" rendered="#{dataTable.rendered}" align="#{dataTable.align}" bgcolor="red"
border="#{dataTable.border}" columnsWidth="#{dataTable.columnsWidth}" width="#{dataTable.width}" title="DataTableTite"
- onRowDblClick="showEvent('onRowDblClickInputID', 'onRowDblClick work!')"
- onRowMouseDown="showEvent('onRowMouseDownInputID', 'onRowMouseDown work!')"
- onRowMouseMove="showEvent('onRowMouseMoveInputID', 'onRowMouseMove work!')"
- onRowMouseOut="showEvent('onRowMouseOutInputID', 'onRowMouseOut work!')"
- onRowMouseOver="showEvent('onRowMouseOverInputID', 'onRowMouseOver work!')"
- onRowMouseUp="showEvent('onRowMouseUpInputID', 'onRowMouseUp work!')">
+onRowDblClick="#{event.onRowDblClick}" onRowMouseDown="#{event.onRowMouseDown}" onRowMouseMove="#{event.onRowMouseMove}" onRowMouseOut="#{event.onRowMouseOut}" onRowMouseOver="#{event.onRowMouseOver}" onRowMouseUp="#{event.onRowMouseUp}"
+onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
<f:facet name="caption">
<h:outputText value="caption facet" />
</f:facet>
@@ -55,7 +51,7 @@
<rich:column styleClass="column" headerClass="cheader" footerClass="cfooter" rendered="#{dataTable.r2rendered}">
<h:outputText value="#{dataTableID.day}" />
</rich:column>
- <rich:subTable id="detail" var="detail" value="#{dataTableID.detail}">
+ <rich:subTable id="detail" var="detail" value="#{dataTableID.detail}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onRowClick="#{event.onRowClick}" onRowDblClick="#{event.onRowDblClick}" onRowMouseDown="#{event.onRowMouseDown}" onRowMouseMove="#{event.onRowMouseMove}" onRowMouseOut="#{event.onRowMouseOut}" onRowMouseOver="#{event.onRowMouseOver}" onRowMouseUp="#{event.onRowMouseUp}">
<f:facet name="header">
<h:outputText value="facet(header)" />
</f:facet>
Modified: trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -22,9 +22,8 @@
<h:column>
<h:panelGrid styleClass="dropzoneDecoration" id="drag1">
<h:outputText value="#{type} - drag" />
- <rich:dragSupport dragType="#{type}" dragValue="#{type} - value" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')" action="#{dndBean.dragAction}" dragListener="#{dndBean.processDrag}">
+ <rich:dragSupport dragType="#{type}" dragValue="#{type} - value" action="#{dndBean.dragAction}" dragListener="#{dndBean.processDrag}"
+ oncomplete="#{event.oncomplete}" ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}" onsubmit="#{event.onsubmit}" onbeforedomupdate="#{event.onbeforedomupdate}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}">
</rich:dragSupport>
</h:panelGrid>
</h:column>
@@ -34,11 +33,9 @@
<h:column>
<h:panelGrid styleClass="dropzoneDecoration" id="drop2">
<h:outputText value="#{type} - drop" />
- <rich:dropSupport reRender="dragValueText" ondragenter="showEvent('InputID', ' work!')" ondragexit="showEvent('InputID', ' work!')"
- ondrop="showEvent('InputID', ' work!')" ondropend="showEvent('InputID', ' work!')"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')"
- action="#{dndBean.dropAction}" acceptedTypes="#{type}" dropListener="#{dndBean.processDrop}" dropValue="#{type} - value">
+ <rich:dropSupport reRender="dragValueText"
+ action="#{dndBean.dropAction}" acceptedTypes="#{type}" dropListener="#{dndBean.processDrop}" dropValue="#{type} - value"
+ ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" onbeforedomupdate="#{event.onbeforedomupdate}">
</rich:dropSupport>
</h:panelGrid>
</h:column>
@@ -80,10 +77,7 @@
<h:panelGrid styleClass="dropzoneDecoration" id="grid1">
<f:verbatim>Accepts file and folder... Customizes</f:verbatim>
<rich:dropSupport id="zone1"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')" ondragenter="showEvent('ondragenterInputID', 'ondragenter work!')"
- ondragexit="showEvent('ondragexitInputID', 'ondragexit work!')" ondropend="showEvent('ondropendInputID', 'ondropend work!')"
- ondrop="showEvent('ondropInputID', 'ondrop work!')"
+ oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondropend="#{event.ondropend}" ondrop="#{event.ondrop}" onbeforedomupdate="#{event.onbeforedomupdate}"
acceptedTypes="file, folder" typeMapping="{file: testDrop}">
<rich:dndParam name="testDrop">
<h:graphicImage height="16" width="16"
@@ -100,11 +94,7 @@
<h:panelGrid styleClass="dropzoneDecoration" id="grid3">
<f:verbatim>Accepts none... Customizes</f:verbatim>
- <rich:dropSupport typeMapping="{file: testDrop}" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragenter="showEvent('ondragenterInputID', 'ondragenter work!')"
- ondragexit="showEvent('ondragexitInputID', 'ondragexit work!')"
- ondrop="showEvent('ondropInputID', 'ondrop work!')" ondropend="showEvent('ondropendInputID', 'ondropend work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dropSupport typeMapping="{file: testDrop}" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondropend="#{event.ondropend}" ondrop="#{event.ondrop}" onbeforedomupdate="#{event.onbeforedomupdate}">
<rich:dndParam name="testDrop">
<h:graphicImage height="16" width="16" value="#{icon.iconFileManagerReject}" />
</rich:dndParam>
@@ -113,19 +103,13 @@
<h:panelGrid styleClass="dropzoneDecoration" id="grid4">
<f:verbatim>Accepts file and folder</f:verbatim>
- <rich:dropSupport acceptedTypes="file, folder" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragenter="showEvent('ondragenterInputID', 'ondragenter work!')"
- ondragexit="showEvent('ondragexitInputID', 'ondragexit work!')"
- ondrop="showEvent('ondropInputID', 'ondrop work!')" ondropend="showEvent('ondropendInputID', 'ondropend work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dropSupport acceptedTypes="file, folder" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondropend="#{event.ondropend}" ondrop="#{event.ondrop}" onbeforedomupdate="#{event.onbeforedomupdate}">
<rich:dndParam name="testDrop" value="testDropValue" />
</rich:dropSupport>
</h:panelGrid>
<h:panelGrid id="grid5">
- <rich:dragSupport dragType="file" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dragSupport dragType="file" ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" onbeforedomupdate="#{event.onbeforedomupdate}">
<rich:dndParam name="label" value="Label" />
<rich:dndParam name="testDrag" value="testDragValue" />
</rich:dragSupport>
@@ -133,9 +117,7 @@
</h:panelGrid>
<h:panelGrid id="grid6">
- <rich:dragSupport dragType="file" dragIndicator="indicator" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dragSupport dragType="file" dragIndicator="indicator" ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" onbeforedomupdate="#{event.onbeforedomupdate}">
<rich:dndParam name="label" value="Label" />
<rich:dndParam name="testDrag" value="testDragValue" />
</rich:dragSupport>
@@ -143,9 +125,7 @@
</h:panelGrid>
<h:panelGrid id="grid7">
- <rich:dragSupport dragType="folder" dragIndicator="indicator" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dragSupport dragType="folder" dragIndicator="indicator" ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" onbeforedomupdate="#{event.onbeforedomupdate}">
<rich:dndParam name="label" value="Label" />
<rich:dndParam name="testDrag" value="testDragValue for Folder" />
</rich:dragSupport>
@@ -155,9 +135,7 @@
<h:outputText />
<h:panelGrid id="grid8">
- <rich:dragSupport dragType="folder" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dragSupport dragType="folder" ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" onbeforedomupdate="#{event.onbeforedomupdate}">
<rich:dndParam name="label" value="Label" />
<rich:dndParam name="testDrag" value="testDragValue for Folder" />
</rich:dragSupport>
@@ -165,9 +143,7 @@
</h:panelGrid>
<h:panelGrid id="grid9">
- <rich:dragSupport dragType="file" dragIndicator="defaultIndicator" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dragSupport dragType="file" dragIndicator="defaultIndicator" ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}">
<rich:dndParam name="testDrag" value="testDragValue" />
<rich:dndParam name="marker" value="testMarkerValue" />
<rich:dndParam name="label" value="testDragValue" />
@@ -176,9 +152,7 @@
</h:panelGrid>
<h:panelGrid id="grid10">
- <rich:dragSupport dragType="folder" dragIndicator="defaultIndicator" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dragSupport dragType="folder" dragIndicator="defaultIndicator" ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" onbeforedomupdate="#{event.onbeforedomupdate}">
<rich:dndParam name="label" value="testDragValue for Folder" />
</rich:dragSupport>
<f:verbatim>Folder Draggable with defaultIndicator</f:verbatim>
@@ -187,9 +161,7 @@
</h:panelGrid>
<h:panelGrid id="renderedId">
- <rich:dragSupport dragType="file" dragIndicator="defaultIndicator" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- onsubmit="showEvent('onsubmitInputID', 'onsubmit work!')">
+ <rich:dragSupport dragType="file" dragIndicator="defaultIndicator" ondragend="#{event.ondragend}" ondragstart="#{event.ondragstart}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" oncomplete="#{event.oncomplete}" onsubmit="#{event.onsubmit}" onbeforedomupdate="#{event.onbeforedomupdate}">
<rich:dndParam name="marker" value="testMarkerValue" />
<rich:dndParam name="label" value="testDragValue" />
</rich:dragSupport>
Modified: trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DropDownMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DropDownMenu.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DropDownMenu.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -7,20 +7,12 @@
<h:panelGrid columns="2">
<rich:spacer width="400px" height="400px"></rich:spacer>
<rich:panel>
- <rich:dropDownMenu id="ddmId" value="DropDownMenu" submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
+ <rich:dropDownMenu id="ddmId" disabled="#{dDMenu.disabledDDM}" value="DropDownMenu" submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
direction="#{dDMenu.direction}" horizontalOffset="#{dDMenu.horizontalOffset}" jointPoint="#{dDMenu.jointPoint}"
popupWidth="#{dDMenu.popupWidth}" showDelay="#{dDMenu.showDelay}" rendered="#{dDMenu.rendered}"
- verticalOffset="#{dDMenu.verticalOffset}" styleClass="panelpos" event="#{dDMenu.event}"
- oncollapse="showEvent('oncollapseInputID', 'oncollapse work!')" onexpand="showEvent('onexpandInputID', 'onexpand work!')"
- ongroupactivate="showEvent('ongroupactivateInputID', 'ongroupactivate work!')"
- onitemselect="showEvent('onitemselectInputID', 'onitemselect work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')">
- <rich:menuItem icon="#{dDMenu.icon}" onclick="showEvent('onclickInputID', 'onclick work (item)!')"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work (item)!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work (item)!')"
- onmousemove="showEvent('onmousemoveInputID', ' work (item)!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work (item)!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work (item)!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work (item)!')"
- onselect="showEvent('onselectInputID', 'onselect work (item)!')">
+ verticalOffset="#{dDMenu.verticalOffset}" styleClass="panelpos" event="#{dDMenu.event}"
+ oncollapse="#{event.oncollapse}" onexpand="#{event.onexpand}" ongroupactivate="#{event.ongroupactivate}" onitemselect="#{event.onitemselect}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}">
+ <rich:menuItem icon="#{dDMenu.icon}" onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}!')" oncomplete="#{event.oncomplete}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}">
<h:outputText value="Item1(test events)" />
</rich:menuItem>
<rich:menuSeparator />
Modified: trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DropDownMenuProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DropDownMenuProperty.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DropDownMenuProperty.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -77,9 +77,13 @@
<h:outputText value="Rendered:" />
<h:selectBooleanCheckbox value="#{dDMenu.rendered}" onclick="submit()">
-
</h:selectBooleanCheckbox>
-
+
+ <h:outputText value="Disable some ddmenu:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{dDMenu.disabledDDM}">
+ <a4j:support reRender="ddmId" event="onclick" />
+ </h:selectBooleanCheckbox>
+
<h:outputText value="Disable some items:" />
<h:selectBooleanCheckbox value="#{dDMenu.disabled}">
<a4j:support reRender="ddmId" event="onclick" />
Modified: trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -8,13 +8,8 @@
warningMessage="#{gmap.warningMessage}" rendered="#{gmap.rendered}" zoom="#{gmap.zoom}"
enableContinuousZoom="#{gmap.continuousZoom}" enableDoubleClickZoom="#{gmap.doubleClickZoom}" enableDragging="#{gmap.dragging}"
gmapVar="map" oninit="alert('init ...')" showGLargeMapControl="#{gmap.showGLargeMapControl}" showGMapTypeControl="#{gmap.showGMapTypeControl}"
- showGScaleControl="#{gmap.showGScaleControl}" onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
+ showGScaleControl="#{gmap.showGScaleControl}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
gmapKey="ABQIAAAAxU6W9QEhFLMNdc3ATIu-VxT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRkrpOGzxH8_ud3inE9pG1845-FCA" />
<h:panelGroup>
Modified: trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -15,7 +15,8 @@
step="#{inputNumberSlider.step}" showInput="#{inputNumberSlider.showInput}" width="#{inputNumberSlider.width}"
barClass="#{inputNumberSlider.barStyle}" tipClass="#{inputNumberSlider.tipStyle}" inputClass="#{inputNumberSlider.inputStyle}"
handleClass="#{inputNumberSlider.handleStyle}" styleClass="#{inputNumberSlider.tipStyle}"
- maxlength="#{inputNumberSlider.maxlength}" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" >
+ maxlength="#{inputNumberSlider.maxlength}"
+ onblur="#{event.onblur}" onchange="#{event.onchange}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onerror="#{event.onerror}" onfocus="#{event.onfocus}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}" onslide="#{event.onslide}">
</rich:inputNumberSlider>
<h:panelGroup>
<a4j:commandButton value="valueChangeListener (show)" reRender="valueCLID" />
Modified: trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -12,13 +12,6 @@
inputClass="#{inputNumberSpinner.inputStyle}" styleClass="#{inputNumberSpinner.style}"
enableManualInput="#{inputNumberSpinner.manualInput}" inputSize="#{inputNumberSpinner.inputSize}"
onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onblur="showEvent('onblurInputID', 'onblur work!')"
- onchange="showEvent('onchangeInputID', 'onchange work!')" onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onerror="showEvent('ondblclickInputID', 'ondblclick work!')"
- onfocus="showEvent('onfocusInputID', 'onfocus work!')" onselect="showEvent('onselectInputID', 'onselect work!')"
- onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
- onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')" ondownclick="showEvent('ondownclickInputID', 'ondownclick work!')"
- onupclick="showEvent('onupclickInputID', 'onupclick work!')"></rich:inputNumberSpinner>
+ onchange="#{event.onchange}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onerror="#{event.onerror}" onfocus="#{event.onfocus}" onselect="#{event.onselect}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ondownclick="#{event.ondownclick}" onupclick="#{event.onupclick}"></rich:inputNumberSpinner>
<rich:spacer height="20px"></rich:spacer>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -7,7 +7,7 @@
<h:messages />
<rich:panel id="panelID" header="Highlight: #{insert.highlight}; File: #{insert.src}">
- <rich:insert id="insertID" highlight="#{insert.highlight}"
+ <rich:insert id="insertID" highlight="#{insert.highlight}"
rendered="#{insert.rendered}" src="#{insert.src}"></rich:insert>
</rich:panel>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttle.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttle.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttle.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -16,9 +16,8 @@
targetListWidth="#{listShuttle.targetListWidth}" sourceListWidth="#{listShuttle.sourceListWidth}"
listsHeight="#{listShuttle.listsHeight}" sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
- topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}"onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onorderchanged="showEvent('onorderchangedInputID', 'onorderchanged work!')" ontopclick="showEvent('ontopclickInputID', 'ontopclick work!')" onupclick="showEvent('onupclickInputID', 'onupclick work!')" ondownclick="showEvent('ondownclickInputID', 'ondownclick work!')" onbottomclick="showEvent('onbottomclickInputID', 'onbottomclick work!')" >
+ topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}"
+ onmousemove="#{event.onmousemove}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onorderchanged="#{event.onorderchanged}" ontopclick="#{event.ontopclick}" onupclick="#{event.onupclick}" ondownclick="#{event.ondownclick}" onbottomclick="#{event.onbottomclick}">
<h:column>
<f:facet name="header">
Modified: trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -2,16 +2,20 @@
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<f:subview id="modalPanelSubviewID">
- <h:messages />
+
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}" />
+ </h:selectOneMenu>
+
<rich:modalPanel id="modalPanelID" minHeight="#{modalPanel.minHeight}" minWidth="#{modalPanel.minWidth}"
height="#{modalPanel.height}" width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
- resizeable="#{modalPanel.resizeable}" keepVisualState="#{modalPanel.keepVisualState}"
- rendered="#{modalPanel.rendered}" zindex="#{modalPanel.zindex}" autosized="#{modalPanel.autosized}" left="#{modalPanel.left}"
- top="#{modalPanel.top}" shadowDepth="#{modalPanel.shadowDepth}" shadowOpacity="#{modalPanel.shadowOpacity}"
- showWhenRendered="#{modalPanel.showWhenRendered}" onhide="showEvent('onhideInputID', 'onhide work!')"
- onshow="showEvent('onshowInputID', 'onshow work!')">
+ resizeable="#{modalPanel.resizeable}" keepVisualState="#{modalPanel.keepVisualState}" rendered="#{modalPanel.rendered}"
+ zindex="#{modalPanel.zindex}" autosized="#{modalPanel.autosized}" shadowDepth="#{modalPanel.shadowDepth}"
+ shadowOpacity="#{modalPanel.shadowOpacity}" showWhenRendered="#{modalPanel.showWhenRendered}"
+ onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}" onmaskcontextmenu="#{event.onmaskcontextmenu}" onmaskdblclick="#{event.onmaskdblclick}" onmaskmousedown="#{event.onmaskmousedown}" onmaskmousemove="#{event.onmaskmousemove}" onmaskmouseout="#{event.onmaskmouseout}" onmaskmouseover="#{event.onmaskmouseover}" onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}" onresize="#{event.onresize}" onshow="#{event.onshow}">
<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>
@@ -25,28 +29,31 @@
<f:selectItem itemLabel="2" itemValue="2" />
<f:selectItem itemLabel="3" itemValue="3" />
</h:selectOneListbox>
-
+
<f:verbatim>
<br />
<br />
</f:verbatim>
+
<h:outputLink onclick="Richfaces.hideModalPanel('modalPanelID');return false;" value="Close">
<f:verbatim>Close</f:verbatim>
</h:outputLink>
+
+ <jsp:include flush="true" page="${richBean.pathComponentContainer}" />
</rich:modalPanel>
<a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">Show MP</a>
-
- <f:verbatim>
+
+ <f:verbatim>
<br />
<br />
</f:verbatim>
-
+
<h:graphicImage value="/pics/info.gif" onclick="Richfaces.showModalPanel('modalPanelID');" />
- <f:verbatim>
+ <f:verbatim>
<br />
<br />
</f:verbatim>
<div style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index</div>
-
+
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/OrderingList/OrderingList.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/OrderingList/OrderingList.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/OrderingList/OrderingList.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -14,12 +14,10 @@
bottomControlLabel="#{orderingList.bottomControlLabel}" captionLabel="#{orderingList.captionLabel}"
topControlLabel="#{orderingList.topControlLabel}" upControlLabel="#{orderingList.upControlLabel}"
controlsHorizontalAlign="#{orderingList.controlsHorizontalAlign}" controlsVerticalAlign="#{orderingList.controlsVerticalAlign}"
- downControlLabel="#{orderingList.downControlLabel}"
+ downControlLabel="#{orderingList.downControlLabel}"
orderControlsVisible="#{orderingList.orderControlsVisible}" fastOrderControlsVisible="#{orderingList.fastOrderControlsVisible}"
rendered="#{orderingList.rendered}" showButtonLabels="#{orderingList.showButtonLabels}" selection="#{orderingList.selection}"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onorderchanged="showEvent('onorderchangedInputID', 'onorderchanged work!')" ontopclick="showEvent('ontopclickInputID', 'ontopclick work!')" onupclick="showEvent('onupclickInputID', 'onupclick work!')" ondownclick="showEvent('ondownclickInputID', 'ondownclick work!')" onbottomclick="showEvent('onbottomclickInputID', 'onbottomclick work!')" onheaderclick="showEvent('onheaderclickInputID', 'onheaderclick work!')">
+ onmousemove="#{event.onmousemove}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onorderchanged="#{event.onorderchanged}" ontopclick="#{event.ontopclick}" onupclick="#{event.onupclick}" ondownclick="#{event.ondownclick}" onbottomclick="#{event.onbottomclick}" onheaderclick="#{event.onheaderclick}">
<f:facet name="header">
<h:outputText value="header" />
</f:facet>
Modified: trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -1,122 +1,128 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<f:subview id="panelSubviewID">
- <h:panelGrid columnClasses="panel" border="0" columns="3">
- <rich:panel styleClass="top">
- <f:facet name="header">
- <h:panelGroup>
- <f:verbatim>dsdsdsdsd<br />sdsd </f:verbatim>
- </h:panelGroup>
+<h:panelGrid columnClasses="panel" border="0" columns="3">
+ <rich:panel styleClass="top">
+ <f:facet name="header">
+ <h:panelGroup>
+ <f:verbatim>dsdsdsdsd<br />sdsd </f:verbatim>
+ </h:panelGroup>
- </f:facet>
+ </f:facet>
- <f:verbatim>This is <b>default</b> panel. content here</f:verbatim>
- </rich:panel>
- <rich:panel styleClass="top" headerClass="hea" bodyClass="bo">
- <f:facet name="header">
- <h:outputText value="Header of the Panel" />
- </f:facet>
- <f:verbatim>This panel contains custom headerClass and bodyClass</f:verbatim>
- </rich:panel>
- <rich:panel styleClass="top2" headerClass="hea2" bodyClass="bo2">
- <f:facet name="header">
- <h:outputText value="Header of the Panel" />
- </f:facet>
- <f:verbatim> This panel also contains custom headerClass and bodyClass. The background is not a 3D anymore.</f:verbatim>
- </rich:panel>
+ <f:verbatim>This is <b>default</b> panel. content here</f:verbatim>
+ </rich:panel>
+ <rich:panel styleClass="top" headerClass="hea" bodyClass="bo">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>This panel contains custom headerClass and bodyClass</f:verbatim>
+ </rich:panel>
+ <rich:panel styleClass="top2" headerClass="hea2" bodyClass="bo2">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim> This panel also contains custom headerClass and bodyClass. The background is not a 3D anymore.</f:verbatim>
+ </rich:panel>
- <h:panelGroup>
- <h:form>
- <rich:panel
- onmouseover="document.getElementById(this.id+'_header').style.background='#60BA01';document.getElementById(this.id+'_body').style.background='#F4FFF8'"
- onmouseout="document.getElementById(this.id+'_header').style.background='#4C9600';document.getElementById(this.id+'_body').style.background='#E4FFC8'"
- style="width:200px;" headerClass="hea2" bodyClass="bo3">
- <f:facet name="header">
- <h:outputText value="Header of the Panel" />
- </f:facet>
- <f:verbatim>Base on the previous layout, but form element and javascript behaviour are added</f:verbatim>
- <br />
- <h:inputText />
- </rich:panel>
- </h:form>
- </h:panelGroup>
+ <h:panelGroup>
+ <h:form>
+ <rich:panel
+ onmouseover="document.getElementById(this.id+'_header').style.background='#60BA01';document.getElementById(this.id+'_body').style.background='#F4FFF8'"
+ onmouseout="document.getElementById(this.id+'_header').style.background='#4C9600';document.getElementById(this.id+'_body').style.background='#E4FFC8'"
+ style="width:200px;" headerClass="hea2" bodyClass="bo3">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>Base on the previous layout, but form element and javascript behaviour are added</f:verbatim>
+ <br/>
+ <h:inputText/>
+ </rich:panel>
+ </h:form>
+ </h:panelGroup>
- <rich:panel style="width:200px;" headerClass="hea" bodyClass="bo3">
- <f:facet name="header">
- <h:outputText value="Scrolling Text Panel" />
- </f:facet>
- <f:verbatim>
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- Long Text Long Text Long Text
- </f:verbatim>
- </rich:panel>
+ <rich:panel style="width:200px;" headerClass="hea" bodyClass="bo3">
+ <f:facet name="header">
+ <h:outputText value="Scrolling Text Panel"/>
+ </f:facet>
+ <f:verbatim>
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ Long Text Long Text Long Text
+ </f:verbatim>
+ </rich:panel>
- <rich:panel styleClass="top">
- <f:verbatim>This is a panel without the header</f:verbatim>
+ <rich:panel styleClass="top">
+ <f:verbatim>This is a panel without the header</f:verbatim>
+ </rich:panel>
+</h:panelGrid>
+<rich:panel style="position: absolute; top: 116px; right: 100px; "
+ styleClass="top">
+ <f:facet name="header">
+ <h:outputText value="Header of the Panel"/>
+ </f:facet>
+ <f:verbatim>
+ This is a panel with absolute position on the screen.<br />
+ Resize the browser's window for fun.
+ </f:verbatim>
+</rich:panel>
+<h:outputText value="Panel 1, rendered: #{!panel.rendered}; Panel 2, rendered #{panel.rendered};"></h:outputText>
- </rich:panel>
- </h:panelGrid>
- <rich:panel style="position: absolute; top: 116px; right: 100px; "
- styleClass="top">
- <f:facet name="header">
- <h:outputText value="Header of the Panel" />
- </f:facet>
- <f:verbatim>
- This is a panel with absolute position on the screen.<br />
- Resize the browser's window for fun.
- </f:verbatim>
- </rich:panel>
- <h:outputText value="Panel 1, rendered: #{!panel.rendered}; Panel 2, rendered #{panel.rendered};"></h:outputText>
+<rich:panel rendered="#{!panel.rendered}" id="p1" style="width:#{panel.width};height:#{panel.height};overflow:auto;"
+ ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onclick="showEvent('onclickInputID', 'onclick work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
+ onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
+ <f:facet name="header">
+ <h:outputText id="t1" value="#{panel.title[0]} (Panel 1)"/>
+ </f:facet>
- <rich:panel rendered="#{!panel.rendered}" id="p1" style="width:#{panel.width};height:#{panel.height};overflow:auto;"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onclick="showEvent('onclickInputID', 'onclick work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
- <f:facet name="header">
- <h:outputText id="t1" value="#{panel.title[0]} (Panel 1)" />
- </f:facet>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText id="t2" value="#{panel.title[1]}"/>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText id="o1" value="width #{panel.title[2]}, eg. 250px"></h:outputText>
+ <h:inputText value="#{w}">
+ <a4j:support event="onchange" reRender="p3"></a4j:support>
+ </h:inputText>
- <rich:panel>
- <f:facet name="header">
- <h:outputText id="t2" value="#{panel.title[1]}" />
- </f:facet>
- <h:panelGrid columns="2">
- <h:outputText id="o1" value="width #{panel.title[2]}, eg. 250px"></h:outputText>
- <h:inputText value="#{w}">
- <a4j:support event="onchange" reRender="p3"></a4j:support>
- </h:inputText>
+ <h:outputText id="o2" value="height #{panel.title[2]}, eg. 200px"></h:outputText>
+ <h:inputText value="#{h}">
+ <a4j:support event="onchange" reRender="p3"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
- <h:outputText id="o2" value="height #{panel.title[2]}, eg. 200px"></h:outputText>
- <h:inputText value="#{h}">
- <a4j:support event="onchange" reRender="p3"></a4j:support>
- </h:inputText>
- </h:panelGrid>
+ <rich:panel id="p3" style="width:#{w};height:#{h};overflow:auto;">
+ <f:facet name="header">
+ <h:outputText id="t3" value="#{panel.title[2]}"/>
+ </f:facet>
+ <h:graphicImage value="/pics/asus.jpg" width="150" height="100"></h:graphicImage>
- <rich:panel id="p3" style="width:#{w};height:#{h};overflow:auto;">
- <f:facet name="header">
- <h:outputText id="t3" value="#{panel.title[2]}" />
- </f:facet>
- <h:graphicImage value="/pics/asus.jpg" width="150" height="100"></h:graphicImage>
- </rich:panel>
- </rich:panel>
- </rich:panel>
+ </rich:panel>
+ </rich:panel>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+ <jsp:include flush="true" page="${richBean.pathComponentContainer}"/>
+</rich:panel>
- <rich:panel id="panelId" rendered="#{panel.rendered}"
- style="width:#{panel.width};height:#{panel.height}"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onclick="showEvent('onclickInputID', 'onclick work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
- <f:verbatim>This is panel 2 example...(Test events)</f:verbatim>
- </rich:panel>
+<rich:panel id="panelId" rendered="#{panel.rendered}"
+ style="width:#{panel.width};height:#{panel.height}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <f:verbatim>This is panel 2 example...(Test events)</f:verbatim>
+</rich:panel>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -8,7 +8,7 @@
<h:messages></h:messages>
<rich:panelBar id="pBId" height="#{panelBar.height}" width="#{panelBar.width}" contentClass="#{panelBar.contentStyle}"
- styleClass="#{panelBar.style}" selectedPanel="pBiId4" onclick="showEvent('onclickInputID', 'onclick work!')">
+ styleClass="#{panelBar.style}" selectedPanel="pBiId4" onclick="#{event.onclick}" onitemchange="#{event.onitemchange}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}">
<rich:panelBarItem rendered="#{panelBar.rendered}" id="pBiId1" label="#{panelBar.label[0]}"
headerClass="#{panelBar.headerStyle}">
<h:outputText value="Some text..."></h:outputText>
Modified: trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -1,173 +1,175 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<f:subview id="panelMenuSubviewID">
- <rich:panelMenu id="panelMenuID" disabled="#{panelMenu.disabled}" width="#{panelMenu.width}" selectedChild="thisChild"
- expandSingle="#{panelMenu.expandSingle}" mode="#{panelMenu.mode}" value="PanelMenu" rendered="#{panelMenu.rendered}"
- iconCollapsedGroup="#{panelMenu.icon.collapsedGroup}" iconCollapsedTopGroup="#{panelMenu.icon.collapsedTopGroup}"
- iconDisabledGroup="#{panelMenu.icon.disabledGroup}" iconDisabledItem="#{panelMenu.icon.disabledItem}"
- iconExpandedGroup="#{panelMenu.icon.expandedGroup}" iconExpandedTopGroup="#{panelMenu.icon.expandedTopGroup}"
- iconItem="#{panelMenu.icon.item}" iconTopDisabledItem="#{panelMenu.icon.disabledItem}"
- iconTopDisableGroup="#{panelMenu.icon.disabledGroup}" iconTopItem="#{panelMenu.icon.topItem}"
- iconGroupPosition="#{panelMenu.iconGroupPosition}" iconGroupTopPosition="#{panelMenu.iconGroupTopPosition}"
- iconItemPosition="#{panelMenu.iconItemPosition}" iconItemTopPosition="#{panelMenu.iconItemTopPosition}" styleClass="sPanel"
- onclick="" ondblclick="" ongroupcollapse="" ongroupexpand="" onitemhover="" onkeydown="" onkeypress="" onkeyup=""
- onmousedown="" onmousemove="" onmouseout="" onmouseover="" onmouseup="">
+<rich:panelMenu id="panelMenuID" disabled="#{panelMenu.disabled}" width="#{panelMenu.width}" selectedChild="thisChild"
+ expandSingle="#{panelMenu.expandSingle}" mode="#{panelMenu.mode}" value="PanelMenu" rendered="#{panelMenu.rendered}"
+ iconCollapsedGroup="#{panelMenu.icon.collapsedGroup}" iconCollapsedTopGroup="#{panelMenu.icon.collapsedTopGroup}"
+ iconDisabledGroup="#{panelMenu.icon.disabledGroup}" iconDisabledItem="#{panelMenu.icon.disabledItem}"
+ iconExpandedGroup="#{panelMenu.icon.expandedGroup}" iconExpandedTopGroup="#{panelMenu.icon.expandedTopGroup}"
+ iconItem="#{panelMenu.icon.item}" iconTopDisabledItem="#{panelMenu.icon.disabledItem}"
+ iconTopDisableGroup="#{panelMenu.icon.disabledGroup}" iconTopItem="#{panelMenu.icon.topItem}"
+ iconGroupPosition="#{panelMenu.iconGroupPosition}" iconGroupTopPosition="#{panelMenu.iconGroupTopPosition}"
+ iconItemPosition="#{panelMenu.iconItemPosition}" iconItemTopPosition="#{panelMenu.iconItemTopPosition}" styleClass="sPanel"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" ongroupcollapse="#{event.ongroupcollapse}" ongroupexpand="#{event.ongroupexpand}" onitemhover="#{event.onitemhover}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
- <rich:panelMenuItem label="Item 1(Test event)" onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"></rich:panelMenuItem>
- <rich:panelMenuItem disabled="true" iconDisabled="/pics/ajax_stoped.gif">
- <h:outputText value="Disabled Item" />
- </rich:panelMenuItem>
- <rich:panelMenuItem label="Item Image">
- <h:graphicImage value="/pics/item.png"></h:graphicImage>
- </rich:panelMenuItem>
- <rich:panelMenuItem>
- <h:outputText value="Item4" />
- </rich:panelMenuItem>
- <rich:panelMenuItem label="CheckBox">
- <h:selectBooleanCheckbox value="false"></h:selectBooleanCheckbox>
- </rich:panelMenuItem>
- <rich:panelMenuItem>
- <h:outputText value="CheckBox 2"></h:outputText>
- <h:selectBooleanCheckbox value="false"></h:selectBooleanCheckbox>
- </rich:panelMenuItem>
- <rich:panelMenuItem label="Action" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+<rich:panelMenuItem label="Item 1(Test event)" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" onmouseup="#{event.onmouseup}"></rich:panelMenuItem>
- <rich:panelMenuGroup label="Group 1">
- <rich:panelMenuItem label="Item 1" disabled="true"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 1 (action)" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+<rich:panelMenuItem><h:outputText value="select "></h:outputText> <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+</h:selectOneMenu>
+</rich:panelMenuItem>
+<rich:panelMenuItem>
+ <jsp:include flush="true" page="${richBean.pathComponentContainer}"/>
+</rich:panelMenuItem>
+<rich:panelMenuItem disabled="true" iconDisabled="/pics/ajax_stoped.gif">
+ <h:outputText value="Disabled Item"/>
+</rich:panelMenuItem>
+<rich:panelMenuItem label="Item Image">
+ <h:graphicImage value="/pics/item.png"></h:graphicImage>
+</rich:panelMenuItem>
+<rich:panelMenuItem>
+ <h:outputText value="Item4"/>
+</rich:panelMenuItem>
+<rich:panelMenuItem label="CheckBox">
+ <h:selectBooleanCheckbox value="false"></h:selectBooleanCheckbox>
+</rich:panelMenuItem>
+<rich:panelMenuItem>
+ <h:outputText value="CheckBox 2"></h:outputText>
+ <h:selectBooleanCheckbox value="false"></h:selectBooleanCheckbox>
+</rich:panelMenuItem>
+<rich:panelMenuItem label="Action" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
- <rich:panelMenuGroup label="Group 1_1 (align)" align="#{panelMenu.align}">
- <rich:panelMenuItem label="Imem 1_1">
- <h:inputText value="#{panelMenu.inputText}"></h:inputText>
- </rich:panelMenuItem>
+<rich:panelMenuGroup label="Group 1(expanded=true)" expanded="true">
+ <rich:panelMenuItem label="Item 1" disabled="true"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1 (action)" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 1_2"></rich:panelMenuItem>
+ <rich:panelMenuGroup label="Group 1_1 (align)" align="#{panelMenu.align}">
+ <rich:panelMenuItem label="Imem 1_1">
+ <h:inputText value="#{panelMenu.inputText}"></h:inputText>
+ </rich:panelMenuItem>
- <rich:panelMenuGroup label="Group 1_1_1">
- <rich:panelMenuItem label="Item 1 (action)" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
- </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item 1_2"></rich:panelMenuItem>
- <rich:panelMenuGroup label="Group 1_1_2">
- <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 4"></rich:panelMenuItem>
- </rich:panelMenuGroup>
- </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="Group 1_1_1">
+ <rich:panelMenuItem label="Item 1 (action)" onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
- <rich:panelMenuGroup label="Group 1_2 (disabled, action)" disabled="true" onmousedown="alert('Disabled');">
- <rich:panelMenuItem label="Item 1_2_1"></rich:panelMenuItem>
- </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="Group 1_1_2">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 4"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
- <rich:panelMenuGroup label="Group 1_3">
- <rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
+ <rich:panelMenuGroup label="Group 1_2 (disabled, action)" disabled="true" onmousedown="alert('Disabled');">
+ <rich:panelMenuItem label="Item 1_2_1"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
- <rich:panelMenuGroup label="Group disabled" disabled="true">
- </rich:panelMenuGroup>
- </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="Group 1_3">
+ <rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
- </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="Group disabled" disabled="true">
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
- <rich:panelMenuGroup label="Group 2 ">
- <rich:panelMenuItem label="Item 2_1"></rich:panelMenuItem>
+</rich:panelMenuGroup>
- <rich:panelMenuGroup label="Group 2_2">
- <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
- </rich:panelMenuGroup>
+<rich:panelMenuGroup label="Group 2 ">
+ <rich:panelMenuItem label="Item 2_1"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
- </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="Group 2_2">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
- <rich:panelMenuGroup label="Group 3">
- <rich:panelMenuItem label="Item 3_1">
- <f:verbatim>
- <br />
- text <br />
- text <br />
- text
- </f:verbatim>
- </rich:panelMenuItem>
- <rich:panelMenuItem label="Item 3_2">
- <h:graphicImage value="/pics/benq.jpg" width="150px" height="100px"></h:graphicImage>
- </rich:panelMenuItem>
- <rich:panelMenuItem label="Item 3_3"></rich:panelMenuItem>
- </rich:panelMenuGroup>
- </rich:panelMenu>
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+</rich:panelMenuGroup>
- <f:verbatim>
- <br />
- <br />
- </f:verbatim>
+<rich:panelMenuGroup label="Group 3">
+ <rich:panelMenuItem label="Item 3_1">
+ <f:verbatim>
+ <br/>
+ text <br/>
+ text <br/>
+ text
+ </f:verbatim>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3_2">
+ <h:graphicImage value="/pics/benq.jpg" width="150px" height="100px"></h:graphicImage>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3_3"></rich:panelMenuItem>
+</rich:panelMenuGroup>
+</rich:panelMenu>
- <h:outputText id="info"
- value="Expand Mode: #{panelMenu.mode}, Disabled: #{!panelMenu.disabled}, Align: #{panelMenu.align}, Tab Index: #{panelMenu.tabIndex}"></h:outputText>
- <!-- triangleUp triangle triangleDown disc chevron chevronUp chevronDown grid -->
- <f:verbatim>
- <br />
- </f:verbatim>
+<f:verbatim>
+ <br/>
+ <br/>
+</f:verbatim>
- <rich:panelMenu id="panelMenuID2" expandMode="#{panelMenu.mode}" disabled="#{!panelMenu.disabled}" width="#{panelMenu.width}"
- selectedChild="thisChild" styleClass="body">
- <rich:panelMenuGroup label="Group 1 (tabIdex, my Image)" tabindex="#{panelMenu.tabIndex}" align="#{panelMenu.align}">
- <rich:panelMenuGroup label="Group 1_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
- <rich:panelMenuGroup label="Group 1_1_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
- <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
- </rich:panelMenuGroup>
- </rich:panelMenuGroup>
+<h:outputText id="info"
+ value="Expand Mode: #{panelMenu.mode}, Disabled: #{!panelMenu.disabled}, Align: #{panelMenu.align}, Tab Index: #{panelMenu.tabIndex}"></h:outputText>
+<!-- triangleUp triangle triangleDown disc chevron chevronUp chevronDown grid -->
+<f:verbatim>
+ <br/>
+</f:verbatim>
- <rich:panelMenuGroup label="Group 1_2 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
- <rich:panelMenuGroup label="Group 1_2_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
- <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (iconDisabled)" iconDisabled="#{icon.iconHeader}"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (icon)" disabled="true" icon="#{icon.iconItem}"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (iconDisabled)" disabled="true" iconDisabled="#{icon.iconItem}"></rich:panelMenuItem>
- </rich:panelMenuGroup>
- <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item "></rich:panelMenuItem>
- </rich:panelMenuGroup>
+<rich:panelMenu id="panelMenuID2" expandMode="#{panelMenu.mode}" disabled="#{!panelMenu.disabled}" width="#{panelMenu.width}"
+ selectedChild="thisChild" styleClass="body">
+ <rich:panelMenuGroup label="Group 1 (tabIdex, my Image)" tabindex="#{panelMenu.tabIndex}" align="#{panelMenu.align}">
+ <rich:panelMenuGroup label="Group 1_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuGroup label="Group 1_1_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
- <rich:panelMenuGroup label="Group 1_3" align="#{panelMenu.align}" iconCollapsed="#{icon.iconCollapse}"
- iconExpanded="#{icon.iconExpand}" iconDisabled="#{icon.disabled}">
- <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
- </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="Group 1_2 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuGroup label="Group 1_2_1 (tabIndex)" tabindex="#{panelMenu.tabIndex}">
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (iconDisabled)" iconDisabled="#{icon.iconHeader}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" disabled="true" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (iconDisabled)" disabled="true" iconDisabled="#{icon.iconItem}"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item "></rich:panelMenuItem>
+ </rich:panelMenuGroup>
- <!-- triangleUp triangle triangleDown disc chevron chevronUp chevronDown grid -->
- <rich:panelMenuItem label="Item (disc)" icon="disc"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (grid)" icon="grid"></rich:panelMenuItem>
- <rich:panelMenuGroup label="Group" iconCollapsed="triangleDown" iconExpanded="triangleUp" iconDisabled="triangle">
- <rich:panelMenuGroup label="Group" iconCollapsed="chevronDown" iconExpanded="chevronUp" iconDisabled="chevron">
- <rich:panelMenuItem label="Item (disc)" icon="disc"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (grid)" iconDisabled="grid"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (grid)" icon="grid"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (disc)" iconDisabled="disc"></rich:panelMenuItem>
- </rich:panelMenuGroup>
- <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item "></rich:panelMenuItem>
- </rich:panelMenuGroup>
+ <rich:panelMenuGroup label="Group 1_3" align="#{panelMenu.align}" iconCollapsed="#{icon.iconCollapse}"
+ iconExpanded="#{icon.iconExpand}" iconDisabled="#{icon.disabled}">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
- <rich:panelMenuGroup label="Group 1_3" iconCollapsed="chevronDown" iconExpanded="chevronUp" iconDisabled="chevron">
- <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
- <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
- </rich:panelMenuGroup>
- </rich:panelMenuGroup>
- </rich:panelMenu>
+ <!-- triangleUp triangle triangleDown disc chevron chevronUp chevronDown grid -->
+ <rich:panelMenuItem label="Item (disc)" icon="disc"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" icon="grid"></rich:panelMenuItem>
+ <rich:panelMenuGroup label="Group" iconCollapsed="triangleDown" iconExpanded="triangleUp" iconDisabled="triangle">
+ <rich:panelMenuGroup label="Group" iconCollapsed="chevronDown" iconExpanded="chevronUp" iconDisabled="chevron">
+ <rich:panelMenuItem label="Item (disc)" icon="disc"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" iconDisabled="grid"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (grid)" icon="grid"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (disc)" iconDisabled="disc"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item (icon)" icon="#{icon.iconItem}"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item "></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+
+ <rich:panelMenuGroup label="Group 1_3" iconCollapsed="chevronDown" iconExpanded="chevronUp" iconDisabled="chevron">
+ <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3"></rich:panelMenuItem>
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+</rich:panelMenu>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/PickList/PickList.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PickList/PickList.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/PickList/PickList.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -5,77 +5,18 @@
<f:subview id="pickListSubviewID">
<rich:pickList id="pickListID" valueChangeListener="#{pickList.valueChangeListener}"
copyAllControlLabel="#{pickList.copyAllControlLabel}" copyControlLabel="#{pickList.copyControlLabel}"
- disabled="#{pickList.copyControlLabel}" displayValueOnly="#{pickList.displayValueOnly}" dir="#{pickList.dir}"
- fastOrderControlsVisible="#{pickList.fastOrderControlsVisible}" immediate="#{pickList.immediate}"
+ disabled="#{pickList.copyControlLabel}" dir="#{pickList.dir}" immediate="#{pickList.immediate}"
listsHeight="#{pickList.listsHeight}" moveControlsVerticalAlign="#{pickList.removeAllControlLabel}"
removeAllControlLabel="#{pickList.removeAllControlLabel}" removeControlLabel="#{pickList.removeControlLabel}"
- rendered="#{pickList.rendered}" showButtonLabels="#{pickList.showButtonLabels}" sourceListWidth="#{pickList.sourceListWidth}"
- title="#{pickList.title}" switchByClick="#{pickList.switchByClick}" targetListWidth="#{pickList.targetListWidth}"
- size="#{pickList.size}" >
+ rendered="#{pickList.rendered}" sourceListWidth="#{pickList.sourceListWidth}" title="#{pickList.title}"
+ switchByClick="#{pickList.switchByClick}" targetListWidth="#{pickList.targetListWidth}" size="#{pickList.size}"
+ onclick="#{event.onclick}" onblur="#{event.onblur}" onchange="#{event.onchange}" ondblclick="#{event.ondblclick}"
+ onfocus="#{event.onfocus}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
<f:selectItem itemValue="selectItem" itemLabel="selectItem" />
<f:selectItem itemValue="selectItem 1" itemLabel="selectItem 1" />
<f:selectItem itemValue="selectItem 2" itemLabel="selectItem 2" />
<f:selectItems value="#{pickList.data}" />
</rich:pickList>
-
- <h:commandButton value="submit"></h:commandButton>
-
- <h:panelGrid columns="2">
- <h:outputText value="title:"></h:outputText>
- <h:inputText value="#{pickList.title}" onchange="submit();"></h:inputText>
-
- <h:outputText value="moveControlsVerticalAlign:"></h:outputText>
- <h:inputText value="#{pickList.moveControlsVerticalAlign}" onchange="submit();"></h:inputText>
-
- <h:outputText value="showButtonLabels:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.showButtonLabels}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="copyAllControlLabel:"></h:outputText>
- <h:inputText value="#{pickList.copyAllControlLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="copyControlLabel:"></h:outputText>
- <h:inputText value="#{pickList.copyControlLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="removeControlLabel:"></h:outputText>
- <h:inputText value="#{pickList.removeControlLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="removeAllControlLabel:"></h:outputText>
- <h:inputText value="#{pickList.removeAllControlLabel}" onchange="submit();"></h:inputText>
-
- <h:outputText value="switchByClick:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.switchByClick}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="listsHeight:"></h:outputText>
- <h:inputText value="#{pickList.listsHeight}" onchange="submit();"></h:inputText>
-
- <h:outputText value="sourceListWidth:"></h:outputText>
- <h:inputText value="#{pickList.sourceListWidth}" onchange="submit();"></h:inputText>
-
- <h:outputText value="targetListWidth:"></h:outputText>
- <h:inputText value="#{pickList.targetListWidth}" onchange="sumbmit();"></h:inputText>
-
- <h:outputText value="fastOrderControlsVisible:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.fastOrderControlsVisible}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="dir:"></h:outputText>
- <h:selectOneMenu value="#{pickList.dir}" onchange="submit();">
- <f:selectItem itemValue="LTR" itemLabel="LTR" />
- <f:selectItem itemValue="RTL" itemLabel="RTL" />
- </h:selectOneMenu>
-
- <h:outputText value="size:"></h:outputText>
- <h:inputText value="#{pickList.size}" onchange="sumbit();"></h:inputText>
-
- <h:outputText value="displayValueOnly:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.displayValueOnly}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="immediate:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
-
- <h:outputText value="disabled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{pickList.disabled}" onchange="submit();"></h:selectBooleanCheckbox>
- </h:panelGrid>
</f:subview>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/PickList/PickListProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PickList/PickListProperty.jsp (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/PickList/PickListProperty.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,66 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
+<f:subview id="pickListPropertySubviewID">
+ <h:panelGrid columns="2">
+ <h:outputText value="title:"></h:outputText>
+ <h:inputText value="#{pickList.title}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="moveControlsVerticalAlign:"></h:outputText>
+ <h:inputText value="#{pickList.moveControlsVerticalAlign}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="showButtonLabels:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.showButtonLabels}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="copyAllControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.copyAllControlLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="copyControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.copyControlLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="removeControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.removeControlLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="removeAllControlLabel:"></h:outputText>
+ <h:inputText value="#{pickList.removeAllControlLabel}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="switchByClick:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.switchByClick}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="listsHeight:"></h:outputText>
+ <h:inputText value="#{pickList.listsHeight}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="sourceListWidth:"></h:outputText>
+ <h:inputText value="#{pickList.sourceListWidth}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="targetListWidth:"></h:outputText>
+ <h:inputText value="#{pickList.targetListWidth}" onchange="sumbmit();"></h:inputText>
+
+ <h:outputText value="fastOrderControlsVisible:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.fastOrderControlsVisible}"
+ onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="dir:"></h:outputText>
+
+ <h:selectOneMenu value="#{pickList.dir}" onchange="submit();">
+ <f:selectItem itemValue="LTR" itemLabel="LTR"/>
+ <f:selectItem itemValue="RTL" itemLabel="RTL"/>
+ </h:selectOneMenu>
+
+ <h:outputText value="size:"></h:outputText>
+ <h:inputText value="#{pickList.size}" onchange="sumbit();"></h:inputText>
+
+ <h:outputText value="displayValueOnly:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.displayValueOnly}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.rendered}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="immediate:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.immediate}" onchange="submit();"></h:selectBooleanCheckbox>
+
+ <h:outputText value="disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{pickList.disabled}" onchange="submit();"></h:selectBooleanCheckbox>
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,106 @@
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+
+<f:subview id="progressBarSubviewID">
+
+ <rich:progressBar id="progressBarID"
+ style="width: 450px; height: 19px;" value="#{progressBar.value}"
+ mode="#{progressBar.mode}" enabled="#{progressBar.enabled}"
+ actionListener="#{progressBar.actionListener}"
+ interval="#{progressBar.interval}" action="#{progressBar.action}"
+ maxValue="#{progressBar.maxValue}" minValue="#{progressBar.minValue}"
+ rendered="#{progressBar.rendered}" reRender="loadInfoPBID,valuePBID"
+ progressVar="progressVar" parameters="params:'%'"
+ reRenderAfterComplete="completedPBID"
+ ignoreDupResponses="#{progressBar.ignoreDupResponses}"
+ dualColoredLabel="#{progressBar.dualColoredLabel}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" onsubmit="#{event.onsubmit}">
+ <f:facet name="initial">
+ <h:outputText value="Process not started"></h:outputText>
+ </f:facet>
+ <f:facet name="complete">
+ <h:outputText value="Process completed"></h:outputText>
+ </f:facet>
+ <h:outputText
+ value="{minValue} {params} / {value} {params}/ {maxValue} {params}"></h:outputText>
+ <h:outputText id="loadInfoPBID"
+ value="[Load: #{progressBar.loadInfo}] " />
+ <h:graphicImage value="/pics/ajax_process.gif" />
+ </rich:progressBar>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText
+ value="[parameters=params:'%'], [{minValue} {params} / {value} {params}/ {maxValue} {params}]" />
+ <h:panelGrid columns="1">
+ <a4j:commandButton value="getValue"
+ onclick="alert($('formID:progressBarSubviewID:progressBarID').component.getValue())"></a4j:commandButton>
+ <a4j:commandLink value="doShow"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.doShow(event)"></a4j:commandLink>
+ <a4j:commandLink value="disable"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.disable();"></a4j:commandLink>
+ <a4j:commandLink value="enable"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.enable(event);"></a4j:commandLink>
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="first value:" />
+ <h:outputText value="#{progressBar.value}" />
+ <h:outputText value="completed value:" />
+ <h:outputText id="completedPBID" value="#{progressBar.value}" />
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="value:" />
+ <h:inputText id="valuePBID" value="#{progressBar.value}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="interval:" />
+ <h:inputText value="#{progressBar.interval}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="mode:" />
+ <h:selectOneRadio value="#{progressBar.mode}">
+ <f:selectItem itemValue="ajax" itemLabel="ajax"/>
+ <f:selectItem itemValue="client" itemLabel="client" />
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:selectOneRadio>
+
+ <h:outputText value="enabled" />
+ <h:selectBooleanCheckbox value="#{progressBar.enabled}">
+ <a4j:support event="onchange" reRender="progressBarID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="permanent:" />
+ <h:selectBooleanCheckbox value="#{progressBar.permanent}"
+ onchange="submit();" />
+
+ <h:outputText value="minValue:" />
+ <h:inputText value="#{progressBar.minValue}" onchange="submit();" />
+
+ <h:outputText value="maxValue:" />
+ <h:inputText value="#{progressBar.maxValue}" onchange="submit();" />
+
+ <h:outputText value="dualColoredLabel:" />
+ <h:selectBooleanCheckbox value="#{progressBar.dualColoredLabel}"
+ onchange="submit();" />
+
+ <h:outputText value="ignoreDupResponses" />
+ <h:selectBooleanCheckbox value="#{progressBar.ignoreDupResponses}"
+ onchange="submit();" />
+
+ <h:outputText value="rendered:" />
+ <h:selectBooleanCheckbox value="#{progressBar.rendered}"
+ onchange="submit();" />
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -15,31 +15,30 @@
limitToList="#{scrollableDT.limitToList}"
timeout="#{scrollableDT.timeout}"
selection="#{scrollableDT.selection}"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- onselectionchange="showEvent('onselectionchangeInputID', 'onselectionchange work!')">
+ onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" onRowClick="#{event.onRowClick}" onRowMouseDown="#{event.onRowMouseDown}" onRowMouseUp="#{event.onRowMouseUp}" onselectionchange="#{event.onselectionchange}">
<f:facet name="header">
<h:outputText value="facet header"></h:outputText>
</f:facet>
- <rich:column>
+ <rich:column sortExpression="#{sdt.int0}" sortable="true">
<f:facet name="header"><h:outputText value="#"/></f:facet>
<h:outputText value="#{sdt.int0}"></h:outputText>
<f:facet name="footer"><h:outputText value="#"/></f:facet>
</rich:column>
- <rich:column>
+ <rich:column sortExpression="#{sdt.str0}" sortable="false">
<f:facet name="header"><h:outputText value="Text"></h:outputText> </f:facet>
<h:outputText value="#{sdt.str0}"></h:outputText>
<f:facet name="footer"><h:outputText value="Text"></h:outputText> </f:facet>
</rich:column>
- <rich:column>
+ <rich:column sortExpression="#{sdt.str1}">
<f:facet name="header"><h:outputText value="Link"></h:outputText> </f:facet>
<a4j:commandLink value="#{sdt.str1}" reRender="sdt"></a4j:commandLink>
<f:facet name="footer"><h:outputText value="Link"></h:outputText> </f:facet>
</rich:column>
- <rich:column>
+ <rich:column sortExpression="#{sdt.str2}">
<f:facet name="header"><h:outputText value="Select"></h:outputText> </f:facet>
<h:selectOneMenu value="#{sdt.str2}">
<f:selectItem itemLabel="select0" itemValue="select0" />
@@ -51,7 +50,7 @@
<f:facet name="footer"><h:outputText value="Select"></h:outputText> </f:facet>
</rich:column>
- <rich:column>
+ <rich:column sortExpression="#{sdt.str3}">
<f:facet name="header"><h:outputText value="Select"></h:outputText> </f:facet>
<h:graphicImage value="#{sdt.str3}"></h:graphicImage>
<f:facet name="footer"><h:outputText value="Select"></h:outputText> </f:facet>
Modified: trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -7,11 +7,7 @@
<h:outputText value="Some text one..." styleClass="text"></h:outputText>
<rich:separator id="separatorId" rendered="#{separator.rendered}" width="#{separator.width}" height="#{separator.height}"
title="#{separator.title}" lineType="#{separator.lineType}" align="#{separator.align}" styleClass="#{separator.style}"
- onclick="showEvent('onclickInputID', 'onclick work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
- onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
- onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"></rich:separator>
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"></rich:separator>
<h:outputText value="Some text two..." styleClass="text"></h:outputText>
<rich:spacer height="20px"></rich:spacer>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -1,71 +1,70 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<f:subview id="simpleTogglePanelSubviewID">
- <rich:simpleTogglePanel id="sTP" bodyClass="body" headerClass="head" label="simpleTogglePanel with some text"
- width="#{simpleTogglePanel.width}" height="#{simpleTogglePanel.height}" switchType="#{simpleTogglePanel.switchType}"
- opened="false" onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
- <f:facet name="closeMarker">
- <h:outputText value="Close It" />
- </f:facet>
- <f:facet name="openMarker">
- <h:outputText value="Open It" />
- </f:facet>
- <f:verbatim>
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- </f:verbatim>
- </rich:simpleTogglePanel>
- <rich:simpleTogglePanel id="sTP1" headerClass="head" label="simpleTogglePanel wiht image" width="#{simpleTogglePanel.width}"
- height="#{simpleTogglePanel.height}" rendered="#{simpleTogglePanel.rendered}" switchType="#{simpleTogglePanel.switchType}"
- opened="false" onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
- <h:graphicImage value="/pics/podb109_61.jpg" width="500" height="300"></h:graphicImage>
- </rich:simpleTogglePanel>
+ <rich:simpleTogglePanel id="stpIncludeID" switchType="client">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close it"/>
+ </f:facet>
- <rich:simpleTogglePanel id="sTP2" label="Focus simpleTogglePanle" width="#{simpleTogglePanel.width}" ignoreDupResponses="true"
- focus="#{simpleTogglePanel.focus}" onclick="showEvent('onclickInputID', 'onclick work!')"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
- onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
- onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
- <f:facet name="closeMarker">
- <h:graphicImage value="/pics/ajax_stoped.gif"></h:graphicImage>
- </f:facet>
- <f:facet name="openMarker">
- <h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
- </f:facet>
- <rich:simpleTogglePanel id="INsTP">
- <h:panelGrid columns="2">
- <h:graphicImage value="/pics/podb109_61.jpg" width="250px" height="200px"></h:graphicImage>
- <f:verbatim>
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
- </f:verbatim>
- </h:panelGrid>
- </rich:simpleTogglePanel>
- </rich:simpleTogglePanel>
+ <f:facet name="openMarker">
+ <h:outputText value="Open it"/>
+ </f:facet>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+ <jsp:include flush="true" page="${richBean.pathComponentContainer}"/>
+ </rich:simpleTogglePanel>
+ <rich:simpleTogglePanel id="sTP" bodyClass="body" headerClass="head" label="simpleTogglePanel with some text"
+ width="#{simpleTogglePanel.width}" height="#{simpleTogglePanel.height}" switchType="#{simpleTogglePanel.switchType}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown} onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close It"/>
+ </f:facet>
+ <f:facet name="openMarker">
+ <h:outputText value="Open It"/>
+ </f:facet>
+ <f:verbatim>
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ </f:verbatim>
+ </rich:simpleTogglePanel>
- <rich:spacer height="20px"></rich:spacer>
+ <rich:simpleTogglePanel id="sTP1" headerClass="head" label="simpleTogglePanel wiht image" width="#{simpleTogglePanel.width}"
+ height="#{simpleTogglePanel.height}" rendered="#{simpleTogglePanel.rendered}" switchType="#{simpleTogglePanel.switchType}"
+ opened="false" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown} onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <h:graphicImage value="/pics/podb109_61.jpg" width="500" height="300"></h:graphicImage>
+ </rich:simpleTogglePanel>
+
+ <rich:simpleTogglePanel id="sTP2" label="Focus simpleTogglePanle" width="#{simpleTogglePanel.width}" ignoreDupResponses="true"
+ focus="#{simpleTogglePanel.focus}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown} onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
+ <f:facet name="closeMarker">
+ <h:graphicImage value="/pics/ajax_stoped.gif"></h:graphicImage>
+ </f:facet>
+ <f:facet name="openMarker">
+ <h:graphicImage value="/pics/ajax_process.gif"></h:graphicImage>
+ </f:facet>
+ <rich:simpleTogglePanel id="INsTP">
+ <h:panelGrid columns="2">
+ <h:graphicImage value="/pics/podb109_61.jpg" width="250px" height="200px"></h:graphicImage>
+ <f:verbatim>
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
+ </f:verbatim>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+ </rich:simpleTogglePanel>
+
+ <rich:spacer height="20px"></rich:spacer>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -16,7 +16,7 @@
cellspacing="#{sb.cellspacing}" first="#{sb.first}" minChars="#{sb.minchars}" tokens="#{sb.tokens}" bgcolor="#{sb.bgColor}"
focus="#{sb.forcus}" title="#{result.text}" summary="summary" shadowOpacity="#{sb.shadowOpacity}"
shadowDepth="#{sb.shadowDepth}" selectValueClass="mousemove" frequency="#{sb.frequency}" nothingLabel="nothingLabel work! "
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" onselect="showEvent('onselectInputID', 'onselect work!')">
+ oncomplete="#{event.oncomplete}" onselect="#{event.onselect}" onbeforedomupdate="#{event.onbeforedomupdate}" onsubmit="#{event.onsubmit}">
<h:column>
<h:outputText value="#{result.city}" />
</h:column>
Modified: trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -8,41 +8,21 @@
height="#{tabPanel.height}" rendered="#{tabPanel.rendered}" title="#{tabPanel.title}" switchType="#{tabPanel.switchType}"
headerSpacing="#{tabPanel.headerSpacing}" selectedTab="#{tabPanel.selectedTab}" activeTabClass="#{tabPanel.activeTabStyle}"
disabledTabClass="#{tabPanel.disabledTabStyle}" inactiveTabClass="#{tabPanel.inactiveTabStyle}"
- contentClass="#{tabPanel.contentStyle}" onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
+ contentClass="#{tabPanel.contentStyle}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
<rich:tab id="tabOne" labelWidth="#{tabPanel.labelWidth}" label="#{tabPanel.label}"
- onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
- ontabenter="showEvent('ontabenterInputID', 'ontabenter work!')" ontableave="showEvent('ontableaveInputID', 'ontableave work!')">
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
<h:outputText value="This is tab panel test example" styleClass="text1"></h:outputText>
</rich:tab>
<rich:tab id="tabTwo" label="Tab with image" disabled="#{tabPanel.disabledTab}"
- onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
- ontabenter="showEvent('ontabenterInputID', 'ontabenter work!')" ontableave="showEvent('ontableaveInputID', 'ontableave work!')">
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
<f:facet name="header">
<h:outputText value="client switchType from facet" />
</f:facet>
<h:graphicImage value="/pics/masshtaby_01.jpg" width="560" height="383"></h:graphicImage>
</rich:tab>
<rich:tab id="tabThree" label="Tab with some text" disabled="#{tabPanel.disabledTab}"
- onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
- ontabenter="showEvent('ontabenterInputID', 'ontabenter work!')" ontableave="showEvent('ontableaveInputID', 'ontableave work!')">
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ontabenter="#{event.ontabenter}" ontableave="#{event.ontableave}">
<h:outputText
value=" Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
Some text... Some text... Some text... Some text... Some text... Some text... Some text... Some text...
Modified: trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -6,12 +6,7 @@
<f:subview id="togglePanelSubviewID">
<rich:togglePanel id="panel1" switchType="#{togglePanel.switchType}" initialState="asus" stateOrder="asus,blank"
- style="width:300px!important;" onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
+ style="width:300px!important;" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
<f:facet name="blank">
<rich:panel>
<f:facet name="header">
@@ -58,13 +53,8 @@
<br />
</f:verbatim>
- <rich:togglePanel id="panel2" switchType="#{togglePanel.switchType}" initialState="#{togglePanel.initialState}"
- stateOrder="#{togglePanel.stateOrder}" onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
- onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
+ <rich:togglePanel id="panel2" switchType="#{togglePanel.switchType}" initialState="#{togglePanel.initialState}"
+ stateOrder="#{togglePanel.stateOrder}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
<f:facet name="asus">
<rich:panel>
<f:facet name="header">
Modified: trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -10,7 +10,7 @@
height="#{toolBar.height}" rendered="#{toolBar.rendered}"
itemSeparator="#{toolBar.itemSeparator}"
contentClass="#{toolBar.contentStyle}"
- separatorClass="#{toolBar.separatorStyle}"
+ separatorClass="#{toolBar.separatorStyle}"
contentStyle="contentStyle" style="style" styleClass="styleClass">
<h:outputText value="ToolBar" style="font-style: italic"></h:outputText>
Modified: trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -1,86 +1,69 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<f:subview id="tooltipSubviewID">
- <h:messages></h:messages>
+ <h:messages></h:messages>
- <h:outputText value="DEFAULT VALUE:"></h:outputText>
+ <h:outputText value="DEFAULT VALUE:"></h:outputText>
- <f:verbatim>
- <br />
- </f:verbatim>
+ <f:verbatim>
+ <br/>
+ </f:verbatim>
- <h:inputText value="Text" id="inp1" size="50">
- <rich:toolTip id="toolTipID" value="toolTip for input text" onclick="showEvent('onclickInputID', 'onclick work!')"
+ <h:inputText value="Text" id="inp1" size="50">
+ <rich:toolTip id="toolTipID" value="toolTip for input text" >
+ <f:facet name="defaultContent">
+ <f:verbatim>DEFAULT VALUE</f:verbatim>
+ </f:facet>
+ </rich:toolTip>
+ </h:inputText>
+ <h:panelGrid columns="2">
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doShow(event)" value="doShow"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doHide(event)" value="doHide"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doEnable" value="doEnable"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doDisable" value="doDisable"></a4j:commandLink>
+ </h:panelGrid>
+ <h:selectOneListbox value="1" id="ddl">
+ <rich:toolTip value="1231231">
+ <f:facet name="defaultContent">
+ <f:verbatim>DEFAULT VALUE DropDown</f:verbatim>
+ </f:facet>
+ </rich:toolTip>
+ </h:selectOneListbox>
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
- onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
- onshow="showEvent('onshowInputID', 'onshow work!')">
- <f:facet name="defaultContent">
- <f:verbatim>DEFAULT VALUE</f:verbatim>
- </f:facet>
- </rich:toolTip>
- </h:inputText>
- <h:panelGrid columns="2">
- <h:outputText value="JavaScript API"></h:outputText>
- <h:column></h:column>
- <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doShow(event)" value="doShow"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doHide(event)" value="doHide"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doEnable" value="doEnable"></a4j:commandLink>
- <a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipID').component.doDisable" value="doDisable"></a4j:commandLink>
- </h:panelGrid>
- <h:selectOneListbox value="1" id="ddl">
- <rich:toolTip value="1231231" onclick="showEvent('onclickInputID', 'onclick work!')"
- oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
- onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
- onshow="showEvent('onshowInputID', 'onshow work!')">
- <f:facet name="defaultContent">
- <f:verbatim>DEFAULT VALUE DropDown</f:verbatim>
- </f:facet>
- </rich:toolTip>
- </h:selectOneListbox>
+ <f:verbatim>
+ <br/>
+ <br/>
+ </f:verbatim>
- <f:verbatim>
- <br />
- <br />
- </f:verbatim>
+ <h:outputText value=" Test tooltip:"></h:outputText>
+ <f:verbatim>
+ <br/>
+ </f:verbatim>
- <h:outputText value=" Test tooltip:"></h:outputText>
- <f:verbatim>
- <br />
- </f:verbatim>
+ <rich:panel style="width:50px; height:50px; background-color: gray">
+ <rich:toolTip id="tooltipID" value="#{tooltip.value}" mode="#{tooltip.mode}" event="#{tooltip.event}"
+ hideDelay="#{tooltip.hideDelay}" showDelay="#{tooltip.showDelay}" layout="#{tooltip.layout}"
+ horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}" followMouse="#{tooltip.followMouse}"
+ direction="#{tooltip.direction}" style="#{tooltip.style}" disabled="#{tooltip.disabled}" rendered="#{tooltip.rendered}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onhide="#{event.onhide}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onshow="#{event.onshow}">
+ <h:graphicImage id="pricsID" value="/pics/ajax_process.gif"></h:graphicImage>
+ </rich:toolTip>
+ </rich:panel>
- <rich:panel style="width:50px; height:50px; background-color: gray">
- <rich:toolTip id="tooltipID" value="#{tooltip.value}" mode="#{tooltip.mode}" event="#{tooltip.event}"
- hideDelay="#{tooltip.hideDelay}" showDelay="#{tooltip.showDelay}" layout="#{tooltip.layout}"
- horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}" followMouse="#{tooltip.followMouse}"
- direction="#{tooltip.direction}" style="#{tooltip.style}" disabled="#{tooltip.disabled}" rendered="#{tooltip.rendered}"
- onclick="showEvent('onclickInputID', 'onclick work!')" oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onhide="showEvent('onhideInputID', 'onhide work!')"
- onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
- onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')"
- onshow="showEvent('onshowInputID', 'onshow work!')">
- <h:graphicImage id="pricsID" value="/pics/ajax_process.gif"></h:graphicImage>
- </rich:toolTip>
- </rich:panel>
-
- <f:verbatim>
- <br />
- </f:verbatim>
-
+ <f:verbatim>
+ <br/>
+ </f:verbatim>
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}"/>
+ </h:selectOneMenu>
+ <rich:panel style="width:50px; height:50px; background-color: gray">
+ <rich:toolTip id="includeToolTIpID" hideDelay="5000" showDelay="0" value="test include">
+ <jsp:include flush="true" page="${richBean.pathComponentContainer}"/>
+ </rich:toolTip>
+ </rich:panel>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -15,14 +15,7 @@
ajaxSubmitSelection="true" reRender="outputText, selectOneListbox" preserveModel="none" dragIndicator="treeIndicator"
immediate="false" acceptedTypes="file1" dragType="#{bean.dragOn ? 'file1' : ''}" iconCollapsed="#{bean.iconCollapsed}"
iconExpanded="#{bean.iconExpanded}" iconLeaf="#{bean.iconLeaf}" icon="#{bean.icon}" dropListener="#{bean.processDrop}"
- onclick="showEvent('onclickInputID', 'onclick work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
- ondragend="showEvent('ondragendInputID', 'ondragend work!')" ondragenter="showEvent('ondragenterInputID', 'ondragenter work!')"
- ondragexit="showEvent('ondragexitInputID', 'ondragexit work!')" ondragstart="showEvent('ondragstartInputID', 'ondragstart work!')"
- ondrop="showEvent('ondropInputID', 'ondrop work!')" ondropend="showEvent('ondropendInputID', 'ondropend work!')"
- onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')" onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')"
- onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')" onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')" onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')">
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}">
<f:facet name="icon">
<h:outputText value="icon" rendered="#{bean.renderFacets}" />
@@ -42,7 +35,8 @@
<rich:treeNode type="input" dropListener="#{bean.processDrop}"
oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')"
- onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')">
+ onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')"
+ onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" oncontextmenu="#{event.oncontextmenu}" ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselected="#{event.onselected}">
<h:outputText value="#{data} : " />
<h:inputText value="#{data.name}" required="true" styleClass="inputs">
</h:inputText>
Modified: trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -7,13 +7,8 @@
<h:panelGrid columns="2">
<rich:virtualEarth id="vEarthID" lng="#{virtualEarth.lng}" onLoadMap="alert('LoadMap')" rendered="#{virtualEarth.rendered}" version="#{virtualEarth.version}" lat="#{virtualEarth.lat}" zoom="#{virtualEarth.zoom}"
- dashboardSize="#{virtualEarth.dashboardSize}" mapStyle="#{virtualEarth.mapStyle}" var="map" onclick="showEvent('onclickInputID', 'onclick work!')"
- ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
- onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
- onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')"
- onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
- onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')"
- onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')" />
+ dashboardSize="#{virtualEarth.dashboardSize}" mapStyle="#{virtualEarth.mapStyle}" var="map"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"/>
</h:panelGrid>
Added: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Event.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Event.xml (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Event.xml 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE faces-config PUBLIC
+ "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+<faces-config>
+ <managed-bean>
+ <managed-bean-name>event</managed-bean-name>
+ <managed-bean-class>util.event.Event</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+</faces-config>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-PTComponent.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-PTComponent.xml (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-PTComponent.xml 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+<faces-config>
+ <managed-bean>
+ <managed-bean-name>pTComponent</managed-bean-name>
+ <managed-bean-class>util.ptComponent.PTComponent</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+</faces-config>
Added: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-ProgressBar.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-ProgressBar.xml (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-ProgressBar.xml 2008-02-14 15:21:59 UTC (rev 6081)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+<managed-bean>
+ <managed-bean-name>progressBar</managed-bean-name>
+ <managed-bean-class>progressBar.ProgressBar</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+</managed-bean>
+</faces-config>
+
+
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml 2008-02-14 15:21:59 UTC (rev 6081)
@@ -145,7 +145,7 @@
<default-locale>en</default-locale>
</locale-config>
</application>
- <lifecycle>
+ <lifecycle>
<phase-listener id="phaseTracker">util.phaseTracker.PhaseTracker</phase-listener>
</lifecycle>
</faces-config>
Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2008-02-14 15:21:59 UTC (rev 6081)
@@ -1,6 +1,6 @@
-<?xml version="1.0"?>
-<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>vcp-ComponentsTesting_3_0(1.1)</display-name>
<context-param>
<param-name>org.ajax4jsf.SKIN</param-name>
@@ -12,21 +12,7 @@
</context-param>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
- <param-value>/WEB-INF/faces-config-DataTable.xml,/WEB-INF/faces-config-SimpleTogglePanel.xml,
- /WEB-INF/faces-config-Panel.xml,/WEB-INF/faces-config-PanelBar.xml,/WEB-INF/faces-config-TabPanel.xml,
- /WEB-INF/faces-config-TogglePanel.xml,/WEB-INF/faces-config-Paint2D.xml,/WEB-INF/faces-config-InputNumberSlider.xml,
- /WEB-INF/faces-config-InputNumberSpinner.xml,/WEB-INF/faces-config-DDMenu.xml,/WEB-INF/faces-config-Tree.xml,
- /WEB-INF/faces-config-PanelMenu.xml,/WEB-INF/faces-config-Icon.xml,/WEB-INF/faces-config-ModalPanel.xml,
- /WEB-INF/faces-config-tooltip.xml,/WEB-INF/faces-config-Skin.xml,/WEB-INF/faces-config-Calendar.xml,
- /WEB-INF/faces-config-Gmap.xml,/WEB-INF/faces-config-DataFilterSlider.xml,/WEB-INF/faces-config-Separator.xml,
- /WEB-INF/faces-config-Spacer.xml,/WEB-INF/faces-config-ToolBar.xml,/WEB-INF/faces-config-DataScroller.xml,
- /WEB-INF/faces-config-SuggestionBox.xml,/WEB-INF/faces-config-Message.xml,
- /WEB-INF/faces-config-VirtualEarth.xml,/WEB-INF/faces-config-Effect.xml,/WEB-INF/faces-config-Insert.xml,
- /WEB-INF/faces-config-RichBean.xml,/WEB-INF/faces-config-ScrollableDataTable.xml,
- /WEB-INF/faces-config-jQuery.xml,/WEB-INF/faces-config-DragAndDrop.xml,
- /WEB-INF/faces-config-OrderingList.xml,/WEB-INF/faces-config-DataOrderedList.xml,/WEB-INF/faces-config-DataDefinitionList.xml,
- /WEB-INF/faces-config-ContextMenu.xml,/WEB-INF/faces-config-ListShuttle.xml,/WEB-INF/faces-config-Converter.xml,
- /WEB-INF/faces-config-ComponentControl.xml,/WEB-INF/faces-config-Columns.xml,/WEB-INF/faces-config-PickList.xml,/WEB-INF/faces-config-Combobox.xml</param-value>
+ <param-value>/WEB-INF/faces-config-DataTable.xml,/WEB-INF/faces-config-SimpleTogglePanel.xml,/WEB-INF/faces-config-Panel.xml,/WEB-INF/faces-config-PanelBar.xml,/WEB-INF/faces-config-TabPanel.xml,/WEB-INF/faces-config-TogglePanel.xml,/WEB-INF/faces-config-Paint2D.xml,/WEB-INF/faces-config-InputNumberSlider.xml,/WEB-INF/faces-config-InputNumberSpinner.xml,/WEB-INF/faces-config-DDMenu.xml,/WEB-INF/faces-config-Tree.xml,/WEB-INF/faces-config-PanelMenu.xml,/WEB-INF/faces-config-Icon.xml,/WEB-INF/faces-config-ModalPanel.xml,/WEB-INF/faces-config-tooltip.xml,/WEB-INF/faces-config-Skin.xml,/WEB-INF/faces-config-Calendar.xml,/WEB-INF/faces-config-Gmap.xml,/WEB-INF/faces-config-DataFilterSlider.xml,/WEB-INF/faces-config-Separator.xml,/WEB-INF/faces-config-Spacer.xml,/WEB-INF/faces-config-ToolBar.xml,/WEB-INF/faces-config-DataScroller.xml,/WEB-INF/faces-config-SuggestionBox.xml,/WEB-INF/faces-config-Message.xml,/WEB-INF/faces-config-VirtualEarth.xml,/WEB-INF/faces-config-Effect.xml,!
/WEB-INF/faces-config-Insert.xml,/WEB-INF/faces-config-RichBean.xml,/WEB-INF/faces-config-ScrollableDataTable.xml,/WEB-INF/faces-config-jQuery.xml,/WEB-INF/faces-config-DragAndDrop.xml,/WEB-INF/faces-config-OrderingList.xml,/WEB-INF/faces-config-DataOrderedList.xml,/WEB-INF/faces-config-DataDefinitionList.xml,/WEB-INF/faces-config-ContextMenu.xml,/WEB-INF/faces-config-ListShuttle.xml,/WEB-INF/faces-config-Converter.xml,/WEB-INF/faces-config-ComponentControl.xml,/WEB-INF/faces-config-Columns.xml,/WEB-INF/faces-config-PickList.xml,/WEB-INF/faces-config-Combobox.xml,/WEB-INF/faces-config-PTComponent.xml,/WEB-INF/faces-config-Event.xml,/WEB-INF/faces-config-ProgressBar.xml</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
Modified: trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -4,136 +4,88 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="EventInfoSubview">
- <f:verbatim><div style="position: relative">
- <input id="ontabenterInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ontableaveInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onLoadMapInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onselectionchangeInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ondownclickInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onupclickInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="oninitInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ongroupactivateInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onitemselectInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onsubmitInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onRowClickInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onRowDblClickInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onRowMouseDownInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onRowMouseMoveInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onRowMouseOutInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onRowMouseOverInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onRowMouseUpInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onselectInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onchangeInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onfocusInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onblurInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onclickInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="oncollapseInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="oncompleteInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ondblclickInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ondragendInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ondragenterInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ondragexitInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ondragstartInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ondropInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="ondropendInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onexpandInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onkeydownInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onkeypressInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onkeyupInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onmousedownInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onmousemoveInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onmouseoutInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onmouseoverInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onmouseupInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onselectedInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onhideInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onmouseupInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
- <f:verbatim><div style="position: relative">
- <input id="onshowInputID" type="hidden" value="don't work!" size="42" />
- </div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmouseupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ontabenterInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ontableaveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onLoadMapInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onselectionchangeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondownclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onupclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninitInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ongroupactivateInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onitemselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onsubmitInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onRowClickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onRowDblClickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onRowMouseDownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onRowMouseMoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onRowMouseOutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onRowMouseOverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onRowMouseUpInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onchangeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onfocusInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onblurInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oncollapseInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oncompleteInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondblclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondragendInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondragenterInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondragexitInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondragstartInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondropInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondropendInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onexpandInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onkeydownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onkeypressInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onkeyupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmousedownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmousemoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmouseoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmouseoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onselectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onhideInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onshowInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onlistcallInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onitemselectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputblurInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputchangeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputfocusInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputkeydownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputkeypressInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputkeyupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oninputselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondateselectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondateselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ontimeselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ontimeselectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onchangedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondatemouseoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondatemouseoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oncurrentdateselectInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onbeforedomupdateInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onslideInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondropoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ondropoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onerrorInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ontopclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onbottomclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onorderchangedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onheaderclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmaskclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onresizeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmaskmouseoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmaskmouseoutInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmaskmousemoveInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmaskmouseupInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmaskmousedownInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmaskdblclickInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onmaskcontextmenuInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onitemchangeInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onitemhoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="ongroupexpandInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="oncontextmenuInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -1,66 +1,66 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<html>
<f:view>
- <head>
- <f:loadBundle basename="message" var="msg" />
- <title></title>
+ <head>
+ <f:loadBundle basename="message" var="msg"/>
+ <title></title>
- <script type="text/javascript">
- function showEvent(elementID, value) {
- var oldObject = window.document.getElementById(elementID);
- if(oldObject == null || oldObject.type == "text") return;
- var newObject = window.document.createElement('input');
- if(oldObject.type) newObject.type = "text";
- if(oldObject.size) newObject.size = oldObject.size;
- if(oldObject.value) newObject.value = value;
- if(oldObject.id) newObject.id = oldObject.id;
- oldObject.parentNode.replaceChild(newObject,oldObject);
- }
- </script>
- <link rel="stylesheet"
- href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
- </head>
- <body>
- <div id="divOpthID" align="right" style="z-index: 200"><jsp:include
- page="/pages/RichMenu/RichMenu.jsp" /></div>
- <h:form id="formID">
- <h:panelGrid id="richGridID" columns="1">
- <h:column rendered="#{richBean.reComponent}">
- <jsp:include page="${richBean.pathComponent}" />
- </h:column>
- <h:column rendered="#{!richBean.reComponent}"></h:column>
+ <script type="text/javascript">
+ function showEvent(elementID, value) {
+ var oldObject = window.document.getElementById(elementID);
+ if (oldObject == null || oldObject.type == "text") return;
+ var newObject = window.document.createElement('input');
+ if (oldObject.type) newObject.type = "text";
+ if (oldObject.size) newObject.size = oldObject.size;
+ if (oldObject.value) newObject.value = value;
+ if (oldObject.id) newObject.id = oldObject.id;
+ oldObject.parentNode.replaceChild(newObject, oldObject);
+ }
+ </script>
+ <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css"/>
+ </head>
+ <body>
+ <h:form id="formID">
+ <div id="divOpthID" align="right" style="z-index: 200">
+ <jsp:include page="/pages/RichMenu/RichMenu.jsp"/>
+ </div>
+ <h:messages showDetail="true" showSummary="true"></h:messages>
+ <h:panelGrid id="richGridID" columns="1" width="100%">
+ <h:column rendered="#{richBean.reComponent}">
+ <jsp:include page="${richBean.pathComponent}"/>
+ </h:column>
+
+ <h:column rendered="#{!richBean.reComponent}"></h:column>
- <h:column rendered="#{richBean.reStraightforward}">
- <jsp:include page="${richBean.pathStraightforward}" />
- </h:column>
- <h:column rendered="#{!richBean.reStraightforward}"></h:column>
+ <h:column rendered="#{richBean.reStraightforward}">
+ <jsp:include page="${richBean.pathStraightforward}"/>
+ </h:column>
+ <h:column rendered="#{!richBean.reStraightforward}"></h:column>
- <h:column rendered="#{richBean.reProperty}">
- <jsp:include page="${richBean.pathProperty}" />
- </h:column>
- <h:column rendered="#{!richBean.reProperty}"></h:column>
- </h:panelGrid>
- </h:form>
- <rich:modalPanel id="eventInfoID" autosized="true" minHeight="550"
- minWidth="200" moveable="true" style="overflow: true;">
- <f:facet name="header">
- <h:outputText value="Events ..." />
- </f:facet>
- <f:facet name="controls">
- <h:graphicImage value="/pics/error.gif"
- onclick="Richfaces.hideModalPanel('eventInfoID');" />
- </f:facet>
+ <h:column rendered="#{richBean.reProperty}">
+ <jsp:include page="${richBean.pathProperty}"/>
+ </h:column>
+ <h:column rendered="#{!richBean.reProperty}"></h:column>
+ </h:panelGrid>
- <jsp:include page="/pages/Action/EventInfo.jsp" />
+ <rich:modalPanel id="eventInfoID" autosized="true" minHeight="550" minWidth="200" moveable="true" style="overflow: true;">
+ <f:facet name="header">
+ <h:outputText value="Events ..."/>
+ </f:facet>
+ <f:facet name="controls">
+ <h:graphicImage value="/pics/error.gif" onclick="Richfaces.hideModalPanel('eventInfoID');"/>
+ </f:facet>
- </rich:modalPanel>
- <a4j:commandButton value="Show event"
- onclick="Richfaces.showModalPanel('eventInfoID');return false;"></a4j:commandButton>
- </body>
+ <jsp:include page="/pages/Action/EventInfo.jsp"/>
+
+ </rich:modalPanel>
+ <a4j:commandButton value="Show event" onclick="Richfaces.showModalPanel('eventInfoID');return false;"></a4j:commandButton>
+ </h:form>
+ </body>
</f:view>
</html>
Modified: trunk/test-applications/jsp/src/main/webapp/pages/RichMenu/RichMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/RichMenu/RichMenu.jsp 2008-02-14 15:15:32 UTC (rev 6080)
+++ trunk/test-applications/jsp/src/main/webapp/pages/RichMenu/RichMenu.jsp 2008-02-14 15:21:59 UTC (rev 6081)
@@ -3,7 +3,7 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
-<h:form id="forvDivOpthID">
+<f:subview id="richMenuSubviewID">
<h:panelGrid columns="5" border="1">
<h:panelGrid columns="1">
<h:commandButton value="submit" style="width : 85px; height : 21px;"></h:commandButton>
@@ -13,18 +13,16 @@
<a4j:status startText="WORK!" startStyle="color: red;" stopText="a4j:status"></a4j:status>
</h:panelGrid>
<h:panelGrid columns="1">
- <h:panelGroup>
- <h:outputText value="#{richBean.reComponent ? 'Component hide' : 'Component show'}" />
+ <h:panelGrid columns="2">
+ <h:outputText value="Component" />
<h:selectBooleanCheckbox value="#{richBean.reComponent}" onchange="submit();" />
- </h:panelGroup>
- <h:panelGroup>
- <h:outputText value="#{richBean.reStraightforward ? 'Straightforward hide' : 'Straightforward show'}" />
+
+ <h:outputText value="Straightforward" />
<h:selectBooleanCheckbox value="#{richBean.reStraightforward}" onchange="submit();" />
- </h:panelGroup>
- <h:panelGroup>
- <h:outputText value="#{richBean.reProperty ? 'Property hide' : 'Property show'}" />
+
+ <h:outputText value="Property" />
<h:selectBooleanCheckbox value="#{richBean.reProperty}" onchange="submit();" />
- </h:panelGroup>
+ </h:panelGrid>
</h:panelGrid>
<h:panelGrid columns="1">
@@ -42,4 +40,4 @@
</h:panelGrid>
</h:panelGrid>
<h:commandLink value="Back" action="main"></h:commandLink>
-</h:form>
+</f:subview>
18 years, 2 months
JBoss Rich Faces SVN: r6080 - in trunk/sandbox/samples/inplaceInput-sample/src/main: webapp/WEB-INF and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-14 10:15:32 -0500 (Thu, 14 Feb 2008)
New Revision: 6080
Modified:
trunk/sandbox/samples/inplaceInput-sample/src/main/java/org/richfaces/samples/Bean.java
trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/WEB-INF/faces-config.xml
trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp
trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml
Log:
extended demo app.
Modified: trunk/sandbox/samples/inplaceInput-sample/src/main/java/org/richfaces/samples/Bean.java
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/java/org/richfaces/samples/Bean.java 2008-02-14 15:14:51 UTC (rev 6079)
+++ trunk/sandbox/samples/inplaceInput-sample/src/main/java/org/richfaces/samples/Bean.java 2008-02-14 15:15:32 UTC (rev 6080)
@@ -1,39 +1,204 @@
-/**
- * License Agreement.
- *
- * Ajax4jsf 1.1 - 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.samples;
-
-/**
- * @author Vladimir Molotkov
- *
- */
public class Bean {
- public String value = "AAAAAAS";
- public String getValue() {
- return value;
- }
+ private boolean showControls;
+
+ private boolean applyFromControlsOnly;
+
+ private boolean selectOnEdit;
+
+ private String defaultLabel = "Click...";
+
+ private String controlsPosition="right";
+
+ private Integer inputMaxLength = 255;
+
+ private String width;
+
+ private String minInputWidth = "70px";
+
+ private String maxInputWidth = "150px" ;
+
+ private String controlsHorizontalAlign="left";
+
+ private String value = "New York";
+
+ private String editEvent = "click";
+
+ private String oneditactivation;
+
+ private String onviewactivation;
+
+ private String oneditactivated;
+
+ private String onviewactivated;
+
+ private String saveControlIcon;
+
+ private String cancelControlIcon;
+
+ private String onchangeScript;
+
+ private int tabindex;
- public void setValue(String value) {
- this.value = value;
- }
-}
\ No newline at end of file
+ public String getDefaultLabel() {
+ return defaultLabel;
+ }
+
+ public void setDefaultLabel(String defaultLabel) {
+ this.defaultLabel = defaultLabel;
+ }
+
+ public String getWidth() {
+ return width;
+ }
+
+ public void setWidth(String width) {
+ this.width = width;
+ }
+
+ public String getMinInputWidth() {
+ return minInputWidth;
+ }
+
+ public void setMinInputWidth(String minInputWidth) {
+ this.minInputWidth = minInputWidth;
+ }
+
+ public String getMaxInputWidth() {
+ return maxInputWidth;
+ }
+
+ public void setMaxInputWidth(String maxInputWidth) {
+ this.maxInputWidth = maxInputWidth;
+ }
+
+ public String getControlsHorizontalAlign() {
+ return controlsHorizontalAlign;
+ }
+
+ public void setControlsHorizontalAlign(String controlsHorizontalAlign) {
+ this.controlsHorizontalAlign = controlsHorizontalAlign;
+ }
+
+ public String getEditEvent() {
+ return editEvent;
+ }
+
+ public void setEditEvent(String editEvent) {
+ this.editEvent = editEvent;
+ }
+
+ public boolean isShowControls() {
+ return showControls;
+ }
+
+ public void setShowControls(boolean showControls) {
+ this.showControls = showControls;
+ }
+
+ public String getSaveControlIcon() {
+ return saveControlIcon;
+ }
+
+ public void setSaveControlIcon(String saveControlIcon) {
+ this.saveControlIcon = saveControlIcon;
+ }
+
+ public String getCancelControlIcon() {
+ return cancelControlIcon;
+ }
+
+ public void setCancelControlIcon(String cancelControlIcon) {
+ this.cancelControlIcon = cancelControlIcon;
+ }
+
+ public boolean getSelectOnEdit() {
+ return selectOnEdit;
+ }
+
+ public void setSelectOnEdit(boolean selectOnEdit) {
+ this.selectOnEdit = selectOnEdit;
+ }
+
+ public int getTabindex() {
+ return tabindex;
+ }
+
+ public void setTabindex(int tabindex) {
+ this.tabindex = tabindex;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public boolean isApplyFromControlsOnly() {
+ return applyFromControlsOnly;
+ }
+
+ public void setApplyFromControlsOnly(boolean applyFromControlsOnly) {
+ this.applyFromControlsOnly = applyFromControlsOnly;
+ }
+
+ public String getOneditactivation() {
+ return oneditactivation;
+ }
+
+ public void setOneditactivation(String oneditactivation) {
+ this.oneditactivation = oneditactivation;
+ }
+
+ public String getOnviewactivation() {
+ return onviewactivation;
+ }
+
+ public void setOnviewactivation(String onviewactivation) {
+ this.onviewactivation = onviewactivation;
+ }
+
+ public String getOneditactivated() {
+ return oneditactivated;
+ }
+
+ public void setOneditactivated(String oneditactivated) {
+ this.oneditactivated = oneditactivated;
+ }
+
+ public String getOnviewactivated() {
+ return onviewactivated;
+ }
+
+ public void setOnviewactivated(String onviewactivated) {
+ this.onviewactivated = onviewactivated;
+ }
+
+ public String getControlsPosition() {
+ return controlsPosition;
+ }
+
+ public void setControlsPosition(String controlsPosition) {
+ this.controlsPosition = controlsPosition;
+ }
+
+ public String getOnchangeScript() {
+ return onchangeScript;
+ }
+
+ public void setOnchangeScript(String onchangeScript) {
+ this.onchangeScript = onchangeScript;
+ }
+
+ public Integer getInputMaxLength() {
+ return inputMaxLength;
+ }
+
+ public void setInputMaxLength(Integer inputMaxLength) {
+ this.inputMaxLength = inputMaxLength;
+ }
+}
Modified: trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/WEB-INF/faces-config.xml 2008-02-14 15:14:51 UTC (rev 6079)
+++ trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/WEB-INF/faces-config.xml 2008-02-14 15:15:32 UTC (rev 6080)
@@ -23,4 +23,10 @@
<managed-bean-class>org.richfaces.SkinBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>bean</managed-bean-name>
+ <managed-bean-class>org.richfaces.samples.Bean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+
</faces-config>
Modified: trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp 2008-02-14 15:14:51 UTC (rev 6079)
+++ trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.jsp 2008-02-14 15:15:32 UTC (rev 6080)
@@ -16,16 +16,82 @@
</h:form>
<h:form>
-
- <ii:inplaceInput value="Perec"
- oneditactivation="alert('oneditactivation')"
- onviewactivation="alert('onviewactivation')"
- oneditactivated="alert('oneditactivated')"
- onviewactivated="alert('onviewactivated')"
- />
- <br/>
+ <h:panelGrid columns="2">
+
+ <h:outputText value="showControls (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.showControls}"/>
+
+ <h:outputText value="applyFromControlsOnly (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.applyFromControlsOnly}" />
+
+ <h:outputText value="selectOnEdit (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.selectOnEdit}" />
+
+ <h:outputText value="defaultLabel is: " />
+ <h:inputText value="#{bean.defaultLabel}" />
+
+ <h:outputText value="width (in 'px'): "/>
+ <h:inputText value="#{bean.width}" />
+
+ <h:outputText value="minInputWidth (in 'px'): " />
+ <h:inputText value="#{bean.minInputWidth}" />
+
+ <h:outputText value="maxInputWidth (in 'px'): " />
+ <h:inputText value="#{bean.maxInputWidth}" />
+
+ <h:outputText value="controlsPosition (default: right) is: " />
+ <h:inputText value="#{bean.controlsPosition}" />
+
+ <h:outputText value="controlsHorizontalAlign (default: left) is: " />
+ <h:inputText value="#{bean.onchangeScript}" />
+
+ <h:outputText value="tabindex: " />
+ <h:inputText value="#{bean.tabindex}" />
+
+ <h:outputText value="edit event script: " />
+ <h:inputText value="#{bean.editEvent}" />
+
+ <h:outputText value="oneditactivation event script:" />
+ <h:inputText value="#{bean.oneditactivation}" />
+
+ <h:outputText value="onviewactivation event script:" />
+ <h:inputText value="#{bean.onviewactivation}" />
+
+ <h:outputText value="oneditactivated event script:" />
+ <h:inputText value="#{bean.oneditactivated}" />
+
+ <h:outputText value="onviewactivated event script:" />
+ <h:inputText value="#{bean.onviewactivated}" />
+ </h:panelGrid>
+
+
+ <div style="width: 300px">
+ Fresh off his victory in the Florida primary, Sen. John McCain is poised to take another big prize. Former
+ <ii:inplaceInput
+ id="inplace"
+ value="#{bean.value}"
+ selectOnEdit="#{bean.selectOnEdit}"
+ showControls="#{bean.showControls}"
+ applyFromControlsOnly="#{bean.applyFromControlsOnly}"
+ defaultLabel="#{bean.defaultLabel}"
+ width="#{bean.width}"
+ minInputWidth="#{bean.minInputWidth}"
+ maxInputWidth="#{bean.maxInputWidth}"
+ controlsPosition="#{bean.controlsPosition}"
+ controlsHorizontalAlign="#{bean.controlsHorizontalAlign}"
+ editEvent="#{bean.editEvent}"
+ oneditactivation="#{bean.oneditactivation}"
+ onviewactivation="#{bean.onviewactivation}"
+ oneditactivated="#{bean.oneditactivated}"
+ onviewactivated="#{bean.onviewactivated}"
+ saveControlIcon="#{bean.saveControlIcon}"
+ cancelControlIcon="#{bean.cancelControlIcon}"
+ tabindex="#{bean.tabindex}"
+ >
+ </ii:inplaceInput>
+ Mayor Rudy Giuliani plans to drop out and endorse McCain, two GOP sources said. That would give McCain added momentum heading into a debate Wednesday and next week's Super Tuesday contests
+ </div>
<h:commandButton action="none" value="submit"></h:commandButton>
- <br>
</h:form>
</f:view>
</body>
Modified: trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml 2008-02-14 15:14:51 UTC (rev 6079)
+++ trunk/sandbox/samples/inplaceInput-sample/src/main/webapp/pages/index.xhtml 2008-02-14 15:15:32 UTC (rev 6080)
@@ -19,22 +19,85 @@
</h:form>
<h:form>
- <br/>
- <ii:inplaceInput id="component"
- value="#{bean.value}"
- selectOnEdit="true"
- defaultLabel="Click..."
- inputMaxWidth ="200px"
- inputMinWidth ="100px"
- showControls="true"
- controlsPosition="right"
+ <h:panelGrid columns="2">
+
+ <h:outputText value="showControls (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.showControls}"/>
+
+ <h:outputText value="applyFromControlsOnly (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.applyFromControlsOnly}" />
+
+ <h:outputText value="selectOnEdit (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.selectOnEdit}" />
+
+ <h:outputText value="defaultLabel is: " />
+ <h:inputText value="#{bean.defaultLabel}" />
+
+ <h:outputText value="width (in 'px'): "/>
+ <h:inputText value="#{bean.width}" />
+
+ <h:outputText value="minInputWidth (in 'px'): " />
+ <h:inputText value="#{bean.minInputWidth}" />
+
+ <h:outputText value="maxInputWidth (in 'px'): " />
+ <h:inputText value="#{bean.maxInputWidth}" />
+
+ <h:outputText value="inputMaxLength: " />
+ <h:inputText value="#{bean.inputMaxLength}" />
+
+ <h:outputText value="controlsPosition (default: right) is: " />
+ <h:inputText value="#{bean.controlsPosition}" />
+
+ <h:outputText value="controlsHorizontalAlign (default: left) is: " />
+ <h:inputText value="#{bean.onchangeScript}" />
+
+ <h:outputText value="tabindex: " />
+ <h:inputText value="#{bean.tabindex}" />
+
+ <h:outputText value="edit event script: " />
+ <h:inputText value="#{bean.editEvent}" />
+
+ <h:outputText value="oneditactivation event script:" />
+ <h:inputText value="#{bean.oneditactivation}" />
+
+ <h:outputText value="onviewactivation event script:" />
+ <h:inputText value="#{bean.onviewactivation}" />
+
+ <h:outputText value="oneditactivated event script:" />
+ <h:inputText value="#{bean.oneditactivated}" />
+
+ <h:outputText value="onviewactivated event script:" />
+ <h:inputText value="#{bean.onviewactivated}" />
+ </h:panelGrid>
+
+
+ <div style="width: 300px">
+ Fresh off his victory in the Florida primary, Sen. John McCain is poised to take another big prize. Former
+ <ii:inplaceInput
+ id="inplace"
+ value="#{bean.value}"
+ selectOnEdit="#{bean.selectOnEdit}"
+ showControls="#{bean.showControls}"
+ applyFromControlsOnly="#{bean.applyFromControlsOnly}"
+ defaultLabel="#{bean.defaultLabel}"
+ width="#{bean.width}"
+ minInputWidth="#{bean.minInputWidth}"
+ maxInputWidth="#{bean.maxInputWidth}"
+ inputMaxLength="#{bean.inputMaxLength}"
+ controlsPosition="#{bean.controlsPosition}"
+ controlsHorizontalAlign="#{bean.controlsHorizontalAlign}"
+ editEvent="#{bean.editEvent}"
+ oneditactivation="#{bean.oneditactivation}"
+ onviewactivation="#{bean.onviewactivation}"
+ oneditactivated="#{bean.oneditactivated}"
+ onviewactivated="#{bean.onviewactivated}"
+ saveControlIcon="#{bean.saveControlIcon}"
+ cancelControlIcon="#{bean.cancelControlIcon}"
+ tabindex="#{bean.tabindex}"
>
- <f:facet name="controls">
- <input type="button" name="test" value="ok" onclick="document.getElementById('j_id7:component').component.okHandler(event);"/>
- <input type="button" name="test1" value="Cancel" onclick="document.getElementById('j_id7:component').component.cancelHandler(event);"/>
- </f:facet>
</ii:inplaceInput>
- <br/>
+ Mayor Rudy Giuliani plans to drop out and endorse McCain, two GOP sources said. That would give McCain added momentum heading into a debate Wednesday and next week's Super Tuesday contests
+ </div>
<h:commandButton action="none" value="submit"></h:commandButton>
</h:form>
</f:view>
18 years, 2 months
JBoss Rich Faces SVN: r6079 - in trunk/sandbox/ui/inplaceInput/src/main: resources/org/richfaces/renderkit/html/scripts and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-14 10:14:51 -0500 (Thu, 14 Feb 2008)
New Revision: 6079
Modified:
trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml
trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
add attribute 'controlsHorizontalAlign', fix line 50 in js
Modified: trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-02-14 15:06:52 UTC (rev 6078)
+++ trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-02-14 15:14:51 UTC (rev 6079)
@@ -80,6 +80,12 @@
</property>
<property>
+ <name>controlsHorizontalAlign</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue><![CDATA["left"]]></defaultvalue>
+ </property>
+
+ <property>
<name>oneditactivation</name>
<classname>java.lang.String</classname>
</property>
Modified: trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-02-14 15:06:52 UTC (rev 6078)
+++ trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-02-14 15:14:51 UTC (rev 6079)
@@ -42,12 +42,13 @@
if (this.bar.cancel) {
this.bar.cancel.observe("click", function(e){this.cancelHandler(e)}.bindAsEventListener(this));
}
+
+ this.bar.bar.observe("mousedown", function(e){this.barMouseDownHandler(e);}.bindAsEventListener(this));
}
this.tabber.observe("focus", function(e){this.switchingStatesHandler(e);}.bindAsEventListener(this));
this.tabber.observe("blur", function(e){this.tmpValueBlurHandler(e);}.bindAsEventListener(this));
- this.bar.bar.observe("mousedown", function(e){this.barMouseDownHandler(e);}.bindAsEventListener(this));
},
initEvents : function() {
18 years, 2 months
JBoss Rich Faces SVN: r6078 - trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-02-14 10:06:52 -0500 (Thu, 14 Feb 2008)
New Revision: 6078
Modified:
trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
Log:
http://jira.jboss.com/jira/browse/RF-2251
Hidden inputs are removed after submit in original JSF commandButton.
Modified: trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
===================================================================
--- trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-02-14 13:34:34 UTC (rev 6077)
+++ trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-02-14 15:06:52 UTC (rev 6078)
@@ -57,7 +57,7 @@
for(var i=0;i<fields.length;i++){
var field = form.elements[fields[i]];
if(field){
- field.value='';
+ form.removeChild(field);
}
}
}
18 years, 2 months