JBoss Rich Faces SVN: r2775 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: repeat and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-09-05 11:36:04 -0400 (Wed, 05 Sep 2007)
New Revision: 2775
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/portlet/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/repeat/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-524
language is checked
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/portlet/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/portlet/usage.xhtml 2007-09-05 15:11:41 UTC (rev 2774)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/portlet/usage.xhtml 2007-09-05 15:36:04 UTC (rev 2775)
@@ -8,28 +8,28 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
<p>
- The <a4j:portlet> should be used in portal environment. The main
- component purpose is realization of possibility to create several instances
- the same portlet on one page.
+ The <a4j:portlet> should be used in a portal environment. The main
+ component purpose is implementation of possibility to create several instances
+ for the same portlet on one page.
</p>
<p>
Portal page can include some instances of the same portlet but clientId of
elements should be different for each window. In that case 'namespace' is used
for each portlet. The <a4j:portlet> implemets NaimingContainer interface and
- adds namespace to all componets on a page. All portlet content should be
- wrapped by <a4j:portlet> for resolving problems mentioned before.
+ adds a namespace to all components on a page. All portlet content should be
+ wrapped by <a4j:portlet> for resolving the problems mentioned before.
</p>
<p>
More info about portal environments support can be found on the users forums.
</p>
<p>
- Portlet Sample coulod be checked out from JBoss SVN:
+ Portlet Sample could be checked out from JBoss SVN:
<a href="http://anonsvn.jboss.org/repos/ajax4jsf/trunk/samples/portal-echo/">
portal-echo application
</a>
</p>
<p>
- Usage instructions for this demo could be found at corresponding:
+ Usage instructions for this demo could be found at the corresponding:
<a href="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325">
JBoss forum topic
</a>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/repeat/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/repeat/usage.xhtml 2007-09-05 15:11:41 UTC (rev 2774)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/repeat/usage.xhtml 2007-09-05 15:36:04 UTC (rev 2775)
@@ -13,11 +13,11 @@
<p>
The <a4j:repeat> component implements a basic iteration component.
Additionally to facelets <ui:repeat> component it allows to update
- a set of its children instead of the whole using AJAX reuqests.
+ a set of its children instead of the whole using AJAX requests.
<br />
The following example shows the repeat component in use.
- There you could explore how to make updatable the only two concrete
- cells of the table using Ajax Keys.
+ Here you could explore how to make updatable only two particular
+ cells of a table using Ajax Keys.
</p>
16 years, 8 months
JBoss Rich Faces SVN: r2774 - trunk/ui/calendar/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-09-05 11:11:41 -0400 (Wed, 05 Sep 2007)
New Revision: 2774
Modified:
trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
Log:
Empty month encoded in months names array fixed
Modified: trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2007-09-05 14:44:27 UTC (rev 2773)
+++ trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2007-09-05 15:11:41 UTC (rev 2774)
@@ -264,9 +264,9 @@
}
}
- private static String[] shiftDates(int firstDayOfWeek, int minimum,
+ private static String[] shiftDates(int minimum,
int maximum, String[] labels) {
- if (minimum == 0) {
+ if (minimum == 0 && (maximum - minimum == labels.length - 1)) {
return labels;
}
@@ -284,14 +284,16 @@
Calendar cal = calendar.getCalendar();
int maximum = cal.getActualMaximum(Calendar.DAY_OF_WEEK);
int minimum = cal.getActualMinimum(Calendar.DAY_OF_WEEK);
- int firstDayOfWeek = cal.getFirstDayOfWeek();
-
+
+ int monthMax = cal.getActualMaximum(Calendar.MONTH);
+ int monthMin = cal.getActualMinimum(Calendar.MONTH);
+
DateFormatSymbols symbols = new DateFormatSymbols(locale);
String[] weekDayLabels = ComponentUtil.asArray(calendar
.getWeekDayLabels());
if (weekDayLabels == null) {
weekDayLabels = symbols.getWeekdays();
- weekDayLabels = shiftDates(firstDayOfWeek, minimum, maximum,
+ weekDayLabels = shiftDates(minimum, maximum,
weekDayLabels);
}
@@ -299,19 +301,21 @@
.getWeekDayLabelsShort());
if (weekDayLabelsShort == null) {
weekDayLabelsShort = symbols.getShortWeekdays();
- weekDayLabelsShort = shiftDates(firstDayOfWeek, minimum, maximum,
+ weekDayLabelsShort = shiftDates(minimum, maximum,
weekDayLabelsShort);
}
String[] monthLabels = ComponentUtil.asArray(calendar.getMonthLabels());
if (monthLabels == null) {
monthLabels = symbols.getMonths();
+ monthLabels = shiftDates(monthMin, monthMax, monthLabels);
}
String[] monthLabelsShort = ComponentUtil.asArray(calendar
.getMonthLabelsShort());
if (monthLabelsShort == null) {
monthLabelsShort = symbols.getShortMonths();
+ monthLabelsShort = shiftDates(monthMin, monthMax, monthLabelsShort);
}
map.put(WEEK_DAY_LABELS, weekDayLabels);
16 years, 8 months
JBoss Rich Faces SVN: r2773 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-09-05 10:44:27 -0400 (Wed, 05 Sep 2007)
New Revision: 2773
Added:
trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml
trunk/docs/userguide/en/src/main/docbook/included/dragListener.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/dragListener.xml
trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml
Log:
http://jira.jboss.com/jira/browse/RF-808
http://jira.jboss.com/jira/browse/RF-811
http://jira.jboss.com/jira/browse/RF-810
Added: trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.desc.xml (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.desc.xml 2007-09-05 14:44:27 UTC (rev 2773)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section>
+ <sectioninfo>
+ <keywordset>
+ <keyword>changeExpandListener</keyword>
+ </keywordset>
+ </sectioninfo>
+
+ <section>
+ <title>Description</title>
+ <para>The <emphasis role="bold"><property><rich:changeExpandListener></property></emphasis>
+ represents an action listener method that will be notified on expand/collapse event on the node.
+ </para>
+ </section>
+
+ <section>
+ <title>Key Features</title>
+ <itemizedlist>
+ <listitem>Allows to define some "changeExpand" listeners for component</listitem>
+ </itemizedlist>
+ </section>
+</section>
Added: trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml 2007-09-05 14:44:27 UTC (rev 2773)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter>
+ <table>
+ <title>Component identification parameters </title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Value</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>listener-class</entry>
+ <entry>org.richfaces.event.NodeExpandedListener</entry>
+ </row>
+ <row>
+ <entry>event-class</entry>
+ <entry>org.richfaces.event.NodeExpandedEvent</entry>
+ </row>
+
+ <row>
+ <entry>tag-class</entry>
+ <entry>org.richfaces.taglib.ChangeExpandListenerTag</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+ <section>
+ <title>Creating on a page</title>
+ <para>Simple Component definition on a page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+
+ <programlisting role="XML"><![CDATA[...
+ <rich:changeExpandListener type="demo.Bean"/>
+...
+]]></programlisting>
+ </section>
+
+ <section>
+ <title>Dynamical creation of a component from Java code</title>
+ <para>
+ <emphasis role="bold">Example:</emphasis></para>
+ <programlisting role="JAVA"><![CDATA[package demo;
+
+public class ImplBean implements org.richfaces.event.NodeExpandedListener{
+ ...
+}
+]]></programlisting>
+
+ <programlisting role="JAVA"><![CDATA[
+import demo.ImplBean;
+...
+ImplBean myListener = new ImplBean();
+...
+]]></programlisting>
+
+ </section>
+
+ <section>
+ <title>Key attributes and ways of usage</title>
+
+<para>
+The <property><rich:changeExpandListener></property> is used as nested tag with <property><rich:tree></property>
+and <property><rich:treeNode></property> components.
+</para>
+<para>
+Attribute <emphasis><property>"type"</property></emphasis> defines the fully qualified Java class name for listener.
+This class should implement org.richfaces.event.NodeExpandedListener interface.
+</para>
+
+ <para>
+ <emphasis role="bold">The typical variant of using:</emphasis>
+ </para>
+
+ <programlisting role="XML"><![CDATA[...
+<rich:tree switchType="server" value="#{project.data}" var="item" nodeFace="#{item.type}">
+ <rich:changeExpandListener type="demo.ListenerBean"/>
+ ...
+ <!-- Tree nodes -->
+ ...
+</rich:tree>
+...
+]]></programlisting>
+
+ <para>
+ <emphasis role="bold">Java bean source:</emphasis>
+ </para>
+
+ <programlisting role="JAVA"><![CDATA[package demo;
+
+import org.richfaces.event.NodeExpandedEvent;
+
+public class ListenerBean implements org.richfaces.event.NodeExpandedListener{
+...
+ public void processExpansion(NodeExpandedEvent arg0){
+ //Custom Developer Code
+ }
+...
+}
+]]></programlisting>
+ </section>
+
+</chapter>
\ No newline at end of file
Added: trunk/docs/userguide/en/src/main/docbook/included/dragListener.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragListener.desc.xml (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragListener.desc.xml 2007-09-05 14:44:27 UTC (rev 2773)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section>
+ <sectioninfo>
+ <keywordset>
+ <keyword>dragListener</keyword>
+ </keywordset>
+ </sectioninfo>
+
+ <section>
+ <title>Description</title>
+ <para>The <emphasis role="bold"><property><rich:dragListener></property></emphasis>
+ represents an action listener method that will be notified after drag operation.
+ </para>
+ </section>
+
+ <section>
+ <title>Key Features</title>
+ <itemizedlist>
+ <listitem>Allows to define some drag listeners for components with "Drag and Drop" support</listitem>
+ </itemizedlist>
+ </section>
+</section>
Added: trunk/docs/userguide/en/src/main/docbook/included/dragListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragListener.xml (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragListener.xml 2007-09-05 14:44:27 UTC (rev 2773)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter>
+ <table>
+ <title>Component identification parameters </title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Value</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>listener-class</entry>
+ <entry>org.richfaces.event.DragListener</entry>
+ </row>
+ <row>
+ <entry>event-class</entry>
+ <entry>org.richfaces.event.DragEvent</entry>
+ </row>
+
+ <row>
+ <entry>tag-class</entry>
+ <entry>org.richfaces.taglib.DragListenerTag</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+ <section>
+ <title>Creating on a page</title>
+ <para>Simple Component definition on a page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+
+ <programlisting role="XML"><![CDATA[...
+ <rich:dragListener type="demo.Bean"/>
+...
+]]></programlisting>
+ </section>
+
+ <section>
+ <title>Dynamical creation of a component from Java code</title>
+ <para>
+ <emphasis role="bold">Example:</emphasis></para>
+ <programlisting role="JAVA"><![CDATA[package demo;
+
+public class ImplBean implements org.richfaces.event.DragListener{
+ ...
+}
+]]></programlisting>
+
+ <programlisting role="JAVA"><![CDATA[
+import demo.ImplBean;
+...
+ImplBean myDragListener = new ImplBean();
+...
+]]></programlisting>
+
+ </section>
+
+ <section>
+ <title>Key attributes and ways of usage</title>
+
+<para>
+The <property><rich:dragListener></property> is used as nested tag with components like
+<property><rich:dragSupport></property>, <property><rich:tree></property> and <property><rich:treeNode></property>.
+</para>
+<para>
+Attribute <emphasis><property>"type"</property></emphasis> defines the fully qualified Java class name for listener.
+This class should implement org.richfaces.event.DragListener interface.
+</para>
+
+ <para>
+ <emphasis role="bold">The typical variant of using:</emphasis>
+ </para>
+
+ <programlisting role="XML"><![CDATA[...
+<h:panelGrid id="dragPanel">
+ <rich:dragSupport dragType="item">
+ <rich:dragListener type="demo.ListenerBean"/>
+ </rich:dragSupport>
+ <!--Some content to be dragged-->
+</h:panelGrid>
+...
+]]></programlisting>
+
+ <para>
+ <emphasis role="bold">Java bean source:</emphasis>
+ </para>
+
+ <programlisting role="JAVA"><![CDATA[package demo;
+
+import org.richfaces.event.DragEvent;
+
+public class ListenerBean implements org.richfaces.event.DragListener{
+...
+ public void processDrag(DragEvent arg0){
+ //Custom Developer Code
+ }
+...
+}
+]]></programlisting>
+ </section>
+
+</chapter>
\ No newline at end of file
Added: trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.desc.xml (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.desc.xml 2007-09-05 14:44:27 UTC (rev 2773)
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<section>
+ <sectioninfo>
+ <keywordset>
+ <keyword>nodeSelectListener</keyword>
+ </keywordset>
+ </sectioninfo>
+
+ <section>
+ <title>Description</title>
+ <para>The <emphasis role="bold"><property><rich:nodeSelectListener></property></emphasis>
+ represents an action listener method that will be notified after selection of node.
+ </para>
+ </section>
+
+ <section>
+ <title>Key Features</title>
+ <itemizedlist>
+ <listitem>Allows to define some "nodeSelect" listeners for component</listitem>
+ </itemizedlist>
+ </section>
+</section>
Added: trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml (rev 0)
+++ trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml 2007-09-05 14:44:27 UTC (rev 2773)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter>
+ <table>
+ <title>Component identification parameters </title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Value</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>listener-class</entry>
+ <entry>org.richfaces.event.NodeSelectedListener</entry>
+ </row>
+ <row>
+ <entry>event-class</entry>
+ <entry>org.richfaces.event.NodeSelectedEvent</entry>
+ </row>
+
+ <row>
+ <entry>tag-class</entry>
+ <entry>org.richfaces.taglib.NodeSelectListenerTag</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+ <section>
+ <title>Creating on a page</title>
+ <para>Simple Component definition on a page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+
+ <programlisting role="XML"><![CDATA[...
+ <rich:nodeSelectListener type="demo.Bean"/>
+...
+]]></programlisting>
+ </section>
+
+ <section>
+ <title>Dynamical creation of a component from Java code</title>
+ <para>
+ <emphasis role="bold">Example:</emphasis></para>
+ <programlisting role="JAVA"><![CDATA[package demo;
+
+public class ImplBean implements org.richfaces.event.NodeSelectListener{
+ ...
+}
+]]></programlisting>
+
+ <programlisting role="JAVA"><![CDATA[
+import demo.ImplBean;
+...
+ImplBean myListener = new ImplBean();
+...
+]]></programlisting>
+
+ </section>
+
+ <section>
+ <title>Key attributes and ways of usage</title>
+
+<para>
+The <property><rich:nodeSelectListener></property> is used as nested tag with <property><rich:tree></property>
+and <property><rich:treeNode></property> components.
+</para>
+<para>
+Attribute <emphasis><property>"type"</property></emphasis> defines the fully qualified Java class name for listener.
+This class should implement org.richfaces.event.NodeSelectedListener interface.
+</para>
+
+ <para>
+ <emphasis role="bold">The typical variant of using:</emphasis>
+ </para>
+
+ <programlisting role="XML"><![CDATA[...
+<rich:tree switchType="server" value="#{project.data}" var="item" nodeFace="#{item.type}">
+ <rich:nodeSelectListener type="demo.ListenerBean"/>
+ ...
+ <!-- Tree nodes -->
+ ...
+</rich:tree>
+...
+]]></programlisting>
+
+ <para>
+ <emphasis role="bold">Java bean source:</emphasis>
+ </para>
+
+ <programlisting role="JAVA"><![CDATA[package demo;
+
+import org.richfaces.event.NodeSelectedEvent;
+
+public class ListenerBean implements org.richfaces.event.NodeSelectedListener{
+...
+ public void processSelection(NodeSelectedEvent arg0){
+ //Custom Developer Code
+ }
+...
+}
+]]></programlisting>
+ </section>
+
+</chapter>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r2772 - trunk/ui/scrollableDataTable/src/main/templates/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-09-05 10:41:29 -0400 (Wed, 05 Sep 2007)
New Revision: 2772
Modified:
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
Log:
2 rich classes added
Modified: trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
===================================================================
--- trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2007-09-05 14:38:49 UTC (rev 2771)
+++ trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2007-09-05 14:41:29 UTC (rev 2772)
@@ -82,7 +82,7 @@
</jsp:scriptlet>
<thead>
- <tr class="dr-sdt-hr #{component.attributes['headerClass']}">
+ <tr class="dr-sdt-hr rich-std-header-row #{component.attributes['headerClass']}">
<jsp:scriptlet>
<![CDATA[
renderHeaders(context, component, true);
@@ -103,7 +103,7 @@
</jsp:scriptlet>
<col width="1"/>
<thead>
- <tr class="dr-sdt-hr #{component.attributes['headerClass']}">
+ <tr class="dr-sdt-hr rich-std-header-row #{component.attributes['headerClass']}">
<jsp:scriptlet>
<![CDATA[
renderHeaders(context, component, false);
@@ -176,7 +176,7 @@
]]>
</jsp:scriptlet>
<tfoot>
- <tr class="dr-sdt-fr #{component.attributes['footerClass']}">
+ <tr class="dr-sdt-fr rich-std-footer-row #{component.attributes['footerClass']}">
<jsp:scriptlet>
<![CDATA[
renderFooters(context, component,true);
@@ -197,7 +197,7 @@
</jsp:scriptlet>
<col width="1"/>
<tfoot>
- <tr class="dr-sdt-fr #{component.attributes['footerClass']}">
+ <tr class="dr-sdt-fr rich-std-footer-row #{component.attributes['footerClass']}">
<jsp:scriptlet>
<![CDATA[
renderFooters(context, component,false);
16 years, 8 months
JBoss Rich Faces SVN: r2771 - trunk/cdk/generator/src/main/resources/META-INF/schema/entities.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-09-05 10:38:49 -0400 (Wed, 05 Sep 2007)
New Revision: 2771
Modified:
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent
Log:
http://jira.jboss.com/jira/browse/RF-828
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent 2007-09-05 14:38:33 UTC (rev 2770)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent 2007-09-05 14:38:49 UTC (rev 2771)
@@ -51,7 +51,10 @@
<property >
<name>requestDelay</name>
<classname>int</classname>
- <description> Delay (in ms.) for send ajax request on JavaScript event. In conjunction with events queue can reduce number of requests on keyboard or mouse move events</description>
+ <description>
+Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send.
+When the delay time is over, the request will be sent to the server or removed if the newest 'similar' request is in a queue already
+ </description>
</property>
<property >
@@ -73,8 +76,10 @@
<name>ignoreDupResponses</name>
<classname>boolean</classname>
<description>
- If "true", unfinished request will be aborted on new event
- </description>
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now
+ </description>
</property>
<property>
<name>timeout</name>
16 years, 8 months
JBoss Rich Faces SVN: r2770 - in trunk/ui: datascroller/src/main/config/component and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-09-05 10:38:33 -0400 (Wed, 05 Sep 2007)
New Revision: 2770
Modified:
trunk/ui/core/src/main/config/component/commandButton.xml
trunk/ui/core/src/main/config/component/commandLink.xml
trunk/ui/core/src/main/config/component/form.xml
trunk/ui/core/src/main/config/component/poll.xml
trunk/ui/core/src/main/config/component/push.xml
trunk/ui/core/src/main/config/component/support.xml
trunk/ui/datascroller/src/main/config/component/datascroller.xml
trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
trunk/ui/tree/src/main/config/component/commonTreeAttributes.ent
Log:
http://jira.jboss.com/jira/browse/RF-828
Modified: trunk/ui/core/src/main/config/component/commandButton.xml
===================================================================
--- trunk/ui/core/src/main/config/component/commandButton.xml 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/core/src/main/config/component/commandButton.xml 2007-09-05 14:38:33 UTC (rev 2770)
@@ -95,7 +95,11 @@
<property>
<name>ignoreDupResponses</name>
<classname>boolean</classname>
- <description>If true, unfinished request will be aborted on new event.</description>
+ <description>
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now.
+ </description>
</property>
<property>
<name>timeout</name>
Modified: trunk/ui/core/src/main/config/component/commandLink.xml
===================================================================
--- trunk/ui/core/src/main/config/component/commandLink.xml 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/core/src/main/config/component/commandLink.xml 2007-09-05 14:38:33 UTC (rev 2770)
@@ -76,7 +76,11 @@
<property>
<name>ignoreDupResponses</name>
<classname>boolean</classname>
- <description>If true, unfinished request will be aborted on new event.</description>
+ <description>
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now
+ </description>
</property>
<property>
<name>timeout</name>
Modified: trunk/ui/core/src/main/config/component/form.xml
===================================================================
--- trunk/ui/core/src/main/config/component/form.xml 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/core/src/main/config/component/form.xml 2007-09-05 14:38:33 UTC (rev 2770)
@@ -49,7 +49,11 @@
<property>
<name>ignoreDupResponses</name>
<classname>boolean</classname>
- <description>If true, unfinished request will be aborted on new event.</description>
+ <description>
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now
+ </description>
</property>
<property>
<name>timeout</name>
Modified: trunk/ui/core/src/main/config/component/poll.xml
===================================================================
--- trunk/ui/core/src/main/config/component/poll.xml 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/core/src/main/config/component/poll.xml 2007-09-05 14:38:33 UTC (rev 2770)
@@ -95,7 +95,11 @@
<property>
<name>ignoreDupResponses</name>
<classname>boolean</classname>
- <description>If true, unfinished request will be aborted on new event.</description>
+ <description>
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now
+ </description>
</property>
<property>
<name>timeout</name>
Modified: trunk/ui/core/src/main/config/component/push.xml
===================================================================
--- trunk/ui/core/src/main/config/component/push.xml 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/core/src/main/config/component/push.xml 2007-09-05 14:38:33 UTC (rev 2770)
@@ -106,7 +106,11 @@
<property>
<name>ignoreDupResponses</name>
<classname>boolean</classname>
- <description>If true, unfinished request will be aborted on new event.</description>
+ <description>
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now
+ </description>
</property>
<property>
<name>timeout</name>
Modified: trunk/ui/core/src/main/config/component/support.xml
===================================================================
--- trunk/ui/core/src/main/config/component/support.xml 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/core/src/main/config/component/support.xml 2007-09-05 14:38:33 UTC (rev 2770)
@@ -116,7 +116,9 @@
<name>ignoreDupResponses</name>
<classname>boolean</classname>
<description>
- If true, unfinished request will be aborted on new event
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now
</description>
</property>
<property>
Modified: trunk/ui/datascroller/src/main/config/component/datascroller.xml
===================================================================
--- trunk/ui/datascroller/src/main/config/component/datascroller.xml 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/datascroller/src/main/config/component/datascroller.xml 2007-09-05 14:38:33 UTC (rev 2770)
@@ -167,9 +167,8 @@
<name>requestDelay</name>
<classname>int</classname>
<description>
- Delay ( in ms. ) for send ajax request on JavaScript
- event. In conjunction with events queue can reduce
- number of requests on keyboard or mouse move events
+Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send.
+When the delay time is over, the request will be sent to the server or removed if the newest 'similar' request is in a queue already
</description>
</property>
<property>
@@ -194,7 +193,10 @@
<property>
<name>ignoreDupResponses</name>
<classname>boolean</classname>
- <description>If "true", unfinished request will be aborted on new event
+ <description>
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now
</description>
<defaultvalue>true</defaultvalue>
</property>
Modified: trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2007-09-05 14:38:33 UTC (rev 2770)
@@ -429,9 +429,8 @@
<name>requestDelay</name>
<classname>int</classname>
<description>
- Delay (in ms.) for send ajax request on JavaScript
- event. In conjunction with events queue can reduce
- number of requests on keyboard or mouse move events
+Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send.
+When the delay time is over, the request will be sent to the server or removed if the newest 'similar' request is in a queue already
</description>
</property>
Modified: trunk/ui/tree/src/main/config/component/commonTreeAttributes.ent
===================================================================
--- trunk/ui/tree/src/main/config/component/commonTreeAttributes.ent 2007-09-05 14:31:15 UTC (rev 2769)
+++ trunk/ui/tree/src/main/config/component/commonTreeAttributes.ent 2007-09-05 14:38:33 UTC (rev 2770)
@@ -34,6 +34,8 @@
<name>ignoreDupResponses</name>
<classname>boolean</classname>
<description>
- If "true", unfinished request will be aborted on new event
+Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
+in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
+but just allows to avoid unnecessary updates on the client side if the response isn't actual now
</description>
</property>
16 years, 8 months
JBoss Rich Faces SVN: r2769 - in trunk: ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-09-05 10:31:15 -0400 (Wed, 05 Sep 2007)
New Revision: 2769
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
Richfaces.invokeOnComponent function renamed to Richfaces.getComponent
Modified: trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js
===================================================================
--- trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js 2007-09-05 14:06:48 UTC (rev 2768)
+++ trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js 2007-09-05 14:31:15 UTC (rev 2769)
@@ -136,12 +136,13 @@
return value;
}
-Richfaces.invokeOnComponent = function(componentType, element, functionName, event)
+Richfaces.getComponent = function(componentType, element)
{
var attribute="richfacesComponent";
+ var type = "richfaces:"+componentType;
while (element.parentNode) {
- if (element[attribute] && element[attribute]==componentType)
- return element.component[functionName](event);
+ if (element[attribute] && element[attribute]==type)
+ return element.component;
else
element = element.parentNode;
}
Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-09-05 14:06:48 UTC (rev 2768)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-09-05 14:31:15 UTC (rev 2769)
@@ -1289,7 +1289,7 @@
CalendarView = {};
CalendarView.getControl = function(text, functionName) {
var attr = {
- onclick: (functionName ? "Richfaces.invokeOnComponent('richfaces:calendar',this,'"+functionName+"');" : "")+"return false;",
+ onclick: (functionName ? "Richfaces.getComponent('calendar',this)."+functionName+"();" : "")+"return true;",
className: "rich-calendar-btn"
};
@@ -1298,7 +1298,7 @@
CalendarView.getSelectedDateControl = function(text, functionName) {
var attr = {
- onclick: "Richfaces.invokeOnComponent('richfaces:calendar',this,'showSelectedDate'); return false;",
+ onclick: "Richfaces.getComponent('calendar',this).showSelectedDate(); return true;",
className: "rich-calendar-btn"
};
@@ -1306,7 +1306,7 @@
if (text)
{
a.push(new T(" "));
- a.push(new E('a', {href: '#', onclick: "Richfaces.invokeOnComponent('richfaces:calendar',this,'resetSelectedDate');return false;"}, [new T('(x)')]));
+ a.push(new E('a', {href: '#', onclick: "Richfaces.getComponent('calendar',this).resetSelectedDate();return true;"}, [new T('(x)')]));
}
return new E('div',attr,a);
16 years, 8 months
JBoss Rich Faces SVN: r2768 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-09-05 10:06:48 -0400 (Wed, 05 Sep 2007)
New Revision: 2768
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
Log:
API functions calling changed
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2007-09-05 14:01:07 UTC (rev 2767)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2007-09-05 14:06:48 UTC (rev 2768)
@@ -75,10 +75,10 @@
</p>
<p> <dl><dt>If you develop the macrodefinition for the calendar object, you can use:</dt>
- <dd><code>Richfaces.invokeOnComponent('calendar',element,api_function_name)</code></dd>
+ <dd><code>Richfaces.getComponent('calendar',element).api_function_name(parameters)</code></dd>
<dt>For example, the following call is
used on the "Next Year" button on the popup calendar panel:</dt>
- <dd><code>Richfaces.invokeOnComponent('calendar',this,'nextYear'); </code></dd>
+ <dd><code>Richfaces.invokeOnComponent('calendar',this).nextYear(); </code></dd>
The second parameter
is an element inside the calendar. Richfaces.invokeOnComponent tries to find
the component in the parents hierarchy with type specified with the first parameter and
16 years, 8 months
JBoss Rich Faces SVN: r2767 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: log and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-09-05 10:01:07 -0400 (Wed, 05 Sep 2007)
New Revision: 2767
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/messages/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-524
language is checked
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2007-09-05 13:55:36 UTC (rev 2766)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2007-09-05 14:01:07 UTC (rev 2767)
@@ -1,65 +1,65 @@
-<!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>
- Calendar object JavaScript API supports the following calls:
- <ul>
+<!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>
+ Calendar object JavaScript API supports the following calls:
+ <ul>
<li>
<b>getCurrentDate()</b> returns the full date currently being viewed
</li>
<li>
- <b>getCurrentMonth(asMonthLabel)</b> returns number of the month currently being viewed(for <b>asMonthLabel</b> true - returns month as its label)
+ <b>getCurrentMonth(asMonthLabel)</b> returns a number of the month currently being viewed(for <b>asMonthLabel</b> true - returns month as its label)
</li>
<li>
- <b>getCurrentYear()</b> returns number of the year currently being viewed
+ <b>getCurrentYear()</b> returns a number of the year currently being viewed
</li>
<li>
- <b>changeCurrentDate(yearOffset, monthOffset)</b> sets new current month to be displayed.
+ <b>changeCurrentDate(yearOffset, monthOffset)</b> sets a new current month to be displayed.
</li>
<li>
- <b>doCollapse(), doExpand()</b> collapse or expand calendar in popup mode.
+ <b>doCollapse(), doExpand()</b> collapse or expand the calendar in a popup mode.
</li>
<li>
- <b>doSwitch()</b> inverts state for the popup calendar.
+ <b>doSwitch()</b> inverts a state for the popup calendar.
</li>
<li>
- <b>getNextMonth(asMonthLabel), getPreviousMonth(asMonthLabel)</b> returns previous and next month for the currently being viewed.
+ <b>getNextMonth(asMonthLabel), getPreviousMonth(asMonthLabel)</b> returns the previous and next month for the currently being viewed one.
</li>
<li>
- <b>getNextYear, getPreviousYear</b> returns previous and next Years for the currently being viewed.
+ <b>getNextYear, getPreviousYear</b> returns the previous and next years for the currently being viewed one.
</li>
<li>
- <b>getSelectedDate(), getSelectedDateString(pattern)</b> returns currently selected date as date or as String. In case of empty pattern - return in current locale pattern.
+ <b>getSelectedDate(), getSelectedDateString(pattern)</b> returns the currently selected date as date or as String. In case of empty pattern, it is returned in the current locale pattern.
</li>
<li>
- <b>nextMonth()</b> navigates to next month
+ <b>nextMonth()</b> navigates to the next month
</li>
<li>
- <b>nextYear()</b> navigates to next year
+ <b>nextYear()</b> navigates to the next year
</li>
<li>
- <b>prevMonth()</b> navigates to previous month
+ <b>prevMonth()</b> navigates to the previous month
</li>
<li>
- <b>prevYear()</b> navigates to previous year
+ <b>prevYear()</b> navigates to the previous year
</li>
<li>
<b>render(), renderFooter(), renderOptionalFooter(), renderHeader(), renderOptionalHeader()</b> - functions to initiate cliend side rendering of the calendar or additional elements.
</li>
<li>
- <b>resetSelectedDate()</b> - clears selected day value.
+ <b>resetSelectedDate()</b> - clears a selected day value.
</li>
<li>
- <b>selectDate(date, noUpdate, eventData)</b> selects the date specified. If the date isn't in current
- month, performs request to select. if noUpdate true - request will not fired for data - only client side rendering will be invoked.
+ <b>selectDate(date, noUpdate, eventData)</b> selects the date specified. If the date isn't in the current
+ month, performs a request to select some. if noUpdate is true, a request isn't fired for data, only client side rendering is invoked.
</li>
<li>
<b>showSelectedDate()</b> switch calendar to show currently selected date.
@@ -67,26 +67,26 @@
<li>
<b>today(noUpdate, noHighlight)</b> switch calendar to todayDate. If parameters - true, request will not be fired to switch, and additional highlighting will be off.
</li>
- </ul>
- </p>
- <p>
- You can access the calendar object using <code>$(calendar_client_id).component</code>
- call from any place outside of the component itself.
- </p>
-
- <p> <dl><dt>If you develop the macrodefinition for calendar object, you can use:</dt>
- <dd><code>Richfaces.invokeOnComponent('calendar',element,api_function_name)</code></dd>
- <dt>For example, the following call is
- used on the "Next Year" button on the popup calendar panel:</dt>
- <dd><code>Richfaces.invokeOnComponent('calendar',this,'nextYear'); </code></dd>
- The second parameter
- is an element inside the calendar. The Richfaces.invokeOnComponent tries to find
- the component in the parents hierarchy with type specified with the first parameter and
- invokes the function defined with the third parameter.
- </dl>
- </p>
-
- </ui:define>
-
- </ui:composition>
-</html>
+ </ul>
+ </p>
+ <p>
+ You can access the calendar object using <code>$(calendar_client_id).component</code>
+ call from any place outside of the component itself.
+ </p>
+
+ <p> <dl><dt>If you develop the macrodefinition for the calendar object, you can use:</dt>
+ <dd><code>Richfaces.invokeOnComponent('calendar',element,api_function_name)</code></dd>
+ <dt>For example, the following call is
+ used on the "Next Year" button on the popup calendar panel:</dt>
+ <dd><code>Richfaces.invokeOnComponent('calendar',this,'nextYear'); </code></dd>
+ The second parameter
+ is an element inside the calendar. Richfaces.invokeOnComponent tries to find
+ the component in the parents hierarchy with type specified with the first parameter and
+ invokes the function defined with the third parameter.
+ </dl>
+ </p>
+
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml 2007-09-05 13:55:36 UTC (rev 2766)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml 2007-09-05 14:01:07 UTC (rev 2767)
@@ -15,34 +15,33 @@
<p>CalendarDataModel has the following methods:
<ul>
<li><b>CalendarDataModelItem[] getData(Date[]) </b> is called
- every time when components will need next block of CalendarDataItems.
- That may happens when calendar rendered, or when user navigate to
- next(previous) month or in any other case when calendar renders. This
- method will be called in Ajax mode when Calendar renders new page.</li>
- <li><b>Object getToolTip(Date)</b> uses when tool tips are
+ every time when components need the next block of CalendarDataItems.
+ That may happens when the calendar is rendered, or when you navigate to the
+ next/previous month or in any other case when the calendar is rendered. This
+ method is called in an Ajax mode when the calendar renders a new page.</li>
+ <li><b>Object getToolTip(Date)</b> is used when tool tips are
displayed in "single" mode.</li>
</ul>
</p>
<p>CalendarDataModelItem provides the following methods:
<ul>
<li><b>Boolean isEnabled()</b> returns true if date is
- "selectable" on calendar, default implementation return true</li>
- <li><b>String getStyleClass()</b> returns String that will be
- appended to style class for that date span. For example it may be
- "relevant holyday" that mean class will be like "rich-cal-day
- relevant holyday". Default implementation return empty string.</li>
+ "selectable" on the calendar, the default implementation returns true</li>
+ <li><b>String getStyleClass()</b> returns String that is
+ appended to a style class for the date span. For example it may be
+ "relevant holiday" that mean a class lools like "rich-cal-day
+ relevant holiday". The default implementation returns an empty string.</li>
<li><b>Object getData()</b> returns any additional payload that
- must be JSON-serialazable object. May be used in custom date
- representation on calendar (inside custom facet).</li>
- <li><b>Boolean hasToolTip()</b> returns true if given date has
- an associated with it tooltip data. Default implementation return
+ must be a JSON-serializable object. It may be used in the custom date
+ representation on the calendar (inside the custom facet).</li>
+ <li><b>Boolean hasToolTip()</b> returns true if the given date has
+ an associated one with it tooltip data. The default implementation returns
false.</li>
- <li><b>Object getToolTip()</b> returns tool tip data that will
- be used in "batch" tooltip loading mode.</li>
+ <li><b>Object getToolTip()</b> returns tool tip data that is used in a "batch" tooltip loading mode.</li>
</ul>
</p>
<p>
- <b>Note: </b><i>Tooltips and date disablement isn't supported in current implementation at client side. Will be implemented in next releases.</i>
+ <b>Note: </b><i>Tooltips and date disablement isn't supported in the current implementation on the client side. It will be implemented in the next releases.</i>
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml 2007-09-05 13:55:36 UTC (rev 2766)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml 2007-09-05 14:01:07 UTC (rev 2767)
@@ -8,12 +8,12 @@
<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.
+ Log component allows you to inspect client side activities
+ during an Ajax request. It shows reuqest data, response data, DOM
+ tree changes on update and other useful debug information.
</p>
<p>
- Debug info can be rendered on main page or as separate popup window.
+ Debug info can be rendered on the main page or as a separate popup window.
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/messages/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/messages/usage.xhtml 2007-09-05 13:55:36 UTC (rev 2766)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/messages/usage.xhtml 2007-09-05 14:01:07 UTC (rev 2767)
@@ -18,10 +18,10 @@
<li>has a predefined css class names for different kinds of messages severities</li>
</ul>
</p>
- <p>The message markers is defined with a facets. There are several facets names available
+ <p>The message markers is defined with facets. There are several facets names available
to design the marker for different kind of messages severities. The following example
shows how the markers might be used to mark the "passed" and "failed" form fields.
- Fill the form and click "Validate" button to see the entered data passing the
+ Fill the form and click the "Validate" button to see the entered data passing the
defined validation rules.
</p>
<div class="sample-container" >
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/usage.xhtml 2007-09-05 13:55:36 UTC (rev 2766)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/outputPanel/usage.xhtml 2007-09-05 14:01:07 UTC (rev 2767)
@@ -12,26 +12,26 @@
<p><code>a4j:outputPanel</code> is rendered as a <span> html element if the
<code>'layout'</code> attribute is equal <code>'inline'</code>
(default value) or as a <div> html element if <code>layout="block"</code>.
- You can use this component for a layout purpose even the page has no Ajax functionality.
+ You can use this component for a layout purpose even if the page has no Ajax functionality.
</p>
- <p>In case of Ajax functionality presents on the page, the component offects two additional
+ <p>If Ajax functionality presents on the page, the component offers two additional
features:
<ul>
<li>Marking the area of the page as automatically re-rendered on each Ajax request event
- without a nessesity necessity to mentioned this area in the <code>reRender</code> attribute of Ajax
- component. Attribute <code>ajaxRendered="true"</code> turn on this future. Note, that the effect of using
- ajaxRendered="true" still might be overrided with limitToList attribute of the Ajax component
+ without any necessity to mentioned this area in the <code>reRender</code> attribute of Ajax
+ component. Attribute <code>ajaxRendered="true"</code> turn on this feature. Note, that the effect of using
+ ajaxRendered="true" still might be overridden with the limitToList attribute of the Ajax component
or <code>renderRegionOnly</code> attribute of the <code>a4j:region</code> component.</li>
<li>Marking the placeholder for any JSF component in case of it is not rendered due to
<code>rendered="false"</code>. This might be important when the component becomes rendered during the next
- Ajax response. As soon as the placeholder is unknown, the rendered component will not appear
- appear on the page. To turn on the feature of marking the placeholder you need to have the
+ Ajax response. As soon as the placeholder is unknown, the rendered component doesn't
+ appear on a page. To turn on the feature for marking the placeholder, you need to have the
attribute <code>layout="none"</code>.</li>
</ul>
</p>
<p>When <code>layout="none"</code>, the span <code>style="display:none"</code> is
- rendered and assign the id of the child component if the component is not rendered.
- Otherwize, it does not rendered at all.<br/>
+ rendered and assigns the id of the child component if the component is not rendered.
+ Otherwise, it does not become rendered at all.<br/>
The following example shows the cases of usage described above:</p>
<div class="sample-container" >
16 years, 8 months
JBoss Rich Faces SVN: r2766 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-09-05 09:55:36 -0400 (Wed, 05 Sep 2007)
New Revision: 2766
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml
Log:
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml 2007-09-05 13:06:14 UTC (rev 2765)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/usage.xhtml 2007-09-05 13:55:36 UTC (rev 2766)
@@ -17,7 +17,6 @@
<li>sorting column by clicking the header;</li>
<li>fixed one or more left columns when table is scrolled horizontally;</li>
<li>one and multi-selection rows mode;</li>
- <li>built-it drag-n-drop support;</li>
<li>customizing the table look-n-fill from skin parameters</li>
</ul>
</p>
16 years, 8 months