JBoss Rich Faces SVN: r3723 - trunk/sandbox/ui/orderingList/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-11-02 11:27:22 -0400 (Fri, 02 Nov 2007)
New Revision: 3723
Modified:
trunk/sandbox/ui/orderingList/src/main/config/component/orderinglist.xml
Log:
Added attributes from specification to ordering list.
Modified: trunk/sandbox/ui/orderingList/src/main/config/component/orderinglist.xml
===================================================================
--- trunk/sandbox/ui/orderingList/src/main/config/component/orderinglist.xml 2007-11-02 15:10:39 UTC (rev 3722)
+++ trunk/sandbox/ui/orderingList/src/main/config/component/orderinglist.xml 2007-11-02 15:27:22 UTC (rev 3723)
@@ -37,7 +37,100 @@
HTML: script expression; a pointer was moved within.
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+
+ <property>
+ <name>rowClasses</name>
+ <classname>java.lang.String</classname>
+ <description>
+ rowClasses
+ </description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>cellClasses</name>
+ <classname>java.lang.String</classname>
+ <description>
+ cellClasses
+ </description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>headerLabel</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Defines text, which is placed inside a header.
+ </description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>controlsType</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Defines type of a control: button, link or none.
+ </description>
+ <defaultvalue><![CDATA["button"]]></defaultvalue>
+ </property>
+ <property>
+ <name>controlsHorizontalAlign</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Controls horizontal rendering. Possible values:
+ left - controls should be rendered to the left side of a list.
+ right(Default)- controls should be rendered to the right side of a list.
+ </description>
+ <defaultvalue><![CDATA["right"]]></defaultvalue>
+ </property>
+ <property>
+ <name>controlsVerticalAlign</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Controls vertical rendering. Possible values:
+ top - controls should be rendered aligned to top side of a list.
+ bottom - controls should be rendered aligned to bottom side of a list.
+ center(Default) - controls should be rendered centered relatively to a list.
+ </description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>sortIconUp</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Specifies an icon for a sorting marker in sorting 'up' position.
+ </description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>sortIconDown</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Sspecifies an icon for a sorting marker in sorting 'down' position.
+ </description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>sortIcon</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Specifies a default icon for a sorting marker in non-sorting position.
+ </description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>orderControlsVisible</name>
+ <classname>boolean</classname>
+ <description>
+ If false – 'Up' and 'Down' controls shouldn't be displayed.
+ </description>
+ <defaultvalue>true</defaultvalue>
+ </property>
+ <property>
+ <name>fastOrderControlsVisible</name>
+ <classname>boolean</classname>
+ <description>
+ If false 'Top' and 'Bottom' controls aren’t displayed.
+ </description>
+ <defaultvalue>true</defaultvalue>
</property>
-
</component>
</components>
17 years, 2 months
JBoss Rich Faces SVN: r3722 - in trunk: docs/userguide/en/src/main/docbook/included and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-11-02 11:10:39 -0400 (Fri, 02 Nov 2007)
New Revision: 3722
Modified:
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggable_attributes.ent
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
trunk/ui/tree/src/main/config/component/tree.xml
Log:
http://jira.jboss.com/jira/browse/RF-696 - fixed errors in description of attributes
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggable_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggable_attributes.ent 2007-11-02 15:08:10 UTC (rev 3721)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggable_attributes.ent 2007-11-02 15:10:39 UTC (rev 3722)
@@ -7,12 +7,12 @@
<property>
<name>dragType</name>
<classname>java.lang.String</classname>
- <description><![CDATA[Key of a drag object. It's used to define a necessity of processing the current dragged element on the drop zone side]]></description>
+ <description><![CDATA[Defines a drag zone type that is used for definition of a dragged element, which can be accepted by a drop zone]]></description>
</property>
<property>
<name>dragIndicator</name>
<classname>java.lang.String</classname>
- <description><![CDATA[Id of the dragIndicator component used as drag operation cursor]]></description>
+ <description><![CDATA[Id of a component that is used as drag pointer during the drag operation]]></description>
</property>
<property >
<name>ondragstart</name>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-11-02 15:08:10 UTC (rev 3721)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-11-02 15:10:39 UTC (rev 3722)
@@ -46,8 +46,9 @@
<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> or <emphasis role="bold">
- <property><rich:treeNodesAdaptor></property></emphasis> and without them. 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>
@@ -101,7 +102,8 @@
<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 a request scope variable with a 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 a <property>tree</property> component. <ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone..."
@@ -310,38 +312,38 @@
<section>
<title>Built-In Drag and Drop</title>
<para>The <emphasis role="bold">
- <property><rich: tree></property>
- </emphasis> component functionality provides a built-in support for Drag and Drop operations.
+ <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>. As
- <property>treeNodes</property> could be Drag, Drop or DnD elements, a <property>tree</property> can include the following
- attributes groups.</para>
+ >"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>
<tgroup cols="2">
<thead>
<row>
<entry>dragValue</entry>
- <entry>Element value drag passing into processing after a Drop event.</entry>
+ <entry>Element value drag passing into processing after a Drop event</entry>
</row>
</thead>
<tbody>
<row>
<entry>dragListener</entry>
- <entry>A listener that processes a Drag event. </entry>
+ <entry>A listener that processes a Drag event</entry>
</row>
<row>
<entry>dragIndicator</entry>
- <entry>An indicator component id.</entry>
+ <entry>Id of a component that is used as drag pointer during the drag operation</entry>
</row>
<row>
<entry>dragType</entry>
- <entry>A Drag zone name used to define whether processing is necessary with a Drop zone
- or not.</entry>
+ <entry>Defines a drag zone type that is used for definition of a dragged element, which
+ can be accepted by a drop zone</entry>
</row>
</tbody>
</tgroup>
@@ -380,7 +382,8 @@
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 <property>treeNode</property></listitem>
+ <listitem>changeExpandListener processes expand/collapse event of a
+ <property>treeNode</property></listitem>
</itemizedlist>
<para>Listener methods can be defined using the <link linkend="treeNodeKF">following
@@ -403,12 +406,11 @@
<property>"onmousedown"</property>
</emphasis>, <emphasis>
<property>"onmouseover"</property>
- </emphasis> and etc. could be used. Event handlers of a <emphasis
- role="bold">
+ </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>
+ </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>
<title>Look-and-Feel Customization</title>
@@ -422,7 +424,7 @@
<listitem>to redefine corresponding skin parameters</listitem>
<listitem>to add <emphasis>
<property>style classes</property>
- </emphasis> used by the <property>tree</property> to your page style sheets</listitem>
+ </emphasis> used by the <property>tree</property> to your page style sheets</listitem>
</itemizedlist>
</section>
<section>
@@ -430,7 +432,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>treeNodes</property>. 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>
Modified: trunk/ui/tree/src/main/config/component/tree.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/tree.xml 2007-11-02 15:08:10 UTC (rev 3721)
+++ trunk/ui/tree/src/main/config/component/tree.xml 2007-11-02 15:10:39 UTC (rev 3722)
@@ -53,7 +53,7 @@
&ui_component_attributes;
&ajax_component_attributes;
&html_style_attributes;
- &html_events;
+ &html_events;
<property>
<name>stateVar</name>
@@ -111,7 +111,7 @@
<property>
<name>dragIndicator</name>
<classname>java.lang.String</classname>
- <description>An indicator component id</description>
+ <description>Id of a component that is used as drag pointer during the drag operation</description>
</property>
<property>
<name>value</name>
@@ -194,7 +194,7 @@
<name>dragValue</name>
<classname>java.lang.Object</classname>
<description>
- Data to be sent to the drop zone after a drop event
+ Data to be sent to the drop zone after a drop event
</description>
<defaultvalue>getRowKey()</defaultvalue>
</property>
@@ -203,53 +203,53 @@
<name>dropValue</name>
<classname>java.lang.Object</classname>
<description>
- Data to be processed after a drop event
+ Data to be processed after a drop event
</description>
<defaultvalue>getRowKey()</defaultvalue>
- </property>
-
- <property>
- <name>toggleOnClick</name>
- <classname>boolean</classname>
- <description>
- If "false" do not toggle node state on click.
- If "true", than node will be toggles on click on ether node content,
- or node icon.
- Default value is false.
- </description>
- <defaultvalue>false</defaultvalue>
+ </property>
+
+ <property>
+ <name>toggleOnClick</name>
+ <classname>boolean</classname>
+ <description>
+ If "false" do not toggle node state on click.
+ If "true", than node will be toggles on click on ether node content,
+ or node icon.
+ Default value is false.
+ </description>
+ <defaultvalue>false</defaultvalue>
</property>
-
- <property>
- <name>stateAdvisor</name>
- <classname>java.lang.Object</classname>
+
+ <property>
+ <name>stateAdvisor</name>
+ <classname>java.lang.Object</classname>
<description>
ValueBinding pointing at instance of class implementing org.richfaces.component.state.TreeStateAdvisor interface.
- </description>
- </property>
- <property>
- <name>adviseNodeOpened</name>
- <classname>javax.faces.el.MethodBinding</classname>
+ </description>
+ </property>
+ <property>
+ <name>adviseNodeOpened</name>
+ <classname>javax.faces.el.MethodBinding</classname>
<description>
MethodBinding pointing at a method accepting an org.richfaces.component.UITree with return of java.lang.Boolean type.
If returned value is:
java.lang.Boolean. TRUE, a particular treeNode is expanded;
java.lang.Boolean.FALSE, a particular treeNode is collapsed;
null, a particular treeNode saves the current state
- </description>
- <methodargs>org.richfaces.component.UITree</methodargs>
- </property>
- <property>
- <name>adviseNodeSelected</name>
- <classname>javax.faces.el.MethodBinding</classname>
+ </description>
+ <methodargs>org.richfaces.component.UITree</methodargs>
+ </property>
+ <property>
+ <name>adviseNodeSelected</name>
+ <classname>javax.faces.el.MethodBinding</classname>
<description>
MethodBinding pointing at a method accepting an org.richfaces.component.UITree with return of java.lang.Boolean type.
If returned value is:
java.lang.Boolean. TRUE, a particular treeNode is selected;
java.lang.Boolean.FALSE, a particular treeNode is unselected;
null, a particular treeNode saves the current state
- </description>
- <methodargs>org.richfaces.component.UITree</methodargs>
+ </description>
+ <methodargs>org.richfaces.component.UITree</methodargs>
</property>
</component>
17 years, 2 months
JBoss Rich Faces SVN: r3721 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-11-02 11:08:10 -0400 (Fri, 02 Nov 2007)
New Revision: 3721
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCSettings.xml
Log:
http://jira.jboss.com/jira/browse/RF-1276 - section was updated
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCSettings.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCSettings.xml 2007-11-02 14:53:27 UTC (rev 3720)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCSettings.xml 2007-11-02 15:08:10 UTC (rev 3721)
@@ -90,101 +90,151 @@
<para>RichFaces now works out-of-the-box with <property>JBoss Seam </property>and Facelets
running inside JBoss AS 4.0.4 and higher. There is no more shared JAR files needed. You just
have to package the RichFaces library with your application. </para>
- <para> Your web.xml still must be like this: </para>
- <programlisting role="XML"><![CDATA[web-app version="2.4"
- xmlns="http://java.sun.com/xml/ns/j2ee"
+ <para> Your web.xml for <property>Seam 1.2</property> must be like this: </para>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" ?>
+<web-app 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"
+ version="2.4">
+
+ <!-- richfaces -->
+
+ <filter>
+ <display-name>RichFaces Filter</display-name>
+ <filter-name>richfaces</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>richfaces</filter-name>
+ <url-pattern>*.seam</url-pattern>
+ </filter-mapping>
+
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
+ </context-param>
+
+ <!-- Seam -->
+
+ <listener>
+ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <url-pattern>/seam/resource/*</url-pattern>
+ </servlet-mapping>
+
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <!-- MyFaces -->
+
+ <listener>
+ <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
+ </listener>
+
+ <!-- JSF -->
+
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <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>*.seam</url-pattern>
+ </servlet-mapping>
+
+</web-app>]]></programlisting>
+ <para> <property>Seam 2</property> supports RichFaces Filter. Thus your web.xml for Seam 2 must be like this:</para>
+
+ <programlisting role="XML"><![CDATA[<?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/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
- <!-- Seam -->
- <listener>
- <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
- </listener>
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>com.sun.facelets.FaceletViewHandler</param-value>
+ </context-param>
- <!-- richfaces -->
- <filter>
- <display-name>RichFaces Filter</display-name>
- <filter-name>richfaces</filter-name>
- <filter-class>org.ajax4jsf.Filter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>richfaces</filter-name>
- <url-pattern>*.seam</url-pattern>
- </filter-mapping>
+ <!-- Seam -->
- <!-- Propagate conversations across redirects -->
- <filter>
- <filter-name>Seam Redirect Filter</filter-name>
- <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>Seam Redirect Filter</filter-name>
- <url-pattern>*.seam</url-pattern>
- </filter-mapping>
-
- <filter>
- <filter-name>Seam Exception Filter</filter-name>
- <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
- </filter>
+ <listener>
+ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+ </listener>
- <filter-mapping>
- <filter-name>Seam Exception Filter</filter-name>
- <url-pattern>*.jsf</url-pattern>
- </filter-mapping>
-
- <!-- JSF -->
- <context-param>
- <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
- <param-value>client</param-value>
- </context-param>
-
- <context-param>
- <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
- <param-value>com.sun.facelets.FaceletViewHandler</param-value>
- </context-param>
-
- <context-param>
- <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
- <param-value>.xhtml</param-value>
- </context-param>
- <context-param>
- <param-name>facelets.REFRESH_PERIOD</param-name>
- <param-value>2</param-value>
- </context-param>
- <context-param>
- <param-name>facelets.DEVELOPMENT</param-name>
- <param-value>true</param-value>
- </context-param>
- <context-param>
- <param-name>com.sun.faces.validateXml</param-name>
- <param-value>true</param-value>
- </context-param>
- <context-param>
- <param-name>com.sun.faces.verifyObjects</param-name>
- <param-value>true</param-value>
- </context-param>
- <context-param>
- <param-name>org.richfaces.SKIN</param-name>
- <param-value>DEFAULT</param-value>
- </context-param>
-
- <servlet>
- <servlet-name>Faces Servlet</servlet-name>
- <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
+ <servlet>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
+ </servlet>
- <!-- Faces Servlet Mapping -->
- <servlet-mapping>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>*.seam</url-pattern>
- </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <url-pattern>/seam/resource/*</url-pattern>
+ </servlet-mapping>
- <!-- MyFaces -->
- <listener>
- <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
- </listener>
-</web-app>]]> </programlisting>
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <!-- JSF -->
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <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>*.seam</url-pattern>
+ </servlet-mapping>
+
+</web-app>]]></programlisting>
+
<para>Only one issue still persists while using <property>Seam</property> with MyFaces. Look at
myFaces part of this section.</para>
</section>
17 years, 2 months
JBoss Rich Faces SVN: r3720 - trunk/ui/dataTable/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-02 10:53:27 -0400 (Fri, 02 Nov 2007)
New Revision: 3720
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java
Log:
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java 2007-11-02 14:53:09 UTC (rev 3719)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java 2007-11-02 14:53:27 UTC (rev 3720)
@@ -102,7 +102,7 @@
ResponseWriter writer = context.getResponseWriter();
Integer columns = (Integer) table.getAttributes().get("columns");
- Boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? true:false;
+ boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? true:false;
int cols = isCleanable ? columns.intValue():1;
rest = tableHolder.getRowCounter()-tableHolder.getGridRowCounter()*cols;
17 years, 2 months
JBoss Rich Faces SVN: r3719 - branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-02 10:53:09 -0400 (Fri, 02 Nov 2007)
New Revision: 3719
Modified:
branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java
Log:
Modified: branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java
===================================================================
--- branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java 2007-11-02 13:49:38 UTC (rev 3718)
+++ branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java 2007-11-02 14:53:09 UTC (rev 3719)
@@ -102,7 +102,7 @@
ResponseWriter writer = context.getResponseWriter();
Integer columns = (Integer) table.getAttributes().get("columns");
- Boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? true:false;
+ boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? true:false;
int cols = isCleanable ? columns.intValue():1;
rest = tableHolder.getRowCounter()-tableHolder.getGridRowCounter()*cols;
17 years, 2 months
JBoss Rich Faces SVN: r3718 - branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-11-02 09:49:38 -0400 (Fri, 02 Nov 2007)
New Revision: 3718
Removed:
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-DradAbdDrop.xml
Log:
Deleted: branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-DradAbdDrop.xml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-DradAbdDrop.xml 2007-11-02 13:48:00 UTC (rev 3717)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config-DradAbdDrop.xml 2007-11-02 13:49:38 UTC (rev 3718)
@@ -1,10 +0,0 @@
-<?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>dndBean</managed-bean-name>
- <managed-bean-class>dnd.DndBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
-</faces-config>
17 years, 2 months
JBoss Rich Faces SVN: r3717 - branches/3.1.x/test-applications/facelets/src/main/java/jQuery.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-11-02 09:48:00 -0400 (Fri, 02 Nov 2007)
New Revision: 3717
Added:
branches/3.1.x/test-applications/facelets/src/main/java/jQuery/JQuery.java
Log:
Added: branches/3.1.x/test-applications/facelets/src/main/java/jQuery/JQuery.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/jQuery/JQuery.java (rev 0)
+++ branches/3.1.x/test-applications/facelets/src/main/java/jQuery/JQuery.java 2007-11-02 13:48:00 UTC (rev 3717)
@@ -0,0 +1,5 @@
+package jQuery;
+
+public class JQuery {
+
+}
17 years, 2 months
JBoss Rich Faces SVN: r3716 - in branches/3.1.x/test-applications/facelets/src/main/java/util: skins and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-11-02 09:38:48 -0400 (Fri, 02 Nov 2007)
New Revision: 3716
Added:
branches/3.1.x/test-applications/facelets/src/main/java/util/phaseTracker/PhaseTracker.java
branches/3.1.x/test-applications/facelets/src/main/java/util/skins/Skins.java
Log:
add util class (PhaseTracker.java, Skins.java)
Added: branches/3.1.x/test-applications/facelets/src/main/java/util/phaseTracker/PhaseTracker.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/util/phaseTracker/PhaseTracker.java (rev 0)
+++ branches/3.1.x/test-applications/facelets/src/main/java/util/phaseTracker/PhaseTracker.java 2007-11-02 13:38:48 UTC (rev 3716)
@@ -0,0 +1,37 @@
+/**
+ *
+ */
+package util.phaseTracker;
+
+import javax.faces.event.PhaseEvent;
+import javax.faces.event.PhaseId;
+import javax.faces.event.PhaseListener;
+
+/**
+ * @author AYanul
+ *
+ */
+public class PhaseTracker implements PhaseListener {
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.PhaseListener#afterPhase(javax.faces.event.PhaseEvent)
+ */
+ public void afterPhase(PhaseEvent arg0) {
+ System.out.println("PhaseTracker.afterPhase()" + arg0.getPhaseId());
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.PhaseListener#beforePhase(javax.faces.event.PhaseEvent)
+ */
+ public void beforePhase(PhaseEvent arg0) {
+ System.out.println("PhaseTracker.beforePhase()" + arg0.getPhaseId());
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.event.PhaseListener#getPhaseId()
+ */
+ public PhaseId getPhaseId() {
+ return PhaseId.ANY_PHASE;
+ }
+
+}
Added: branches/3.1.x/test-applications/facelets/src/main/java/util/skins/Skins.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/util/skins/Skins.java (rev 0)
+++ branches/3.1.x/test-applications/facelets/src/main/java/util/skins/Skins.java 2007-11-02 13:38:48 UTC (rev 3716)
@@ -0,0 +1,71 @@
+package util.skins;
+
+import java.util.Map;
+
+import javax.faces.component.UIComponent;
+import javax.faces.component.UISelectItem;
+import javax.faces.component.UISelectOne;
+import javax.faces.component.html.HtmlSelectOneRadio;
+import javax.faces.context.FacesContext;
+
+/**
+ * @author Nick Belaevski - nbelaevski(a)exadel.com created 09.02.2007
+ *
+ */
+public class Skins {
+
+ private String[] skinsArray = new String[] { "blueSky", "classic",
+ "deepMarine", "DEFAULT", "emeraldTown", "japanCherry", "ruby",
+ "wine", "plain" };
+
+ private String defaultSkin = "deepMarine";
+
+ private String skin = defaultSkin;
+
+ private UISelectOne createComponent() {
+ UISelectOne selectOne = new HtmlSelectOneRadio();
+ selectOne.setValue(skin);
+
+ for (int i = 0; i < skinsArray.length; i++) {
+ String skinName = skinsArray[i];
+
+ UISelectItem item = new UISelectItem();
+ item.setItemLabel(skinName);
+ item.setItemValue(skinName);
+ item.setId("skinSelectionFor_" + skinName);
+
+ selectOne.getChildren().add(item);
+ }
+
+ return selectOne;
+ }
+
+ public String getSkin() {
+ return skin;
+ }
+
+ public UIComponent getComponent() {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ Map requestMap = facesContext.getExternalContext().getRequestMap();
+ Object object = requestMap.get("SkinBean");
+ if (object != null) {
+ return (UISelectOne) object;
+ }
+
+ UISelectOne selectOne = createComponent();
+ requestMap.put("SkinBean", selectOne);
+ return selectOne;
+ }
+
+ public void setComponent(UIComponent component) {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ Map requestMap = facesContext.getExternalContext().getRequestMap();
+ requestMap.put("SkinBean", component);
+ }
+
+ public String change() {
+ UISelectOne selectOne = (UISelectOne) getComponent();
+ skin = (String) selectOne.getValue();
+ return null;
+ }
+}
17 years, 2 months
JBoss Rich Faces SVN: r3715 - management/design/orderingList.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-11-02 09:27:51 -0400 (Fri, 02 Nov 2007)
New Revision: 3715
Modified:
management/design/orderingList/FuncSpec - orderingList.doc
Log:
Modified: management/design/orderingList/FuncSpec - orderingList.doc
===================================================================
(Binary files differ)
17 years, 2 months
JBoss Rich Faces SVN: r3714 - trunk/sandbox/ui/rex-resizable/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-11-02 09:24:46 -0400 (Fri, 02 Nov 2007)
New Revision: 3714
Modified:
trunk/sandbox/ui/rex-resizable/src/main/config/component/resizable.xml
Log:
Fix register in file name.
Modified: trunk/sandbox/ui/rex-resizable/src/main/config/component/resizable.xml
===================================================================
--- trunk/sandbox/ui/rex-resizable/src/main/config/component/resizable.xml 2007-11-02 13:22:32 UTC (rev 3713)
+++ trunk/sandbox/ui/rex-resizable/src/main/config/component/resizable.xml 2007-11-02 13:24:46 UTC (rev 3714)
@@ -14,7 +14,7 @@
<test />
<renderer generate="true" override="true">
<name>org.richfaces.ResizableRenderer</name>
- <template>Resizable.jspx</template>
+ <template>resizable.jspx</template>
</renderer>
<tag>
<name>resizable</name>
17 years, 2 months