JBoss Rich Faces SVN: r2705 - trunk/ui/dataTable/src/test/java/org/richfaces/util.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-09-03 08:32:35 -0400 (Mon, 03 Sep 2007)
New Revision: 2705
Modified:
trunk/ui/dataTable/src/test/java/org/richfaces/util/ColumnUtilTest.java
Log:
Modified: trunk/ui/dataTable/src/test/java/org/richfaces/util/ColumnUtilTest.java
===================================================================
--- trunk/ui/dataTable/src/test/java/org/richfaces/util/ColumnUtilTest.java 2007-09-03 12:25:23 UTC (rev 2704)
+++ trunk/ui/dataTable/src/test/java/org/richfaces/util/ColumnUtilTest.java 2007-09-03 12:32:35 UTC (rev 2705)
@@ -29,7 +29,7 @@
*
*/
public class ColumnUtilTest extends AbstractAjax4JsfTestCase {
-
+
private UIColumn column;
public ColumnUtilTest(String name) {
18 years, 8 months
JBoss Rich Faces SVN: r2704 - trunk/ui/insert/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-09-03 08:25:23 -0400 (Mon, 03 Sep 2007)
New Revision: 2704
Modified:
trunk/ui/insert/src/main/config/component/insert.xml
Log:
http://jira.jboss.com/jira/browse/RF-589 - added descriptions
Modified: trunk/ui/insert/src/main/config/component/insert.xml
===================================================================
--- trunk/ui/insert/src/main/config/component/insert.xml 2007-09-03 12:18:51 UTC (rev 2703)
+++ trunk/ui/insert/src/main/config/component/insert.xml 2007-09-03 12:25:23 UTC (rev 2704)
@@ -36,29 +36,27 @@
<defaultvalue>"default"</defaultvalue>
</property>
-->
- <property>
- <name>src</name>
- <classname>java.lang.String</classname>
- <description><![CDATA[
- ]]></description>
- </property>
- <property>
- <name>highlight</name>
- <classname>java.lang.String</classname>
- <description><![CDATA[
- ]]></description>
- </property>
- <property>
- <name>encoding</name>
- <classname>java.lang.String</classname>
- <description><![CDATA[
- ]]></description>
- </property>
- <property>
- <name>errorContent</name>
- <classname>java.lang.String</classname>
- <description><![CDATA[
- ]]></description>
- </property>
+ <property>
+ <name>src</name>
+ <classname>java.lang.String</classname>
+ <description>Defines the path to the file with source code</description>
+ </property>
+ <property>
+ <name>highlight</name>
+ <classname>java.lang.String</classname>
+ <description>Defines a type of code</description>
+ </property>
+ <property>
+ <name>encoding</name>
+ <classname>java.lang.String</classname>
+ <description><![CDATA[
+ ]]></description>
+ </property>
+ <property>
+ <name>errorContent</name>
+ <classname>java.lang.String</classname>
+ <description><![CDATA[
+ ]]></description>
+ </property>
</component>
</components>
18 years, 8 months
JBoss Rich Faces SVN: r2703 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-09-03 08:18:51 -0400 (Mon, 03 Sep 2007)
New Revision: 2703
Modified:
trunk/docs/userguide/en/src/main/docbook/included/messages.xml
Log:
http://jira.jboss.com/jira/browse/RF-568
Modified: trunk/docs/userguide/en/src/main/docbook/included/messages.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2007-09-03 12:16:18 UTC (rev 2702)
+++ trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2007-09-03 12:18:51 UTC (rev 2703)
@@ -82,14 +82,9 @@
isn't shown.</listitem>
</itemizedlist>
</para>
- <para>The component provides three parts to be optionally defined: marker, informational label
- before the marker for every message and header element placed before the messages list.
- Header and marker are optional. They don't present by default for compatibility with standard
- messages. Labels are displayed for errors and one passed label is displayed optionally (if it's
- defined) when no errors occured.</para>
+ <para>The component provides two parts to be optionally defined: marker and informational label
+ before the marker for every message.</para>
<para> Set of facet which can be used for a marker defining: <itemizedlist>
- <listitem>header. This facet defines additional content to be displayed near the list. Header is positioned on top of the messages component.</listitem>
- <listitem>passedHeader. This facet is provided to allow an end developer setting a header content to be displayed if there are no messages.</listitem>
<listitem>passedMarker. This facet is provided to allow setting a marker to be displayed if there is no message.</listitem>
<listitem>errorMarker. This facet is provided to allow setting a marker to be displayed if there is a message with a severity class of "ERROR".</listitem>
<listitem>fatalMarker. This facet is provided to allow setting a marker to be displayed if there is a message with a severity class of "FATAL".</listitem>
@@ -105,12 +100,6 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:messages layout="table" tooltip="true" showDetail="false" showSummary="true" passedLabel="No Errors" var="messages">
- <f:facet name="header">
- <h:outputText value="Messages:"/>
- </f:facet>
- <f:facet name="passedHeader">
- <h:outputText value="No errors"/>
- </f:facet>
<f:facet name="errorMarker">
<h:graphicImage url="/image/error.gif"/>
</f:facet>
@@ -134,7 +123,7 @@
<para>To redefine appearance of all <emphasis role="bold">
<property><rich:messages></property>
- </emphasis> components, you may define the properties of the predefined style classes in the
+ </emphasis> components, you can define the properties of the predefined style classes in the
common CSS style sheet used on a page (there are no skin parameters and predefined values by
default to make it compatible with the standard message component). </para>
</section>
@@ -185,7 +174,7 @@
<entry>Defines styles for informational label element</entry>
</row>
- <row>
+ <!--row>
<entry>rich-messages-header</entry>
<entry>Defines styles for header element</entry>
@@ -195,7 +184,7 @@
<entry>rich-passed</entry>
<entry>Defines styles for all messages elements (marker, label, header)</entry>
- </row>
+ </row-->
</tbody>
</tgroup>
@@ -206,7 +195,7 @@
</emphasis> components on a page using CSS, it's enough to create classes with the
same names and define the necessary properties in them.</para>
- <para>To change the style of a particular <emphasis role="bold">
+ <para>To change the style of particular <emphasis role="bold">
<property><rich:messages></property>
</emphasis> components define your own style classes in the corresponding <emphasis role="bold">
<property><rich:messages></property>
18 years, 8 months
JBoss Rich Faces SVN: r2702 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-09-03 08:16:18 -0400 (Mon, 03 Sep 2007)
New Revision: 2702
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
Log:
http://jira.jboss.com/jira/browse/RF-446
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-09-03 11:23:47 UTC (rev 2701)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-09-03 12:16:18 UTC (rev 2702)
@@ -232,7 +232,7 @@
<listitem>CalendarDataModelItem</listitem>
</itemizedlist>
- <para><emphasis role="bold">CalendarDataModel</emphasis> provides the following function:</para>
+ <para><property>CalendarDataModel</property> provides the following function:</para>
<itemizedlist>
<listitem>CalendarDataModelItem[] getData(Date[]);</listitem>
</itemizedlist>
@@ -243,7 +243,7 @@
<property>"Ajax"</property>
</emphasis> mode when the calendar renders a new page. </para>
- <para><emphasis role="bold">CalendarDataModelItem</emphasis> provides the following function:</para>
+ <para><property>CalendarDataModelItem</property> provides the following function:</para>
<itemizedlist>
<listitem>Date getDate() - returns date from the item. Default implementation returns date.</listitem>
<listitem>Boolean isEnabled() - returns <emphasis>
@@ -428,16 +428,16 @@
</itemizedlist>
</section>
- <!--section>
+ <section>
<title> Skin parameters redefinition</title>
<table>
- <title>Skin parameters redefinition for table element of the first level group</title>
+ <title>Skin parameters redefinition for popup element</title>
<tgroup cols="2">
<thead>
<row>
- <entry>Parameters for table element of the first level group</entry>
+ <entry>Skin parameters</entry>
<entry>CSS properties</entry>
</row>
@@ -445,45 +445,163 @@
<tbody>
<row>
- <entry>headerWeightFont</entry>
+ <entry>panelBorderColor</entry>
- <entry>font-weight</entry>
+ <entry>border-color</entry>
</row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for header elements (header, optional header)</title>
+
+ <tgroup cols="2">
+ <thead>
<row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-bottom-color</entry>
+ </row>
+
+ <row>
+ <entry>additionalBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+
+ <entry>font-size</entry>
+ </row>
+
+ <row>
<entry>generalFamilyFont</entry>
<entry>font-family</entry>
</row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for footer elements (footer, optional footer) and names of working days</title>
+
+ <tgroup cols="2">
+ <thead>
<row>
- <entry>headerSizeFont</entry>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-top-color</entry>
+ </row>
+
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-right-color</entry>
+ </row>
+
+ <row>
+ <entry>additionalBackgroundColor</entry>
+
+ <entry>background</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+
<entry>font-size</entry>
</row>
<row>
- <entry>headerTextColor</entry>
+ <entry>generalFamilyFont</entry>
- <entry>color</entry>
+ <entry>font-family</entry>
</row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for weeks numbers</title>
+
+ <tgroup cols="2">
+ <thead>
<row>
- <entry>headerBackgroundColor</entry>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-bottom-color</entry>
+ </row>
+
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-right-color</entry>
+ </row>
+
+ <row>
+ <entry>additionalBackgroundColor</entry>
+
+ <entry>background</entry>
+ </row>
+
+ <row>
+ <entry>calendarWeekBackgroundColor</entry>
+
<entry>background-color</entry>
</row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+
+ <entry>font-size</entry>
+ </row>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+
+ <entry>font-family</entry>
+ </row>
+
</tbody>
</tgroup>
</table>
<table>
- <title>Skin parameters redefinition for table element of the second and next levels groups</title>
+ <title>Skin parameters redefinition for toolbar and names of months</title>
<tgroup cols="2">
<thead>
<row>
- <entry>Parameters for table element of the second and next levels groups</entry>
+ <entry>Skin parameters</entry>
<entry>CSS properties</entry>
</row>
@@ -491,45 +609,151 @@
<tbody>
<row>
- <entry>headerWeightFont</entry>
+ <entry>headerBackgroundColor</entry>
- <entry>font-weight</entry>
+ <entry>background-color</entry>
</row>
<row>
+ <entry>headerSizeFont</entry>
+
+ <entry>font-size</entry>
+ </row>
+
+ <row>
<entry>headerFamilyFont</entry>
<entry>font-family</entry>
</row>
<row>
- <entry>headerSizeFont</entry>
+ <entry>headerWeightFont</entry>
+ <entry>font-weight</entry>
+ </row>
+
+ <row>
+ <entry>headerTextColor</entry>
+
+ <entry>color</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for cells with days</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-bottom-color</entry>
+ </row>
+
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-right-color</entry>
+ </row>
+
+ <row>
+ <entry>generalBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+
<entry>font-size</entry>
</row>
<row>
- <entry>generalTextColor</entry>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for hollydays</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>calendarHolidaysBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>calendarHolidaysTextColor</entry>
+
<entry>color</entry>
</row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for today date</title>
+
+ <tgroup cols="2">
+ <thead>
<row>
- <entry>tableBorderColor</entry>
+ <entry>Skin parameters</entry>
- <entry>border-top-color</entry>
+ <entry>CSS properties</entry>
</row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>calendarCurrentBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>calendarCurrentTextColor</entry>
+
+ <entry>color</entry>
+ </row>
+
</tbody>
</tgroup>
</table>
<table>
- <title>Skin parameter redefinition for wrapped div element of the first level group</title>
+ <title>Skin parameters redefinition for selected day</title>
<tgroup cols="2">
<thead>
<row>
- <entry>Parameter for wrapped div element of the first level group</entry>
+ <entry>Skin parameters</entry>
<entry>CSS properties</entry>
</row>
@@ -537,15 +761,28 @@
<tbody>
<row>
- <entry>panelBorderColor</entry>
+ <entry>headerBackgroundColor</entry>
- <entry>border-color</entry>
+ <entry>background-color</entry>
</row>
+ <row>
+ <entry>headerTextColor</entry>
+
+ <entry>color</entry>
+ </row>
+
+ <row>
+ <entry>headerWeightFont</entry>
+
+ <entry>font-weight</entry>
+ </row>
+
</tbody>
</tgroup>
</table>
- </section-->
+
+ </section>
<section>
<title>Definition of Custom Style Classes</title>
18 years, 8 months
JBoss Rich Faces SVN: r2701 - in trunk/samples/richfaces-demo/src/main: webapp/richfaces and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-09-03 07:23:47 -0400 (Mon, 03 Sep 2007)
New Revision: 2701
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/page.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
Log:
Page info added.
Modified: trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
--- trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-09-03 11:09:06 UTC (rev 2700)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-09-03 11:23:47 UTC (rev 2701)
@@ -61,6 +61,6 @@
repeat= richDataIterators, Repeat, /images/ico_common.gif, /images/cn_Repeat.gif, RichFacesComponentsLibrary.html#repeat, jbossajax4jsf/freezone/docs/tlddoc/a4j/repeat.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/repeat/UIRepeat.html, /richfaces/repeat.jsf
htmlCommandLink= ajaxMisc, Html Command Link, /images/ico_common.gif, /images/cn_HtmlCommandLink.gif, RichFacesComponentsLibrary.html#htmlCommandLink, jbossajax4jsf/freezone/docs/tlddoc/a4j/htmlCommandLink.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/renderkit/html/HtmlCommandLinkRenderer.html, /richfaces/comingSoon.jsf
log= ajaxMisc, Log, /images/ico_common.gif, /images/cn_Log.gif, RichFacesComponentsLibrary.html#log, jbossajax4jsf/freezone/docs/tlddoc/a4j/log.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxLog.html, /richfaces/log.jsf
-page= ajaxMisc, Ajax Page, /images/ico_common.gif, /images/cn_AjaxPage.gif, RichFacesComponentsLibrary.html#page, jbossajax4jsf/freezone/docs/tlddoc/a4j/page.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxRegion.html, /richfaces/comingSoon.jsf
+page= ajaxMisc, Ajax Page, /images/ico_common.gif, /images/cn_AjaxPage.gif, RichFacesComponentsLibrary.html#page, jbossajax4jsf/freezone/docs/tlddoc/a4j/page.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxRegion.html, /richfaces/page.jsf
portlet= ajaxMisc, Ajax Portlet, /images/ico_common.gif, /images/cn_AjaxPortlet.gif, RichFacesComponentsLibrary.html#portlet, jbossajax4jsf/freezone/docs/tlddoc/a4j/portlet.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIPortlet.html, /richfaces/comingSoon.jsf
effect= richMisc, Effect, /images/ico_common.gif, /images/cn_Effect.gif, ArchitectureOverview.html, jbossrichfaces/freezone/docs/tlddoc/overview-summary.html, jbossrichfaces/freezone/docs/apidoc/overview-summary.html, /richfaces/effect.jsf
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml 2007-09-03 11:23:47 UTC (rev 2701)
@@ -0,0 +1,48 @@
+<!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>
+ <b><a4j:page></b> is a deprecated component used for solving of incompatibility
+ problems in early Ajax4jsf and MyFaces versions.
+ </p>
+ <p>
+ The component could be used to encode the
+ full html page structure. Header facet provided to insert html header content
+ to the page markup.
+ </p>
+ <p>
+ This component should be defined as a child component for <f:view> For example:
+ </p>
+ <p>
+<pre><f:view>
+ <a4j:page>
+ <f:facet name="head">
+ <!--...Head Content here-->
+ </f:facet>
+ <!--...Page Content here-->
+ </a4j:page>
+</f:view></pre>
+ </p>
+ <p>
+ Will be rendered as:
+ </p>
+ <p>
+<pre><HTML>
+ <HEAD>
+ <!--...Head Content here-->
+ </HEAD>
+<body >
+ <!--...Page Content Here-->
+</body>
+</HTML></pre>
+ </p>
+ </ui:define>
+
+ </ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/page.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/page.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/page.xhtml 2007-09-03 11:23:47 UTC (rev 2701)
@@ -0,0 +1,20 @@
+<!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 - Page component</ui:define>
+ <ui:define name="body">
+ <rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+ <rich:tab label="Usage">
+ <ui:include src="/richfaces/page/usage.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="a4j/page"/>
+ </ui:include>
+ </rich:tabPanel>
+ </ui:define>
+</ui:composition>
+</html>
\ No newline at end of file
18 years, 8 months
JBoss Rich Faces SVN: r2700 - in trunk/samples/richfaces-demo/src/main: webapp/richfaces and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-09-03 07:09:06 -0400 (Mon, 03 Sep 2007)
New Revision: 2700
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
Log:
comming soon examples added.
Modified: trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
--- trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-09-03 11:08:13 UTC (rev 2699)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-09-03 11:09:06 UTC (rev 2700)
@@ -10,10 +10,10 @@
dataTable= richDataIterators, Data Table, /images/ico_DataTable.gif, /images/cn_DataTable.gif, RichFacesComponentsLibrary.html#dataTable, jbossrichfaces/freezone/docs/tlddoc/rich/dataTable.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataTable.html, /richfaces/dataTable.jsf
column= richDataIterators, Column, /images/ico_DataTable.gif, /images/cn_Column.gif, RichFacesComponentsLibrary.html#column, jbossrichfaces/freezone/docs/tlddoc/rich/column.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIColumn.html, /richfaces/dataTable.jsf
columnGroup= richDataIterators, Column Group, /images/ico_DataTable.gif, /images/cn_ColumnGroup.gif, RichFacesComponentsLibrary.html#columnGroup, jbossrichfaces/freezone/docs/tlddoc/rich/columnGroup.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIColumnGroup.html, /richfaces/dataTable.jsf
-dataDefinitionList= richDataIterators, Data Definition List, /images/ico_DataTable.gif, /images/cn_DataDefinitionList.gif, RichFacesComponentsLibrary.html#dataDefinitionList, jbossrichfaces/freezone/docs/tlddoc/rich/dataDefinitionList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataDefinitionList.html, /richfaces/comingSoon.jsf
+dataDefinitionList= richDataIterators, Data Definition List, /images/ico_DataTable.gif, /images/cn_DataDefinitionList.gif, RichFacesComponentsLibrary.html#dataDefinitionList, jbossrichfaces/freezone/docs/tlddoc/rich/dataDefinitionList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataDefinitionList.html, /richfaces/dataLists.jsf
dataGrid= richDataIterators, Data Grid, /images/ico_DataTable.gif, /images/cn_DataGrid.gif, RichFacesComponentsLibrary.html#dataGrid, jbossrichfaces/freezone/docs/tlddoc/rich/dataGrid.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataGrid.html, /richfaces/dataGrid.jsf
-dataList= richDataIterators, Data List, /images/ico_DataTable.gif, /images/cn_DataList.gif, RichFacesComponentsLibrary.html#dataList, jbossrichfaces/freezone/docs/tlddoc/rich/dataList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataList.html, /richfaces/comingSoon.jsf
-dataOrderedList= richDataIterators, Data Ordered List, /images/ico_DataTable.gif, /images/cn_DataOrderedList.gif, RichFacesComponentsLibrary.html#dataOrderedList, jbossrichfaces/freezone/docs/tlddoc/rich/dataOrderedList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/taglib/DataOrderedListTag.html, /richfaces/comingSoon.jsf
+dataList= richDataIterators, Data List, /images/ico_DataTable.gif, /images/cn_DataList.gif, RichFacesComponentsLibrary.html#dataList, jbossrichfaces/freezone/docs/tlddoc/rich/dataList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataList.html, /richfaces/dataLists.jsf
+dataOrderedList= richDataIterators, Data Ordered List, /images/ico_DataTable.gif, /images/cn_DataOrderedList.gif, RichFacesComponentsLibrary.html#dataOrderedList, jbossrichfaces/freezone/docs/tlddoc/rich/dataOrderedList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/taglib/DataOrderedListTag.html, /richfaces/dataLists.jsf
gmap= richMisc, Google Map, /images/ico_GoogleMap.gif, /images/cn_GoogleMap.gif, RichFacesComponentsLibrary.html#gmap, jbossrichfaces/freezone/docs/tlddoc/rich/gmap.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIGmap.html, /richfaces/gmap.jsf
paint2d= richOutputs, Paint2D, /images/ico_Paint2D.gif, /images/cn_Paint2D.gif, RichFacesComponentsLibrary.html#paint2D, jbossrichfaces/freezone/docs/tlddoc/rich/paint2D.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIPaint2D.html, /richfaces/paint2D.jsf
toolBar= richOutputs, Tool Bar, /images/ico_ToolBar.gif, /images/cn_ToolBar.gif, RichFacesComponentsLibrary.html#toolBar, jbossrichfaces/freezone/docs/tlddoc/rich/toolBar.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIToolBar.html, /richfaces/toolBar.jsf
@@ -60,7 +60,7 @@
outputPanel= ajaxOutput, Output Panel, /images/ico_common.gif, /images/cn_OutputPanel.gif, RichFacesComponentsLibrary.html#outputPanel, jbossajax4jsf/freezone/docs/tlddoc/a4j/outputPanel.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxOutputPanel.html, /richfaces/outputPanel.jsf
repeat= richDataIterators, Repeat, /images/ico_common.gif, /images/cn_Repeat.gif, RichFacesComponentsLibrary.html#repeat, jbossajax4jsf/freezone/docs/tlddoc/a4j/repeat.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/repeat/UIRepeat.html, /richfaces/repeat.jsf
htmlCommandLink= ajaxMisc, Html Command Link, /images/ico_common.gif, /images/cn_HtmlCommandLink.gif, RichFacesComponentsLibrary.html#htmlCommandLink, jbossajax4jsf/freezone/docs/tlddoc/a4j/htmlCommandLink.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/renderkit/html/HtmlCommandLinkRenderer.html, /richfaces/comingSoon.jsf
-log= ajaxMisc, Log, /images/ico_common.gif, /images/cn_Log.gif, RichFacesComponentsLibrary.html#log, jbossajax4jsf/freezone/docs/tlddoc/a4j/log.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxLog.html, /richfaces/comingSoon.jsf
+log= ajaxMisc, Log, /images/ico_common.gif, /images/cn_Log.gif, RichFacesComponentsLibrary.html#log, jbossajax4jsf/freezone/docs/tlddoc/a4j/log.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxLog.html, /richfaces/log.jsf
page= ajaxMisc, Ajax Page, /images/ico_common.gif, /images/cn_AjaxPage.gif, RichFacesComponentsLibrary.html#page, jbossajax4jsf/freezone/docs/tlddoc/a4j/page.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxRegion.html, /richfaces/comingSoon.jsf
portlet= ajaxMisc, Ajax Portlet, /images/ico_common.gif, /images/cn_AjaxPortlet.gif, RichFacesComponentsLibrary.html#portlet, jbossajax4jsf/freezone/docs/tlddoc/a4j/portlet.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIPortlet.html, /richfaces/comingSoon.jsf
effect= richMisc, Effect, /images/ico_common.gif, /images/cn_Effect.gif, ArchitectureOverview.html, jbossrichfaces/freezone/docs/tlddoc/overview-summary.html, jbossrichfaces/freezone/docs/apidoc/overview-summary.html, /richfaces/effect.jsf
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml 2007-09-03 11:09:06 UTC (rev 2700)
@@ -0,0 +1,24 @@
+<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">
+
+<style>
+.label{
+font-weight:bold;
+}
+</style>
+ <h:form>
+ <rich:dataList var="car" value="#{dataTableScrollerBean.allCars}" rows="10">
+ <h:outputText value="#{car.make} #{car.model}"/><br/>
+ <h:outputText value="Price:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price} " />
+ <h:outputText value="Mileage:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage} " />
+ <h:outputText value="VIN:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.vin}" />
+ </rich:dataList>
+ </h:form>
+</ui:composition>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml 2007-09-03 11:09:06 UTC (rev 2700)
@@ -0,0 +1,32 @@
+<!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>Data Lists components allows to generate DL, DT and DD lists using lists
+ from the model bean.
+ <br />
+ The folowing example shows the dataList component in use. Two another comopnents
+ has the same usage.
+ </p>
+
+
+ <div class="sample-container" >
+
+ <ui:include src="/richfaces/dataLists/examples/lists.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/dataLists/examples/lists.xhtml"/>
+ </ui:include>
+
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml 2007-09-03 11:09:06 UTC (rev 2700)
@@ -0,0 +1,20 @@
+<!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 - Data Lists</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/dataLists/usage.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="rich/dataLists"/>
+ </ui:include>
+ </rich:tabPanel>
+ </ui:define>
+</ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml 2007-09-03 11:09:06 UTC (rev 2700)
@@ -0,0 +1,20 @@
+<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">
+
+ <p>There you can explore debug info for Simple Repeater example:</p>
+ <p>Type some symbols to trigger the requests</p>
+ <h:form>
+ <h:panelGrid columns="1">
+ <h:inputText value="#{userBean.name}">
+ <a4j:support event="onkeyup" ignoreDupResponses="true"
+ requestDelay="2000" ajaxSingle="true" reRender="repeater" />
+ </h:inputText>
+ <h:outputText value="Repeated Value: #{userBean.name}" id="repeater" />
+ </h:panelGrid>
+ <a4j:log popup="false" level="ALL" style="width: 800px; height: 300px;"></a4j:log>
+ </h:form>
+</ui:composition>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml 2007-09-03 11:09:06 UTC (rev 2700)
@@ -0,0 +1,30 @@
+<!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>
+ Log component allows the developer to inspect client side activities
+ during Ajax request. It shows reuqest data, response data, DOM
+ tree changes on update and other usefull debug information.
+ </p>
+ <p>
+ Debug info can be rendered on main page or as separate popup window.
+ </p>
+
+
+ <div class="sample-container">
+ <ui:include src="/richfaces/log/examples/log.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/log/examples/log.xhtml"/>
+ <ui:param name="openlabel" value="View Page Source" />
+ </ui:include>
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml 2007-09-03 11:09:06 UTC (rev 2700)
@@ -0,0 +1,20 @@
+<!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 - Log component</ui:define>
+ <ui:define name="body">
+ <rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+ <rich:tab label="Usage">
+ <ui:include src="/richfaces/log/usage.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="a4j/log"/>
+ </ui:include>
+ </rich:tabPanel>
+ </ui:define>
+</ui:composition>
+</html>
18 years, 8 months
JBoss Rich Faces SVN: r2699 - in trunk/ui: scrollableDataTable and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-09-03 07:08:13 -0400 (Mon, 03 Sep 2007)
New Revision: 2699
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/util/ColumnUtil.java
trunk/ui/scrollableDataTable/pom.xml
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/event/sort/MultiColumnSortListener.java
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/event/sort/SingleColumnSortListener.java
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java
Log:
Decoupled scrollableDataTable from dataTable component
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/util/ColumnUtil.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/util/ColumnUtil.java 2007-09-03 10:51:01 UTC (rev 2698)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/util/ColumnUtil.java 2007-09-03 11:08:13 UTC (rev 2699)
@@ -21,9 +21,10 @@
package org.richfaces.util;
+import javax.faces.component.UIComponent;
import javax.faces.el.ValueBinding;
-import org.richfaces.component.UIColumn;
+import org.richfaces.component.Column;
/**
* @author Maksim Kaszynski
@@ -41,10 +42,12 @@
* If attribute is not set, fall aback to component id
*/
- public static String getColumnSorting(UIColumn column) {
+ public static String getColumnSorting(Column column) {
- ValueBinding binding = column.getValueBinding("sortExpression");
+ UIComponent component = (UIComponent) column;
+ ValueBinding binding = component.getValueBinding("sortExpression");
+
if (binding != null) {
return binding.getExpressionString();
}
@@ -56,7 +59,7 @@
}
- return column.getId();
+ return component.getId();
}
}
Modified: trunk/ui/scrollableDataTable/pom.xml
===================================================================
--- trunk/ui/scrollableDataTable/pom.xml 2007-09-03 10:51:01 UTC (rev 2698)
+++ trunk/ui/scrollableDataTable/pom.xml 2007-09-03 11:08:13 UTC (rev 2699)
@@ -79,6 +79,7 @@
<groupId>org.richfaces.ui</groupId>
<artifactId>dataTable</artifactId>
<version>3.1.0-SNAPSHOT</version>
+ <scope>test</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: trunk/ui/scrollableDataTable/src/main/java/org/richfaces/event/sort/MultiColumnSortListener.java
===================================================================
--- trunk/ui/scrollableDataTable/src/main/java/org/richfaces/event/sort/MultiColumnSortListener.java 2007-09-03 10:51:01 UTC (rev 2698)
+++ trunk/ui/scrollableDataTable/src/main/java/org/richfaces/event/sort/MultiColumnSortListener.java 2007-09-03 11:08:13 UTC (rev 2699)
@@ -10,7 +10,7 @@
import javax.faces.context.FacesContext;
-import org.richfaces.component.UIColumn;
+import org.richfaces.component.Column;
import org.richfaces.component.UIScrollableDataTable;
import org.richfaces.model.SortField;
import org.richfaces.model.SortOrder;
@@ -35,8 +35,8 @@
UIScrollableDataTable grid = (UIScrollableDataTable) e.getComponent();
int columnIndex = e.getSortColumn();
- UIColumn column =
- (UIColumn) grid.getChildren().get(columnIndex);
+ Column column =
+ (Column) grid.getChildren().get(columnIndex);
String name = ColumnUtil.getColumnSorting(column);
Modified: trunk/ui/scrollableDataTable/src/main/java/org/richfaces/event/sort/SingleColumnSortListener.java
===================================================================
--- trunk/ui/scrollableDataTable/src/main/java/org/richfaces/event/sort/SingleColumnSortListener.java 2007-09-03 10:51:01 UTC (rev 2698)
+++ trunk/ui/scrollableDataTable/src/main/java/org/richfaces/event/sort/SingleColumnSortListener.java 2007-09-03 11:08:13 UTC (rev 2699)
@@ -5,7 +5,7 @@
import javax.faces.context.FacesContext;
-import org.richfaces.component.UIColumn;
+import org.richfaces.component.Column;
import org.richfaces.component.UIScrollableDataTable;
import org.richfaces.model.SortField;
import org.richfaces.model.SortOrder;
@@ -28,8 +28,8 @@
public void processSort(SortEvent e) {
UIScrollableDataTable grid = (UIScrollableDataTable) e.getComponent();
int columnIndex = e.getSortColumn();
- UIColumn column =
- (UIColumn) grid.getChildren().get(columnIndex);
+ Column column =
+ (Column) grid.getChildren().get(columnIndex);
String name = ColumnUtil.getColumnSorting(column);
Modified: trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java
===================================================================
--- trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java 2007-09-03 10:51:01 UTC (rev 2698)
+++ trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java 2007-09-03 11:08:13 UTC (rev 2699)
@@ -21,7 +21,6 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.richfaces.component.Column;
-import org.richfaces.component.UIColumn;
import org.richfaces.component.UIScrollableDataTable;
import org.richfaces.event.scroll.ScrollEvent;
import org.richfaces.event.sort.SortEvent;
@@ -175,8 +174,8 @@
Boolean sorting = null;
- UIColumn column =
- (UIColumn) grid.getChildren().get(columnIndex);
+ Column column =
+ (Column) grid.getChildren().get(columnIndex);
String name = ColumnUtil.getColumnSorting(column);
18 years, 8 months
JBoss Rich Faces SVN: r2698 - trunk/test-applications/facelets/src/main/webapp/Effect.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-09-03 06:51:01 -0400 (Mon, 03 Sep 2007)
New Revision: 2698
Modified:
trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml
Log:
Modified: trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml 2007-09-03 10:50:53 UTC (rev 2697)
+++ trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml 2007-09-03 10:51:01 UTC (rev 2698)
@@ -223,14 +223,6 @@
Panel</font> </span>
</f:verbatim>
<h:graphicImage value="/pics/warn.gif" onclick="showRichTabPanel()" />
-
- <h:outputText value="Tab Panel mode:" />
- <h:selectOneRadio value="#{tabPanel.switchType}">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <a4j:support event="onclick" reRender="tabPanelId"></a4j:support>
- </h:selectOneRadio>
</h:panelGrid>
<rich:panel id="richPanelID">
@@ -249,7 +241,7 @@
<rich:tabPanel id="tabPanelID"
headerAlignment="Header of the tabPanel" height="200px"
- switchType="#{tabPanel.switchType}" rendered="true" title="Title">
+ switchType="ajax" rendered="true" title="Title">
<rich:tab id="tab1" label="label 1">
<h:outputText value="This is tab panel 1" styleClass="text1"></h:outputText>
18 years, 8 months
JBoss Rich Faces SVN: r2697 - trunk/test-applications/jsp/src/main/webapp/Effect.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-09-03 06:50:53 -0400 (Mon, 03 Sep 2007)
New Revision: 2697
Modified:
trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2007-09-03 10:40:27 UTC (rev 2696)
+++ trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2007-09-03 10:50:53 UTC (rev 2697)
@@ -221,14 +221,6 @@
Panel</font> </span>
</f:verbatim>
<h:graphicImage value="/pics/warn.gif" onclick="showRichTabPanel()" />
-
- <h:outputText value="Tab Panel mode:" />
- <h:selectOneRadio value="#{tabPanel.switchType}">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- <a4j:support event="onclick" reRender="tabPanelId"></a4j:support>
- </h:selectOneRadio>
</h:panelGrid>
<rich:panel id="richPanelID">
@@ -247,7 +239,7 @@
<rich:tabPanel id="tabPanelID"
headerAlignment="Header of the tabPanel" height="200px"
- switchType="#{tabPanel.switchType}" rendered="true" title="Title">
+ switchType="ajax" rendered="true" title="Title">
<rich:tab id="tab1" label="label 1">
<h:outputText value="This is tab panel 1" styleClass="text1"></h:outputText>
18 years, 8 months
JBoss Rich Faces SVN: r2696 - trunk/test-applications/facelets/src/main/webapp/Insert.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-09-03 06:40:27 -0400 (Mon, 03 Sep 2007)
New Revision: 2696
Modified:
trunk/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-803
Modified: trunk/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml 2007-09-03 10:40:18 UTC (rev 2695)
+++ trunk/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml 2007-09-03 10:40:27 UTC (rev 2696)
@@ -46,7 +46,7 @@
</h:selectOneMenu>
<h:outputText value="Rendered" />
- <h:selectBooleanCheckbox value="#{insert.rendered}" />
+ <h:selectBooleanCheckbox value="#{insert.rendered}" onchange="submit();"/>
</h:panelGrid>
<h:commandLink value="Back" action="main"></h:commandLink>
</h:form>
18 years, 8 months