JBoss Rich Faces SVN: r3148 - in branches/3.1.x/ui/calendar/src/main: resources/org/richfaces/renderkit/html/scripts and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-09-27 12:14:56 -0400 (Thu, 27 Sep 2007)
New Revision: 3148
Modified:
branches/3.1.x/ui/calendar/src/main/config/component/calendar.xml
branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
branches/3.1.x/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
RF-978
Modified: branches/3.1.x/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- branches/3.1.x/ui/calendar/src/main/config/component/calendar.xml 2007-09-27 16:03:19 UTC (rev 3147)
+++ branches/3.1.x/ui/calendar/src/main/config/component/calendar.xml 2007-09-27 16:14:56 UTC (rev 3148)
@@ -324,6 +324,13 @@
</description>
</property>
<property>
+ <name>ondateselected</name>
+ <classname>java.lang.String</classname>
+ <description>
+ onDateSelected event handler
+ </description>
+ </property>
+ <property>
<name>oncurrentdateselect</name>
<classname>java.lang.String</classname>
<description>
Modified: branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-09-27 16:03:19 UTC (rev 3147)
+++ branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-09-27 16:14:56 UTC (rev 3148)
@@ -438,7 +438,7 @@
// popup offset
this.popupOffset = {dx: (isNaN(this.params.horizontalOffset) ? 0 : parseInt(this.params.horizontalOffset,10)), dy: (isNaN(this.params.verticalOffset) ? 0 : parseInt(this.params.verticalOffset,10))};
- this.currentDate = this.params.currentDate ? this.params.currentDate : new Date();
+ this.currentDate = this.params.currentDate ? this.params.currentDate : (this.params.selectedDate ? this.params.selectedDate : new Date());
this.currentDate.setDate(1);
this.selectedDate = this.params.selectedDate;
@@ -1238,17 +1238,20 @@
// fire user event
var flag = true;
+ var isDateChanged = false;
if ( (oldSelectedDate - newSelectedDate) && (oldSelectedDate!=null || newSelectedDate!=null) )
{
+ isDateChanged = true
flag = this.invokeEvent("dateselect", eventData.element, eventData.event, date)
}
if (flag)
- {
+ {
+ var field = $(this.INPUT_DATE_ID);
this.selectedDate = newSelectedDate;
if (this.selectedDate!=null)
{
- $(this.INPUT_DATE_ID).value=this.getSelectedDateString(this.params.datePattern);
+ field.value=this.getSelectedDateString(this.params.datePattern);
var d = new Date(this.selectedDate);
if (d.getMonth()==this.currentDate.getMonth() && d.getFullYear()==this.currentDate.getFullYear())
@@ -1274,7 +1277,7 @@
else
{
this.selectedDate = null;
- $(this.INPUT_DATE_ID).value = "";
+ field.value = "";
if (this.selectedDateElement)
{
Element.removeClassName(this.selectedDateElement, "rich-calendar-select");
@@ -1291,6 +1294,12 @@
}
this.today(noUpdate, true);
}
+
+ // call user event
+ if (isDateChanged)
+ {
+ this.invokeEvent("dateselected", eventData.element, eventData.event, this.selectedDate);
+ }
}
return flag;
@@ -1311,6 +1320,7 @@
this.renderHeader();
this.renderFooter();
this.doCollapse();
+ this.invokeEvent("dateselected", null, null, null);
}
},
Modified: branches/3.1.x/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- branches/3.1.x/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-09-27 16:03:19 UTC (rev 3147)
+++ branches/3.1.x/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-09-27 16:14:56 UTC (rev 3148)
@@ -53,6 +53,7 @@
firstWeekDay: #{this:getFirstWeekDay(context, component)},
minDaysInFirstWeek: #{this:getMinDaysInFirstWeek(context, component)}
+ <f:call name="writeEventHandlerFunction"><f:parameter value="ondateselected" /></f:call>
<f:call name="writeEventHandlerFunction"><f:parameter value="ondateselect" /></f:call>
<f:call name="writeEventHandlerFunction"><f:parameter value="ondatemouseover" /></f:call>
<f:call name="writeEventHandlerFunction"><f:parameter value="ondatemouseout" /></f:call>
16 years, 11 months
JBoss Rich Faces SVN: r3147 - in branches/3.1.x/docs/userguide/en/src/main: docbook/modules and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-09-27 12:03:19 -0400 (Thu, 27 Sep 2007)
New Revision: 3147
Modified:
branches/3.1.x/docs/userguide/en/src/main/docbook/included/actionparam.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/calendar.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/column.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/columnGroup.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/commandButton.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/commandLink.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataGrid.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataList.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataTable.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/datascroller.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dndParam.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dragSupport.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/dropSupport.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/effect.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/form.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/gmap.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/include.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/insert.desc.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/insert.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/jsFunction.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/keepAlive.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/loadBundle.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/loadScript.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/log.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/mediaOutput.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuGroup.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuItem.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/message.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/messages.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/modalPanel.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/outputPanel.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/page.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/paint2D.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/panel.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/panelBar.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/panelMenu.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/poll.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/push.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/region.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/repeat.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/separator.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/spacer.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/status.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/suggestionBox.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/support.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/tabPanel.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/togglePanel.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/toolBar.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/tooltip.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/included/tree.xml
branches/3.1.x/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
branches/3.1.x/docs/userguide/en/src/main/resources/images/datascroller3.gif
branches/3.1.x/docs/userguide/en/src/main/resources/images/dropDownMenu5.png
Log:
http://jira.jboss.com/jira/browse/RF-971 - updated branch version
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/actionparam.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/actionparam.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/actionparam.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -82,11 +82,13 @@
<section>
<title>Relevant resources links</title>
- <para>More information can be found on the <ulink url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063764"
- >Ajax4jsf Users Forum</ulink>.</para>
+
<para>
- To see how component works on practice, look at a4j-actionparam example from
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf?c=act...">RichFaces Live Demo</ulink>.
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf?c=act...">Here</ulink>
+ you can see the example of <emphasis role="bold"
+ ><property><a4j:actionparam></property></emphasis> usage and sources for the given example. </para>
</para>
+ <para>More information can be found on the <ulink url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063764"
+ >Ajax4jsf Users Forum</ulink>.</para>
</section>
</chapter>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -75,7 +75,7 @@
a good place for update the list of re-rendered components, for example.
Ajax Listener is not invoked for non-Ajax request and when RichFaces works in "Ajax Request generates
Non-Ajax Response" mode. Therefore, Ajax Listener invocation is a good indicator that Ajax response is going to be processed.
-Attribute 'type' defines the fully qualified Java class name for listener. This class should implement org.ajax4jsf.framework.ajax.AjaxListener
+Attribute "type" defines the fully qualified Java class name for listener. This class should implement org.ajax4jsf.framework.ajax.AjaxListener
interface. You can access to the source of the event (Ajax component) using event.getSource() call.
</para>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -430,7 +430,7 @@
</section>
<section>
- <title> Skin parameters redefinition</title>
+ <title>Skin parameters redefinition</title>
<table>
<title>Skin parameters redefinition for a popup element</title>
@@ -990,7 +990,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/calendar.jsf?c=calendar"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:calendar></emphasis> usage and sources for the given example. </para>
+ ><property><rich:calendar></property></emphasis> usage and sources for the given example. </para>
<para>How to use JavaScript API see on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078301#..."
>RichFaces Users Forum</ulink>.</para>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/column.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/column.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -206,7 +206,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=column"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:column></emphasis> usage and sources for the given example. </para>
+ ><property><rich:column></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/columnGroup.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -193,6 +193,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=colum..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:columnGroup></emphasis> usage and sources for the given example. </para>
+ ><property><rich:columnGroup></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/commandButton.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/commandButton.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/commandButton.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -65,7 +65,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/commandButton.jsf?c=c...">Here.
</ulink>you can see the example of <emphasis role="bold"
- ><a4j:commandButton></emphasis> usage and sources for the given example.
+ ><property><a4j:commandButton></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/commandLink.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/commandLink.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/commandLink.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -73,9 +73,9 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/commandLink.jsf?c=com...">Here.
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/commandLink.jsf?c=com...">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:commandLink></emphasis> usage and sources for the given example
+ ><property><a4j:commandLink></property></emphasis> usage and sources for the given example
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -113,39 +113,40 @@
</section>
<section>
- <title>Definition custom style classes</title>
+ <title>Definition of Custom Style Classes</title>
+ <para>On the screenshot there are classes names that define styles for component elements.</para>
+
<figure>
- <title>DataDefinitionList style classes</title>
+ <title>Style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/datadefinitionlist2.gif"/>
+ <imagedata fileref="images/datadefinitionlist2.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>On the screenshot there are classes names defining specified elements.</para>
<table>
- <title>Component skin class</title>
+ <title>Classes names that define a list appearance</title>
<tgroup cols="2">
<thead>
<row>
<entry>Class name</entry>
- <entry>Class description</entry>
+ <entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>rich-deflist</entry>
- <entry>Wrapping class for the component</entry>
+ <entry>Defines styles for an html <dl> element</entry>
</row>
<row>
<entry>rich-definition</entry>
- <entry>Customization class for string definition</entry>
+ <entry>Defines styles for an html <dd> element</entry>
</row>
<row>
<entry>rich-definition-term</entry>
- <entry>Customization class for term element</entry>
+ <entry>Defines styles for an html <dt> element</entry>
</row>
</tbody>
</tgroup>
@@ -158,6 +159,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataLists.jsf?c=dataD..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dataDefinitionList></emphasis> usage and sources for the given example. </para>
+ ><property><rich:dataDefinitionList></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -58,9 +58,9 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmldataFilterSlider;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlDataFilterSlider;
...
-HtmldataFilterSlider mySlider = new HtmldataFilterSlider();
+HtmlDataFilterSlider mySlider = new HtmlDataFilterSlider();
...
]]></programlisting>
</section>
@@ -128,7 +128,7 @@
<ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataFilterSlider.jsf?..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dataFilterSlider></emphasis> usage and sources for the given example.
+ ><property><rich:dataFilterSlider></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataGrid.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -130,7 +130,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataGrid.jsf?c=dataGrid"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dataGrid></emphasis> usage and sources for the given example. </para>
+ ><property><rich:dataGrid></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataList.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataList.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataList.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -113,34 +113,36 @@
</section>
<section>
- <title>Definition custom style classes</title>
+ <title>Definition of Custom Style Classes</title>
+
+ <para>On the screenshot there are classes names that define styles for component elements.</para>
+
<figure>
- <title>dataList style classes</title>
+ <title>Style classes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/datalist2.gif"/>
</imageobject>
</mediaobject>
</figure>
- <para>On the screenshot there are classes names defining specified elements.</para>
<table>
- <title>Component skin class</title>
+ <title>Classes names that define a list appearance</title>
<tgroup cols="2">
<thead>
<row>
<entry>Class name</entry>
- <entry>Class description</entry>
+ <entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>rich-datalist</entry>
- <entry>Wrapping class for the component</entry>
+ <entry>Defines styles for an html <ul> element</entry>
</row>
<row>
<entry>rich-list-item</entry>
- <entry>Customization class for string list</entry>
+ <entry>Defines styles for an html <li> element</entry>
</row>
</tbody>
</tgroup>
@@ -154,7 +156,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataLists.jsf?c=dataList"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dataList></emphasis> usage and sources for the given example. </para>
+ ><property><rich:dataList></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -112,36 +112,36 @@
</section>
<section>
- <title>Definition custom style classes</title>
+ <title>Definition of Custom Style Classes</title>
+ <para>On the screenshot there are classes names that define styles for component elements.</para>
+
<figure>
- <title>DataOrderedList style classes</title>
+ <title>Style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/dataorderedlist2.gif"/>
+ <imagedata fileref="images/dataorderedlist2.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>On the screenshot there are classes names defining specified elements.</para>
-
<table>
- <title>Component skin class</title>
+ <title>Classes names that define a list appearance</title>
<tgroup cols="2">
<thead>
<row>
<entry>Class name</entry>
- <entry>Class description</entry>
+ <entry>Description</entry>
</row>
</thead>
<tbody>
<row>
- <entry>rich-datalist</entry>
- <entry>Wrapping class for the component</entry>
+ <entry>rich-orderedlist</entry>
+ <entry>Defines styles for an html <ol> element</entry>
</row>
<row>
<entry>rich-list-item</entry>
- <entry>Customization class for string list</entry>
+ <entry>Defines styles for an html <li> element</entry>
</row>
</tbody>
</tgroup>
@@ -154,7 +154,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataLists.jsf?c=dataO..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dataOrderedList ></emphasis> usage and sources for the given example. </para>
+ ><property><rich:dataOrderedList ></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -125,6 +125,127 @@
</itemizedlist>
</section>
+ <section>
+ <title>Skin parameters redefinition</title>
+
+ <table>
+ <title>Skin parameters redefinition for a table</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>tableBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a header</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>headerBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a footer</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>tableFooterBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a column header</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>additionalBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a column footer</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>tableSubfooterBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for cells</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>generalSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ </section>
+
<section>
<title>Definition of Custom Style Classes</title>
@@ -134,7 +255,7 @@
<title>DataTable class names</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/dataTable2.gif" scalefit="1"/>
+ <imagedata fileref="images/dataTable2.png" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
@@ -212,17 +333,17 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=dataT..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dataTable></emphasis> usage and sources for the given example. </para>
- <para>The article about <emphasis role="bold"><rich:dataTable></emphasis>
+ ><property><rich:dataTable></property></emphasis> usage and sources for the given example. </para>
+ <para>The article about <emphasis role="bold"><property><rich:dataTable></property></emphasis>
flexibility can be found <ulink url="http://labs.jboss.com/wiki/RichFacesArticleDataTable"
>here</ulink>.</para>
<para>More information about using <emphasis role="bold"
- ><rich:dataTable></emphasis> and <emphasis role="bold"
- ><rich:subTable></emphasis> could be found on the <ulink
+ ><property><rich:dataTable></property></emphasis> and <emphasis role="bold"
+ ><property><rich:subTable></property></emphasis> could be found on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059044#...">RichFaces Users Forum.</ulink>
</para>
- <para>How to use <emphasis role="bold"><rich:dataTable></emphasis> and <emphasis
- role="bold"><rich:dataScroller></emphasis> in a context of Extended
+ <para>How to use <emphasis role="bold"><property><rich:dataTable></property></emphasis> and <emphasis
+ role="bold"><property><rich:dataScroller></property></emphasis> in a context of Extended
Data Model see <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115636"
>here</ulink>.</para>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/datascroller.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/datascroller.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/datascroller.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -337,7 +337,7 @@
<title>Style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/datascroller3.gif"/>
+ <imagedata fileref="images/datascroller3.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -354,7 +354,7 @@
<tbody>
<row>
<entry>rich-dtascroller-table</entry>
- <entry>Defines styles for a wrapping element of the component</entry>
+ <entry>Defines styles for a wrapper table element of the component</entry>
</row>
<row>
<entry>rich-datascr-button</entry>
@@ -382,6 +382,10 @@
<entry>rich-datascr-inact</entry>
<entry>Defines styles for an inactive button</entry>
</row>
+ <row>
+ <entry>rich-datascr-button-dsbld</entry>
+ <entry>Defines styles for a disabled button</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -395,13 +399,13 @@
<ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTableScroller.jsf..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dataScroller></emphasis> usage and sources for the given example. </para>
+ ><property><rich:dataScroller></property></emphasis> usage and sources for the given example. </para>
<para> The solution about how to do correct pagination using datascroller (load a part of data from
database) can be found on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060199#..."
>RichFaces Users Forum</ulink>. </para>
- <para>How to use <emphasis role="bold"><rich:dataTable></emphasis> and <emphasis
- role="bold"><rich:dataScroller></emphasis> in a context of Extended
+ <para>How to use <emphasis role="bold"><property><rich:dataTable></property></emphasis> and <emphasis
+ role="bold"><property><rich:dataScroller></property></emphasis> in a context of Extended
Data Model see <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115636"
>here</ulink>.</para>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dndParam.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dndParam.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dndParam.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -173,6 +173,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf?c=dnd..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dndParam></emphasis> usage and sources for the given example. </para>
+ ><property><rich:dndParam></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -253,7 +253,7 @@
<ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf?c=dra..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dragIndicator></emphasis> usage and sources for the given example.
+ ><property><rich:dragIndicator></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dragSupport.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dragSupport.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dragSupport.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -31,7 +31,7 @@
<row>
<entry>component-class</entry>
- <entry>org.richfaces.component.html.DragSupport</entry>
+ <entry>org.richfaces.component.html.HtmlDragSupport</entry>
</row>
<row>
@@ -201,7 +201,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf?c=dra..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dragSupport></emphasis> usage and sources for the given example.
+ ><property><rich:dragSupport></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -493,7 +493,7 @@
<row>
<entry>rich-ddmenu-label-unselect</entry>
- <entry>Defines styles for a wrapper <div> element of a unselected representation
+ <entry>Defines styles for a wrapper <div> element of an unselected representation
element </entry>
</row>
</tbody>
@@ -550,7 +550,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=dr...">Here</ulink> you can see the example of <emphasis role="bold"><rich:dropDownMenu></emphasis> usage and sources for the given example.
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=dr...">Here</ulink> you can see the example of <emphasis role="bold"><property><rich:dropDownMenu></property></emphasis> usage and sources for the given example.
</para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/dropSupport.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -31,7 +31,7 @@
<row>
<entry>component-class</entry>
- <entry>org.richfaces.component.html.DropSupport</entry>
+ <entry>org.richfaces.component.html.HtmlDropSupport</entry>
</row>
<row>
@@ -248,7 +248,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf?c=dro..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:dropSupport></emphasis> usage and sources for the given example.
+ ><property><rich:dropSupport></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/effect.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/effect.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/effect.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -20,7 +20,7 @@
<tbody>
<row>
<entry>component-type</entry>
- <entry>org.richfaces.component.RichEffect</entry>
+ <entry>org.richfaces.Effect</entry>
</row>
<row>
<entry>component-class</entry>
@@ -71,17 +71,15 @@
<section>
<title>Details of Usage</title>
-<para>
- It is possible to use <property><rich:effect></property> in two modes:
-<itemizedlist>
+ <para> It is possible to use <property><rich:effect></property> in two modes: <itemizedlist>
<listitem>attached to the JSF components or html tags and triggered by a particular event.
- Wiring effect with JSF components might occur on the server or client.
- Wiring with html tag is possible only on the client side </listitem>
- <listitem>invoking from the JavaScript code by an effect name.
- During the rendering, <property>rich:effect</property> generates the JavaScript function with defined name. When the function is called,
- the effect is applied </listitem>
-</itemizedlist>
-</para>
+ Wiring effect with JSF components might occur on the server or client. Wiring with html
+ tag is possible only on the client side </listitem>
+ <listitem>invoking from the JavaScript code by an effect name. During the rendering,
+ <property>rich:effect</property> generates the JavaScript function with defined name.
+ When the function is called, the effect is applied </listitem>
+ </itemizedlist>
+ </para>
<para>
<emphasis role="bold">Those a the typical variants of using:</emphasis>
</para>
@@ -118,8 +116,8 @@
</imageobject>
</mediaobject>
</figure>
-
- <figure>
+
+ <figure>
<title>When the mouse cursor is over:</title>
<mediaobject>
@@ -129,42 +127,66 @@
</mediaobject>
</figure>
-<para>
-<emphasis><property>"name"</property></emphasis> attribute defines a name of the JavaScript function that is
-be generated on a page when the component is rendered. You can invoke this function to activate the effect. The function accesses one parameter.
-It is a set of effect options in JSON format.
-</para>
+ <para>
+ <emphasis>
+ <property>"name"</property>
+ </emphasis> attribute defines a name of the JavaScript function that is be generated on a page
+ when the component is rendered. You can invoke this function to activate the effect. The
+ function accesses one parameter. It is a set of effect options in JSON format. </para>
-<para>
-<emphasis><property>"type"</property></emphasis> attribute defines the type of an effect. For example, "Fade", "Blind", "Opacity". Have a look at <ulink url="http://script.aculo.us">scriptaculous documentation</ulink> for set of available effect.
-</para>
+ <para>
+ <emphasis>
+ <property>"type"</property>
+ </emphasis> attribute defines the type of an effect. For example, "Fade", "Blind", "Opacity".
+ Have a look at <ulink url="http://script.aculo.us">scriptaculous documentation</ulink> for set
+ of available effect. </para>
-<para>
-<emphasis><property>"for"</property></emphasis> attribute defines the id of the component or html tag, the effect will be attached to.
-Richfaces converts the <emphasis><property>"for"</property></emphasis> attribute value to the client id of the component if such component is found. If not, the value is left as is for possible
-wiring with on the DOM element's id on the client side.
-By default, the target of the effect is the same element that effect pointed to. However, the target element
-is might be overridden with <emphasis><property>"effectId"</property></emphasis> option passed with <emphasis><property>"params"</property></emphasis>
-attribute of with function paramenter.
-</para>
+ <para>
+ <emphasis>
+ <property>"for"</property>
+ </emphasis> attribute defines the id of the component or html tag, the effect will be attached
+ to. Richfaces converts the <emphasis>
+ <property>"for"</property>
+ </emphasis> attribute value to the client id of the component if such component is found. If
+ not, the value is left as is for possible wiring with on the DOM element's id on the client
+ side. By default, the target of the effect is the same element that effect pointed to.
+ However, the target element is might be overridden with <emphasis>
+ <property>"effectId"</property>
+ </emphasis> option passed with <emphasis>
+ <property>"params"</property>
+ </emphasis> attribute of with function paramenter. </para>
-<para>
-<emphasis><property>"params"</property></emphasis> attribute allows to define the set of options possible for particurar effect.
-For example, 'duration', 'delay', 'from', 'to'. Additionally to the options used by the effect itself, there are two option that might override
-the <property>rich:effect</property> attribute. Those are:
-<itemizedlist>
- <listitem><emphasis><property>"effectId"</property></emphasis> allows to re-define the target of effect.
- The option is override the value of <emphasis><property>"for"</property></emphasis> attribute</listitem>
- <listitem><emphasis><property>"effectType"</property></emphasis> defines the effect type.
- The option is override the value of <emphasis><property>"type"</property></emphasis> attribute</listitem>
-</itemizedlist>
-</para>
-
- </section>
- <section>
+ <para>
+ <emphasis>
+ <property>"params"</property>
+ </emphasis> attribute allows to define the set of options possible for particurar effect. For
+ example, 'duration', 'delay', 'from', 'to'. Additionally to the options used by the effect
+ itself, there are two option that might override the <property>rich:effect</property>
+ attribute. Those are: <itemizedlist>
+ <listitem><emphasis>
+ <property>"effectId"</property>
+ </emphasis> allows to re-define the target of effect. The option is override the value of <emphasis>
+ <property>"for"</property>
+ </emphasis> attribute</listitem>
+ <listitem><emphasis>
+ <property>"effectType"</property>
+ </emphasis> defines the effect type. The option is override the value of <emphasis>
+ <property>"type"</property>
+ </emphasis> attribute</listitem>
+ </itemizedlist>
+ </para>
+
+ </section>
+ <section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/effect.jsf?c=effect">Here</ulink>
- you can see the example of <emphasis role="bold"><rich:effect></emphasis> usage. </para>
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/effect.jsf?c=effect"
+ >Here</ulink> you can see the example of <emphasis role="bold"
+ ><property><rich:effect></property></emphasis> usage. </para>
+ <para>How to save <emphasis role="bold">
+ <property><rich:effect></property>
+ </emphasis>status see on the <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118833"
+ >RichFaces Users Forum</ulink>.</para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/form.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/form.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/form.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -57,7 +57,7 @@
<property>"true"</property>
</emphasis>, it becomes possible to set Ajax submission way for any components inside, i.e. not a page URL is used as an <emphasis >
<property>"action"</property>
- </emphasis> attribute, but the javascript:A4J.AJAX.Submit(...) call. In this case, rendering is defined as reRender=list of Ids for the form element itself.</para>
+ </emphasis> attribute, but the javascript:A4J.AJAX.Submit(...) call. In this case, rendering is defined as "reRender"=list of Ids for the form element itself.</para>
<para>Example</para>
<programlisting role="XML"><![CDATA[<a4j:form id="helloForm" ajaxSubmit="true" reRender="table">
...
@@ -88,7 +88,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/form.jsf?c=form">Here.</ulink>
you can see the example of <emphasis role="bold"
- ><a4j:form></emphasis> usage and sources for the given example.
+ ><property><a4j:form></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/gmap.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/gmap.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/gmap.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -171,7 +171,7 @@
<title>Relevant resources links</title>
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/gmap.jsf?c=gmap">Here</ulink>
- you can see the example of <emphasis role="bold"><rich:gmap></emphasis> usage
+ you can see the example of <emphasis role="bold"><property><rich:gmap></property></emphasis> usage
and sources for the given example. </para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -82,7 +82,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/htmlCommandLink.jsf?c...">Here</ulink> you
can see the example of <emphasis role="bold"
- ><a4j:htmlCommandLinks></emphasis> usage and sources for the given example.
+ ><property><a4j:htmlCommandLinks></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/include.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/include.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/include.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -98,7 +98,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/include.jsf?c=include"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><a4j:include></emphasis> usage and sources for the given example. </para>
+ ><property><a4j:include></property></emphasis> usage and sources for the given example. </para>
<para>
Some additional information can be found on the <ulink url="http://jboss.com/index.html?module=bb&op=viewtopic&t=104158">Ajax4Jsf Users Forum.</ulink>
</para><!--
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -3,7 +3,7 @@
<sectioninfo>
<keywordset>
<keyword>dragged handle control</keyword>
- <keyword>rich:unputNumberSlider</keyword>
+ <keyword>rich:inputNumberSlider</keyword>
<keyword>HtmlInputNumberSlider</keyword>
</keywordset>
</sectioninfo>
@@ -151,29 +151,107 @@
<property>style classes</property>
</emphasis> used by the inputNumberSlider to your page style sheets</listitem>
</itemizedlist>
+ </section>
+
+ <section>
+ <title>Skin parameters redefinition</title>
+
<table>
- <title>Skin parameters redefinition:</title>
+ <title>Skin parameters redefinition for a bar</title>
<tgroup cols="2">
<thead>
<row>
- <entry>Skin parameters for a hint</entry>
+ <entry>Skin parameters</entry>
<entry>CSS properties</entry>
</row>
</thead>
<tbody>
<row>
+ <entry>controlBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for numbers</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>generalSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+ <row>
<entry>generalTextColor</entry>
<entry>color</entry>
</row>
<row>
- <entry>buttonSizeFont</entry>
+ <entry>panelBorderColor</entry>
+ <entry>border-color</entry>
+ </row>
+ <row>
+ <entry>generalSizeFont</entry>
+ <entry>line-height</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a text field</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>controlBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>generalSizeFont</entry>
<entry>font-size</entry>
</row>
+ <row>
+ <entry>controlTextColor</entry>
+ <entry>color</entry>
+ </row>
+ <row>
+ <entry>panelBorderColor</entry>
+ <entry>border-color</entry>
+ </row>
+ <row>
+ <entry>subBorderColor</entry>
+ <entry>border-bottom-color</entry>
+ </row>
+ <row>
+ <entry>subBorderColor</entry>
+ <entry>border-right-color</entry>
+ </row>
</tbody>
</tgroup>
</table>
+
<table>
- <title>Parameters for header element:</title>
+ <title>Skin parameters redefinition for a hint</title>
<tgroup cols="2">
<thead>
<row>
@@ -183,57 +261,83 @@
</thead>
<tbody>
<row>
- <entry>headerBackgroundColor</entry>
+ <entry>tipBackgroundColor</entry>
<entry>background-color</entry>
</row>
+ <row>
+ <entry>tipBorderColor</entry>
+ <entry>border-color</entry>
+ </row>
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>generalSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
</tbody>
</tgroup>
</table>
+
</section>
+
<section>
- <title>Definition custom style classes</title>
+ <title>Definition of Custom Style Classes</title>
+
+ <para>On the screenshot there are classes names that define styles for component elements.</para>
+
<figure>
- <title>Custom style classes of inputNumberSlider</title>
+ <title>Style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/slider5.gif"/>
+ <imagedata fileref="images/slider5.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>On the screenshot, there are classes names that define specified elements</para>
+
<table>
- <title>Predefined component skin class</title>
+ <title>Classes names that define a component appearance</title>
<tgroup cols="2">
<thead>
<row>
<entry>Class name</entry>
- <entry>Class description</entry>
+ <entry>Description</entry>
</row>
</thead>
<tbody>
<row>
- <entry>rich-slider-bound</entry>
- <entry>The class defines panel common style. It's used in the outside <emphasis
- role="bold">
- <property><div></property>
- </emphasis>element</entry>
+ <entry>rich-slider</entry>
+ <entry>Defines styles for a wrapper table element of the component</entry>
</row>
<row>
- <entry>rich-slider-track</entry>
- <entry>a bar to move a pointer</entry>
+ <entry>rich-inslider-track</entry>
+ <entry>Defines styles for a bar</entry>
</row>
<row>
- <entry>rich-slider-handle</entry>
- <entry>a slider handle</entry>
+ <entry>rich-inslider-handler</entry>
+ <entry>Defines styles for a slider handler</entry>
</row>
<row>
- <entry>rich-slider-input</entry>
- <entry>a text field</entry>
+ <entry>rich-inslider-handler-selected</entry>
+ <entry>Defines styles for a selected handler</entry>
</row>
<row>
- <entry>rich-slider-tip</entry>
- <entry>a tooltip</entry>
+ <entry>rich-inslider-field</entry>
+ <entry>Defines styles for a text field</entry>
</row>
+ <row>
+ <entry>rich-inslider-right-num</entry>
+ <entry>Defines styles for the right number</entry>
+ </row>
+ <row>
+ <entry>rich-inslider-left-num</entry>
+ <entry>Defines styles for the left number</entry>
+ </row>
+ <row>
+ <entry>rich-inslider-tip</entry>
+ <entry>Defines styles for a hint</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -275,7 +379,7 @@
<ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/inputNumberSlider.jsf..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:inputNumberSlider></emphasis> usage and sources for the given example.
+ ><property><rich:inputNumberSlider></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -138,46 +138,41 @@
<property>style classes</property>
</emphasis> used by the inputNumberSpinner to your page style sheets</listitem>
</itemizedlist>
+ </section>
+
+ <section>
+ <title>Skin parameters redefinition</title>
<table>
- <title>Skin parameters redefinition:</title>
+ <title>Skin parameters redefinition for a container</title>
<tgroup cols="2">
<thead>
<row>
- <entry>Skin parameters for a container</entry>
+ <entry>Skin parameters</entry>
<entry>CSS properties</entry>
</row>
</thead>
<tbody>
<row>
- <entry>controlBorderColor</entry>
- <entry>border-right-color, border-bottom-color</entry>
+ <entry>controlBackgroundColor</entry>
+ <entry>background-color</entry>
</row>
- </tbody>
- </tgroup>
- </table>
- <table>
- <title>Parameters for an entry field element:</title>
- <tgroup cols="2">
- <thead>
<row>
- <entry>Skin parameters</entry>
- <entry>CSS properties</entry>
+ <entry>panelBorderColor</entry>
+ <entry>border-color</entry>
</row>
- </thead>
- <tbody>
<row>
- <entry>preferableDataSizeFont</entry>
- <entry>font-size</entry>
+ <entry>subBorderColor</entry>
+ <entry>border-bottom-color</entry>
</row>
<row>
- <entry>preferableDataFamilyFont</entry>
- <entry>font-family</entry>
+ <entry>subBorderColor</entry>
+ <entry>border-right-color</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
- <title>Parameters for buttons</title>
+ <title>Skin parameters redefinition for an input field</title>
<tgroup cols="2">
<thead>
<row>
@@ -187,50 +182,57 @@
</thead>
<tbody>
<row>
- <entry>headerBackgroundColor</entry>
- <entry>background-color</entry>
+ <entry>buttonSizeFont</entry>
+ <entry>font-size</entry>
</row>
+ <row>
+ <entry>buttonFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
</tbody>
</tgroup>
</table>
+
</section>
<section>
- <title>Definition custom style classes</title>
+ <title>Definition of Custom Style Classes</title>
+ <para>On the screenshot there are classes names that define styles for component elements.</para>
<figure>
- <title>Custom style classes of inputNumberSpinner</title>
+ <title>Style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/inputNumberSpinner3.gif"/>
+ <imagedata fileref="images/inputNumberSpinner3.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>On the screenshot, there are classes names that define specified elements.</para>
+
<table>
- <title>Predefined component skin class</title>
+ <title>Classes names that define a component appearance</title>
+
<tgroup cols="2">
<thead>
<row>
<entry>Class name</entry>
- <entry>Component Element</entry>
+ <entry>Description</entry>
</row>
</thead>
- <tbody>
+ <tbody>
<row>
+ <entry>rich-spinner-c</entry>
+ <entry>Defines styles for a wrapper table element of the component</entry>
+ </row>
+ <row>
<entry>rich-spinner-input-container</entry>
- <entry>a container for input and <emphasis><property>"inside"</property></emphasis> buttons</entry>
+ <entry>Defines styles for a container</entry>
</row>
<row>
<entry>rich-spinner-input</entry>
- <entry>text field</entry>
+ <entry>Defines styles for an input field</entry>
</row>
<row>
- <entry>rich-spinner-button-up</entry>
- <entry>a button for value increasing</entry>
+ <entry>rich-spinner-button</entry>
+ <entry>Defines styles for a button</entry>
</row>
- <row>
- <entry>rich-spinner-button-down</entry>
- <entry>a button for value decreasing</entry>
- </row>
</tbody>
</tgroup>
</table>
@@ -274,7 +276,7 @@
<ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/inputNumberSpinner.js..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:inputNumberSpinner></emphasis> usage and sources for the given example.
+ ><property><rich:inputNumberSpinner></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/insert.desc.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/insert.desc.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/insert.desc.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The <emphasis role="bold">
<property><rich:insert></property>
- </emphasis> component is used for source code inserting and highlighting.</para>
+ </emphasis> component is used for highlighting, source code inserting and, optionally, format the file from the application context into the page.</para>
</section>
<section>
<title>Key Features</title>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/insert.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/insert.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/insert.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -85,7 +85,7 @@
<property>"src"</property>
</emphasis> attribute defines the path to the file with source code. The <emphasis>
<property>"highlight"</property>
- </emphasis> attribute defines a type of code.</para>
+ </emphasis> attribute defines the type of a syntax highlighting.</para>
<para>If <emphasis>
<property>"highlight"</property>
</emphasis> attribute is defined and <ulink url="https://jhighlight.dev.java.net/">
@@ -120,6 +120,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/insert.jsf?c=insert"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:insert></emphasis> usage and sources for the given example. </para>
+ ><property><rich:insert></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/jsFunction.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/jsFunction.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/jsFunction.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -68,7 +68,7 @@
<section>
<title>Key attributes and ways of usage</title>
<para> As the component uses Ajax request to get data from server - it has all common Ajax
- Action attributes. Hence, action and actionListener can be invoked, and reRendering some parts of
+ Action attributes. Hence, "action" and<emphasis><property> "actionListener" </property></emphasis>can be invoked, and reRendering some parts of
the page fired after calling function. </para>
<para> When using the <emphasis role="bold">
<property><a4j:jsFunction></property>
@@ -115,6 +115,6 @@
<title>Relevant resources links</title>
<para> <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/jsFunction.jsf?c=jsFu...">Here</ulink>
you can see the example of <emphasis role="bold"
- ><a4j:jsFunction></emphasis> usage and sources for the given example.</para>
+ ><property><a4j:jsFunction></property></emphasis> usage and sources for the given example.</para>
</section>
</chapter>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/keepAlive.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/keepAlive.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/keepAlive.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -85,7 +85,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/keepAlive.jsf?c=keepA..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><a4j:keepAlive></emphasis> usage and sources for the given example. </para>
+ ><property><a4j:keepAlive></property></emphasis> usage and sources for the given example. </para>
<para>
Some additional information about usage of component can be found <ulink url="http://jboss.com/index.html?module=bb&op=viewtopic&t=104989">here.
</ulink>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/loadBundle.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/loadBundle.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/loadBundle.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -87,7 +87,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/bundle.jsf?c=loadBundle">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:loadBundle></emphasis> usage and sources for the given example.
+ ><property><a4j:loadBundle></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/loadScript.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/loadScript.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/loadScript.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -74,7 +74,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/script.jsf?c=loadScript">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:loadScript></emphasis> usage and sources for the given example.
+ ><property><a4j:loadScript></property>s</emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/log.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/log.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/log.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -77,7 +77,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/log.jsf?c=log">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:log></emphasis> usage and sources for the given example.
+ ><property><a4j:log></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/mediaOutput.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/mediaOutput.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/mediaOutput.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -84,7 +84,7 @@
<para>As it was shown in the example above there are two main components:</para>
<itemizedlist>
<listitem>
- createContent specifies a method accepting 2 parameters. The first (of java.io.OutputStream type) defines a stream, where any binary data is output. The second (of java.lang.Object type) contains deserialized object with data specified in the <emphasis >
+ <emphasis><property> "createContent" </property></emphasis>specifies a method accepting 2 parameters. The first (of java.io.OutputStream type) defines a stream, where any binary data is output. The second (of java.lang.Object type) contains deserialized object with data specified in the <emphasis >
<property>"value"</property>
</emphasis> attribute.
</listitem>
@@ -100,10 +100,9 @@
<section>
<title>Relevant resources links</title>
<para>
- Some additional information about usage of component can be found
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/mediaOutput.jsf?c=med...">Here
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/mediaOutput.jsf?c=med...">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:mediaOutput ></emphasis> usage and sources for the given example.
+ ><property><a4j:mediaOutput ></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -263,11 +263,11 @@
</row>
<row>
<entry>rich-menu-item-icon</entry>
- <entry>Defines styles for a left icon of an item</entry>
+ <entry>Defines styles for the left icon of an item</entry>
</row>
<row>
<entry>rich-menu-item-folder</entry>
- <entry>Defines styles for a right icon of an item</entry>
+ <entry>Defines styles for the right icon of an item</entry>
</row>
</tbody>
</tgroup>
@@ -289,11 +289,11 @@
</row>
<row>
<entry>rich-menu-item-icon-disabled</entry>
- <entry>Defines styles for a left icon of a disabled item</entry>
+ <entry>Defines styles for the left icon of a disabled item</entry>
</row>
<row>
<entry>rich-menu-item-folder-disabled</entry>
- <entry>Defines styles for a right icon of a disabled item</entry>
+ <entry>Defines styles for the right icon of a disabled item</entry>
</row>
<row>
<entry>rich-menu-group-hover</entry>
@@ -301,11 +301,11 @@
</row>
<row>
<entry>rich-menu-item-icon-enabled</entry>
- <entry>Defines styles for a left icon of an enabled item</entry>
+ <entry>Defines styles for the left icon of an enabled item</entry>
</row>
<row>
<entry>rich-menu-item-icon-selected</entry>
- <entry>Defines styles for a left icon of a selected item</entry>
+ <entry>Defines styles for the left icon of a selected item</entry>
</row>
</tbody>
</tgroup>
@@ -320,6 +320,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=me..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:menuGroup></emphasis> usage and sources for the given example. </para>
+ ><property><rich:menuGroup></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuItem.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -291,7 +291,7 @@
</row>
<row>
<entry>rich-menu-item-icon</entry>
- <entry>Defines styles for a left icon of an item</entry>
+ <entry>Defines styles for the left icon of an item</entry>
</row>
</tbody>
</tgroup>
@@ -325,7 +325,7 @@
</row>
<row>
<entry>rich-menu-item-icon-disabled</entry>
- <entry>Defines styles for a left icon of a disabled item</entry>
+ <entry>Defines styles for the left icon of a disabled item</entry>
</row>
<row>
<entry>rich-menu-item-label-enabled</entry>
@@ -333,7 +333,7 @@
</row>
<row>
<entry>rich-menu-item-icon-enabled</entry>
- <entry>Defines styles for a left icon of an enabled item</entry>
+ <entry>Defines styles for the left icon of an enabled item</entry>
</row>
<row>
<entry>rich-menu-item-label-selected</entry>
@@ -341,7 +341,7 @@
</row>
<row>
<entry>rich-menu-item-icon-selected</entry>
- <entry>Defines styles for a left icon of a selected item</entry>
+ <entry>Defines styles for the left icon of a selected item</entry>
</row>
</tbody>
</tgroup>
@@ -356,6 +356,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=me..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:menuItem></emphasis> usage and sources for the given example. </para>
+ ><property><rich:menuItem></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -144,6 +144,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=me..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:menuSeparator></emphasis> usage and sources for the given example. </para>
+ ><property><rich:menuSeparator></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/message.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/message.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/message.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -99,7 +99,7 @@
<para> The following example shows different variants of customization of the component. The
attribute 'passedLabel' is used for definition the label to be displayed when no message
appears. But the message component isn't appears before the form submission even with passed
- state defined (on initial rendering).Boolean attribute 'showSummary' defines possibility to
+ state defined (on initial rendering).Boolean attribute<emphasis><property> "showSummary" </property></emphasis>defines possibility to
display summary portion of displayed messages. The facets "errorMarker" and 'passedMarker' set
corresponding images for markers. </para>
@@ -197,6 +197,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/message.jsf?c=message"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:message></emphasis> usage and sources for the given example. </para>
+ ><property><rich:message></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/messages.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/messages.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/messages.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -206,6 +206,6 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/messsages.jsf?c=messages"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:messages></emphasis> usage and sources for the given example. </para>
+ ><property><rich:messages></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -249,11 +249,11 @@
>RichFaces Development Forum</ulink>.</para>
<para> There is a possibility to restore of the previous component state on a page (including
position on the screen) after submitting and reloading. The modalPanel has some special
- attributes like 'showWhenRendered' and 'keepVisualState'. </para>
- <para> showWhenRendered - This boolean attribute is used if modalPanel should be rendered after
+ attributes like <emphasis><property>"showWhenRendered"</property></emphasis> and <emphasis><property>"keepVisualState"</property></emphasis>. </para>
+ <para> <emphasis><property>"showWhenRendered"</property></emphasis> - This boolean attribute is used if modalPanel should be rendered after
first page loading. </para>
- <para> keepVisualState - Used if modalPanel should save state after submission. If
- keepVisualState=true then parameters which modalPanel has during opening should be submitted
+ <para><emphasis><property><emphasis><property> "keepVisualState"</property></emphasis> </property></emphasis>- Used if modalPanel should save state after submission. If
+ <emphasis><property> "keepVisualState"</property></emphasis>=true then parameters which modalPanel has during opening should be submitted
and passed to new page. </para>
<para>
@@ -511,12 +511,12 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf?c=moda..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:modalPanel></emphasis> usage and sources for the given example. </para>
+ ><property><rich:modalPanel></property></emphasis> usage and sources for the given example. </para>
<para>Information about wizards using the <emphasis role="bold"
- ><rich:modalPanel></emphasis> component could be found in the <ulink
+ ><property><rich:modalPanel></property></emphasis> component could be found in the <ulink
url="http://labs.jboss.com/wiki/ModalPanelWizards">Wiki article</ulink> and in the <link
linkend="Organizewizards">FAQ</link> chapter of the guide. </para>
- <para>Examples of validation in <emphasis role="bold"><rich:modalPanel></emphasis>
+ <para>Examples of validation in <emphasis role="bold"><property><rich:modalPanel></property></emphasis>
could be found in the <ulink url="http://labs.jboss.com/wiki/ModalPanelValidation">Wiki
article</ulink> and on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061517"
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/outputPanel.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/outputPanel.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/outputPanel.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -62,9 +62,9 @@
<title>Key attributes and ways of usage</title>
<para><emphasis role="bold"><property><a4j:outPanel></property></emphasis> allows marking of a page area, which is updated on Ajax response. Anyway, <emphasis role="bold">
<property><a4j:outputPanel></property>
- </emphasis> usage is optional, as in Ajax4jsf it's possible to indicate any existing component id on a component view in order to define updating areas.
+ </emphasis> usage is optional, as in RichFaces it's possible to indicate any existing component id on a component view in order to define updating areas.
-To speed up the performance, Ajax4jsf updates only a component tree. <emphasis role="bold">
+To speed up the performance, RichFaces updates only a component tree. <emphasis role="bold">
<property><a4j:outputPanel></property>
</emphasis> usage is recommended for wrapping components that aren't rendered during the primary non-ajax response, as the components don't present in a component tree.
</para>
@@ -77,9 +77,9 @@
</h:panelGrid>
</a4j:outputPanel>
]]></programlisting>
- <para>In addition to the areas directly indicated in reRender attribute of Ajax components, <emphasis role="bold">
+ <para>In addition to the areas directly indicated in<emphasis><property> "reRender" </property></emphasis>attribute of Ajax components, <emphasis role="bold">
<property><a4j:outputPanel></property>
- </emphasis> allows to update a part of a page basing on its own flag. The flag is defined by the ajaxRendered attribute. The flag is commonly used when a part of a page must be updated or can be updated on any response.</para>
+ </emphasis> allows to update a part of a page basing on its own flag. The flag is defined by the<emphasis><property> "ajaxRendered" </property></emphasis>attribute. The flag is commonly used when a part of a page must be updated or can be updated on any response.</para>
<para><emphasis role="bold">Example:</emphasis></para>
<programlisting role="XML"><![CDATA[<a4j:outputPanel ajaxRendered="true">
<h:messages/>
@@ -115,12 +115,12 @@
</a4j:outputPanel>
]]></programlisting>
<para>As you see, the code is very similar to the one shown above, but <emphasis ><property>"reRender "</property></emphasis> attribute refers directly to the updating panelGrid and not to the framing outputPanel, and it's more semantically correct.</para>
- <para><emphasis role="bold"><property><a4j:outPanel></property></emphasis> should be used for non-JSF component part framing, which is to be updated on Ajax response, as Ajax4jsf specifies the list of updating areas as a list of an existing JSF component. </para>
- <para>On default non-JSF context isn't saved in a component tree, but is rendered anew every time. To accelerate the processing speed and Ajax response input speed, Ajax4jsf saves non-JSF context in a component tree on default. This option could be canceled by keepTransient attribute that cancels transient flag forced setting for child components. This flag setting keeps the current value set by child components.</para>
+ <para><emphasis role="bold"><property><a4j:outPanel></property></emphasis> should be used for non-JSF component part framing, which is to be updated on Ajax response, as RichFaces specifies the list of updating areas as a list of an existing JSF component. </para>
+ <para>On default non-JSF context isn't saved in a component tree, but is rendered anew every time. To accelerate the processing speed and Ajax response input speed, RichFaces saves non-JSF context in a component tree on default. This option could be canceled by<emphasis><property> "keepTransient" </property></emphasis>attribute that cancels transient flag forced setting for child components. This flag setting keeps the current value set by child components.</para>
<para>Note: In JSF 1.1 implementation and lower, where non-JSF context should be framed with the "f:verbatim" attribute, <emphasis role="bold">
<property><a4j:outputPanel></property>
- </emphasis> doesn't improve this JSF implementation option in any way, so you still have to use this tag where it's necessary without Ajax4jsf usage. </para>
- <para>Ajax4jsf allows setting Ajax responses rendering directly basing on component tree nodes without referring to the JSP (XHTML) page code. It could be defined by selfRendered attribute setting to <emphasis >
+ </emphasis> doesn't improve this JSF implementation option in any way, so you still have to use this tag where it's necessary without RichFaces usage. </para>
+ <para>RichFaces allows setting Ajax responses rendering directly basing on component tree nodes without referring to the JSP (XHTML) page code. It could be defined by selfRendered attribute setting to <emphasis >
<property>"true"</property>
</emphasis>
on <emphasis role="bold">
@@ -131,7 +131,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/outputPanel.jsf?c=out..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><a4j:outputPanel></emphasis> usage and sources for the given example.</para>
+ ><property><a4j:outputPanel></property></emphasis> usage and sources for the given example.</para>
<para>
Some additional information about usage of component can be found
<ulink url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052203#...">here</ulink>.
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/page.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/page.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/page.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -73,7 +73,7 @@
</section>
<section>
<title>Key attributes and ways of usage</title>
- <para>The component is mostly used to solve the following problem with MyFaces for erlier Ajax4gsf versions: in MyFaces <emphasis role="bold">
+ <para>The component is mostly used to solve the following problem with MyFaces for erlier Ajax4jsf versions: in MyFaces <emphasis role="bold">
<property><f:view></property>
</emphasis> doesn't get control over the "<emphasis >
<property>RENDER_RESPONSE</property>
@@ -82,7 +82,7 @@
</emphasis> on a page round the Ajax updatable area. In the last versions of both frameworks the problem is successfully fixed and no <emphasis role="bold"><property><a4j:page></property></emphasis> usage is required.</para>
<para>The component is rendered as a full HTML page template (it was shown in the example). The "<emphasis >
<property>head</property>
- </emphasis>" section is defined with the help of the corresponding facet with the name="head" and also there is an attribute with the same name for contentType definition.</para>
+ </emphasis>" section is defined with the help of the corresponding facet with the name="head" and also there is an attribute with the same name for<emphasis><property> "contentType" </property></emphasis>definition.</para>
</section>
<section>
@@ -90,7 +90,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/page.jsf?c=page">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:page></emphasis> usage and sources for the given example.
+ ><property><a4j:page></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/paint2D.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/paint2D.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/paint2D.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -163,7 +163,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/paint2D.jsf?c=paint2d"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:paint2D></emphasis> usage and sources for the given example. </para>
+ ><property><rich:paint2D></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/panel.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/panel.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -142,15 +142,15 @@
<para>As it has been mentioned <link linkend="panel">above</link>, the component is mostly used for a page style definition,
hence the main attributes are style ones.</para>
<itemizedlist>
- <listitem> styleClass and style </listitem>
- <listitem> headerClass and headerStyle </listitem>
- <listitem> bodyClass and bodyStyle </listitem>
+ <listitem><emphasis><property> "styleClass" </property></emphasis>and "style" </listitem>
+ <listitem><emphasis><property> "headerClass" </property></emphasis>and<emphasis><property> "headerStyle" </property></emphasis></listitem>
+ <listitem><emphasis><property> "bodyClass" </property></emphasis>and<emphasis><property> "bodyStyle" </property></emphasis></listitem>
</itemizedlist>
<para>Moreover, to add e.g. some JavaScript effects, events defined on it are used.</para>
<itemizedlist>
- <listitem> onmouseover </listitem>
- <listitem> onclick </listitem>
- <listitem> onmouseout </listitem>
+ <listitem> "onmouseover" </listitem>
+ <listitem> "onclick" </listitem>
+ <listitem> "onmouseout" </listitem>
<listitem> etc. </listitem>
</itemizedlist>
@@ -262,7 +262,7 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/panel3.gif"/>
+ <imagedata fileref="images/panel3.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -336,7 +336,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/panel.jsf?c=panel"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:panel></emphasis> usage and sources for the given example. </para>
+ ><property><rich:panel></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/panelBar.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -215,7 +215,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/panelBar.jsf?c=panelBar"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:panelBar></emphasis> usage and sources for the given example.
+ ><property><rich:panelBar></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/panelMenu.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -248,7 +248,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/panelMenu.jsf?c=panel..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:panelMenu></emphasis> usage and sources for the given example. </para>
+ ><property><rich:panelMenu></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/poll.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/poll.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/poll.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -60,7 +60,7 @@
</section>
<section>
<title>Key attributes and ways of usage</title>
- <para>The component decodes all necessary JavaScript for time count and on the expiry of some interval for calling of a Ajax4jsf utility method for Ajax request sending (A4J.AJAX.Submit (Some request parameters)).
+ <para>The component decodes all necessary JavaScript for time count and on the expiry of some interval for calling of a RichFaces utility method for Ajax request sending (A4J.AJAX.Submit (Some request parameters)).
</para>
<para>
The timer could be stopped or started in any time. The current state is controlled on the component with the <emphasis >
@@ -69,7 +69,7 @@
</para>
<programlisting role="XML"><![CDATA[<a4j:poll interval="1000" enabled="#{bean.boolProperty}"/>
]]></programlisting>
-<para>As any Ajax4jsf Action component, <emphasis role="bold">
+<para>As any RichFaces Action component, <emphasis role="bold">
<property><a4j:poll></property>
</emphasis> has all described in the <emphasis role="bold">
<property><ulink url="index.html#support"><a4j:support></ulink></property>
@@ -84,7 +84,7 @@
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/poll.jsf?c=poll"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><a4j:poll></emphasis> usage and sources for the given example. </para>
+ ><property><a4j:poll></property></emphasis> usage and sources for the given example. </para>
<para>The aditional information about component usage you can find here : <ulink
url="http://jboss.com/index.html?module=bb&op=viewtopic&t=103909"
>RichFaces Users Forum</ulink>.</para>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -62,7 +62,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/portlet.jsf?c=portlet"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><a4j:portlet></emphasis> usage and sources for the given example. </para>
+ ><property><a4j:portlet></property></emphasis> usage and sources for the given example. </para>
<para>
The aditional information about component usage you can find here:
<ulink url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325">Ajax4Jsf Users Forum.
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/push.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/push.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/push.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -57,7 +57,7 @@
There are some attributes which allows to customize of the component behaviour:
</para>
<para>
-'interval' - Interval (in ms) for call push requests. Default value 1000 (1 sec).
+"interval" - Interval (in ms) for call push requests. Default value 1000 (1 sec).
<!-- If "0" a connection is permanent. Also you can set different value for parameter 'timeout'. -->
</para>
<para>
@@ -90,7 +90,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/push.jsf?c=push">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:push></emphasis> usage and sources for the given example.
+ ><property><a4j:push></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/region.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/region.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/region.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -85,7 +85,7 @@
<!--..Some content that will be decoded on server after Ajax request.-->
</a4j:region >]]></programlisting>
<para>Therefore, the external region is decoded for the "link1" and the internal one is decoded for the "link2".</para>
- <para>Ajax4jsf allows setting Ajax responses rendering directly basing on component tree nodes without referring to the JSP (XHTML) page code. It could be defined by selfRendered attribute setting to <emphasis><property>"true"</property></emphasis> on <emphasis role="bold">
+ <para>RichFaces allows setting Ajax responses rendering directly basing on component tree nodes without referring to the JSP (XHTML) page code. It could be defined by<emphasis><property> "selfRendered" </property></emphasis>attribute setting to <emphasis><property>"true"</property></emphasis> on <emphasis role="bold">
<property><a4j:region></property>
</emphasis> and could help considerably speed up a response output. However, this rapid processing could cause missing of transient components that present on view and don't come into a component tree as well as omitting of <emphasis role="bold">
<property><a4j:outputPanel></property>
@@ -96,7 +96,7 @@
<a4j:commandLink reRender="someID" value="Link" id="link1"/>
<!--..Some content with HTML used ("br" ,"h1" and other tags used)-->
</a4j:region >]]></programlisting>
- <para>In this case, the processing is quicker and going on without referring to a page code, but the HTML code that isn't saved in a component tree could be lost. Thus, this optimization should be very carefully performed and a usage of the additional components ajax4jsf (<emphasis role="bold"><property><a4j:outputPanel></property></emphasis>) is required. </para>
+ <para>In this case, the processing is quicker and going on without referring to a page code, but the HTML code that isn't saved in a component tree could be lost. Thus, this optimization should be very carefully performed and a usage of the additional components RichFaces (<emphasis role="bold"><property><a4j:outputPanel></property></emphasis>) is required. </para>
<para>The processing could be also accelerated if a region decoded for the processing passes straight away into Encode. But to update some data out of the region or on another region, use the <emphasis >
<property>"renderRegionOnly"</property>
</emphasis>
@@ -115,14 +115,14 @@
<para>This example shows that one of the regions is decoded when a link is used inside. Nevertheless,
if after processing the "link1" is clicked, the first region passes into Encode as a root
region and encode performance time is reduced. This optimization doesn't allow data update out of the
- region and should be implemented very carefully. The data out of the region described with "renderRegionOnly"="false" is updated successfully.</para>
+ region and should be implemented very carefully. The data out of the region described with<emphasis><property> "renderRegionOnly"</property></emphasis>="false" is updated successfully.</para>
</section>
<section>
<title>Relevant resources links</title>
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/region.jsf?c=region">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:region></emphasis> usage and sources for the given example.
+ ><property><a4j:region></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/repeat.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/repeat.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/repeat.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -123,7 +123,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/repeat.jsf?c=repeat">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:repeat></emphasis> usage and sources for the given example.
+ ><property><a4j:repeat></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -466,6 +466,6 @@
<title>Relevant resources links</title>
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/scrollableDataTable.j...">Here</ulink>
- you can see the example of <emphasis role="bold"><rich:scrollableDataTable></emphasis> usage. </para>
+ you can see the example of <emphasis role="bold"><property><rich:scrollableDataTable></property>s</emphasis> usage. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/separator.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/separator.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/separator.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -125,7 +125,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/separator.jsf?c=separ..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:separator></emphasis> usage and sources for the given example. </para>
+ ><property><rich:separator></property></emphasis> usage and sources for the given example. </para>
</section>
</chapter>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -301,7 +301,7 @@
<ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/simpleTogglePanel.jsf..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:simpleTogglePanel></emphasis> usage and sources for the given example.
+ ><property><rich:simpleTogglePanel></property>s</emphasis> usage and sources for the given example.
</para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/spacer.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/spacer.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/spacer.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -71,8 +71,8 @@
<property><rich:spacer></property>
</emphasis> is a simple layout component which represents a transparent
<property>spacer</property>. Thus, the main attributes that define its style are <emphasis>
- <property>style</property>
- </emphasis> and <emphasis><property>styleClass</property>.</emphasis></para>
+ <property>"style"</property>
+ </emphasis> and <emphasis><property>"styleClass"</property>.</emphasis></para>
<para>In addition, the attributes are responsible for the component size: <emphasis>
<property>"width"</property>
</emphasis> and <emphasis><property>"height"</property>.</emphasis></para>
@@ -94,9 +94,9 @@
own CSS (replacing in the result properties defined in a skin with your own).</para>
<para>To define appearance of the particular <property>spacer</property>, it's possible
to write your own CSS classes and properties in the component style attributes
- (<emphasis><property>style</property>, </emphasis>
+ (<emphasis><property>"style"</property>, </emphasis>
<emphasis>
- <property>styleClass</property>
+ <property>"styleClass"</property>
</emphasis>) modifying component property.</para>
</section>
<section>
@@ -104,7 +104,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/spacer.jsf?c=spacer"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:spacer></emphasis> usage and sources for the given example. </para>
+ ><property><rich:spacer></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/status.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/status.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/status.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -88,7 +88,7 @@
Definition with the <emphasis >
<property>"status"</property>
</emphasis>
-attribute obtained by any Ajax4jsf library action component. The attribute should point at the <emphasis role="bold">
+attribute obtained by any RichFaces library action component. The attribute should point at the <emphasis role="bold">
<property><a4j:status></property>
</emphasis> component "id". Then this <emphasis role="bold">
<property><a4j:status></property>
@@ -124,7 +124,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/status.jsf?c=status">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:status></emphasis> usage and sources for the given example.
+ ><property><a4j:status></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/suggestionBox.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -193,7 +193,7 @@
<section>
<para>
There is possibility to define what be shown if the autocomplete returns empty list.
-Attribute "nothingLabel" or facet with the same name could be used for it.
+Attribute<emphasis><property> "nothingLabel" </property></emphasis>or facet with the same name could be used for it.
</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -474,7 +474,7 @@
<ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/suggestionBox.jsf?c=s..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:suggestionBox></emphasis> usage and sources for the given
+ ><property><rich:suggestionBox></property></emphasis> usage and sources for the given
example. </para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/support.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/support.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/support.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -75,11 +75,11 @@
<input onkeyup="A4J.AJAX.Submit( Some request parameters )"/>
]]></programlisting>
<para>As you see from the code, the "onkeyup"
-event calls a utility ajax4jsf method that submit a form creating a special marks for a filter informing that it is an Ajax request. Thus, any supports quantity could be added to every component, the supports define component behavior on these events. </para>
+event calls a utility RichFaces method that submit a form creating a special marks for a filter informing that it is an Ajax request. Thus, any supports quantity could be added to every component, the supports define component behavior on these events. </para>
<note>
<para>The components: <emphasis role="bold"><property><a4j:commandLink></property></emphasis>, <emphasis role="bold"><property><a4j:commandButton></property></emphasis>, <emphasis role="bold">
<property><a4j:poll></property>
- </emphasis> and others from Ajax4jsf library are already supplied with <emphasis role="bold">
+ </emphasis> and others from RichFaces library are already supplied with <emphasis role="bold">
<property><a4j:support></property>
</emphasis> functionality and there is no necessity to add the support to them. </para>
</note>
@@ -102,7 +102,7 @@
<para><emphasis ><property>"ajaxSingle"</property></emphasis> is an attribute that allows submission on the server only component sending a request, as if the component presented on a separate form.
</para>
- <para><emphasis ><property>"limitToList"</property></emphasis> is an attribute that allows to limit areas, which are updated after the responses. Only these components defined in the reRender attribute are updated. </para>
+ <para><emphasis ><property>"limitToList"</property></emphasis> is an attribute that allows to limit areas, which are updated after the responses. Only these components defined in the <emphasis><property> "reRender" </property></emphasis>attribute are updated. </para>
</listitem>
</itemizedlist></para>
<para><emphasis role="bold">Example 1:</emphasis></para>
@@ -123,7 +123,7 @@
</h:inputText>
<h:outputText value="#{person.name}" id="test"/>
</form>]]></programlisting>
- <para>In this example the component "h:messages" is always updated (as it capturing all Ajax requests, located in ajaxRendered <emphasis role="bold"><property><a4j:outputPanel></property></emphasis>), except the case when a response is sent from the input component from the example. On sending this component marks that updating area is limited to the defined in it components, it means that on its usage with "limitToList"="true" the only component updated is the one with "d"="test".</para>
+ <para>In this example the component "h:messages" is always updated (as it capturing all Ajax requests, located in ajaxRendered <emphasis role="bold"><property><a4j:outputPanel></property></emphasis>), except the case when a response is sent from the input component from the example. On sending this component marks that updating area is limited to the defined in it components, it means that on its usage with<emphasis><property> "limitToList"</property></emphasis>="true" the only component updated is the one with "d"="test".</para>
<itemizedlist>
<listitem>
<emphasis role="bold">Limitation of requests frequency and updates quantity after the responses. </emphasis>
@@ -157,7 +157,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf?c=support">Here
</ulink> you can see the example of <emphasis role="bold"
- ><a4j:support></emphasis> usage and sources for the given example.
+ ><property><a4j:support></property></emphasis> usage and sources for the given example.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/tabPanel.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -251,7 +251,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/tabPanel.jsf?c=tabPanel"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:tabPanel></emphasis> usage and sources for the given example. </para>
+ ><property><rich:tabPanel></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/togglePanel.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -148,7 +148,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/togglePanel.jsf?c=tog..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:togglePanel></emphasis> usage and sources for the given example.
+ ><property><rich:togglePanel></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/toolBar.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/toolBar.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -155,7 +155,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/toolBar.jsf?c=toolBar"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:toolBar></emphasis> usage and sources for the given example. </para>
+ ><property><rich:toolBar></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -167,9 +167,9 @@
<emphasis
><property>style class</property></emphasis> of a generated component, i.e.
to redefine at once all <property>toolBarGroups</property> appearance on a page, redefine this class in your CSS.</para>
- <para>The component also has the standard attribute style and <emphasis
+ <para>The component also has the standard attribute "style" and <emphasis
-><property>style class</property></emphasis> that could redefine an
+><property>"style class"</property></emphasis> that could redefine an
appearance of particular component variants.
</para>
<para>It's necessary to define a class according to the corresponding name, so as an
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/tooltip.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/tooltip.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/tooltip.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -250,7 +250,7 @@
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/toolTip.jsf?c=toolTip"
>Here</ulink> you can see the example of <emphasis role="bold"
- ><rich:toolTip></emphasis> usage and sources for the given example. </para>
+ ><property><rich:toolTip></property></emphasis> usage and sources for the given example. </para>
</section>
</section>
\ No newline at end of file
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/tree.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/tree.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -72,7 +72,7 @@
<title>Details of Usage</title>
<para>As it has been mentioned <link linkend="tree">above</link> the tree component allows to render any tree-like structure
of data.</para>
- <para>A bean property is passed into a tree <property>value</property> attribute. The property
+ <para>A bean property is passed into a tree <property>"value"</property> attribute. The property
keeps the structure of a org.richfaces.component.TreeNode type (you could have a look at this
interface description in the <ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone..."
@@ -300,7 +300,7 @@
<title>Relevant resources links</title>
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/tree.jsf?c=tree">Here</ulink>
- you can see the example of <emphasis role="bold"><rich:tree></emphasis> usage
+ you can see the example of <emphasis role="bold"><property><rich:tree></property></emphasis> usage
and sources for the given example. </para>
<para>How to Expand/Collapse Tree Nodes from code, see <ulink
url="http://labs.jboss.com/wiki/ExpandCollapseTreeNodes">here</ulink>. </para>
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml 2007-09-27 15:46:24 UTC (rev 3146)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml 2007-09-27 16:03:19 UTC (rev 3147)
@@ -73,6 +73,18 @@
</section>
<section>
+ <?dbhtml filename="Whythereisaproblemwithprototypes.html"?>
+ <title>Why does a problem with prototypes in RichFaces 3.1.0 happen? The
+ Prototype.Browser() function can't be found.</title>
+ <para>RichFaces 3.1.0 has been released with the latest Prototype 1.5.1.1. The
+ conflict happens because on your page an older version of prototypes that
+ can be added from Tomahawk 1.1.6 is used. See the solution to the problem
+ <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118526&a..."
+ >here.</ulink></para>
+ </section>
+
+ <section>
<?dbhtml filename="WhyRichFaceslibrarycondataTablecomp.html"?>
<title>Why RichFaces library contains <rich:dataTable> component,
though there is the standard <h:dataTable>?</title>
@@ -164,9 +176,9 @@
suggestion list doesn't show since it is behind the modalPanel.</title>
<para>To solve this problem you should use the latest versions of RichFaces.</para>
<para> Most important links for RichFaces can be found <ulink
- url="http://jboss.com/index.html?module=bb&op=viewtopic&t=104575"
- >here</ulink>.</para>
-
+ url="http://jboss.com/index.html?module=bb&op=viewtopic&t=104575"
+ >here</ulink>.</para>
+
</section>
<section>
@@ -371,6 +383,15 @@
</section>
<section>
+ <?dbhtml filename="Howtonavigatefromonetabtoanother.html"?>
+ <title>How to navigate from one tab to another using buttons (apart from tabPanel
+ functionality)?</title>
+ <para> For necessary information you can see <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085931#..."
+ >RichFaces Users Forum</ulink>.</para>
+ </section>
+
+ <section>
<?dbhtml filename="Howtoretrievethecurrentvalue.html"?>
<title>How to retrieve the current value from the inputNumberSlider?</title>
<para>To catch the value of the inputNumberSlider from the JavaScrip, use the
@@ -493,16 +514,16 @@
<section>
<?dbhtml filename="HowtoExpand/CollapseTreeNodesfromcode.html"?>
- <title>How to Expand/Collapse Tree Nodes from code?</title>
+ <title>How to expand/collapse tree nodes from code?</title>
<para>The answer could be found <ulink
url="http://labs.jboss.com/wiki/ExpandCollapseTreeNodes"
>here</ulink>.</para>
</section>
-
+
<section>
<?dbhtml filename="HowtouseJavaScriptAPI.html"?>
<title>How to use JavaScript API?</title>
- <para>The simple code is placed below:</para>
+ <para>The simple code is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -522,8 +543,28 @@
...
]]></programlisting>
</section>
-
+ <section>
+ <?dbhtml filename="HowtoloadtheScriptaculouslibrary.html"?>
+ <title>How to load the Scriptaculous library?</title>
+ <para>To load the Scriptaculous library shipped with RichFaces use <emphasis
+ role="bold"><a4j:loadScript></emphasis> tag.</para>
+ <para>For more information see <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119044"
+ >RichFaces Users Forum</ulink>.</para>
+ </section>
+
+ <section>
+ <?dbhtml filename="Howtosaveeffectstatus.html"?>
+ <title>How to save <rich:effect> status?</title>
+ <para><emphasis role="bold"><rich:effect></emphasis> component has
+ several callback methods such as beforeStart, afterFinish. You can use them
+ to save the status.</para>
+ <para> See also <ulink
+ url="http://wiki.script.aculo.us/scriptaculous/show/CoreEffects"
+ >core effects</ulink> in scriptaculous.</para>
+ </section>
+
<section id="DecidingWhatToChangeOnTheServerSide">
<?dbhtml filename="DecidingWhatToChangeOnTheServerSide.html"?>
<title>What should I change on the server side?</title>
Modified: branches/3.1.x/docs/userguide/en/src/main/resources/images/datascroller3.gif
===================================================================
(Binary files differ)
Modified: branches/3.1.x/docs/userguide/en/src/main/resources/images/dropDownMenu5.png
===================================================================
(Binary files differ)
16 years, 11 months
JBoss Rich Faces SVN: r3146 - in trunk/ui/suggestionbox/src/main: java/org/richfaces/component and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-09-27 11:46:24 -0400 (Thu, 27 Sep 2007)
New Revision: 3146
Modified:
trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java
trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-1023
Modified: trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml
===================================================================
--- trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml 2007-09-27 15:38:31 UTC (rev 3145)
+++ trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml 2007-09-27 15:46:24 UTC (rev 3146)
@@ -181,7 +181,8 @@
<description>
HTML CSS class attribute of element for pop-up
suggestion content
- </description>
+ </description>
+ <defaultvalue>""</defaultvalue>
</property>
<property>
<name>popupStyle</name>
@@ -189,7 +190,24 @@
<description>
HTML CSS style attribute of element for pop-up
suggestion content
- </description>
+ </description>
+ <defaultvalue>""</defaultvalue>
+ </property>
+ <property>
+ <name>style</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style(s) is/are to be applied when this component is rendered
+ </description>
+ <defaultvalue>""</defaultvalue>
+ </property>
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Corresponds to the HTML class attribute
+ </description>
+ <defaultvalue>""</defaultvalue>
</property>
<property>
<name>frequency</name>
Modified: trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java
===================================================================
--- trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java 2007-09-27 15:38:31 UTC (rev 3145)
+++ trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java 2007-09-27 15:46:24 UTC (rev 3146)
@@ -356,4 +356,68 @@
removeFacesListener(listener);
}
+ /**
+ * Getter for styleClass.
+ *
+ * Corresponds to the HTML class attribute
+ *
+ * @return styleClass value from local variable or value bindings
+ */
+ public abstract String getStyleClass();
+
+ /**
+ * Setter for styleClass.
+ *
+ * @param value class
+ */
+ public abstract void setStyleClass(String value);
+
+ /**
+ * Getter for popupClass.
+ *
+ * HTML CSS class attribute of element for pop-up suggestion content
+ *
+ * @return popupClass value from local variable or value bindings
+ */
+ public abstract String getPopupClass();
+
+ /**
+ * Setter for popupClass.
+ *
+ * @param value class
+ */
+ public abstract void setPopupClass(String value);
+
+ /**
+ * Getter for style.
+ *
+ * CSS style(s) is/are to be applied when this component is rendered
+ *
+ * @return style value from local variable or value bindings
+ */
+ public abstract String getStyle();
+
+ /**
+ * Setter for style.
+ *
+ * @param value style
+ */
+ public abstract void setStyle(String value);
+
+ /**
+ * Getter for popupStyle.
+ *
+ * HTML CSS style attribute of element for pop-up suggestion content
+ *
+ * @return popupStyle value from local variable or value bindings
+ */
+ public abstract String getPopupStyle();
+
+ /**
+ * Setter for popupStyle.
+ *
+ * @param value style
+ */
+ public abstract void setPopupStyle(String value);
+
}
Modified: trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java
===================================================================
--- trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java 2007-09-27 15:38:31 UTC (rev 3145)
+++ trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java 2007-09-27 15:46:24 UTC (rev 3146)
@@ -45,8 +45,6 @@
import javax.faces.component.UIData;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
-import javax.faces.el.MethodBinding;
-import javax.faces.event.FacesEvent;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
@@ -181,10 +179,11 @@
suggestionBox.setRowIndex(-1);
writer.startElement(HTML.DIV_ELEM, component);
getUtils().encodeId(context, component);
- Map attributes = component.getAttributes();
StringBuffer clazz = new StringBuffer(
- "dr-sb-common-container rich-sb-common-container");
+ "dr-sb-common-container rich-sb-common-container ");
+ clazz.append(suggestionBox.getPopupClass() + " ").
+ append(suggestionBox.getStyleClass());
writer.writeAttribute("class", clazz, "popupClass");
int zIndex = suggestionBox.getZindex();
@@ -194,10 +193,8 @@
style.append(getSizeForStyle(component, "width", null, false));
style.append(getSizeForStyle(component, "height", null, false));
- Object popupStyle = attributes.get("popupStyle");
- if (null != popupStyle) {
- style.append(popupStyle);
- }
+ style.append(suggestionBox.getPopupStyle() + ";").
+ append(suggestionBox.getStyle() + ";");
writer.writeAttribute("style", style, "popupStyle");
UIComponent popupFacet = component.getFacet("popup");
16 years, 11 months
JBoss Rich Faces SVN: r3145 - in trunk: ui/calendar/src/main/config/component and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-09-27 11:38:31 -0400 (Thu, 27 Sep 2007)
New Revision: 3145
Modified:
trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
trunk/ui/calendar/src/main/config/component/calendar.xml
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
RF-978
Modified: trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
===================================================================
--- trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-09-27 14:18:56 UTC (rev 3144)
+++ trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-09-27 15:38:31 UTC (rev 3145)
@@ -57,7 +57,10 @@
valueChangeListener="#{calendarBean.ddd}"
reRender="counter"
inputClass="ic"
- buttonClass="bc">
+ buttonClass="bc"
+ horizontalOffset="3"
+ verticalOffset="3"
+ mode="ajax">
<f:facet name="optionalHeader">
<h:outputText value="optionalHeader Facet" />
</f:facet>
Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml 2007-09-27 14:18:56 UTC (rev 3144)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml 2007-09-27 15:38:31 UTC (rev 3145)
@@ -324,6 +324,13 @@
</description>
</property>
<property>
+ <name>ondateselected</name>
+ <classname>java.lang.String</classname>
+ <description>
+ onDateSelected event handler
+ </description>
+ </property>
+ <property>
<name>oncurrentdateselect</name>
<classname>java.lang.String</classname>
<description>
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-27 14:18:56 UTC (rev 3144)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-09-27 15:38:31 UTC (rev 3145)
@@ -438,7 +438,7 @@
// popup offset
this.popupOffset = {dx: (isNaN(this.params.horizontalOffset) ? 0 : parseInt(this.params.horizontalOffset,10)), dy: (isNaN(this.params.verticalOffset) ? 0 : parseInt(this.params.verticalOffset,10))};
- this.currentDate = this.params.currentDate ? this.params.currentDate : new Date();
+ this.currentDate = this.params.currentDate ? this.params.currentDate : (this.params.selectedDate ? this.params.selectedDate : new Date());
this.currentDate.setDate(1);
this.selectedDate = this.params.selectedDate;
@@ -1238,17 +1238,20 @@
// fire user event
var flag = true;
+ var isDateChanged = false;
if ( (oldSelectedDate - newSelectedDate) && (oldSelectedDate!=null || newSelectedDate!=null) )
{
+ isDateChanged = true
flag = this.invokeEvent("dateselect", eventData.element, eventData.event, date)
}
if (flag)
- {
+ {
+ var field = $(this.INPUT_DATE_ID);
this.selectedDate = newSelectedDate;
if (this.selectedDate!=null)
{
- $(this.INPUT_DATE_ID).value=this.getSelectedDateString(this.params.datePattern);
+ field.value=this.getSelectedDateString(this.params.datePattern);
var d = new Date(this.selectedDate);
if (d.getMonth()==this.currentDate.getMonth() && d.getFullYear()==this.currentDate.getFullYear())
@@ -1274,7 +1277,7 @@
else
{
this.selectedDate = null;
- $(this.INPUT_DATE_ID).value = "";
+ field.value = "";
if (this.selectedDateElement)
{
Element.removeClassName(this.selectedDateElement, "rich-calendar-select");
@@ -1291,6 +1294,12 @@
}
this.today(noUpdate, true);
}
+
+ // call user event
+ if (isDateChanged)
+ {
+ this.invokeEvent("dateselected", eventData.element, eventData.event, this.selectedDate);
+ }
}
return flag;
@@ -1311,6 +1320,7 @@
this.renderHeader();
this.renderFooter();
this.doCollapse();
+ this.invokeEvent("dateselected", null, null, null);
}
},
Modified: trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-09-27 14:18:56 UTC (rev 3144)
+++ trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-09-27 15:38:31 UTC (rev 3145)
@@ -53,6 +53,7 @@
firstWeekDay: #{this:getFirstWeekDay(context, component)},
minDaysInFirstWeek: #{this:getMinDaysInFirstWeek(context, component)}
+ <f:call name="writeEventHandlerFunction"><f:parameter value="ondateselected" /></f:call>
<f:call name="writeEventHandlerFunction"><f:parameter value="ondateselect" /></f:call>
<f:call name="writeEventHandlerFunction"><f:parameter value="ondatemouseover" /></f:call>
<f:call name="writeEventHandlerFunction"><f:parameter value="ondatemouseout" /></f:call>
16 years, 11 months
JBoss Rich Faces SVN: r3144 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: euhvasko
Date: 2007-09-27 10:18:56 -0400 (Thu, 27 Sep 2007)
New Revision: 3144
Added:
trunk/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
trunk/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
Log:
http://jira.jboss.com/jira/browse/RF-1008 edit screenshot for component
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-09-27 13:49:49 UTC (rev 3143)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-09-27 14:18:56 UTC (rev 3144)
@@ -121,7 +121,7 @@
<title>Style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/datadefinitionlist2.gif"/>
+ <imagedata fileref="images/datadefinitionlist2.png"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-09-27 13:49:49 UTC (rev 3143)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-09-27 14:18:56 UTC (rev 3144)
@@ -120,7 +120,7 @@
<title>Style classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/dataorderedlist2.gif"/>
+ <imagedata fileref="images/dataorderedlist2.png"/>
</imageobject>
</mediaobject>
</figure>
Added: trunk/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 11 months
JBoss Rich Faces SVN: r3143 - trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2007-09-27 09:49:49 -0400 (Thu, 27 Sep 2007)
New Revision: 3143
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
Log:
RF-1002
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js 2007-09-27 13:36:10 UTC (rev 3142)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js 2007-09-27 13:49:49 UTC (rev 3143)
@@ -132,6 +132,7 @@
this.getBody().adjustColumnWidth(index, width);
if(this.getFooter()) this.getFooter().adjustColumnWidth(index, width);
this.updateLayout();
+ this.getHeader().agjustSeparators();
this.eventOnResizeColumn.fire(index, width);
},
adjustScrollPosition: function(pos) {
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2007-09-27 13:36:10 UTC (rev 3142)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2007-09-27 13:49:49 UTC (rev 3143)
@@ -362,7 +362,7 @@
var columns = this.grid.getHeader().getColumns();
var bodyCell = columns.last().bodyCol;
if(bodyCell) bodyCell.width = 1;
- var width = this.grid.getElement().offsetWidth - this.fTable.offsetWidth - this.nTable.offsetWidth;
+ var width = this.container.getElement().offsetWidth - this.fTable.offsetWidth - this.nTable.offsetWidth;
if (width < 1) {
width = 1;
}
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-09-27 13:36:10 UTC (rev 3142)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-09-27 13:49:49 UTC (rev 3143)
@@ -469,7 +469,6 @@
this._columns[column].col.width = width>0 ? width : 1;
if(width<=0) this.getColumns()[column].sep.hide();
this._columns[column].width = width;
- this.agjustSeparators();
},
setFakeColumnWidth: function() {
16 years, 11 months
JBoss Rich Faces SVN: r3141 - trunk/test-applications/jsp/src/main/webapp/EmptyPage.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-09-27 09:35:14 -0400 (Thu, 27 Sep 2007)
New Revision: 3141
Added:
trunk/test-applications/jsp/src/main/webapp/EmptyPage/CustomizePage.jsp
Removed:
trunk/test-applications/jsp/src/main/webapp/EmptyPage/EmptyPage.jsp
Log:
Added: trunk/test-applications/jsp/src/main/webapp/EmptyPage/CustomizePage.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/EmptyPage/CustomizePage.jsp (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/EmptyPage/CustomizePage.jsp 2007-09-27 13:35:14 UTC (rev 3141)
@@ -0,0 +1,18 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<f:view>
+<html>
+<head>
+<title></title>
+<link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
+</head>
+<body>
+ <h:form>
+ <rich:messages showDetail="true"></rich:messages>
+
+ </h:form>
+</body>
+</html>
+</f:view>
\ No newline at end of file
Deleted: trunk/test-applications/jsp/src/main/webapp/EmptyPage/EmptyPage.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/EmptyPage/EmptyPage.jsp 2007-09-27 13:34:55 UTC (rev 3140)
+++ trunk/test-applications/jsp/src/main/webapp/EmptyPage/EmptyPage.jsp 2007-09-27 13:35:14 UTC (rev 3141)
@@ -1,18 +0,0 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
-<f:view>
-<html>
-<head>
-<title></title>
-<link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
-</head>
-<body>
- <h:form>
- <rich:messages showDetail="true"></rich:messages>
-
- </h:form>
-</body>
-</html>
-</f:view>
\ No newline at end of file
16 years, 11 months
JBoss Rich Faces SVN: r3140 - trunk/test-applications/jsp/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-09-27 09:34:55 -0400 (Thu, 27 Sep 2007)
New Revision: 3140
Modified:
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml 2007-09-27 13:33:37 UTC (rev 3139)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml 2007-09-27 13:34:55 UTC (rev 3140)
@@ -125,8 +125,8 @@
<to-view-id>/pages/Select/Map.jsp</to-view-id>
</navigation-case>
<navigation-case>
- <from-outcome>EmptyPage</from-outcome>
- <to-view-id>/EmptyPage/EmptyPage.jsp</to-view-id>
+ <from-outcome>CustomizePage</from-outcome>
+ <to-view-id>/CustomizePage/CustomizePage.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
16 years, 11 months
JBoss Rich Faces SVN: r3139 - in trunk/test-applications/jsp/src/main/webapp: pages and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-09-27 09:33:37 -0400 (Thu, 27 Sep 2007)
New Revision: 3139
Modified:
trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
trunk/test-applications/jsp/src/main/webapp/pages/main.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-27 13:22:06 UTC (rev 3138)
+++ trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2007-09-27 13:33:37 UTC (rev 3139)
@@ -5,7 +5,13 @@
<f:subview id="effectID">
<h:messages />
- <h:form id="indexID">
+ <rich:panel id="indexID">
+ <a4j:commandLink value="Hide all" onclick="hideFrm1(),hideFrm2(),hideFrm3(),hideFrm4(),hideFrm5()"></a4j:commandLink>
+
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
<h:outputText value="Menu:" />
<h:panelGrid columns="2">
<h:outputText value="1." />
@@ -33,9 +39,9 @@
<span onclick="showFrm5(),hideIndexID()"><font color="blue">RichFace Components.</font></span>
</f:verbatim>
</h:panelGrid>
- </h:form>
+ </rich:panel>
- <h:form id="frm1">
+ <rich:panel id="frm1">
<h:outputText value="JSF Components:" />
<h:panelGrid id="panGrID" columns="2">
@@ -100,9 +106,9 @@
<br />
<span onclick="hideFrm1(),showIndexID()"><font color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm2">
+ <rich:panel id="frm2">
<h:outputText
value="JSF Component with Event and non-jsf target (onclick, onmouseout)" />
@@ -129,9 +135,9 @@
<br />
<span onclick="hideFrm2(),showIndexID()"><font color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm3">
+ <rich:panel id="frm3">
<h:outputText
value="JSF Component with Event and jsf target (onclick, onmouseout)" />
@@ -155,9 +161,9 @@
<br />
<span onclick="hideFrm3(),showIndexID()"><font color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm4">
+ <rich:panel id="frm4">
<h:outputText value="1. (Event 2)" />
<h:graphicImage id="img_1_ID" value="/pics/asus.jpg" width="200px"
height="150px" />
@@ -187,9 +193,9 @@
<br />
<span onclick="hideFrm4(),showIndexID()"><font color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm5">
+ <rich:panel id="frm5">
<h:panelGrid id="panGrID" columns="2">
<f:verbatim>
<span onclick="hideRichPanel()"><font color="blue">Hide
@@ -262,7 +268,7 @@
<br />
<span onclick="hideFrm5(),showIndexID()"><font color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
<rich:effect for="indexID" event="" name="hideIndexID" type="BlindUp" />
<rich:effect for="indexID" event="" name="showIndexID" type="BlindDown" />
@@ -284,9 +290,9 @@
<rich:effect for="backFrmID" event="" name="hideBackFrm" type="Fade" />
<rich:effect for="backFrmID" event="" name="showBackFrm" type="Appear" />
- <h:form id="backFrmID">
+ <rich:panel id="backFrmID">
<h:commandLink value="Back" action="main"></h:commandLink>
- </h:form>
+ </rich:panel>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/pages/main.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/main.jsp 2007-09-27 13:22:06 UTC (rev 3138)
+++ trunk/test-applications/jsp/src/main/webapp/pages/main.jsp 2007-09-27 13:33:37 UTC (rev 3139)
@@ -17,7 +17,7 @@
<h:commandLink value="RichFaces" action="RichTest"></h:commandLink>
<h:commandLink value="Div" action="TestDiv"></h:commandLink>
<h:commandLink value="Select" action="Map"></h:commandLink>
- <h:commandLink value="Empty Page" action="EmptyPage"></h:commandLink>
+ <h:commandLink value="Customize page" action="CustomizePage"></h:commandLink>
</h:panelGrid>
</rich:panel>
</h:form>
16 years, 11 months