JBoss Rich Faces SVN: r3659 - trunk/samples/seamIntegration.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-10-31 17:57:40 -0400 (Wed, 31 Oct 2007)
New Revision: 3659
Modified:
trunk/samples/seamIntegration/pom.xml
Log:
change dependency to ceam 2.0.0 release
Modified: trunk/samples/seamIntegration/pom.xml
===================================================================
--- trunk/samples/seamIntegration/pom.xml 2007-10-31 19:17:55 UTC (rev 3658)
+++ trunk/samples/seamIntegration/pom.xml 2007-10-31 21:57:40 UTC (rev 3659)
@@ -81,22 +81,22 @@
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam</artifactId>
- <version>2.0.0.CR3</version>
+ <version>2.0.0.GA</version>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-ui</artifactId>
- <version>2.0.0.CR3</version>
+ <version>2.0.0.GA</version>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-ioc</artifactId>
- <version>2.0.0.CR3</version>
+ <version>2.0.0.GA</version>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-debug</artifactId>
- <version>2.0.0.CR3</version>
+ <version>2.0.0.GA</version>
</dependency>
</dependencies>
<repositories>
17 years, 2 months
JBoss Rich Faces SVN: r3658 - trunk/framework/impl/src/main/java/org/ajax4jsf/webapp.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-10-31 15:17:55 -0400 (Wed, 31 Oct 2007)
New Revision: 3658
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableXMLFilter.java
Log:
http://jira.jboss.com/jira/browse/RF-1006
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableXMLFilter.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableXMLFilter.java 2007-10-31 19:16:56 UTC (rev 3657)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableXMLFilter.java 2007-10-31 19:17:55 UTC (rev 3658)
@@ -104,14 +104,18 @@
*/
protected HtmlParser getParser(String mimetype, boolean isAjax,
String viewId) {
- HtmlParser parser = null;
- if (isAjax || isForcexml()) {
- parser = parsers.getParser(viewId, mimetype);
- } else if (mimetype.startsWith(TEXT_HTML)
- || mimetype.startsWith(APPLICATION_XHTML_XML)) {
- parser = new FastHtmlParser();
- }
- return parser;
+
+ HtmlParser parser = null;
+
+ if (isAjax || mimetype.startsWith(TEXT_HTML) || mimetype.startsWith(APPLICATION_XHTML_XML)) {
+ if (isAjax || isForcexml()) {
+ parser = parsers.getParser(viewId, mimetype);
+ } else {
+ parser = new FastHtmlParser();
+ }
+ }
+
+ return parser;
}
/*
17 years, 2 months
JBoss Rich Faces SVN: r3657 - trunk/sandbox/ui/rex-resizable.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-10-31 15:16:56 -0400 (Wed, 31 Oct 2007)
New Revision: 3657
Modified:
trunk/sandbox/ui/rex-resizable/pom.xml
Log:
rex-resizable: groupId & artifactId corrected
Modified: trunk/sandbox/ui/rex-resizable/pom.xml
===================================================================
--- trunk/sandbox/ui/rex-resizable/pom.xml 2007-10-31 19:13:29 UTC (rev 3656)
+++ trunk/sandbox/ui/rex-resizable/pom.xml 2007-10-31 19:16:56 UTC (rev 3657)
@@ -5,8 +5,8 @@
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.ui</groupId>
- <artifactId>resizable</artifactId>
+ <groupId>org.richfaces.sandbox.ui</groupId>
+ <artifactId>rex-resizable</artifactId>
<name>Extjs Resizable</name>
<build>
<plugins>
17 years, 2 months
JBoss Rich Faces SVN: r3656 - trunk/framework/impl/src/main/java/org/ajax4jsf/webapp.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-10-31 15:13:29 -0400 (Wed, 31 Oct 2007)
New Revision: 3656
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/BaseXMLFilter.java
Log:
Fixed ignored force_xml configuration in ServletContext
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/BaseXMLFilter.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/BaseXMLFilter.java 2007-10-31 19:09:20 UTC (rev 3655)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/BaseXMLFilter.java 2007-10-31 19:13:29 UTC (rev 3656)
@@ -88,9 +88,11 @@
+ this.getClass().getName());
}
String forceXmlParameter = config.getInitParameter(FORCEXML_PARAMETER);
+ if (forceXmlParameter == null) {
+ forceXmlParameter = config.getServletContext().getInitParameter(
+ INIT_PARAMETER_PREFIX + FORCEXML_PARAMETER);
+ }
setupForceXml(forceXmlParameter);
- forceXmlParameter = config.getServletContext().getInitParameter(
- INIT_PARAMETER_PREFIX + FORCEXML_PARAMETER);
setMimetype((String) nz(config.getInitParameter(MIME_TYPE_PARAMETER),
"text/xml"));
setPublicid((String) nz(config.getInitParameter(PUBLICID_PARAMETER),
17 years, 2 months
JBoss Rich Faces SVN: r3655 - in trunk/sandbox: samples/rex-demo/src/main/resources/org/richfaces/demo/common and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: SergeySmirnov
Date: 2007-10-31 15:09:20 -0400 (Wed, 31 Oct 2007)
New Revision: 3655
Added:
trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable.xhtml
trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/
trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/examples/
trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/examples/simple.xhtml
trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/usage.xhtml
Modified:
trunk/sandbox/samples/rex-demo/
trunk/sandbox/samples/rex-demo/pom.xml
trunk/sandbox/samples/rex-demo/src/main/resources/org/richfaces/demo/common/components.properties
trunk/sandbox/ui/rex-resizable/
trunk/sandbox/ui/rex-resizable/pom.xml
Log:
extjs update
Property changes on: trunk/sandbox/samples/rex-demo
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
.settings
target
Modified: trunk/sandbox/samples/rex-demo/pom.xml
===================================================================
--- trunk/sandbox/samples/rex-demo/pom.xml 2007-10-31 18:23:59 UTC (rev 3654)
+++ trunk/sandbox/samples/rex-demo/pom.xml 2007-10-31 19:09:20 UTC (rev 3655)
@@ -197,5 +197,19 @@
<artifactId>xercesImpl</artifactId>
<version>2.8.1</version>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.sandbox.ui</groupId>
+ <artifactId>rex-resizable</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+
+ <groupId>org.richfaces.sandbox</groupId>
+ <artifactId>richfaces-sandbox-impl</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+
+
+
</dependencies>
</project>
\ No newline at end of file
Modified: trunk/sandbox/samples/rex-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
--- trunk/sandbox/samples/rex-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-10-31 18:23:59 UTC (rev 3654)
+++ trunk/sandbox/samples/rex-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-10-31 19:09:20 UTC (rev 3655)
@@ -1,3 +1,4 @@
# list of components in comma-separated format
#id=name,iconImage,captionImage,devGuideLocation,tldDocLocation,javaDocLocation
+resizable= rexc, resizable, /images/ico_common.gif, /images/cn_resizable.gif, RichFacesComponentsLibrary.html#resizable, jbossrichfaces/freezone/docs/tlddoc/rich/resizable.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIResizable.html, /richfaces/resizable.jsf
jQuery= rexc, jQuery, /images/ico_common.gif, /images/cn_jQuery.gif, RichFacesComponentsLibrary.html#jQuery, jbossrichfaces/freezone/docs/tlddoc/rich/jQuery.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIJQuery.html, /richfaces/jQuery.jsf
Added: trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/examples/simple.xhtml
===================================================================
--- trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/examples/simple.xhtml (rev 0)
+++ trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/examples/simple.xhtml 2007-10-31 19:09:20 UTC (rev 3655)
@@ -0,0 +1,14 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+
+
+ <rich:separator lineType="solid" height="1" />
+
+
+ <rich:separator height="1" style="padding-top:10px" />
+</ui:composition>
\ No newline at end of file
Added: trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/usage.xhtml
===================================================================
--- trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/usage.xhtml (rev 0)
+++ trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable/usage.xhtml 2007-10-31 19:09:20 UTC (rev 3655)
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p>Description
+ </p>
+
+
+ <div class="sample-container" >
+
+ <ui:include src="/richfaces/resizable/examples/simple.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/resizable/examples/simple.xhtml"/>
+ </ui:include>
+ </div>
+
+
+ </ui:define>
+
+ </ui:composition>
+</html>
\ No newline at end of file
Added: trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable.xhtml
===================================================================
--- trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable.xhtml (rev 0)
+++ trunk/sandbox/samples/rex-demo/src/main/webapp/richfaces/resizable.xhtml 2007-10-31 19:09:20 UTC (rev 3655)
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - exj js resizable</ui:define>
+ <ui:define name="body">
+
+ <rich:tabPanel switchType="server" value="#{componentNavigator.activeTab}" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+
+ <rich:tab label="Usage">
+ <ui:include src="/richfaces/resizable/usage.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="rich/resizable"/>
+ </ui:include>
+ </rich:tabPanel>
+
+ </ui:define>
+</ui:composition>
+</html>
Property changes on: trunk/sandbox/ui/rex-resizable
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
.settings
target
Modified: trunk/sandbox/ui/rex-resizable/pom.xml
===================================================================
--- trunk/sandbox/ui/rex-resizable/pom.xml 2007-10-31 18:23:59 UTC (rev 3654)
+++ trunk/sandbox/ui/rex-resizable/pom.xml 2007-10-31 19:09:20 UTC (rev 3655)
@@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>ui</artifactId>
- <groupId>org.richfaces</groupId>
+ <groupId>org.richfaces.sandbox</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
17 years, 2 months
JBoss Rich Faces SVN: r3654 - trunk/samples/seamIntegration.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-10-31 14:23:59 -0400 (Wed, 31 Oct 2007)
New Revision: 3654
Modified:
trunk/samples/seamIntegration/pom.xml
Log:
Seam version updated, JBoss repository added
Modified: trunk/samples/seamIntegration/pom.xml
===================================================================
--- trunk/samples/seamIntegration/pom.xml 2007-10-31 17:57:46 UTC (rev 3653)
+++ trunk/samples/seamIntegration/pom.xml 2007-10-31 18:23:59 UTC (rev 3654)
@@ -81,23 +81,29 @@
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam</artifactId>
- <version>2.0.0.CR2</version>
+ <version>2.0.0.CR3</version>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-ui</artifactId>
- <version>2.0.0.CR2</version>
+ <version>2.0.0.CR3</version>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-ioc</artifactId>
- <version>2.0.0.CR2</version>
+ <version>2.0.0.CR3</version>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-debug</artifactId>
- <version>2.0.0.CR2</version>
+ <version>2.0.0.CR3</version>
</dependency>
- </dependencies>
+ </dependencies>
+ <repositories>
+ <repository>
+ <id>repository.jboss.com</id>
+ <url>http://repository.jboss.com/maven2</url>
+ </repository>
+ </repositories>
</project>
17 years, 2 months
JBoss Rich Faces SVN: r3652 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-10-31 13:56:12 -0400 (Wed, 31 Oct 2007)
New Revision: 3652
Modified:
trunk/docs/userguide/en/src/main/docbook/included/tree.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
Log:
http://jira.jboss.com/jira/browse/RF-1137
correcting the language for tree component
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.desc.xml 2007-10-31 17:33:32 UTC (rev 3651)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.desc.xml 2007-10-31 17:56:12 UTC (rev 3652)
@@ -17,7 +17,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>On the screenshot above, there is an example of the tree with an expanded node. This node
+ <para>On the screenshot above, there is an example of the <property>tree</property> with an expanded node. This node
contains its own node with several leaves. Besides, it's possible to choose your own
icons for tree nodes.</para>
</section>
@@ -31,9 +31,11 @@
<listitem>
<para>Built-in drag and drop support</para>
- <para>This feature allows changing a placement of nodes in a tree simply by dropping a certain node from one place to another. Look at the screenshot below:</para>
+ <para>This feature allows programming DnD possibility for the <emphasis role="bold">
+ <property><rich:tree></property>
+ </emphasis> component so that it would be possible to change a placement of nodes in a <property>tree</property> simply by dropping a certain node from one place to another. Look at the screenshot below:</para>
<figure>
- <title>Drag and drop feature of a tree</title>
+ <title>Drag and drop support</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/tree3.png"/>
@@ -50,7 +52,7 @@
</listitem>
<listitem>
- <para>Support of a visual representation for different node types</para>
+ <para>Possibility to define a visual representation by node type</para>
</listitem>
<listitem>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-10-31 17:33:32 UTC (rev 3651)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-10-31 17:56:12 UTC (rev 3652)
@@ -46,7 +46,8 @@
<title>Creating the Component with a Page Tag</title>
<para>There are two cases for a tree definition: together with <emphasis role="bold">
<property><rich:recursiveTreeNodesAdaptor></property>
- </emphasis> and without it. In the first case, it's possible to define it without <emphasis>
+ </emphasis> or <emphasis role="bold">
+ <property><rich:treeNodesAdaptor></property></emphasis> and without them. In the first case, it's possible to define it without <emphasis>
<property>"value"</property>
</emphasis> and <emphasis>
<property>"var"</property>
@@ -85,7 +86,7 @@
</para>
<programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlTree;
...
-HtmlTree myPanel = new HtmlTree();
+HtmlTree myTree = new HtmlTree();
...]]></programlisting>
</section>
<section>
@@ -100,9 +101,9 @@
<para>There is a default class <property>"TreeNodeImpl"</property>, which is a
default implementation for TreeNode interface. TreeNode has attribute <emphasis>
<property>"data"</property>
- </emphasis> which value is available as request scope variable with name that is defined by <emphasis>
+ </emphasis> which value is available as a request scope variable with a name that is defined by <emphasis>
<property>"var"</property>
- </emphasis> attribute of tree component. <ulink
+ </emphasis> attribute of a tree component. <ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone..."
>"XmlTreeDataBuilder" class</ulink> allows transforming XML into
structures of objects containing <property>"XmlNodeData"</property>
@@ -142,7 +143,7 @@
<para>This is a result: </para>
<figure>
- <title>Expanded tree with child elements of different types</title>
+ <title>Expanded tree with child elements</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/tree2.png"/>
@@ -255,7 +256,7 @@
<property>"ajaxSubmitSelection"</property>
</emphasis> attribute value set to <emphasis>
<property>"true"</property>
- </emphasis> than any change in selection initiates Ajax request to the server.</para>
+ </emphasis> than any change in selection initiates an Ajax request to the server.</para>
<para> The <emphasis>
<property>"icon"</property>
@@ -268,7 +269,6 @@
</emphasis> attributes define icons for the component. Also you can define icons using facets
with the same names. If the facets are defined, the corresponding attributes are ignored and
facets contents are used as icons. By default the width of a rendered facet area is 16px. </para>
-
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -301,7 +301,7 @@
</emphasis> and <emphasis>
<property>"var"</property>
</emphasis>. Besides, visual representation shouldn't be defined right in the
- <property>tree</property>. In this case tree tag is intended mainly for defining common
+ <property>tree</property>. In this case a tree tag is intended mainly for defining common
attributes such as <emphasis>
<property>"ajaxSubmitSelection"</property>
</emphasis>, for instance. </para>
@@ -309,14 +309,16 @@
</section>
<section>
<title>Built-In Drag and Drop</title>
- <para>The tree component functionality provides a built-in support for Drag and Drop operations.
+ <para>The <emphasis role="bold">
+ <property><rich: tree></property>
+ </emphasis> component functionality provides a built-in support for Drag and Drop operations.
The main usage principles are the same as for RichFaces DnD wrapper components. Hence, to get
additional information on the topic, read the corresponding chapters:<link linkend="dndParam"
- >"rich:dndParam"</link>
- <link linkend="dragSupport">"rich:dragSupport"</link>
- <link linkend="dragIndicator">"rich:dragIndicator"</link>
- <link linkend="dropSupport">"rich:dropSupport"</link>
- <property>Tree nodes</property> could be Drag, Drop or DnD elements, so tree has both
+ >"rich:dndParam"</link>,
+ <link linkend="dragSupport">"rich:dragSupport"</link>,
+ <link linkend="dragIndicator">"rich:dragIndicator"</link>,
+ <link linkend="dropSupport">"rich:dropSupport"</link>. As
+ <property>treeNodes</property> could be Drag, Drop or DnD elements, a <property>tree</property> can include the following
attributes groups.</para>
<table>
<title>Drag attributes group</title>
@@ -329,12 +331,16 @@
</thead>
<tbody>
<row>
+ <entry>dragListener</entry>
+ <entry>A listener that processes a Drag event. </entry>
+ </row>
+ <row>
<entry>dragIndicator</entry>
<entry>An indicator component id.</entry>
</row>
<row>
<entry>dragType</entry>
- <entry>A drag zone name used to define whether processing is necessary with a Drop zone
+ <entry>A Drag zone name used to define whether processing is necessary with a Drop zone
or not.</entry>
</row>
</tbody>
@@ -352,11 +358,11 @@
<tbody>
<row>
<entry>dropListener</entry>
- <entry>A listener that processes a drop event. </entry>
+ <entry>A listener that processes a Drop event. </entry>
</row>
<row>
<entry>acceptedTypes</entry>
- <entry>Drag zone names are allowed to be processed with a drop zone.</entry>
+ <entry>Drag zone names are allowed to be processed with a Drop zone.</entry>
</row>
<row>
<entry>typeMapping</entry>
@@ -374,10 +380,10 @@
request sending on this event is defined)</listitem>
<listitem>dropListener processes a Drop event</listitem>
<listitem>dragListener processes a Drug event</listitem>
- <listitem>changeExpandListener processes expand/collapse event of a tree node</listitem>
+ <listitem>changeExpandListener processes expand/collapse event of a <property>treeNode</property></listitem>
</itemizedlist>
- <para>Listener methods can be defined using the <link linkend="treeNode">following
+ <para>Listener methods can be defined using the <link linkend="treeNodeKF">following
attributes</link> or using nested tags.</para>
<para>Client event attributes are:</para>
<itemizedlist>
@@ -397,8 +403,11 @@
<property>"onmousedown"</property>
</emphasis>, <emphasis>
<property>"onmouseover"</property>
- </emphasis> and etc. could be used. Event handlers of a tree component capture events occured
- on any tree part. But event handlers of treeNode capture events occured on treeNode only,
+ </emphasis> and etc. could be used. Event handlers of a <emphasis
+ role="bold">
+ <property><rich:tree></property>
+ </emphasis> component capture events occured
+ on any <property>tree</property> part. But event handlers of <property>treeNode</property> capture events occured on <property>treeNode</property> only,
except for children events. </para>
</section>
<section>
@@ -408,12 +417,12 @@
</emphasis>.</para>
<para>Default style classes are mapped on <emphasis><property>skin
parameters</property>.</emphasis></para>
- <para>To redefine an appearance of all trees at once, there are two ways:</para>
+ <para>To redefine an appearance of all <property>trees</property> at once, there are two ways:</para>
<itemizedlist>
<listitem>to redefine corresponding skin parameters</listitem>
<listitem>to add <emphasis>
<property>style classes</property>
- </emphasis> used by the tree to your page style sheets</listitem>
+ </emphasis> used by the <property>tree</property> to your page style sheets</listitem>
</itemizedlist>
</section>
<section>
@@ -421,7 +430,7 @@
<para>There is only one skin parameter for the <property>tree</property> since <emphasis
role="bold">
<property><rich:tree></property>
- </emphasis> is a wrapper component for <property>tree</property> nodes. Look and feel is
+ </emphasis> is a wrapper component for <property>treeNodes</property>. Look and feel is
described in details in the <link linkend="treeNode">"treeNode"
chapter</link>.</para>
<table>
17 years, 2 months
JBoss Rich Faces SVN: r3651 - in trunk/sandbox/samples: colunmsDemo and 17 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2007-10-31 13:33:32 -0400 (Wed, 31 Oct 2007)
New Revision: 3651
Added:
trunk/sandbox/samples/colunmsDemo/
trunk/sandbox/samples/colunmsDemo/pom.xml
trunk/sandbox/samples/colunmsDemo/src/
trunk/sandbox/samples/colunmsDemo/src/main/
trunk/sandbox/samples/colunmsDemo/src/main/java/
trunk/sandbox/samples/colunmsDemo/src/main/java/org/
trunk/sandbox/samples/colunmsDemo/src/main/java/org/richfaces/
trunk/sandbox/samples/colunmsDemo/src/main/java/org/richfaces/sandbox/
trunk/sandbox/samples/colunmsDemo/src/main/java/org/richfaces/sandbox/samples/
trunk/sandbox/samples/colunmsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java
trunk/sandbox/samples/colunmsDemo/src/main/resources/
trunk/sandbox/samples/colunmsDemo/src/main/webapp/
trunk/sandbox/samples/colunmsDemo/src/main/webapp/META-INF/
trunk/sandbox/samples/colunmsDemo/src/main/webapp/META-INF/MANIFEST.MF
trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/
trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/faces-config.xml
trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/colunmsDemo/src/main/webapp/index.jsp
trunk/sandbox/samples/colunmsDemo/src/main/webapp/pages/
trunk/sandbox/samples/colunmsDemo/src/main/webapp/pages/index.jsp
trunk/sandbox/samples/colunmsDemo/src/main/webapp/pages/index.xhtml
trunk/sandbox/samples/colunmsDemo/src/test/
trunk/sandbox/samples/colunmsDemo/src/test/java/
trunk/sandbox/samples/colunmsDemo/src/test/java/org/
trunk/sandbox/samples/colunmsDemo/src/test/java/org/richfaces/
trunk/sandbox/samples/colunmsDemo/src/test/java/org/richfaces/sandbox/
trunk/sandbox/samples/colunmsDemo/src/test/java/org/richfaces/sandbox/samples/
trunk/sandbox/samples/colunmsDemo/src/test/java/org/richfaces/sandbox/samples/BeanTest.java
Modified:
trunk/sandbox/samples/pom.xml
Log:
New demo: columnsDemo
Property changes on: trunk/sandbox/samples/colunmsDemo
___________________________________________________________________
Name: svn:ignore
+ .settings
target
.classpath
.project
Added: trunk/sandbox/samples/colunmsDemo/pom.xml
===================================================================
--- trunk/sandbox/samples/colunmsDemo/pom.xml (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/pom.xml 2007-10-31 17:33:32 UTC (rev 3651)
@@ -0,0 +1,48 @@
+<?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.sandbox.samples</groupId>
+ <artifactId>colunmsDemo</artifactId>
+ <packaging>war</packaging>
+ <name>colunmsDemo Maven Webapp</name>
+ <version>3.2.0-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.sandbox.ui</groupId>
+ <artifactId>columns</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.samples</groupId>
+ <artifactId>skins</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>core</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>dataTable</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <finalName>colunmsDemo</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added: trunk/sandbox/samples/colunmsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java
===================================================================
--- trunk/sandbox/samples/colunmsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java 2007-10-31 17:33:32 UTC (rev 3651)
@@ -0,0 +1,29 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.sandbox.samples;
+/**
+ * @author $Autor$
+ *
+ */
+public class Bean {
+
+}
\ No newline at end of file
Added: trunk/sandbox/samples/colunmsDemo/src/main/webapp/META-INF/MANIFEST.MF
===================================================================
--- trunk/sandbox/samples/colunmsDemo/src/main/webapp/META-INF/MANIFEST.MF (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/src/main/webapp/META-INF/MANIFEST.MF 2007-10-31 17:33:32 UTC (rev 3651)
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
Added: trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/faces-config.xml (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/faces-config.xml 2007-10-31 17:33:32 UTC (rev 3651)
@@ -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.sandbox.samples.Bean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+</faces-config>
Added: trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/web.xml (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/src/main/webapp/WEB-INF/web.xml 2007-10-31 17:33:32 UTC (rev 3651)
@@ -0,0 +1,44 @@
+<?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>
+ <dispatcher>ERROR</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/colunmsDemo/src/main/webapp/index.jsp
===================================================================
--- trunk/sandbox/samples/colunmsDemo/src/main/webapp/index.jsp (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/src/main/webapp/index.jsp 2007-10-31 17:33:32 UTC (rev 3651)
@@ -0,0 +1,11 @@
+<!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/colunmsDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/colunmsDemo/src/main/webapp/pages/index.jsp (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/src/main/webapp/pages/index.jsp 2007-10-31 17:33:32 UTC (rev 3651)
@@ -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/colunmsDemo/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/sandbox/samples/colunmsDemo/src/main/webapp/pages/index.xhtml (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/src/main/webapp/pages/index.xhtml 2007-10-31 17:33:32 UTC (rev 3651)
@@ -0,0 +1,12 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
+ xmlns:c="http://java.sun.com/jsp/jstl/core"
+ >
+ <f:view>
+
+ </f:view>
+</html>
\ No newline at end of file
Added: trunk/sandbox/samples/colunmsDemo/src/test/java/org/richfaces/sandbox/samples/BeanTest.java
===================================================================
--- trunk/sandbox/samples/colunmsDemo/src/test/java/org/richfaces/sandbox/samples/BeanTest.java (rev 0)
+++ trunk/sandbox/samples/colunmsDemo/src/test/java/org/richfaces/sandbox/samples/BeanTest.java 2007-10-31 17:33:32 UTC (rev 3651)
@@ -0,0 +1,46 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.sandbox.samples;
+
+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 {
+
+ }
+}
Modified: trunk/sandbox/samples/pom.xml
===================================================================
--- trunk/sandbox/samples/pom.xml 2007-10-31 17:33:12 UTC (rev 3650)
+++ trunk/sandbox/samples/pom.xml 2007-10-31 17:33:32 UTC (rev 3651)
@@ -17,5 +17,6 @@
<module>simpleTogglePanel2-sample</module>
<module>orderingListDemo</module>
<module>listShuttleDemo</module>
+ <module>colunmsDemo</module>
</modules>
</project>
\ No newline at end of file
17 years, 2 months
JBoss Rich Faces SVN: r3649 - in trunk/sandbox/ui: columns and 18 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2007-10-31 13:31:00 -0400 (Wed, 31 Oct 2007)
New Revision: 3649
Added:
trunk/sandbox/ui/columns/
trunk/sandbox/ui/columns/pom.xml
trunk/sandbox/ui/columns/src/
trunk/sandbox/ui/columns/src/main/
trunk/sandbox/ui/columns/src/main/config/
trunk/sandbox/ui/columns/src/main/config/component/
trunk/sandbox/ui/columns/src/main/config/component/README
trunk/sandbox/ui/columns/src/main/java/
trunk/sandbox/ui/columns/src/main/java/org/
trunk/sandbox/ui/columns/src/main/java/org/richfaces/
trunk/sandbox/ui/columns/src/main/java/org/richfaces/sandbox/
trunk/sandbox/ui/columns/src/main/java/org/richfaces/sandbox/ui/
trunk/sandbox/ui/columns/src/main/java/org/richfaces/sandbox/ui/component/
trunk/sandbox/ui/columns/src/main/java/org/richfaces/sandbox/ui/component/README
trunk/sandbox/ui/columns/src/main/resources/
trunk/sandbox/ui/columns/src/main/templates/
trunk/sandbox/ui/columns/src/main/templates/README
trunk/sandbox/ui/columns/src/test/
trunk/sandbox/ui/columns/src/test/java/
trunk/sandbox/ui/columns/src/test/java/org/
trunk/sandbox/ui/columns/src/test/java/org/richfaces/
trunk/sandbox/ui/columns/src/test/java/org/richfaces/sandbox/
trunk/sandbox/ui/columns/src/test/java/org/richfaces/sandbox/ui/
trunk/sandbox/ui/columns/src/test/java/org/richfaces/sandbox/ui/component/
trunk/sandbox/ui/columns/src/test/java/org/richfaces/sandbox/ui/component/JSFComponentTest.java
Modified:
trunk/sandbox/ui/pom.xml
Log:
New component: columns
Property changes on: trunk/sandbox/ui/columns
___________________________________________________________________
Name: svn:ignore
+ .settings
target
.classpath
.project
Added: trunk/sandbox/ui/columns/pom.xml
===================================================================
--- trunk/sandbox/ui/columns/pom.xml (rev 0)
+++ trunk/sandbox/ui/columns/pom.xml 2007-10-31 17:31:00 UTC (rev 3649)
@@ -0,0 +1,56 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>ui</artifactId>
+ <groupId>org.richfaces.sandbox</groupId>
+ <version>3.2.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.sandbox.ui</groupId>
+ <artifactId>columns</artifactId>
+ <name>columns</name>
+ <version>3.2.0-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <library>
+ <prefix>org.richfaces.sandbox.ui</prefix>
+ <taglib>
+ <shortName>columns</shortName>
+ </taglib>
+ </library>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-impl</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>dataTable</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Added: trunk/sandbox/ui/columns/src/main/config/component/README
===================================================================
Added: trunk/sandbox/ui/columns/src/main/java/org/richfaces/sandbox/ui/component/README
===================================================================
Added: trunk/sandbox/ui/columns/src/main/templates/README
===================================================================
Added: trunk/sandbox/ui/columns/src/test/java/org/richfaces/sandbox/ui/component/JSFComponentTest.java
===================================================================
--- trunk/sandbox/ui/columns/src/test/java/org/richfaces/sandbox/ui/component/JSFComponentTest.java (rev 0)
+++ trunk/sandbox/ui/columns/src/test/java/org/richfaces/sandbox/ui/component/JSFComponentTest.java 2007-10-31 17:31:00 UTC (rev 3649)
@@ -0,0 +1,53 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.sandbox.ui.component;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import javax.faces.component.UIComponent;
+
+/**
+ * Unit test for simple Component.
+ */
+public class JSFComponentTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public JSFComponentTest( String testName )
+ {
+ super( testName );
+ }
+
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testComponent()
+ {
+ assertTrue( true );
+ }
+}
Modified: trunk/sandbox/ui/pom.xml
===================================================================
--- trunk/sandbox/ui/pom.xml 2007-10-31 16:52:29 UTC (rev 3648)
+++ trunk/sandbox/ui/pom.xml 2007-10-31 17:31:00 UTC (rev 3649)
@@ -17,5 +17,6 @@
<module>treeTable</module>
<module>listShuttle</module>
<module>orderingList</module>
+ <module>columns</module>
</modules>
</project>
\ No newline at end of file
17 years, 2 months