JBoss Rich Faces SVN: r7148 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/togglePanel.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-24 15:15:50 -0400 (Mon, 24 Mar 2008)
New Revision: 7148
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/togglePanel/usage.xhtml
Log:
[RF-2664] Demo site: corrections of Toggle Panel demo layout
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/togglePanel/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/togglePanel/usage.xhtml 2008-03-24 19:12:34 UTC (rev 7147)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/togglePanel/usage.xhtml 2008-03-24 19:15:50 UTC (rev 7148)
@@ -28,21 +28,25 @@
three states for tips.
</p>
-
- <div class="sample-container">
-
+
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Toggle Panel example</legend>
+ <div class="sample-container">
+
<ui:include src="/richfaces/togglePanel/examples/tipsPanel.xhtml"/>
-
+ <br/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath" value="/richfaces/togglePanel/examples/tipsPanel.xhtml"/>
<ui:param name="openlabel" value="View Page Source"/>
- </ui:include>
-
+ </ui:include>
+
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath" value="/richfaces/togglePanel/examples/tipBlock.xhtml"/>
<ui:param name="openlabel" value="View TipBlock.xhtml Source"/>
- </ui:include>
- </div>
+ </ui:include>
+ </div>
+ </fieldset>
+
</ui:define>
</ui:composition>
</html>
16 years, 9 months
JBoss Rich Faces SVN: r7147 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: vsukhov
Date: 2008-03-24 15:12:34 -0400 (Mon, 24 Mar 2008)
New Revision: 7147
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
http://jira.jboss.com/jira/browse/RF-2681I've added info abuot rich:clientId('id'), rich:element('id'), rich:component('id') into guide 5.4.5 section
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2008-03-24 19:10:14 UTC (rev 7146)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2008-03-24 19:12:34 UTC (rev 7147)
@@ -518,7 +518,13 @@
refered with <emphasis>
<property>"data"</property>
</emphasis>.</para>
- </section>
+ <para>There is a number of useful functions which can be used in JavaScript:</para>
+ <itemizedlist>
+ <listitem>rich:clientId('id') - returns client id by short id or null if the component with the id specified hasn't been found </listitem>
+ <listitem>rich:element('id') - is a shortcut for document.getElementById(#{rich:clientId('id')}) </listitem>
+ <listitem>rich:component('id') - is a shortcut for #{rich:clientId('id')}.component</listitem>
+ </itemizedlist>
+ </section>
<section id="IterationcomponentsAjaxattributes">
<?dbhtml filename="IterationcomponentsAjaxattributes.html"?>
16 years, 9 months
JBoss Rich Faces SVN: r7146 - trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-03-24 15:10:14 -0400 (Mon, 24 Mar 2008)
New Revision: 7146
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils/Utils.js
Log:
RF-1874
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils/Utils.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils/Utils.js 2008-03-24 19:02:22 UTC (rev 7145)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils/Utils.js 2008-03-24 19:10:14 UTC (rev 7146)
@@ -73,6 +73,7 @@
//Fall back to DOM, and cross the fingers
src = document.importNode(src, true);
target.parentNode.replaceChild(src, target);
+ return src;
}
}
else {
16 years, 9 months
JBoss Rich Faces SVN: r7145 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator: examples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-24 15:02:22 -0400 (Mon, 24 Mar 2008)
New Revision: 7145
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator/examples/variants.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator/usage.xhtml
Log:
[RF-2660] Demo site: corrections of Separator demo layout
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator/examples/variants.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator/examples/variants.xhtml 2008-03-24 18:53:57 UTC (rev 7144)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator/examples/variants.xhtml 2008-03-24 19:02:22 UTC (rev 7145)
@@ -5,19 +5,15 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <p>
- This is default separator:
- <rich:separator />
- </p>
- <p>
- This is tick 75% beveled separator aligned to the center:
- <rich:separator lineType="beveled" height="8" width="75%" align="center"/>
- </p>
- <p>
- Here is more examples of different line types:
- <rich:separator height="2" lineType="dotted"/><br/>
- <rich:separator height="2" lineType="dashed"/><br/>
- <rich:separator height="4" lineType="double"/><br/>
- <rich:separator height="2" lineType="solid"/><br/>
- </p>
+ <p>This is default separator:</p>
+ <rich:separator/>
+
+ <p>This is tick 75% beveled separator aligned to the center:</p>
+ <rich:separator lineType="beveled" height="8" width="75%" align="center"/>
+
+ <p>Here is more examples of different line types:</p>
+ <rich:separator height="2" lineType="dotted"/><br/>
+ <rich:separator height="2" lineType="dashed"/><br/>
+ <rich:separator height="4" lineType="double"/><br/>
+ <rich:separator height="2" lineType="solid"/><br/>
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator/usage.xhtml 2008-03-24 18:53:57 UTC (rev 7144)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/separator/usage.xhtml 2008-03-24 19:02:22 UTC (rev 7145)
@@ -10,13 +10,15 @@
Separator is used to draw a horizontal line on a page. You may specify different types of a line, the possible values are "beveled" (default), "dotted", "dashed", "double" and "solid".
You also can specify width, height and alignment for the separator.
</p>
- <div class="sample-container">
-
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Separator demo</legend>
+ <div class="sample-container">
<ui:include src="/richfaces/separator/examples/variants.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath" value="/richfaces/separator/examples/variants.xhtml"/>
- </ui:include>
- </div>
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>
16 years, 9 months
JBoss Rich Faces SVN: r7144 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-03-24 14:53:57 -0400 (Mon, 24 Mar 2008)
New Revision: 7144
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
Log:
http://jira.jboss.com/jira/browse/RF-1226
jJS API added, some parts commented
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-03-24 18:40:51 UTC (rev 7143)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-03-24 18:53:57 UTC (rev 7144)
@@ -315,51 +315,60 @@
</section>
<!-- End. Details of Usage-->
-
+
+
<!-- JavaScript API-->
- <section>
- <title>JavaScript API</title>
- <table>
- <title>JavaScript API</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Function</entry>
- <entry>Description</entry>
-
- </row>
- </thead>
- <tbody>
+ <section>
+ <title>JavaScript API</title>
+ <table>
+ <title>JavaScript API</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Function</entry>
+ <entry>Description</entry>
+
+ </row>
+ </thead>
+ <tbody>
<!--Sorting API -->
<row>
- <entry>enable()</entry>
- <entry>Begins polling for ajax mode </entry>
+ <entry>edit()</entry>
+ <entry>changes the state to Edit </entry>
</row>
<row>
- <entry>disable()</entry>
- <entry>Stops polling for ajax mode</entry>
+ <entry>cancel()</entry>
+ <entry>changes its state to the previous one before editing (changed or view)</entry>
</row>
<row>
- <entry>setValue(value)</entry>
- <entry>Updates the progress of the process</entry>
-
+ <entry>save()</entry>
+ <entry>the component hanges the state to the previous one before editing (Changed or View)</entry>
</row>
<row>
- <entry>setLabel(label)</entry>
- <entry>Update the label for the process</entry>
-
+ <entry>save()</entry>
+ <entry>the component changes its state to Changed with a new value</entry>
</row>
-
-
-
-
- </tbody>
- </tgroup>
- </table>
- </section>
+ <row>
+ <entry>save()</entry>
+ <entry>the component changes its state to Changed with a new value</entry>
+ </row>
+ <row>
+ <entry>getValue()</entry>
+ <entry>gets the current value</entry>
+ </row>
+
+ <row>
+ <entry>setValue(newValue)</entry>
+ <entry>sets the current value</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
<!-- End of JavaScript API-->
<!-- Look-and-Feel Customization-->
@@ -372,17 +381,18 @@
<property>skin parameters.</property>
</emphasis></para>
<para>There are two ways to redefine the appearance of all <emphasis role="bold">
- <property><rich:progressBar></property>
+ <property><rich:inplaceInput></property>
</emphasis> components at once: <itemizedlist>
<listitem>Redefine the corresponding skin parameters</listitem>
<listitem> Add to your style sheets style classes used by a <emphasis role="bold">
- <property><rich:progressBar></property>
+ <property><rich:inplaceInput></property>
</emphasis> component</listitem>
</itemizedlist>
</para>
</section>
<!-- Skin Parameters Redefinition-->
+ <!--
<section>
<title>Skin Parameters Redefinition</title>
@@ -565,15 +575,16 @@
</table>
- </section>
+ </section>-->
<!-- END Skin Parameters Redefinition-->
<!-- Definition of Custom Style Classes-->
-
+<!--
<section>
<title>Definition of Custom Style Classes</title>
<para>On the screenshot there are classes names that define styles for component elements.</para>
-
+
+
<figure>
<title>Classes names</title>
<mediaobject>
@@ -581,9 +592,7 @@
<imagedata fileref="images/progressbarClasses.png"/>
</imageobject>
</mediaobject>
- </figure>
-
- <table>
+ </figure> <table>
<title>Classes names for the bar</title>
<tgroup cols="2">
<thead>
@@ -718,16 +727,16 @@
</figure>
<para>As it could be seen on the picture above, the font style for output text was changed.</para>
-
-
+
</section>
+ -->
+
<section>
<title>Relevant Resources Links</title>
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/progressbar.jsf?c=pro...">Here</ulink>
you can see the example of <emphasis role="bold">
- <property><rich:progressBar></property>
+ <property><rich:inplaceIput></property>
</emphasis> usage and sources for the given example. </para>
-
</section>
</section>
\ No newline at end of file
16 years, 9 months
JBoss Rich Faces SVN: r7143 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-24 14:40:51 -0400 (Mon, 24 Mar 2008)
New Revision: 7143
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/usage.xhtml
Log:
[RF-2658] Demo site: corrections of Panel Menu demo layout
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/usage.xhtml 2008-03-24 18:12:44 UTC (rev 7142)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/usage.xhtml 2008-03-24 18:40:51 UTC (rev 7143)
@@ -12,16 +12,15 @@
skinable look-n-feel. You can customize it with styles and a set of component attributes. The folowing demo
shows the example of rich:panelMenu
</p>
-
-
- <div class="sample-container" >
-
- <ui:include src="/richfaces/panelMenu/examples/example.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/panelMenu/examples/example.xhtml"/>
- </ui:include>
- </div>
-
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Panel Menu demo</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/panelMenu/examples/example.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/panelMenu/examples/example.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
<p>
Switching mode could be chosen with the <b>mode</b> attribute for all panelMenu items except ones where
this attribute was redefined. By default all items send custom request.
16 years, 9 months
JBoss Rich Faces SVN: r7142 - trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-03-24 14:12:44 -0400 (Mon, 24 Mar 2008)
New Revision: 7142
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
Log:
RF-1550
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2008-03-24 18:08:52 UTC (rev 7141)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2008-03-24 18:12:44 UTC (rev 7142)
@@ -731,18 +731,18 @@
showRow: function(rowIndex) {
if(rowIndex == "up") {
- this.scrollBox.getElement().scrollTop = this.scrollBox.getElement().scrollTop - this.fTable.rows[1].offsetTop;
+ this.scrollBox.getElement().scrollTop = this.scrollBox.getElement().scrollTop - this.nTable.rows[1].offsetTop;
} else if(rowIndex == "down") {
- this.scrollBox.getElement().scrollTop = this.scrollBox.getElement().scrollTop + this.fTable.rows[1].offsetTop;
+ this.scrollBox.getElement().scrollTop = this.scrollBox.getElement().scrollTop + this.nTable.rows[1].offsetTop;
} else {
var row = $(this.gridId + ":n:" + rowIndex);
- var offsetTop = this.fTable.offsetTop + row.offsetTop;
- if(this.frozenContentBox.getElement().scrollTop > offsetTop) {
+ var offsetTop = this.nTable.offsetTop + row.offsetTop;
+ if(this.contentBox.getElement().scrollTop > offsetTop) {
this.scrollBox.getElement().scrollTop = offsetTop;
} else {
offsetTop += row.offsetHeight;
- offsetTop -= this.frozenContentBox.getElement().clientHeight;
- if (this.frozenContentBox.getElement().scrollTop < offsetTop){
+ offsetTop -= this.contentBox.getElement().clientHeight;
+ if (this.contentBox.getElement().scrollTop < offsetTop){
this.scrollBox.getElement().scrollTop = offsetTop;
}
}
16 years, 9 months
JBoss Rich Faces SVN: r7141 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar: examples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-24 14:08:52 -0400 (Mon, 24 Mar 2008)
New Revision: 7141
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/separators.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/usage.xhtml
Log:
[RF-2665] Demo site: corrections of ToolBar demo layout
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/separators.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/separators.xhtml 2008-03-24 17:50:44 UTC (rev 7140)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/separators.xhtml 2008-03-24 18:08:52 UTC (rev 7141)
@@ -6,7 +6,7 @@
xmlns:rich="http://richfaces.org/rich">
<h:form>
- <h:panelGrid columns="2" width="100%">
+ <h:panelGrid columns="3" width="100%" cellpadding="0" cellspacing="0" style="margin-bottom : 4px">
<rich:panel>
<h:panelGrid columns="8">
<h:outputText value="Group Separator:" />
@@ -31,6 +31,9 @@
</a4j:commandLink>
</h:panelGrid>
</rich:panel>
+ <h:panelGroup style="padding-left : 4px">
+ <br/>
+ </h:panelGroup>
<rich:panel>
<h:panelGrid columns="8">
<h:outputText value="Group Item Separator:" />
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/usage.xhtml 2008-03-24 17:50:44 UTC (rev 7140)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/usage.xhtml 2008-03-24 18:08:52 UTC (rev 7141)
@@ -12,39 +12,40 @@
Toolbar is a horizontal-oriented panel that can be used in different ways: for top level menu, for information panel, for tools-like menu and so on.<br />
The following example shows how the panelBar might look like:
</p>
-
- <div class="sample-container" >
- <ui:include src="/richfaces/toolBar/examples/iconBar.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/toolBar/examples/iconBar.xhtml"/>
- </ui:include>
- </div>
-
- <div class="sample-container" >
- <ui:include src="/richfaces/toolBar/examples/menus.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/toolBar/examples/menus.xhtml"/>
- </ui:include>
-
- </div>
-
-
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Tool Bar example 1</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/toolBar/examples/iconBar.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/toolBar/examples/iconBar.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Tool Bar example 2</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/toolBar/examples/menus.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/toolBar/examples/menus.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+
<p>
Items on the toolBar can be grouped with ability to define a separator
between different groups and between a member of the same group. The
"location" attribute set to "right" put a group to the right side of the panel.
-
</p>
- <div class="sample-container" >
-
- <ui:include src="/richfaces/toolBar/examples/separators.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/toolBar/examples/separators.xhtml"/>
- </ui:include>
-
-
- </div>
-
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Tool Bar Separator example</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/toolBar/examples/separators.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/toolBar/examples/separators.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>
16 years, 9 months
JBoss Rich Faces SVN: r7140 - in trunk: framework/test and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-24 13:50:44 -0400 (Mon, 24 Mar 2008)
New Revision: 7140
Modified:
trunk/framework/pom.xml
trunk/framework/test/pom.xml
trunk/sandbox/api/pom.xml
trunk/ui/pickList/pom.xml
trunk/ui/pom.xml
Log:
JSF version switched to 1.2_07
Modified: trunk/framework/pom.xml
===================================================================
--- trunk/framework/pom.xml 2008-03-24 17:49:04 UTC (rev 7139)
+++ trunk/framework/pom.xml 2008-03-24 17:50:44 UTC (rev 7140)
@@ -101,7 +101,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_08</version>
+ <version>1.2_07</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/framework/test/pom.xml
===================================================================
--- trunk/framework/test/pom.xml 2008-03-24 17:49:04 UTC (rev 7139)
+++ trunk/framework/test/pom.xml 2008-03-24 17:50:44 UTC (rev 7140)
@@ -49,7 +49,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_08</version>
+ <version>1.2_07</version>
</dependency>
<dependency>
<groupId>htmlunit</groupId>
Modified: trunk/sandbox/api/pom.xml
===================================================================
--- trunk/sandbox/api/pom.xml 2008-03-24 17:49:04 UTC (rev 7139)
+++ trunk/sandbox/api/pom.xml 2008-03-24 17:50:44 UTC (rev 7140)
@@ -35,7 +35,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_08</version>
+ <version>1.2_07</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: trunk/ui/pickList/pom.xml
===================================================================
--- trunk/ui/pickList/pom.xml 2008-03-24 17:49:04 UTC (rev 7139)
+++ trunk/ui/pickList/pom.xml 2008-03-24 17:50:44 UTC (rev 7140)
@@ -64,12 +64,6 @@
<dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-impl</artifactId>
- <version>1.2_08</version>
- </dependency>
-
- <dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>listShuttle</artifactId>
<version>3.2.0-SNAPSHOT</version>
Modified: trunk/ui/pom.xml
===================================================================
--- trunk/ui/pom.xml 2008-03-24 17:49:04 UTC (rev 7139)
+++ trunk/ui/pom.xml 2008-03-24 17:50:44 UTC (rev 7140)
@@ -180,7 +180,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_08</version>
+ <version>1.2_07</version>
<scope>provided</scope>
</dependency>
</dependencies>
16 years, 9 months
JBoss Rich Faces SVN: r7139 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-03-24 13:49:04 -0400 (Mon, 24 Mar 2008)
New Revision: 7139
Modified:
trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
Log:
http://jira.jboss.com/jira/browse/RF-2174 - component review
Modified: trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/pickList.xml 2008-03-24 17:40:45 UTC (rev 7138)
+++ trunk/docs/userguide/en/src/main/docbook/included/pickList.xml 2008-03-24 17:49:04 UTC (rev 7139)
@@ -56,7 +56,7 @@
<programlisting role="XML"><![CDATA[...
<rich:pickList value="#{pickBean.listValues}">
<f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
- <f:selectItem itemValue="Audi" itemLabel="Audi"/>
+ <f:selectItems value="#{pickBean.testList}"/>
</rich:pickList>
...]]></programlisting>
</section>
@@ -73,9 +73,6 @@
</section>
<section>
<title>Details of Usage</title>
-
- <!--maintenance of component orderingList-->
-
<para>The <emphasis role="bold">
<property><rich:pickList></property>
</emphasis> component consists of <itemizedlist>
@@ -87,14 +84,12 @@
</itemizedlist>
</para>
- <!-- attributes of component orderingList -->
-
<para>
- The <emphasis>
- <property> "value"</property>
- </emphasis>
- attribute is used to access the values of a target list. The <emphasis>
- <property> "selectItems"</property></emphasis> facet is used to access the values of a source list.
+ The <emphasis><property>"value"</property></emphasis> attribute is used to access the values of a target list.
+ </para>
+ <para>
+ The <emphasis role="bold"><property><f:selectItem /></property></emphasis> or <emphasis role="bold">
+ <property><f:selectItems /></property></emphasis> facets are used to access the values of a source list.
</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -106,47 +101,17 @@
<f:selectItems value="#{pickBean.testList}"/>
</rich:pickList>
...]]></programlisting>
+
<para>
- The <emphasis role="bold">
- <property><rich:pickList></property></emphasis>
- component provides resizing of lists by using such attributes as:
- <itemizedlist>
- <listitem>
- <emphasis>
- <property> "listsHeight"</property></emphasis> defines height of the lists.
-
- </listitem>
- <listitem>
- <emphasis>
- <property> "sourceListWidth"</property></emphasis> defines width of a source list.
-
- </listitem>
- <listitem>
- <emphasis>
- <property> "targetListWidth"</property></emphasis> defines width of a target list.
-
- </listitem>
- </itemizedlist>
+ The <emphasis> <property> "switchByClick"</property></emphasis> attribute provides an option to copy and remove items between lists by one click.
+ Default value of this attribute is "false", so you need a double click to copy, remove items from one list to another.
</para>
<para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML"><![CDATA[...
-<rich:pickList listsHeight="#{pickBean.listsHeight}" sourceListWidth="#{pickBean.sourceListWidth}" targetListWidth="#{pickBean.targetListWidth}" value="#{pickBean.listValues}">
- <f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
- <f:selectItem itemValue="Audi" itemLabel="Audi"/>
- <f:selectItems value="#{pickBean.testList}"/>
-</rich:pickList>
- ...]]></programlisting>
-
- <para>
- Lables of <property>move controls</property> can be defined with
- <emphasis>
- <property> "copyAllControlLabel"</property></emphasis>, <emphasis>
- <property> "copyControlLabel"</property></emphasis>,
+ Lables of the <property>move controls</property> can be defined with
+ <emphasis><property> "copyAllControlLabel"</property></emphasis>,
+ <emphasis><property> "copyControlLabel"</property></emphasis>,
<emphasis> <property> "removeControlLabel"</property></emphasis>,
<emphasis> <property> "removeAllControlLabel"</property></emphasis> attributes.
-
</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -160,8 +125,8 @@
</rich:pickList>
...]]></programlisting>
<para>
- If you want not to display labels on the buttons of move controls you need to set
- <emphasis> <property> "showButtonsLabel"</property></emphasis> to<property> "false"</property>.
+ If you don't want to display labels on the buttons of move controls you need to set
+ <emphasis> <property> "showButtonsLabel"</property></emphasis> to "false".
</para>
<figure>
<title>Move control buttons without labels</title>
@@ -172,14 +137,42 @@
</mediaobject>
</figure>
- <para>
- <emphasis> <property> "switchByClick"</property></emphasis> provides an option to copy and remove a list item by one click,
- default the value of this attribute is <property> "false"</property> , and you need a double click to copy, remove a list item.
- </para>
+
- <!-- ordering control set-->
+ <para>
+ The <emphasis role="bold">
+ <property><rich:pickList></property></emphasis>
+ component provides resizing of lists by using such attributes as:
+ <itemizedlist>
+ <listitem>
+ <emphasis>
+ <property> "listsHeight"</property></emphasis> defines height of the lists.
+
+ </listitem>
+ <listitem>
+ <emphasis>
+ <property> "sourceListWidth"</property></emphasis> defines width of a source list.
+
+ </listitem>
+ <listitem>
+ <emphasis>
+ <property> "targetListWidth"</property></emphasis> defines width of a target list.
+
+ </listitem>
+ </itemizedlist>
+ </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:pickList listsHeight="#{pickBean.listsHeight}" sourceListWidth="#{pickBean.sourceListWidth}" targetListWidth="#{pickBean.targetListWidth}" value="#{pickBean.listValues}">
+ <f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
+ <f:selectItem itemValue="Audi" itemLabel="Audi"/>
+ <f:selectItems value="#{pickBean.testList}"/>
+</rich:pickList>
+ ...]]></programlisting>
<table>
<title>Keyboard usage for elements selection</title>
16 years, 9 months