[richfaces-svn-commits] JBoss Rich Faces SVN: r14577 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Wed Jun 10 05:06:32 EDT 2009
Author: ochikvina
Date: 2009-06-10 05:06:32 -0400 (Wed, 10 Jun 2009)
New Revision: 14577
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/a4j_page.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/calendar.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/column.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/columnGroup.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/columns.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/contextMenu.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataGrid.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataList.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataTable.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/datascroller.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dndParam.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragListener.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragSupport.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dropListener.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dropSupport.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/editor.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/effect.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/fileUpload.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/gmap.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/graphValidator.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/insert.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jQuery.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/layout.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/layoutPanel.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/listShuttle.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/mediaOutput.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuGroup.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuItem.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/message.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/messages.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/modalPanel.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/orderingList.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/outputPanel.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/paint2D.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panel.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelBar.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenu.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/pickList.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/portlet.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/progressBar.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/push.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/queue.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/recursiveTreeNodesAdaptor.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/region.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_page.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/spacer.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/status.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/subTable.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/support.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tab.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tabPanel.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toggleControl.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/togglePanel.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolBar.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolTip.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tree.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/treeNode.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/virtualEarth.xml
Log:
https://jira.jboss.org/jira/browse/RF-5117 - formatting code samples;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/a4j_page.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/a4j_page.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/a4j_page.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -43,9 +43,9 @@
<programlisting role="XML"><![CDATA[<f:view>
<a4j:page>
<f:facet name="head">
- <!--...Head Content here-->
+ <!--Head Content here-->
</f:facet>
- <!--...Page Content here-->
+ <!--Page Content here-->
</a4j:page>
</f:view>]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -112,11 +112,11 @@
import org.ajax4jsf.event.AjaxEvent;
public class Bean implements org.ajax4jsf.event.AjaxListener{
-...
- public void processAjax(AjaxEvent arg){
- //Custom Developer Code
- }
-...
+ ...
+ public void processAjax(AjaxEvent arg){
+ //Custom Developer Code
+ }
+ ...
}]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/calendar.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/calendar.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -62,7 +62,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:calendar popup="false"/>
+<rich:calendar popup="false"/>
...]]></programlisting>
</section>
@@ -449,13 +449,13 @@
text-align:center;
}
</style>
- ...]]></programlisting>
+...]]></programlisting>
<programlisting role="XML"><![CDATA[...
<rich:calendar id="myCalendar" popup="true" locale="#{calendarBean.locale}" value="#{bean.date}"
preloadRangeBegin="#{bean.date}" preloadRangeEnd="#{bean.date}" cellWidth="40px" cellHeight="40px">
-<!-- Customization with usage of facets and accessible elements -->
+ <!-- Customization with usage of facets and accessible elements -->
<f:facet name="header">
<h:panelGrid columns="2" width="100%" columnClasses="width100, fake">
<h:outputText value="{selectedDateControl}" />
@@ -547,12 +547,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:calendar value="#{calendarBean.selectedDate}" id="calendarID"
+<rich:calendar value="#{calendarBean.selectedDate}" id="calendarID"
locale="#{calendarBean.locale}"
popup="#{calendarBean.popup}"
datePattern="#{calendarBean.pattern}"
showApplyButton="#{calendarBean.showApply}" style="width:200px"/>
- <a4j:commandLink onclick="$('formID:calendarID').component.doExpand(event)" value="Expand"/>
+<a4j:commandLink onclick="$('formID:calendarID').component.doExpand(event)" value="Expand"/>
...]]></programlisting>
<para>Also the discussion about this problem can be found on the <ulink
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -43,7 +43,7 @@
</para>
<programlisting role="XML"><![CDATA[...
- <rich:changeExpandListener type="demo.Bean"/>
+<rich:changeExpandListener type="demo.Bean"/>
...
]]></programlisting>
</section>
@@ -99,11 +99,11 @@
<programlisting role="JAVA"><![CDATA[package demo;
import org.richfaces.event.NodeExpandedEvent;
public class ListenerBean implements org.richfaces.event.NodeExpandedListener{
-...
+ ...
public void processExpansion(NodeExpandedEvent arg0){
//Custom Developer Code
}
-...
+ ...
}
...]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/column.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/column.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,12 +50,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable var="set">
- <rich:column>
- <h:outputText value="#{set.property1}"/>
- </rich:column>
- <!--Set of another columns and header/footer facets-->
- </rich:dataTable>
+<rich:dataTable var="set">
+ <rich:column>
+ <h:outputText value="#{set.property1}"/>
+ </rich:column>
+ <!--Set of another columns and header/footer facets-->
+</rich:dataTable>
...
]]></programlisting>
</section>
@@ -84,24 +84,24 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5">
- <rich:column>
- <f:facet name="header">State Flag</f:facet>
- <h:graphicImage value="#{cap.stateFlag}"/>
- </rich:column>
- <rich:column>
- <f:facet name="header">State Name</f:facet>
- <h:outputText value="#{cap.state}"/>
- </rich:column>
- <rich:column >
- <f:facet name="header">State Capital</f:facet>
- <h:outputText value="#{cap.name}"/>
- </rich:column>
- <rich:column>
- <f:facet name="header">Time Zone</f:facet>
- <h:outputText value="#{cap.timeZone}"/>
- </rich:column>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5">
+ <rich:column>
+ <f:facet name="header">State Flag</f:facet>
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">State Name</f:facet>
+ <h:outputText value="#{cap.state}"/>
+ </rich:column>
+ <rich:column >
+ <f:facet name="header">State Capital</f:facet>
+ <h:outputText value="#{cap.name}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">Time Zone</f:facet>
+ <h:outputText value="#{cap.timeZone}"/>
+ </rich:column>
+</rich:dataTable>
...
]]></programlisting>
<para>The result is:</para>
@@ -128,20 +128,20 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5">
- <rich:column colspan="3">
- <h:graphicImage value="#{cap.stateFlag}"/>
- </rich:column>
- <rich:column breakBefore="true">
- <h:outputText value="#{cap.state}"/>
- </rich:column>
- <rich:column >
- <h:outputText value="#{cap.name}"/>
- </rich:column>
- <rich:column>
- <h:outputText value="#{cap.timeZone}"/>
- </rich:column>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5">
+ <rich:column colspan="3">
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ </rich:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="#{cap.state}"/>
+ </rich:column>
+ <rich:column >
+ <h:outputText value="#{cap.name}"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{cap.timeZone}"/>
+ </rich:column>
+</rich:dataTable>
...
]]></programlisting>
<para>As a result the following structure is rendered:</para>
@@ -170,22 +170,22 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5">
- <rich:column rowspan="3">
- <f:facet name="header">State Flag</f:facet>
- <h:graphicImage value="#{cap.stateFlag}"/>
- </rich:column>
- <rich:column>
- <f:facet name="header">State Info</f:facet>
- <h:outputText value="#{cap.state}"/>
- </rich:column>
- <rich:column breakBefore="true">
- <h:outputText value="#{cap.name}"/>
- </rich:column>
- <rich:column breakBefore="true">
- <h:outputText value="#{cap.timeZone}"/>
- </rich:column>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5">
+ <rich:column rowspan="3">
+ <f:facet name="header">State Flag</f:facet>
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">State Info</f:facet>
+ <h:outputText value="#{cap.state}"/>
+ </rich:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="#{cap.name}"/>
+ </rich:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="#{cap.timeZone}"/>
+ </rich:column>
+</rich:dataTable>
...
]]></programlisting>
<para>As a result:</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/columnGroup.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -47,14 +47,14 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:columnGroup>
- <rich:column>
- <h:outputText value="Column1"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Column2"/>
- </rich:column>
- </rich:columnGroup>
+<rich:columnGroup>
+ <rich:column>
+ <h:outputText value="Column1"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Column2"/>
+ </rich:column>
+</rich:columnGroup>
...
]]></programlisting>
</section>
@@ -81,23 +81,23 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5" id="sublist">
- <rich:column colspan="3">
- <f:facet name="header">State Flag</f:facet>
- <h:graphicImage value="#{cap.stateFlag}"/>
- </rich:column>
- <rich:columnGroup>
- <rich:column>
- <h:outputText value="#{cap.state}"/>
- </rich:column>
- <rich:column >
- <h:outputText value="#{cap.name}"/>
- </rich:column>
- <rich:column >
- <h:outputText value="#{cap.timeZone}"/>
- </rich:column>
- </rich:columnGroup>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5" id="sublist">
+ <rich:column colspan="3">
+ <f:facet name="header">State Flag</f:facet>
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ </rich:column>
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="#{cap.state}"/>
+ </rich:column>
+ <rich:column >
+ <h:outputText value="#{cap.name}"/>
+ </rich:column>
+ <rich:column >
+ <h:outputText value="#{cap.timeZone}"/>
+ </rich:column>
+ </rich:columnGroup>
+</rich:dataTable>
...
]]></programlisting>
<para>And representation without a grouping:</para>
@@ -106,21 +106,21 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5" id="sublist">
- <rich:column colspan="3">
- <f:facet name="header">State Flag</f:facet>
- <h:graphicImage value="#{cap.stateFlag}"/>
- </rich:column>
- <rich:column breakBefore="true">
- <h:outputText value="#{cap.state}"/>
- </rich:column>
- <rich:column breakBefore="true">
- <h:outputText value="#{cap.name}"/>
- </rich:column>
- <rich:column >
- <h:outputText value="#{cap.timeZone}"/>
- </rich:column>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5" id="sublist">
+ <rich:column colspan="3">
+ <f:facet name="header">State Flag</f:facet>
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ </rich:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="#{cap.state}"/>
+ </rich:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="#{cap.name}"/>
+ </rich:column>
+ <rich:column >
+ <h:outputText value="#{cap.timeZone}"/>
+ </rich:column>
+</rich:dataTable>
....
]]></programlisting>
<para>The result is:</para>
@@ -140,25 +140,25 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <f:facet name="header">
- <rich:columnGroup>
- <rich:column rowspan="2">
- <h:outputText value="State Flag"/>
- </rich:column>
- <rich:column colspan="3">
- <h:outputText value="State Info"/>
- </rich:column>
- <rich:column breakBefore="true">
- <h:outputText value="State Name"/>
- </rich:column>
- <rich:column>
- <h:outputText value="State Capital"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Time Zone"/>
- </rich:column>
- </rich:columnGroup>
- </f:facet>
+<f:facet name="header">
+ <rich:columnGroup>
+ <rich:column rowspan="2">
+ <h:outputText value="State Flag"/>
+ </rich:column>
+ <rich:column colspan="3">
+ <h:outputText value="State Info"/>
+ </rich:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="State Name"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="State Capital"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Time Zone"/>
+ </rich:column>
+ </rich:columnGroup>
+</f:facet>
...
]]></programlisting>
<para>Generated on a page as:</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/columns.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/columns.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/columns.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -176,27 +176,27 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{dataTableScrollerBean.model}" var="model" width="500px" rows="5">
- <f:facet name="header">
- <h:outputText value="Cars Available"></h:outputText>
- </f:facet>
- <rich:columns value="#{dataTableScrollerBean.columns}" var="columns" index="ind">
- <f:facet name="header">
- <h:outputText value="#{columns.header}" />
- </f:facet>
- <h:outputText value="#{model[ind].model} " />
- </rich:columns>
- <rich:column>
<f:facet name="header">
- <h:outputText value="Price" />
+ <h:outputText value="Cars Available"></h:outputText>
</f:facet>
- <h:outputText value="Price" />
- </rich:column>
- <rich:columns value="#{dataTableScrollerBean.columns}" var="columns" index="ind">
- <f:facet name="header">
- <h:outputText value="#{columns.header}" />
- </f:facet>
- <h:outputText value="#{model[ind].mileage}$" />
- </rich:columns>
+ <rich:columns value="#{dataTableScrollerBean.columns}" var="columns" index="ind">
+ <f:facet name="header">
+ <h:outputText value="#{columns.header}" />
+ </f:facet>
+ <h:outputText value="#{model[ind].model} " />
+ </rich:columns>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Price" />
+ </f:facet>
+ <h:outputText value="Price" />
+ </rich:column>
+ <rich:columns value="#{dataTableScrollerBean.columns}" var="columns" index="ind">
+ <f:facet name="header">
+ <h:outputText value="#{columns.header}" />
+ </f:facet>
+ <h:outputText value="#{model[ind].mileage}$" />
+ </rich:columns>
</rich:dataTable>
...]]>
</programlisting>
@@ -295,17 +295,17 @@
<para> This code calls the exception: </para>
<programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{bean.data}" var="var">
- <rich:columns value="#{var.columns}">
- ...
- </rich:columns>
+ <rich:columns value="#{var.columns}">
+ ...
+ </rich:columns>
</rich:dataTable>
...]]></programlisting>
<para> This code works properly: </para>
<programlisting role="XML"><![CDATA[...
<c:forEach items="#{bean.data}" var="var">
- <rich:columns value="#{var.columns}">
- ...
- </rich:columns>
+ <rich:columns value="#{var.columns}">
+ ...
+ </rich:columns>
</c:forEach>
...]]></programlisting>
</note>
@@ -315,10 +315,10 @@
<para>Since 3.3.0GA <emphasis role="bold"><property><rich:columns></property></emphasis> requires explicit definition of <emphasis><property>"id"</property></emphasis> for children components to ensure that decode process works properly.
The example of how you can define unique <emphasis><property>"id"</property></emphasis> for children component: </para>
<programlisting role="XML"><![CDATA[...
-<rich:columns value="#{bean.columns}" var="col" index="ind" ....>
-<h:inputText id="input#{ind}" value="">
-<a4j:support id="support#{ind}" event="onchange" reRender="someId" />
-</h:inputText>
+<rich:columns value="#{bean.columns}" var="col" index="ind" ... >
+ <h:inputText id="input#{ind}" value="">
+ <a4j:support id="support#{ind}" event="onchange" reRender="someId" />
+ </h:inputText>
</rich:columns>
...]]></programlisting>
<para>Only if <emphasis><property>"id"</property></emphasis> defined as shown above Ajax after onchange event will be processed as expected. </para>
@@ -328,7 +328,7 @@
<para> Information about sorting and filtering you can find <link
- linkend="sortAndFilter"> in the corresponding section</link> . </para>
+ linkend="sortAndFilter"> in the corresponding section</link>. </para>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/contextMenu.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -99,35 +99,35 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:contextMenu event="oncontextmenu" attachTo="pic1" submitMode="none">
- <rich:menuItem value="Zoom In" onclick="enlarge();" id="zin"/>
- <rich:menuItem value="Zoom Out" onclick="decrease();" id="zout"/>
- </rich:contextMenu>
- <h:panelGrid columns="1" columnClasses="cent">
- <h:panelGroup id="picture">
- <h:graphicImage value="/richfaces/jQuery/images/pic1.png" id="pic"/>
- </h:panelGroup>
- </h:panelGrid>
- <h:panelGrid columns="1" columnClasses="cent">
- <h:panelGroup id="picture1">
- <h:graphicImage value="/richfaces/jQuery/images/pic2.png" id="pic1"/>
- </h:panelGroup>
- </h:panelGrid>
+<rich:contextMenu event="oncontextmenu" attachTo="pic1" submitMode="none">
+ <rich:menuItem value="Zoom In" onclick="enlarge();" id="zin"/>
+ <rich:menuItem value="Zoom Out" onclick="decrease();" id="zout"/>
+</rich:contextMenu>
+<h:panelGrid columns="1" columnClasses="cent">
+ <h:panelGroup id="picture">
+ <h:graphicImage value="/richfaces/jQuery/images/pic1.png" id="pic"/>
+ </h:panelGroup>
+</h:panelGrid>
+<h:panelGrid columns="1" columnClasses="cent">
+ <h:panelGroup id="picture1">
+ <h:graphicImage value="/richfaces/jQuery/images/pic2.png" id="pic1"/>
+ </h:panelGroup>
+</h:panelGrid>
...]]></programlisting>
<para>The <code>"enlarge()"</code> and
<code>"decrease()"</code> functions definition is placed
below.</para>
<programlisting role="JAVA"><![CDATA[...
- <script type="text/javascript">
- function enlarge(){
- document.getElementById('pic').width=document.getElementById('pic').width*1.1;
- document.getElementById('pic').height=document.getElementById('pic').height*1.1;
- }
- function decrease(){
- document.getElementById('pic').width=document.getElementById('pic').width*0.9;
- document.getElementById('pic').height=document.getElementById('pic').height*0.9;
- }
- </script>
+<script type="text/javascript">
+ function enlarge(){
+ document.getElementById('pic').width=document.getElementById('pic').width*1.1;
+ document.getElementById('pic').height=document.getElementById('pic').height*1.1;
+ }
+ function decrease(){
+ document.getElementById('pic').width=document.getElementById('pic').width*0.9;
+ document.getElementById('pic').height=document.getElementById('pic').height*0.9;
+ }
+</script>
...]]></programlisting>
<para>In the example a picture zooming possibility with <emphasis role="bold">
@@ -172,58 +172,58 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <h:form id="form">
- <rich:contextMenu attached="false" id="menu" submitMode="ajax">
- <rich:menuItem ajaxSingle="true">
- <b>{car} {model}</b> details
- <a4j:actionparam name="det" assignTo="#{ddmenu.current}" value="{car} {model} details"/>
- </rich:menuItem>
- <rich:menuGroup value="Actions">
- <rich:menuItem ajaxSingle="true">
- Put <b>{car} {model}</b> To Basket
- <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Put {car} {model} To Basket"/>
- </rich:menuItem>
- <rich:menuItem value="Read Comments" ajaxSingle="true">
- <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Read Comments"/>
- </rich:menuItem>
- <rich:menuItem ajaxSingle="true">
- Go to <b>{car}</b> site
- <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Go to {car} site"/>
- </rich:menuItem>
- </rich:menuGroup>
- </rich:contextMenu>
+<h:form id="form">
+ <rich:contextMenu attached="false" id="menu" submitMode="ajax">
+ <rich:menuItem ajaxSingle="true">
+ <b>{car} {model}</b> details
+ <a4j:actionparam name="det" assignTo="#{ddmenu.current}" value="{car} {model} details"/>
+ </rich:menuItem>
+ <rich:menuGroup value="Actions">
+ <rich:menuItem ajaxSingle="true">
+ Put <b>{car} {model}</b> To Basket
+ <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Put {car} {model} To Basket"/>
+ </rich:menuItem>
+ <rich:menuItem value="Read Comments" ajaxSingle="true">
+ <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Read Comments"/>
+ </rich:menuItem>
+ <rich:menuItem ajaxSingle="true">
+ Go to <b>{car}</b> site
+ <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Go to {car} site"/>
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:contextMenu>
- <h:panelGrid columns="2">
- <rich:dataTable value="#{dataTableScrollerBean.tenRandomCars}" var="car" id="table"
+ <h:panelGrid columns="2">
+ <rich:dataTable value="#{dataTableScrollerBean.tenRandomCars}" var="car" id="table"
onRowMouseOver="this.style.backgroundColor='#F8F8F8'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'" rowClasses="cur">
- <rich:column>
- <f:facet name="header">Make</f:facet>
- <h:outputText value="#{car.make}"/>
- </rich:column>
- <rich:column>
- <f:facet name="header">Model</f:facet>
- <h:outputText value="#{car.model}"/>
- </rich:column>
- <rich:column>
- <f:facet name="header">Price</f:facet>
- <h:outputText value="#{car.price}" />
- </rich:column>
+ <rich:column>
+ <f:facet name="header">Make</f:facet>
+ <h:outputText value="#{car.make}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">Model</f:facet>
+ <h:outputText value="#{car.model}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">Price</f:facet>
+ <h:outputText value="#{car.price}" />
+ </rich:column>
- <rich:componentControl event="onRowClick" for="menu" operation="show">
- <f:param value="#{car.model}" name="model"/>
- <f:param value="#{car.make}" name="car"/>
- </rich:componentControl>
- </rich:dataTable>
+ <rich:componentControl event="onRowClick" for="menu" operation="show">
+ <f:param value="#{car.model}" name="model"/>
+ <f:param value="#{car.make}" name="car"/>
+ </rich:componentControl>
+ </rich:dataTable>
- <a4j:outputPanel ajaxRendered="true">
- <rich:panel>
- <f:facet name="header">Last Menu Action</f:facet>
- <h:outputText value="#{ddmenu.current}"></h:outputText>
- </rich:panel>
- </a4j:outputPanel>
- </h:panelGrid>
- </h:form>
+ <a4j:outputPanel ajaxRendered="true">
+ <rich:panel>
+ <f:facet name="header">Last Menu Action</f:facet>
+ <h:outputText value="#{ddmenu.current}"></h:outputText>
+ </rich:panel>
+ </a4j:outputPanel>
+ </h:panelGrid>
+ </h:form>
...]]></programlisting>
<para>This is a result:</para>
<figure>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -49,10 +49,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataDefinitionList value="#{bean.capitals}" var="caps">
- <f:facet name="term">Cars</f:facet>
- <h:outputText value="#{car.model}"/>
- </rich:dataDefinitionList>
+<rich:dataDefinitionList value="#{bean.capitals}" var="caps">
+ <f:facet name="term">Cars</f:facet>
+ <h:outputText value="#{car.model}"/>
+</rich:dataDefinitionList>
...
]]></programlisting>
</section>
@@ -84,17 +84,17 @@
<para>Here is an example:</para>
<programlisting role="XML"><![CDATA[...
- <h:form>
- <rich:dataDefinitionList var="car" value="#{dataTableScrollerBean.allCars}" rows="5" first="4" title="Cars">
- <f:facet name="term">
- <h:outputText value="#{car.make} #{car.model}"></h:outputText>
- </f:facet>
- <h:outputText value="Price:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.price}" /><br/>
- <h:outputText value="Mileage:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.mileage}" /><br/>
- </rich:dataDefinitionList>
- </h:form>
+<h:form>
+ <rich:dataDefinitionList var="car" value="#{dataTableScrollerBean.allCars}" rows="5" first="4" title="Cars">
+ <f:facet name="term">
+ <h:outputText value="#{car.make} #{car.model}"></h:outputText>
+ </f:facet>
+ <h:outputText value="Price:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price}" /><br/>
+ <h:outputText value="Mileage:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage}" /><br/>
+ </rich:dataDefinitionList>
+</h:form>
...
]]></programlisting>
@@ -134,12 +134,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataDefinitionList value="#{dataTableScrollerBean.allCars}" var="car" ajaxKeys="#{listBean.list}"
+<rich:dataDefinitionList value="#{dataTableScrollerBean.allCars}" var="car" ajaxKeys="#{listBean.list}"
binding="#{listBean.dataList}" id="list">
- ...
- </rich:dataDefinitionList>
+ ...
+</rich:dataDefinitionList>
...
- <a4j:commandButton action="#{listBean.action}" reRender="list" value="Submit"/>
+<a4j:commandButton action="#{listBean.action}" reRender="list" value="Submit"/>
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataFilterSlider.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -48,7 +48,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataFilterSlider sliderListener="#{mybean.doSlide}" startRange="0"
+<rich:dataFilterSlider sliderListener="#{mybean.doSlide}" startRange="0"
endRange="50000" increment="10000" handleValue="1" />
...]]></programlisting>
</section>
@@ -74,7 +74,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataFilterSlider sliderListener="#{mybean.doSlide}"
+<rich:dataFilterSlider sliderListener="#{mybean.doSlide}"
startRange="0"
endRange="50000"
increment="10000"
@@ -83,9 +83,9 @@
forValRef="inventoryList.carInventory"
filterBy="getMileage" />
...
- <h:dataTable id="carIndex">
- ...
- </h:dataTable>
+<h:dataTable id="carIndex">
+ ...
+</h:dataTable>
...]]></programlisting>
<para>In this example other two attributes are used for filtering:</para>
<itemizedlist>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataGrid.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -51,9 +51,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car">
- <h:outputText value="#{car.model}"/>
- </rich:dataGrid>
+<rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car">
+ <h:outputText value="#{car.model}"/>
+</rich:dataGrid>
...
]]></programlisting>
</section>
@@ -100,29 +100,29 @@
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panel style="width:150px;height:200px;">
- <h:form>
- <rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car" columns="2" elements="4" first="1">
- <f:facet name="header">
- <h:outputText value="Car Store"></h:outputText>
- </f:facet>
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="#{car.make} #{car.model}"></h:outputText>
- </f:facet>
- <h:panelGrid columns="2">
- <h:outputText value="Price:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.price}"/>
- <h:outputText value="Mileage:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.mileage}"/>
- </h:panelGrid>
- </rich:panel>
- <f:facet name="footer">
- <rich:datascroller></rich:datascroller>
- </f:facet>
- </rich:dataGrid>
- </h:form>
- </rich:panel>
+<rich:panel style="width:150px;height:200px;">
+ <h:form>
+ <rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car" columns="2" elements="4" first="1">
+ <f:facet name="header">
+ <h:outputText value="Car Store"></h:outputText>
+ </f:facet>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="#{car.make} #{car.model}"></h:outputText>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText value="Price:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price}"/>
+ <h:outputText value="Mileage:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage}"/>
+ </h:panelGrid>
+ </rich:panel>
+ <f:facet name="footer">
+ <rich:datascroller></rich:datascroller>
+ </f:facet>
+ </rich:dataGrid>
+ </h:form>
+</rich:panel>
...
]]></programlisting>
<para>This is a result:</para>
@@ -147,14 +147,13 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car" ajaxKeys="#{listBean.list}"
+<rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car" ajaxKeys="#{listBean.list}"
binding="#{listBean.dataGrid}" id="grid" elements="4" columns="2">
- ...
- </rich:dataGrid>
+ ...
+</rich:dataGrid>
...
- <a4j:commandButton action="#{listBean.action}" reRender="grid" value="Submit"/>
-...
-]]></programlisting>
+<a4j:commandButton action="#{listBean.action}" reRender="grid" value="Submit"/>
+...]]></programlisting>
<para> In the example <emphasis>
<property>"reRender"</property>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataList.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataList.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataList.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -52,9 +52,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataList var="car" value="#{dataTableScrollerBean.allCars}" >
- <h:outputText value="#{car.model}"/>
- </rich:dataList>
+<rich:dataList var="car" value="#{dataTableScrollerBean.allCars}" >
+ <h:outputText value="#{car.model}"/>
+</rich:dataList>
...
]]></programlisting>
</section>
@@ -89,14 +89,14 @@
<para>Here is an example:</para>
<programlisting role="XML"><![CDATA[...
- <h:form>
- <rich:dataList var="car" value="#{dataTableScrollerBean.allCars}" rows="5" type="disc" title="Car Store">
- <h:outputText value="#{car.make} #{car.model}"/><br/>
- <h:outputText value="Price:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.price} "/><br/>
- <h:outputText value="Mileage:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.mileage} "/><br/>
- </rich:dataList>
+<h:form>
+ <rich:dataList var="car" value="#{dataTableScrollerBean.allCars}" rows="5" type="disc" title="Car Store">
+ <h:outputText value="#{car.make} #{car.model}"/><br/>
+ <h:outputText value="Price:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price} "/><br/>
+ <h:outputText value="Mileage:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage} "/><br/>
+ </rich:dataList>
</h:form>
...
]]></programlisting>
@@ -150,12 +150,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataList value="#{dataTableScrollerBean.allCars}" var="car" ajaxKeys="#{listBean.list}"
+<rich:dataList value="#{dataTableScrollerBean.allCars}" var="car" ajaxKeys="#{listBean.list}"
binding="#{listBean.dataList}" id="list" rows="5" type="disc">
- ...
- </rich:dataList>
+ ...
+</rich:dataList>
...
- <a4j:commandButton action="#{listBean.action}" reRender="list" value="Submit"/>
+<a4j:commandButton action="#{listBean.action}" reRender="list" value="Submit"/>
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -58,9 +58,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataOrderedList var="car" value="#{dataTableScrollerBean.allCars}" >
- <h:outputText value="#{car.model}"/>
- </rich:dataOrderedList>
+<rich:dataOrderedList var="car" value="#{dataTableScrollerBean.allCars}" >
+ <h:outputText value="#{car.model}"/>
+</rich:dataOrderedList>
...
]]></programlisting>
</section>
@@ -107,15 +107,15 @@
<para>Here is an example:</para>
<programlisting role="XML"><![CDATA[...
- <h:form>
- <rich:dataOrderedList var="car" value="#{dataTableScrollerBean.allCars}" rows="5" type="1" title="Car Store">
- <h:outputText value="#{car.make} #{car.model}"/><br/>
- <h:outputText value="Price:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.price}" /><br/>
- <h:outputText value="Mileage:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.mileage}" /><br/>
- </rich:dataOrderedList>
- </h:form>
+<h:form>
+ <rich:dataOrderedList var="car" value="#{dataTableScrollerBean.allCars}" rows="5" type="1" title="Car Store">
+ <h:outputText value="#{car.make} #{car.model}"/><br/>
+ <h:outputText value="Price:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price}" /><br/>
+ <h:outputText value="Mileage:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage}" /><br/>
+ </rich:dataOrderedList>
+</h:form>
...
]]></programlisting>
@@ -177,12 +177,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataOrderedList value="#{dataTableScrollerBean.allCars}" var="car" ajaxKeys="#{listBean.list}"
+<rich:dataOrderedList value="#{dataTableScrollerBean.allCars}" var="car" ajaxKeys="#{listBean.list}"
binding="#{listBean.dataList}" id="list">
- ...
- </rich:dataOrderedList>
+ ...
+</rich:dataOrderedList>
...
- <a4j:commandButton action="#{listBean.action}" reRender="list" value="Submit"/>
+<a4j:commandButton action="#{listBean.action}" reRender="list" value="Submit"/>
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataTable.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dataTable.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -51,11 +51,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
- <rich:column>
- ...
- </rich:column>
- </rich:dataTable>
+ <rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
+ <rich:column>
+ ...
+ </rich:column>
+</rich:dataTable>
...
]]></programlisting>
</section>
@@ -90,12 +90,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="capitals"
+<rich:dataTable value="#{capitalsBean.capitals}" var="capitals"
ajaxKeys="#{bean.ajaxSet}" binding="#{bean.table}" id="table">
- ...
- </rich:dataTable>
+ ...
+</rich:dataTable>
...
- <a4j:commandButton action="#{tableBean.action}" reRender="table" value="Submit"/>
+<a4j:commandButton action="#{tableBean.action}" reRender="table" value="Submit"/>
...
]]></programlisting>
@@ -119,31 +119,37 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5">
- <f:facet name="caption"><h:outputText value="United States Capitals" /></f:facet>
- <f:facet name="header"><h:outputText value="Capitals and States Table" /></f:facet>
- <rich:column>
- <f:facet name="header">State Flag</f:facet>
- <h:graphicImage value="#{cap.stateFlag}"/>
- <f:facet name="footer">State Flag</f:facet>
- </rich:column>
- <rich:column>
- <f:facet name="header">State Name</f:facet>
- <h:outputText value="#{cap.state}"/>
- <f:facet name="footer">State Name</f:facet>
- </rich:column>
- <rich:column >
- <f:facet name="header">State Capital</f:facet>
- <h:outputText value="#{cap.name}"/>
- <f:facet name="footer">State Capital</f:facet>
- </rich:column>
- <rich:column>
- <f:facet name="header">Time Zone</f:facet>
- <h:outputText value="#{cap.timeZone}"/>
- <f:facet name="footer">Time Zone</f:facet>
- </rich:column>
- <f:facet name="footer"><h:outputText value="Capitals and States Table" /></f:facet>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5">
+ <f:facet name="caption">
+ <h:outputText value="United States Capitals" />
+ </f:facet>
+ <f:facet name="header">
+ <h:outputText value="Capitals and States Table" />
+ </f:facet>
+ <rich:column>
+ <f:facet name="header">State Flag</f:facet>
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ <f:facet name="footer">State Flag</f:facet>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">State Name</f:facet>
+ <h:outputText value="#{cap.state}"/>
+ <f:facet name="footer">State Name</f:facet>
+ </rich:column>
+ <rich:column >
+ <f:facet name="header">State Capital</f:facet>
+ <h:outputText value="#{cap.name}"/>
+ <f:facet name="footer">State Capital</f:facet>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">Time Zone</f:facet>
+ <h:outputText value="#{cap.timeZone}"/>
+ <f:facet name="footer">Time Zone</f:facet>
+ </rich:column>
+ <f:facet name="footer">
+ <h:outputText value="Capitals and States Table" />
+ </f:facet>
+</rich:dataTable>
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/datascroller.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/datascroller.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/datascroller.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -54,7 +54,7 @@
<h:dataTable id="table">
...
</h:dataTable>
- ...
+...
<rich:datascroller for="table"/>
...]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dndParam.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dndParam.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dndParam.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -58,10 +58,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dragSupport dragType="file">
- <rich:dndParam name="testDrag" value="testDragValue"
+<rich:dragSupport dragType="file">
+ <rich:dndParam name="testDrag" value="testDragValue"
type="drag"/>
- </rich:dragSupport>
+</rich:dragSupport>
...
]]></programlisting>
</section>
@@ -106,12 +106,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dragSupport ...>
- <rich:dndParam type="drag" name="dragging">
- <h:graphicImage value="/img/product1_small.png"/>
- </rich:dndParam>
- <h:graphicImage value="product1.png"/>
- </rich:dragSupport>
+<rich:dragSupport ... >
+ <rich:dndParam type="drag" name="dragging">
+ <h:graphicImage value="/img/product1_small.png"/>
+ </rich:dndParam>
+ <h:graphicImage value="product1.png"/>
+</rich:dragSupport>
...
]]></programlisting>
@@ -132,10 +132,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dragSupport ...>
- <rich:dndParam type="drag" name="label" value="#{msg.subj}"/>
- ...
- </rich:dragSupport>
+<rich:dragSupport ... >
+ <rich:dndParam type="drag" name="label" value="#{msg.subj}"/>
+ ...
+</rich:dragSupport>
...
]]></programlisting>
@@ -156,12 +156,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dropSupport ...>
- <rich:dndParam type="drop" name="comp" >
- <h:graphicImage height="16" width="16" value="/images/comp.png"/>
- </rich:dndParam>
+<rich:dropSupport ... >
+ <rich:dndParam type="drop" name="comp" >
+ <h:graphicImage height="16" width="16" value="/images/comp.png"/>
+ </rich:dndParam>
...
- </rich:dropSupport >
+</rich:dropSupport >
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -51,16 +51,16 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dragIndicator id="indicator">
- <f:facet name="single">
- <f:verbatim>
- <b>Single item</b> {DragInfo}
- </f:verbatim>
- </f:facet>
- </rich:dragIndicator>
- ...
- <rich:dragSupport dragType="text" dragIndicator="indicator">
+<rich:dragIndicator id="indicator">
+ <f:facet name="single">
+ <f:verbatim>
+ <b>Single item</b> {DragInfo}
+ </f:verbatim>
+ </f:facet>
+</rich:dragIndicator>
...
+<rich:dragSupport dragType="text" dragIndicator="indicator"/>
+...
]]></programlisting>
</section>
<section>
@@ -131,18 +131,18 @@
</itemizedlist>
<para> For instance, this:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dropSupport...>
- <rich:dndParam name="testDrop">
- <h:graphicImage value="/images/file-manager.png" />
- </rich:dndParam>
- </rich:dropSupport>
+<rich:dropSupport...>
+ <rich:dndParam name="testDrop">
+ <h:graphicImage value="/images/file-manager.png" />
+ </rich:dndParam>
+</rich:dropSupport>
...
]]></programlisting>
<para>Is placed into indicator as follows:</para>
<programlisting role="XML"><![CDATA[...
- <f:facet name="single">
- {testDrop}
- </f:facet>
+<f:facet name="single">
+ {testDrop}
+</f:facet>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragListener.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragListener.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragListener.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -47,7 +47,7 @@
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dragListener type="demo.Bean"/>
+<rich:dragListener type="demo.Bean"/>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragSupport.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragSupport.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dragSupport.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -70,10 +70,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <h:panelGrid id="drag1">
- <rich:dragSupport dragType="item"/>
- <!--Some content to be dragged-->
- </h:panelGrid>
+<h:panelGrid id="drag1">
+ <rich:dragSupport dragType="item"/>
+ <!--Some content to be dragged-->
+</h:panelGrid>
...
]]></programlisting>
</section>
@@ -115,12 +115,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <h:column>
- <rich:dragSupport dragIndicator=":form:iii" dragType="text">
- <a4j:actionparam value="#{caps.name}" name="name"/>
- </rich:dragSupport>
- <h:outputText value="#{caps.name}"/>
- </h:column>
+<h:column>
+ <rich:dragSupport dragIndicator=":form:iii" dragType="text">
+ <a4j:actionparam value="#{caps.name}" name="name"/>
+ </rich:dragSupport>
+ <h:outputText value="#{caps.name}"/>
+</h:column>
...
]]></programlisting>
@@ -137,14 +137,14 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <h:column>
- <a4j:outputPanel>
- <rich:dragSupport dragIndicator=":form:iii" dragType="text">
- <a4j:actionparam value="#{caps.name}" name="name"/>
- </rich:dragSupport>
- <h:outputText value="#{caps.name}"/>
- </a4j:outputPanel>
- </h:column>
+<h:column>
+ <a4j:outputPanel>
+ <rich:dragSupport dragIndicator=":form:iii" dragType="text">
+ <a4j:actionparam value="#{caps.name}" name="name"/>
+ </rich:dragSupport>
+ <h:outputText value="#{caps.name}"/>
+ </a4j:outputPanel>
+</h:column>
...
]]></programlisting>
@@ -168,20 +168,20 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <h:panelGrid id="drag1">
- <rich:dragSupport dragType="singleItems" .../>
- <!--Some content to be dragged-->
- </h:panelGrid>
+<h:panelGrid id="drag1">
+ <rich:dragSupport dragType="singleItems" .../>
+ <!--Some content to be dragged-->
+</h:panelGrid>
...
- <h:panelGrid id="drag2">
- <rich:dragSupport dragType="groups" .../>
- <!--Some content to be dragged-->
- </h:panelGrid>
+<h:panelGrid id="drag2">
+ <rich:dragSupport dragType="groups" .../>
+ <!--Some content to be dragged-->
+</h:panelGrid>
...
- <h:panelGrid id="drop1">
- <rich:dropSupport acceptedTypes="singleItems" .../>
- <!--Drop zone content-->
- </h:panelGrid>
+<h:panelGrid id="drop1">
+ <rich:dropSupport acceptedTypes="singleItems" .../>
+ <!--Drop zone content-->
+</h:panelGrid>
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dropListener.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dropListener.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dropListener.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -47,7 +47,7 @@
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dropListener type="demo.Bean"/>
+<rich:dropListener type="demo.Bean"/>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dropSupport.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -71,9 +71,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panel>
- <rich:dropSupport acceptedTypes="text"/>
- </rich:panel>
+<rich:panel>
+ <rich:dropSupport acceptedTypes="text"/>
+</rich:panel>
...
]]></programlisting>
</section>
@@ -176,17 +176,17 @@
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="caps">
- <f:facet name="caption">Capitals List</f:facet>
- <h:column>
- <a4j:outputPanel>
- <rich:dragSupport dragIndicator=":form:ind" dragType="text">
- <a4j:actionparam value="#{caps.name}" name="name"/>
- </rich:dragSupport>
- <h:outputText value="#{caps.name}"/>
- </a4j:outputPanel>
- </h:column>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="caps">
+ <f:facet name="caption">Capitals List</f:facet>
+ <h:column>
+ <a4j:outputPanel>
+ <rich:dragSupport dragIndicator=":form:ind" dragType="text">
+ <a4j:actionparam value="#{caps.name}" name="name"/>
+ </rich:dragSupport>
+ <h:outputText value="#{caps.name}"/>
+ </a4j:outputPanel>
+ </h:column>
+</rich:dataTable>
...
]]></programlisting>
@@ -205,11 +205,11 @@
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panel style="width:100px;height:100px;">
- <f:facet name="header">Drop Zone</f:facet>
- <rich:dropSupport acceptedTypes="text" reRender="box"
+<rich:panel style="width:100px;height:100px;">
+ <f:facet name="header">Drop Zone</f:facet>
+ <rich:dropSupport acceptedTypes="text" reRender="box"
dropListener="#{capitalsBean.addCapital2}"/>
- </rich:panel>
+</rich:panel>
...
]]></programlisting>
@@ -225,12 +225,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals2}" var="cap2" id="box">
- <f:facet name="caption">Capitals chosen</f:facet>
- <h:column>
- <h:outputText value="#{cap2.name}"/>
- </h:column>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals2}" var="cap2" id="box">
+ <f:facet name="caption">Capitals chosen</f:facet>
+ <h:column>
+ <h:outputText value="#{cap2.name}"/>
+ </h:column>
+</rich:dataTable>
...]]></programlisting>
<para>
@@ -243,12 +243,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="JAVA"><![CDATA[...
- public void addCapital2(DropEvent event) {
+public void addCapital2(DropEvent event) {
FacesContext context = FacesContext.getCurrentInstance();
Capital cap = new Capital();
cap.setName(context.getExternalContext().getRequestParameterMap().get("name").toString());
capitals2.add(cap);
- }
+}
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/editor.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/editor.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/editor.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -221,14 +221,14 @@
<para>Your Java file should look like this.</para>
<programlisting role="JAVA"><![CDATA[...
- String configuration;
- if(some condition){//defines some condition
- configuration = "configurationAdvanced"; //the name on the file with advanced properties
- }
- else{
- configuration= "configurationSimple"; //the name on the file with simplified properties
-
- }
+String configuration;
+
+if(some condition){//defines some condition
+ configuration = "configurationAdvanced"; //the name on the file with advanced properties
+}
+else{
+ configuration= "configurationSimple"; //the name on the file with simplified properties
+}
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/effect.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/effect.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/effect.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -87,13 +87,13 @@
<!-- attaching by event -->
<rich:panel>
<rich:effect event="onmouseout" type="Opacity" params="duration:0.8,from:1.0,to:0.3" />
- .... panel content ....
+ <!--panel content-->
</rich:panel>
...
<!-- invoking from JavaScript -->
<div id="contentDiv">
- ..... div content ......
+ <!--div content-->
</div>
<input type="button" onclick="hideDiv({duration:0.7})" value="Hide" />
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/fileUpload.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -217,7 +217,7 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:fileUpload maxFilesQuantity="2"/>
- ...]]></programlisting>
+...]]></programlisting>
<para> This is the result: </para>
<figure>
<title><emphasis role="bold">
@@ -329,20 +329,20 @@
<para>The given bellow code sample demonstrates how the properties can be used. Please study
it carefully. </para>
<programlisting role="XML"><![CDATA[...
- <head>
- <script>
- function _onaddHandler (e) {
- var i = 0;
- for (; i < e.memo.entries.lenght; i++) {
- alert(e.memo.entries[i].creator); //Shows creators of the added files
- }
- }
+<head>
+ <script>
+ function _onaddHandler (e) {
+ var i = 0;
+ for (; i < e.memo.entries.lenght; i++) {
+ alert(e.memo.entries[i].creator); //Shows creators of the added files
+ }
+ }
- function _onerrorhandle(e) {
- alert(e.memo.entry.fileName + "file was not uploaded due transfer error");
- }
- </script>
- </head>
+ function _onerrorhandle(e) {
+ alert(e.memo.entry.fileName + "file was not uploaded due transfer error");
+ }
+ </script>
+</head>
...]]></programlisting>
@@ -523,11 +523,11 @@
<programlisting role="XML"><![CDATA[...
<rich:fileUpload fileUploadListener="#{fileUploadBean.listener}"
- maxFilesQuantity="#{fileUploadBean.uploadsAvailable}"
- id="upload"
- immediateUpload="#{fileUploadBean.autoUpload}"
- acceptedTypes="jpg, gif, png, bmp">
- <a4j:support event="onuploadcomplete" reRender="info" />
+ maxFilesQuantity="#{fileUploadBean.uploadsAvailable}"
+ id="upload"
+ immediateUpload="#{fileUploadBean.autoUpload}"
+ acceptedTypes="jpg, gif, png, bmp"/>
+ <a4j:support event="onuploadcomplete" reRender="info" />
</rich:fileUpload>
<h:commandButton onclick="if($('j_id232:upload').component.entries[0].state == FileUploadEntry.UPLOAD_SUCCESS) alert ('DONE');" value="Check file state"/>
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/gmap.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/gmap.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/gmap.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -53,7 +53,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:gmap gmapKey="..."/>
+<rich:gmap gmapKey="..."/>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/graphValidator.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/graphValidator.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/graphValidator.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -102,16 +102,16 @@
</emphasis> can be used:</para>
<programlisting role="XML"><![CDATA[...
<rich:graphValidator>
- <h:panelGrid columns="3">
- <h:outputText value="Name:" />
- <h:inputText value="#{validationBean.name}" id="name">
- <f:validateLength minimum="2" />
- </h:inputText>
- <rich:message for="name" />
- <h:outputText value="Email:" />
- <h:inputText value="#{validationBean.email}" id="email" />
- <rich:message for="email" />
- </h:panelGrid>
+ <h:panelGrid columns="3">
+ <h:outputText value="Name:" />
+ <h:inputText value="#{validationBean.name}" id="name">
+ <f:validateLength minimum="2" />
+ </h:inputText>
+ <rich:message for="name" />
+ <h:outputText value="Email:" />
+ <h:inputText value="#{validationBean.email}" id="email" />
+ <rich:message for="email" />
+ </h:panelGrid>
</rich:graphValidator>
...
]]></programlisting>
@@ -133,11 +133,11 @@
<programlisting role="XML"><![CDATA[...
<rich:graphValidator summary="Invalid values: " value="#{dayStatistics}">
- <a4j:repeat value="#{dayStatistics.dayPasstimes}" var="pt" id="table">
- <h:outputText value="#{pt.title}" />
- <rich:inputNumberSpinner minValue="0" maxValue="24" value="#{pt.time}" id="time" />
- <rich:message for="time" />
- </a4j:repeat>
+ <a4j:repeat value="#{dayStatistics.dayPasstimes}" var="pt" id="table">
+ <h:outputText value="#{pt.title}" />
+ <rich:inputNumberSpinner minValue="0" maxValue="24" value="#{pt.time}" id="time" />
+ <rich:message for="time" />
+ </a4j:repeat>
</rich:graphValidator>
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -759,9 +759,8 @@
</para>
<programlisting role="CSS"><![CDATA[...
.rich-inplace-field {
- font-style: italic;
+ font-style: italic;
}
-
...]]></programlisting>
<para>This is the result:</para>
@@ -797,7 +796,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML"><![CDATA[...<rich:inplaceInput value="click to edit" styleClass="myClass"/>
+ <programlisting role="XML"><![CDATA[<rich:inplaceInput value="click to edit" styleClass="myClass"/>
]]></programlisting>
<para>This is a result:</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -868,9 +868,8 @@
</para>
<programlisting role="CSS"><![CDATA[...
.rich-inplace-select-list-decoration{
- background-color: #ecf4fe;
+ background-color: #ecf4fe;
}
-
...]]></programlisting>
<para>This is the result:</para>
@@ -897,7 +896,8 @@
<programlisting role="CSS"><![CDATA[...
.myClass {
background-color:#bed6f8;
- font-style:italic;}
+ font-style:italic;
+}
...]]></programlisting>
<para>The <emphasis><property>"viewClass"</property></emphasis> attribute for <emphasis role="bold"
><property><rich:inplaceSelect> </property></emphasis> is defined as it's shown in the example below:</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -66,7 +66,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:inputNumberSlider minValue="0" maxValue="100" step="1"/>
+<rich:inputNumberSlider minValue="0" maxValue="100" step="1"/>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -54,7 +54,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:inputNumberSpinner minValue="0" maxValue="100" step="1"/>
+<rich:inputNumberSpinner minValue="0" maxValue="100" step="1"/>
...
]]></programlisting>
</section>
@@ -91,7 +91,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:inputNumberSpinner minValue="1" maxValue="100"/>
+<rich:inputNumberSpinner minValue="1" maxValue="100"/>
...
]]></programlisting>
<para>It generates on a page:</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/insert.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/insert.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/insert.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -62,7 +62,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
+<rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
...]]></programlisting>
</section>
@@ -96,7 +96,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
+<rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
...]]></programlisting>
<para>The result of using <emphasis role="bold">
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jQuery.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jQuery.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jQuery.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -61,7 +61,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:jQuery selector="#customList tr:odd" timing="onload" query="addClass(odd)" />
+<rich:jQuery selector="#customList tr:odd" timing="onload" query="addClass(odd)" />
...]]></programlisting>
</section>
@@ -126,11 +126,11 @@
...]]></programlisting>
<programlisting role="XML"><![CDATA[...
- <rich:table id="customList" ...>
- ...
- </rich:table>
- ...
- <rich:jQuery selector="#customList tr:odd" timing="onload" query="addClass(odd)" />
+<rich:table id="customList" ...>
+ ...
+</rich:table>
+...
+<rich:jQuery selector="#customList tr:odd" timing="onload" query="addClass(odd)" />
...]]></programlisting>
<para>The <emphasis>
<property>"selector"</property>
@@ -244,14 +244,14 @@
<para>For example, you have the following code:</para>
<programlisting role="XML"><![CDATA[...
- <h:form id="form">
- ...
- <h:panelGrid id="menu">
- <h:graphicImage ... />
- <h:graphicImage ... />
- ...
- </h:panelGrid>
- </h:form>
+<h:form id="form">
+ ...
+ <h:panelGrid id="menu">
+ <h:graphicImage ... />
+ <h:graphicImage ... />
+ ...
+ </h:panelGrid>
+</h:form>
...]]></programlisting>
<para>The actual id of the <emphasis role="bold">
@@ -260,14 +260,14 @@
reference to images inside this table using the following selector: </para>
<programlisting role="XML"><![CDATA[...
- <rich:jQuery selector="#menu img" query="..." />
+<rich:jQuery selector="#menu img" query="..." />
...]]></programlisting>
<para>You can define the exact id in the selector if you want. The following code reference to
the same set of a DOM object:</para>
<programlisting role="XML"><![CDATA[...
- <rich:jQuery selector="#form\\:menu img" query="..." />
+<rich:jQuery selector="#form\\:menu img" query="..." />
...]]></programlisting>
<para>Pay attention to double slashes that escape a colon in the id.</para>
@@ -283,13 +283,13 @@
back to the normal size on mouse out:</para>
<programlisting role="XML"><![CDATA[...
- <h:graphicImage width="50" value="/images/price.png"
+<h:graphicImage width="50" value="/images/price.png"
onmouseover="enlargePic(this, {pwidth:'60px'})" onmouseout="releasePic(this)" />
- <h:graphicImage width="50" value="/images/discount.png"
+<h:graphicImage width="50" value="/images/discount.png"
onmouseover="enlargePic(this, {pwidth:'100px'})" onmouseout="releasePic(this)" />
- ...
- <rich:jQuery name="enlargePic" timing="onJScall" query="animate({width:param.pwidth})" />
- <rich:jQuery name="releasePic" timing="onJScall" query="animate({width:'50px'})"/>
+...
+<rich:jQuery name="enlargePic" timing="onJScall" query="animate({width:param.pwidth})" />
+<rich:jQuery name="releasePic" timing="onJScall" query="animate({width:'50px'})"/>
...]]></programlisting>
<para>The JavaScript could use two parameters. The first parameter is a replacement for the
@@ -327,7 +327,7 @@
on the page, include the library into a page with the following code:</para>
<programlisting role="XML"><![CDATA[...
- <a4j:loadScript src="resource://jquery.js"/>
+<a4j:loadScript src="resource://jquery.js"/>
...]]></programlisting>
<para>Refer to the <ulink url="http://docs.jquery.com/">jQuery documentation</ulink> for the
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jsFunction.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -84,12 +84,12 @@
<body onload="callScript()">
...
<h:form>
- ...
- <a4j:jsFunction name="callScript" data="#{bean.someProperty1}"
- reRender="someComponent" oncomplete="myScript(data.subProperty1, data.subProperty2)">
+ ...
+ <a4j:jsFunction name="callScript" data="#{bean.someProperty1}"
+ reRender="someComponent" oncomplete="myScript(data.subProperty1, data.subProperty2)">
<a4j:actionparam name="param_name" assignTo="#{bean.someProperty2}"/>
- </a4j:jsFunction>
- ...
+ </a4j:jsFunction>
+ ...
</h:form>
...
</body>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/layout.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/layout.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/layout.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -51,9 +51,9 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:layout>
- <rich:layoutPanel position="center">
- <!--center-->
- </rich:layoutPanel>
+ <rich:layoutPanel position="center">
+ <!--center-->
+ </rich:layoutPanel>
</rich:layout>
...
]]></programlisting>
@@ -84,28 +84,24 @@
<programlisting role="XML"><![CDATA[...
<rich:layout>
- <rich:layoutPanel position="top">
- <!--top-->
- </rich:layoutPanel>
- <rich:layoutPanel position="left">
- <!--left-->
- </rich:layoutPanel>
- <rich:layoutPanel position="center">
- <!--center-->
- </rich:layoutPanel>
- <rich:layoutPanel position="right">
- <!--right-->
- </rich:layoutPanel>
- <rich:layoutPanel position="bottom">
- <!--bottom-->
- </rich:layoutPanel>
+ <rich:layoutPanel position="top">
+ <!--top-->
+ </rich:layoutPanel>
+ <rich:layoutPanel position="left">
+ <!--left-->
+ </rich:layoutPanel>
+ <rich:layoutPanel position="center">
+ <!--center-->
+ </rich:layoutPanel>
+ <rich:layoutPanel position="right">
+ <!--right-->
+ </rich:layoutPanel>
+ <rich:layoutPanel position="bottom">
+ <!--bottom-->
+ </rich:layoutPanel>
</rich:layout>
...]]></programlisting>
- <para>To get more details about <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> please read the <link linkend="rich_layoutPanel"> chapter about layoutPanel </link> in the guide.</para>
-
-
-
-
+ <para>To get more details about <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> please read the <link linkend="rich_layoutPanel"> chapter about layoutPanel </link> in the guide.</para>
</section>
<section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/layoutPanel.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/layoutPanel.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/layoutPanel.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -52,9 +52,9 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:layout>
- <rich:layoutPanel position="center">
- <!--center-->
-</rich:layoutPanel>
+ <rich:layoutPanel position="center">
+ <!--center-->
+ </rich:layoutPanel>
</rich:layout>
...]]></programlisting>
</section>
@@ -79,21 +79,21 @@
<para>The <emphasis><property>"position"</property></emphasis> attribute defines the position of the <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> in the area created with <emphasis role="bold"><property><rich:layout></property></emphasis> .</para>
<programlisting role="XML"><![CDATA[...
<rich:layout>
- <rich:layoutPanel position="top">
- <!--top-->
- </rich:layoutPanel>
- <rich:layoutPanel position="left">
- <!--left-->
- </rich:layoutPanel>
- <rich:layoutPanel position="center">
- <!--center-->
- </rich:layoutPanel>
- <rich:layoutPanel position="right">
- <!--right-->
- </rich:layoutPanel>
- <rich:layoutPanel position="bottom">
- <!--bottom-->
- </rich:layoutPanel>
+ <rich:layoutPanel position="top">
+ <!--top-->
+ </rich:layoutPanel>
+ <rich:layoutPanel position="left">
+ <!--left-->
+ </rich:layoutPanel>
+ <rich:layoutPanel position="center">
+ <!--center-->
+ </rich:layoutPanel>
+ <rich:layoutPanel position="right">
+ <!--right-->
+ </rich:layoutPanel>
+ <rich:layoutPanel position="bottom">
+ <!--bottom-->
+ </rich:layoutPanel>
</rich:layout>
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/listShuttle.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -182,19 +182,19 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:listShuttle var="item" sourceValue="#{bean.source}" targetValue="#{bean.target}" converter="listShuttleconverter">
-...
- <f:facet name="topControl">
- <h:outputText value="Move to top" />
- </f:facet>
- <f:facet name="upControl">
- <h:outputText value="Move up" />
- </f:facet>
- <f:facet name="downControl">
- <h:outputText value="Move down" />
- </f:facet>
- <f:facet name="bottomControl">
- <h:outputText value="Move to bottom" />
- </f:facet>
+ ...
+ <f:facet name="topControl">
+ <h:outputText value="Move to top" />
+ </f:facet>
+ <f:facet name="upControl">
+ <h:outputText value="Move up" />
+ </f:facet>
+ <f:facet name="downControl">
+ <h:outputText value="Move down" />
+ </f:facet>
+ <f:facet name="bottomControl">
+ <h:outputText value="Move to bottom" />
+ </f:facet>
</rich:listShuttle>
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/mediaOutput.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/mediaOutput.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/mediaOutput.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -72,10 +72,11 @@
<programlisting role="JAVA"><![CDATA[package demo;
public class PaintData implements Serializable{
- private static final long serialVersionUID = 1L;
- Integer width=100;
- Integer weight=50;
-...
+ private static final long serialVersionUID = 1L;
+ Integer width=100;
+ Integer weight=50;
+ ...
+}
]]></programlisting>
<para>The Paint method of the <code>paintBean</code> class is a method transmitting graphical data into output stream.</para>
@@ -83,8 +84,8 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="JAVA"><![CDATA[public void paint(OutputStream out, Object data) throws IOException{
- <!--...Some code that puts binary data to "out" Stream-->
- }
+ //Some code that puts binary data to "out" Stream
+}
]]></programlisting>
<para>As it was shown in the example above there are two main components:</para>
<itemizedlist>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -48,13 +48,13 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dropDownMenu value="Active">
+<rich:dropDownMenu value="Active">
+ ...
+ <rich:menuGroup value="Active">
+ <!--Nested menu components-->
+ </rich:menuGroup>
...
- <rich:menuGroup value="Active">
- <!--Nested menu components-->
- </rich:menuGroup>
- ...
- </rich:dropDownMenu >
+</rich:dropDownMenu >
...
]]></programlisting>
</section>
@@ -94,9 +94,9 @@
This could be used for an item check box implementation. </para>
<para> Here is an example: </para>
<programlisting role="XML"><![CDATA[...
- <f:facet name="icon">
- <h:selectBooleanCheckbox value="#{bean.property}"/>
- </f:facet>
+<f:facet name="icon">
+ <h:selectBooleanCheckbox value="#{bean.property}"/>
+</f:facet>
...
]]></programlisting>
<para> The <emphasis>
@@ -140,10 +140,10 @@
</emphasis> attribute is set to "auto". </para>
<para> Here is an example: </para>
<programlisting role="XML"><![CDATA[...
- <rich:menuGroup value="Save As..." direction="left-down">
- <rich:menuItem submitMode="ajax" value="Text File" action="#{ddmenu.doSaveText}"/>
- <rich:menuItem submitMode="ajax" value="PDF File" action="#{ddmenu.doSavePDF}"/>
- </rich:menuGroup>
+<rich:menuGroup value="Save As..." direction="left-down">
+ <rich:menuItem submitMode="ajax" value="Text File" action="#{ddmenu.doSaveText}"/>
+ <rich:menuItem submitMode="ajax" value="PDF File" action="#{ddmenu.doSavePDF}"/>
+</rich:menuGroup>
...
]]></programlisting>
<para> This would be the result: </para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuItem.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuItem.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuItem.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -48,11 +48,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dropDownMenu>
- ...
- <rich:menuItem value="Active"/>
- ...
- <rich:dropDownMenu>
+<rich:dropDownMenu>
+ ...
+ <rich:menuItem value="Active"/>
+ ...
+<rich:dropDownMenu>
...
]]></programlisting>
</section>
@@ -93,9 +93,9 @@
an icon. It could be used for an item check box implementation. </para>
<para> Here is an example: </para>
<programlisting role="XML"><![CDATA[...
- <f:facet name="icon">
- <h:selectBooleanCheckbox value="#{bean.property}"/>
- </f:facet>
+<f:facet name="icon">
+ <h:selectBooleanCheckbox value="#{bean.property}"/>
+</f:facet>
...
]]></programlisting>
@@ -147,13 +147,13 @@
</emphasis>.</para>
<para> Here is an example: </para>
<programlisting role="XML"><![CDATA[...
- <rich:dropDownMenu>
- ...
- <rich:menuItem submitMode="none">
- <h:outputLink value="www.jboss.org"/>
- </rich:menuItem>
- ...
- <rich:dropDownMenu>
+<rich:dropDownMenu>
+ ...
+ <rich:menuItem submitMode="none">
+ <h:outputLink value="www.jboss.org"/>
+ </rich:menuItem>
+ ...
+<rich:dropDownMenu>
...
]]></programlisting>
<para> You can use the <emphasis>
@@ -161,9 +161,9 @@
</emphasis> attribute to set the item state. </para>
<para> Here is an example: </para>
<programlisting role="XML"><![CDATA[...
- <rich:dropDownMenu>
- <rich:menuItem value="Disable" disabled="true"/>
- <rich:dropDownMenu>
+<rich:dropDownMenu>
+ <rich:menuItem value="Disable" disabled="true"/>
+<rich:dropDownMenu>
...
]]></programlisting>
<note>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -48,11 +48,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dropDownMenu/>
- ...
- <rich:menuSeparator/>
- ...
- <rich:dropDownMenu/>
+<rich:dropDownMenu/>
+ ...
+ <rich:menuSeparator/>
+ ...
+<rich:dropDownMenu/>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/message.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/message.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/message.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -51,7 +51,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:message for="id"/>
+<rich:message for="id"/>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/messages.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/messages.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/messages.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -51,8 +51,8 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:messages/>
-...component is considered as JSF HTML
+<rich:messages/>
+...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -73,7 +73,7 @@
...
<!--Any Content inside-->
...
-<a onclick="Richfaces.hideModalPanel('modalPanelID');" href="#">Hide</a>
+ <a onclick="Richfaces.hideModalPanel('modalPanelID');" href="#">Hide</a>
</rich:modalPanel>
<a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">Show</a>
...
@@ -366,17 +366,17 @@
</para>
<programlisting role="XML"><![CDATA[<a4j:form>
- <rich:modalPanel>
+<rich:modalPanel>
<f:facet name="header">
- <h:outputText value="Test" />
+ <h:outputText value="Test" />
</f:facet>
<f:facet name="controls">
- <h:commandLink value="Close" style="cursor:pointer" onclick="Richfaces.hideModalPanel('mp')" />
+ <h:commandLink value="Close" style="cursor:pointer" onclick="Richfaces.hideModalPanel('mp')" />
</f:facet>
<h:form>
- <h:commandButton value="Test" action="#{TESTCONTROLLER.test}" />
+ <h:commandButton value="Test" action="#{TESTCONTROLLER.test}" />
</h:form>
- </rich:modalPanel>]]></programlisting>
+</rich:modalPanel>]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -43,7 +43,7 @@
</para>
<programlisting role="XML"><![CDATA[...
- <rich:nodeSelectListener type="demo.Bean"/>
+<rich:nodeSelectListener type="demo.Bean"/>
...
]]></programlisting>
</section>
@@ -100,11 +100,11 @@
<programlisting role="JAVA"><![CDATA[package demo;
import org.richfaces.event.NodeSelectedEvent;
public class ListenerBean implements org.richfaces.event.NodeSelectedListener{
-...
+ ...
public void processSelection(NodeSelectedEvent arg0){
//Custom Developer Code
}
-...
+ ...
}
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/orderingList.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/orderingList.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,12 +50,12 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:orderingList value="#{bean.list}" var="list">
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Name" />
- </f:facet>
- <h:inputText value="#{list.name}" />
- </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Name" />
+ </f:facet>
+ <h:inputText value="#{list.name}" />
+ </rich:column>
<rich:orderingList>
...]]></programlisting>
</section>
@@ -103,7 +103,7 @@
<para>
Currently the button controls type is based on <emphasis role="bold"><property><div></property></emphasis> element.
</para>
- </note>
+ </note>
<para>The information about the <emphasis><property>"converter"</property></emphasis> attribute is <link linkend="conv">here</link>.</para>
<para> The <emphasis>
<property>"selection" </property>
@@ -123,7 +123,7 @@
<f:facet name="header">
<h:outputText value="Cars" />
</f:facet>
- <h:outputText value="#{item}" />
+ <h:outputText value="#{item}" />
</rich:column>
</rich:orderingList>
<rich:dataTable id="infoPanelID" value="#{bean.info}" var="info" rendered="true">
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/outputPanel.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/outputPanel.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/outputPanel.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -47,10 +47,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[<a4j:outputPanel>
- <h:form>
- <h:outputText value="Some text"/>
- <h:inputText id="text1" label="text1" value="#{rsBean.text1}"/>
- </h:form>
+ <h:form>
+ <h:outputText value="Some text"/>
+ <h:inputText id="text1" label="text1" value="#{rsBean.text1}"/>
+ </h:form>
</a4j:outputPanel>]]></programlisting>
</section>
<section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/paint2D.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/paint2D.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/paint2D.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,7 +50,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:paint2D paint="#{paint2D.paint}" data="#{paint2DModel}"/>
+<rich:paint2D paint="#{paint2D.paint}" data="#{paint2DModel}"/>
...
]]></programlisting>
<para>Here <emphasis>
@@ -115,29 +115,30 @@
</para>
<programlisting role="JAVA"><![CDATA[paintBean.java:
- public void paint(Graphics2D g2, Object obj) {
- // code that gets data from the data Bean (PaintData)
- PaintData data = (PaintData) obj;
- ...
- // a code drawing a rectangle
- g2.drawRect(0, 0, data.Width, data.Height);
- ...
- // some more code placing graphical data into g2 stream below
- }
+public void paint(Graphics2D g2, Object obj) {
+ // code that gets data from the data Bean (PaintData)
+ PaintData data = (PaintData) obj;
+ ...
+ // a code drawing a rectangle
+ g2.drawRect(0, 0, data.Width, data.Height);
+ ...
+ // some more code placing graphical data into g2 stream below
+}
dataBean.java:
- public class PaintData implements Serializable{
- private static final long serialVersionUID = 1L;
- Integer Width=100;
- Integer Height=50;
- ...
- }
+public class PaintData implements Serializable{
+ private static final long serialVersionUID = 1L;
+ Integer Width=100;
+ Integer Height=50;
+ ...
+}
- page.xhtml:
- ...
- <rich:paint2D paint="#{paint2D.paint}" data="#{paint2DModel.data}"/>
- ...
+page.xhtml:
+
+...
+<rich:paint2D paint="#{paint2D.paint}" data="#{paint2DModel.data}"/>
+...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panel.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panel.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,11 +50,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panel header="Panel Header">
- ...
- <!--Any Content inside-->
- ...
- </rich:panel>
+<rich:panel header="Panel Header">
+ ...
+ <!--Any Content inside-->
+ ...
+</rich:panel>
...
]]></programlisting>
</section>
@@ -78,14 +78,14 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panel>
- <f:facet name="header">
- <h:graphicImage value="/images/img1.png"/>
- </f:facet>
- ...
- <!--Any Content inside-->
- ...
- </rich:panel>
+<rich:panel>
+ <f:facet name="header">
+ <h:graphicImage value="/images/img1.png"/>
+ </f:facet>
+ ...
+ <!--Any Content inside-->
+ ...
+</rich:panel>
...
]]></programlisting>
@@ -97,9 +97,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panel>
- ...
- </rich:panel>
+<rich:panel>
+ ...
+</rich:panel>
...
]]></programlisting>
<para>It's generating on a page in the following way:</para>
@@ -123,12 +123,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="Olympus EVOLT E-500 "/>
- </f:facet>
- ...
- </rich:panel>
+<rich:panel>
+ <f:facet name="header">
+ <h:outputText value="Olympus EVOLT E-500 "/>
+ </f:facet>
+ ...
+</rich:panel>
...
]]></programlisting>
<para>It's displayed on a page in the following way:</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelBar.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelBar.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelBar.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,15 +50,15 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelBar>
- <!--//... -->
- <rich:panelBarItem label="Canon">
- ...
- </rich:panelBarItem>
- <rich:panelBarItem label="Nikon">
- ...
- </rich:panelBarItem>
- </rich:panelBar>
+<rich:panelBar>
+ ...
+ <rich:panelBarItem label="Canon">
+ ...
+ </rich:panelBarItem>
+ <rich:panelBarItem label="Nikon">
+ ...
+ </rich:panelBarItem>
+</rich:panelBar>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,14 +50,14 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelBar>
- <rich:panelBarItem label="Canon">
- ...
- </rich:panelBarItem>
+<rich:panelBar>
+ <rich:panelBarItem label="Canon">
+ ...
+ </rich:panelBarItem>
<rich:panelBarItem label="Nikon">
- ...
+ ...
</rich:panelBarItem>
- </rich:panelBar>
+</rich:panelBar>
...
]]></programlisting>
</section>
@@ -84,14 +84,14 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelBarItem...>
- <f:facet name="label">
- <h:graphicImage value="/images/img1.png"/>
- </f:facet>
- ...
- <!--Any Content inside-->
- ...
- </rich:panelBarItem>
+<rich:panelBarItem...>
+ <f:facet name="label">
+ <h:graphicImage value="/images/img1.png"/>
+ </f:facet>
+ ...
+ <!--Any Content inside-->
+ ...
+</rich:panelBarItem>
...
]]></programlisting>
<para>As it was mentioned <link linkend="panelBarItem">above</link>,
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenu.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -62,9 +62,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu event="onmouseover">
- <!--Nested panelMenu components-->
- </rich:panelMenu>
+<rich:panelMenu event="onmouseover">
+ <!--Nested panelMenu components-->
+</rich:panelMenu>
...]]></programlisting>
</section>
@@ -94,9 +94,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu event="onmouseover">
- <!--Nested panelMenu components-->
- </rich:panelMenu>
+<rich:panelMenu event="onmouseover">
+ <!--Nested panelMenu components-->
+</rich:panelMenu>
...]]></programlisting>
<para>Switching mode could be chosen with the <emphasis>
@@ -128,13 +128,13 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu mode="server">
- <rich:panelMenuGroup label="test Group" action="#{bean.action}">
- <rich:panelMenuItem label="test" action="#{capitalsBean.action}">
- <f:param value="test value" name="test"/>
- </rich:panelMenuItem>
- </rich:panelMenuGroup>
- </rich:panelMenu>
+<rich:panelMenu mode="server">
+ <rich:panelMenuGroup label="test Group" action="#{bean.action}">
+ <rich:panelMenuItem label="test" action="#{capitalsBean.action}">
+ <f:param value="test value" name="test"/>
+ </rich:panelMenuItem>
+ </rich:panelMenuGroup>
+</rich:panelMenu>
...]]></programlisting>
<itemizedlist>
<listitem>
@@ -149,13 +149,13 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu mode="ajax">
- <rich:panelMenuGroup label="test Group" action="#{bean.action}">
- <rich:panelMenuItem label="test" reRender="test" action="#{capitalsBean.action}">
- <f:param value="test value" name="test"/>
- </rich:panelMenuItem>
- </rich:panelMenuGroup>
- </rich:panelMenu>
+<rich:panelMenu mode="ajax">
+ <rich:panelMenuGroup label="test Group" action="#{bean.action}">
+ <rich:panelMenuItem label="test" reRender="test" action="#{capitalsBean.action}">
+ <f:param value="test value" name="test"/>
+ </rich:panelMenuItem>
+ </rich:panelMenuGroup>
+</rich:panelMenu>
...]]></programlisting>
<itemizedlist>
<listitem>
@@ -174,11 +174,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu event="onclick" submitMode="none">
- <rich:panelMenuItem label="Link to external page">
- <h:outputLink ... >
- <rich:panelMenuItem>
- </rich:panelMenu>
+<rich:panelMenu event="onclick" submitMode="none">
+ <rich:panelMenuItem label="Link to external page">
+ <h:outputLink ... >
+ <rich:panelMenuItem>
+</rich:panelMenu>
...]]></programlisting>
<note><title>Note:</title><para> As the <emphasis role="bold">
@@ -214,12 +214,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu selectedChild="thisChild">
- <rich:panelMenuGroup label="Group1" name="thisChild">
- <!--Nested panelMenu components-->
- </rich:panelMenuGroup>
- </rich:panelMenu>
- ...]]></programlisting>
+<rich:panelMenu selectedChild="thisChild">
+ <rich:panelMenuGroup label="Group1" name="thisChild">
+ <!--Nested panelMenu components-->
+ </rich:panelMenuGroup>
+</rich:panelMenu>
+...]]></programlisting>
<para>
The <emphasis>
<property>"label"</property>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -62,11 +62,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu>
- <rich:panelMenuGroup label="Group1">
- <!--Nested panelMenu components-->
- </rich:panelMenuGroup>
- </rich:panelMenu>
+<rich:panelMenu>
+ <rich:panelMenuGroup label="Group1">
+ <!--Nested panelMenu components-->
+ </rich:panelMenuGroup>
+</rich:panelMenu>
...]]></programlisting>
</section>
@@ -153,11 +153,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu>
- <rich:panelMenuGroup label="Group1" iconExpanded="disc" iconCollapsed="chevron">
- <!--Nested panelMenu components-->
- </rich:panelMenuGroup>
- </rich:panelMenu>
+<rich:panelMenu>
+ <rich:panelMenuGroup label="Group1" iconExpanded="disc" iconCollapsed="chevron">
+ <!--Nested panelMenu components-->
+ </rich:panelMenuGroup>
+</rich:panelMenu>
...]]></programlisting>
<para> As the result the pictures are shown below. The first one represents the collapsed state,
the second one - expanded state:</para>
@@ -185,11 +185,11 @@
<para>It's also possible to define a path to the icon. Simple code is placed below.</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu>
- <rich:panelMenuGroup label="Group1" iconExpanded="\images\img1.png" iconCollapsed="\images\img2.png">
- <!--Nested menu components-->
- </rich:panelMenuGroup>
- </rich:panelMenu>
+<rich:panelMenu>
+ <rich:panelMenuGroup label="Group1" iconExpanded="\images\img1.png" iconCollapsed="\images\img2.png">
+ <!--Nested menu components-->
+ </rich:panelMenuGroup>
+</rich:panelMenu>
...]]></programlisting>
<para>
Information about the <emphasis><property>"process"</property></emphasis> attribute usage you can find <link linkend="process">" Decide what to process " </link> guide section.
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -62,11 +62,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu>
- ...
- <rich:panelMenuItem value="Item1"/>
- ...
- </rich:panelMenu>
+<rich:panelMenu>
+ ...
+ <rich:panelMenuItem value="Item1"/>
+ ...
+</rich:panelMenu>
...]]></programlisting>
</section>
@@ -135,15 +135,15 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu>
- ...
- <rich:panelMenuItem mode="none" onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/">
- <h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
- <h:outputText value="RichFaces Home Page"></h:outputText>
- </h:outputLink>
- </rich:panelMenuItem>
- ...
- </rich:panelMenu>
+<rich:panelMenu>
+ ...
+ <rich:panelMenuItem mode="none" onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/">
+ <h:outputLink value="http://labs.jboss.com/jbossrichfaces/">
+ <h:outputText value="RichFaces Home Page"></h:outputText>
+ </h:outputLink>
+ </rich:panelMenuItem>
+ ...
+</rich:panelMenu>
...]]></programlisting>
<para>There are two icon-related attributes. The <emphasis>
@@ -194,11 +194,11 @@
placed below.</para>
<programlisting role="XML"><![CDATA[...
- <rich:panelMenu>
- ...
- <rich:panelMenuItem value="Item 1.1" icon="\images\img1.png" />
- ...
- </rich:panelMenu>
+<rich:panelMenu>
+ ...
+ <rich:panelMenuItem value="Item 1.1" icon="\images\img1.png" />
+ ...
+</rich:panelMenu>
...]]></programlisting>
<para> Information about the <emphasis>
<property>"process"</property>
@@ -493,7 +493,7 @@
</para>
<programlisting role="CSS"><![CDATA[...
.rich-pmenu-hovered-element {
- background-color: #ff7800;
+ background-color: #ff7800;
}
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/pickList.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/pickList.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/pickList.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -112,8 +112,8 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
-<rich:pickList copyAllControlLabel = "#{pickBean.copyAllLabel}" copyControlLabel = "#{pickBean.copyLabel}" removeControlLabel = "#{pickBean.removeLabel}"
-removeAllControlLabel ="#{pickBean.removeAllLabel}" value="#{pickBean.listValues}">
+<rich:pickList copyAllControlLabel = "#{pickBean.copyAllLabel}" copyControlLabel = "#{pickBean.copyLabel}"
+ removeControlLabel = "#{pickBean.removeLabel}" removeAllControlLabel ="#{pickBean.removeAllLabel}" value="#{pickBean.listValues}">
<f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
<f:selectItem itemValue="Audi" itemLabel="Audi"/>
<f:selectItems value="#{pickBean.sourceList}"/>
@@ -159,9 +159,9 @@
<f:facet name="removeAllControl">
<h:commandButton value="#{pickBean.removeAllLabel}" />
</f:facet>
- <f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
- <f:selectItem itemValue="Audi" itemLabel="Audi"/>
- <f:selectItems value="#{pickBean.sourceList}"/>
+ <f:selectItem itemValue="Bentley" itemLabel="Bentley"/>
+ <f:selectItem itemValue="Audi" itemLabel="Audi"/>
+ <f:selectItems value="#{pickBean.sourceList}"/>
</rich:pickList>
...]]></programlisting>
<para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/portlet.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/portlet.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/portlet.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -35,9 +35,9 @@
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant on a page use the following syntax:</para>
<programlisting role="XML"><![CDATA[<f:view>
- <a4j:portlet>
- ...
- </a4j:portlet>
+ <a4j:portlet>
+ ...
+ </a4j:portlet>
</f:view>]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/progressBar.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/progressBar.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/progressBar.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -691,7 +691,7 @@
</para>
<programlisting role="CSS"><![CDATA[...
.myClass{
-background-color: #ebf3fd;
+ background-color: #ebf3fd;
}
...]]></programlisting>
<para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
@@ -722,7 +722,7 @@
</para>
<programlisting role="CSS"><![CDATA[...
.rich-progress-bar-uploaded {
-background-image : url(images/accept.gif);
+ background-image : url(images/accept.gif);
}
...]]></programlisting>
<para>This is the result:</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/push.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/push.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/push.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -90,11 +90,11 @@
</para>
<programlisting role="JAVA"><![CDATA[...
public void addListener(EventListener listener) {
-synchronized (listener) {
- if (this.listener != listener) {
- this.listener = (PushEventListener) listener;
- }
- }
+ synchronized (listener) {
+ if (this.listener != listener) {
+ this.listener = (PushEventListener) listener;
+ }
+ }
}
...]]></programlisting>
@@ -105,16 +105,16 @@
</para>
<programlisting role="XML"><![CDATA[...
<a4j:status startText="in progress" stopText="done"/>
- <a4j:form>
- <a4j:region>
- <a4j:push reRender="msg" eventProducer="#{pushBean.addListener}" interval="2000"/>
- </a4j:region>
- <a4j:outputPanel id="msg" >
- <h:outputText value="#{pushBean.date}">
- <f:convertDateTime type="time"/>
- </h:outputText>
- </a4j:outputPanel>
- <a4j:commandButton value="Push!!" action="#{pushBean.push}" ajaxSingle="true"/>
+<a4j:form>
+ <a4j:region>
+ <a4j:push reRender="msg" eventProducer="#{pushBean.addListener}" interval="2000"/>
+ </a4j:region>
+ <a4j:outputPanel id="msg">
+ <h:outputText value="#{pushBean.date}">
+ <f:convertDateTime type="time"/>
+ </h:outputText>
+ </a4j:outputPanel>
+ <a4j:commandButton value="Push!!" action="#{pushBean.push}" ajaxSingle="true"/>
</a4j:form>
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/queue.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/queue.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/queue.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -176,7 +176,7 @@
<emphasis role="bold"> Example: </emphasis>
</para>
<programlisting role="XML"><![CDATA[...
-<h:form >
+<h:form>
<a4j:queue oncomplete="alert(request.queue.getSize())" requestDelay="1000" />
<h:inputText value="#{bean.a}">
<a4j:support event="onkeyup" />
@@ -186,7 +186,7 @@
</h:selectBooleanCheckbox>
</h:form>
...]]></programlisting>
-
+
<para>In this example you can see how the number of requests waiting in the queue change. You will get a message with the number of the requests in the queue.</para>
<para>The <emphasis><property>"onbeforedomupdate"</property></emphasis> event handler called before
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/recursiveTreeNodesAdaptor.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/recursiveTreeNodesAdaptor.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/recursiveTreeNodesAdaptor.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -109,9 +109,9 @@
</rich:treeNode>
</rich:treeNodesAdaptor>
<rich:recursiveTreeNodesAdaptor id="archiveEntry" var="archiveEntry"
- roots="#{dir.files}" nodes="#{archiveEntry.archiveEntries}"
- includedRoot="#{archiveEntry.class.simpleName == 'ArchiveFile'}"
- includedNode="#{archiveEntry.class.simpleName == 'ArchiveEntry'}">
+ roots="#{dir.files}" nodes="#{archiveEntry.archiveEntries}"
+ includedRoot="#{archiveEntry.class.simpleName == 'ArchiveFile'}"
+ includedNode="#{archiveEntry.class.simpleName == 'ArchiveEntry'}">
<rich:treeNode id="archiveEntryNode">
<h:commandLink action="#{archiveEntry.click}" value="Archive entry: #{archiveEntry.name}" />
</rich:treeNode>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/region.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/region.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/region.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -103,9 +103,9 @@
...
<a4j:region>
<a4j:commandLink value="Link 1" id="link1"/>
- <a4j:region>
- <a4j:commandLink value="Link 2" id="link2"/>
- </a4j:region >
+ <a4j:region>
+ <a4j:commandLink value="Link 2" id="link2"/>
+ </a4j:region >
</a4j:region>
...
<h:form>]]></programlisting>
@@ -150,7 +150,7 @@
</para>
<programlisting role="XML"><![CDATA[<a4j:region selfRendered ="true">
<a4j:commandLink value="Link" id="link"/>
- <!--Some HTML content-->
+ <!--Some HTML content-->
</a4j:region>]]></programlisting>
<para>In this case the processing is quicker and going on without referring to the page code.
The HTML code is not saved in a component tree and could be lost.
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_page.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_page.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_page.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -48,7 +48,7 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:page>
- <!-- page body -->
+ <!-- page body -->
</rich:page>
...]]></programlisting>
</section>
@@ -138,7 +138,6 @@
<!-- footer content -->
</f:facet>
</rich:page>
-
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -49,9 +49,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:scrollableDataTable value="#{dataTableScrollerBean.allCars}" var="category">
- <!--...//Set of columns and header/footer facets-->
- </rich:scrollableDataTable>
+<rich:scrollableDataTable value="#{dataTableScrollerBean.allCars}" var="category">
+ <!--Set of columns and header/footer facets-->
+</rich:scrollableDataTable>
...
]]></programlisting>
</section>
@@ -139,7 +139,7 @@
<h:outputText value="State"/>
</f:facet>
</rich:column>
- <!--...//Set of columns and header/footer facets-->
+ <!--Set of columns and header/footer facets-->
</rich:scrollableDataTable>
...
]]></programlisting>
@@ -164,52 +164,52 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <h:form>
- <rich:spacer height="30" />
- <rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="200px"
- width="300px" id="carList" rows="40" columnClasses="col"
- value="#{dataTableScrollerBean.allCars}" var="category" sortMode="single"
- selection="#{dataTableScrollerBean.selection}">
- <rich:column id="make">
- <f:facet name="header"><h:outputText styleClass="headerText" value="Make" /></f:facet>
- <h:outputText value="#{category.make}" />
- </rich:column>
- <rich:column id="model">
- <f:facet name="header"><h:outputText styleClass="headerText" value="Model" /></f:facet>
- <h:outputText value="#{category.model}" />
- </rich:column>
- <rich:column id="price">
- <f:facet name="header"><h:outputText styleClass="headerText" value="Price" /></f:facet>
- <h:outputText value="#{category.price}" />
- </rich:column>
+<h:form>
+ <rich:spacer height="30" />
+ <rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="200px"
+ width="300px" id="carList" rows="40" columnClasses="col"
+ value="#{dataTableScrollerBean.allCars}" var="category" sortMode="single"
+ selection="#{dataTableScrollerBean.selection}">
+ <rich:column id="make">
+ <f:facet name="header"><h:outputText styleClass="headerText" value="Make" /></f:facet>
+ <h:outputText value="#{category.make}" />
+ </rich:column>
+ <rich:column id="model">
+ <f:facet name="header"><h:outputText styleClass="headerText" value="Model" /></f:facet>
+ <h:outputText value="#{category.model}" />
+ </rich:column>
+ <rich:column id="price">
+ <f:facet name="header"><h:outputText styleClass="headerText" value="Price" /></f:facet>
+ <h:outputText value="#{category.price}" />
+ </rich:column>
</rich:scrollableDataTable>
- <rich:spacer height="20px"/>
- <a4j:commandButton value="Show Current Selection" reRender="table"
- action="#{dataTableScrollerBean.takeSelection}"
- oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
- </h:form>
- <rich:modalPanel id="panel" autosized="true">
- <f:facet name="header">
- <h:outputText value="Selected Rows"/>
- </f:facet>
- <f:facet name="controls">
- <span style="cursor:pointer" onclick="javascript:Richfaces.hideModalPanel('panel')">X</span>
- </f:facet>
- <rich:dataTable value="#{dataTableScrollerBean.selectedCars}" var="sel" id="table">
+ <rich:spacer height="20px"/>
+ <a4j:commandButton value="Show Current Selection" reRender="table"
+ action="#{dataTableScrollerBean.takeSelection}"
+ oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
+</h:form>
+<rich:modalPanel id="panel" autosized="true">
+ <f:facet name="header">
+ <h:outputText value="Selected Rows"/>
+ </f:facet>
+ <f:facet name="controls">
+ <span style="cursor:pointer" onclick="javascript:Richfaces.hideModalPanel('panel')">X</span>
+ </f:facet>
+ <rich:dataTable value="#{dataTableScrollerBean.selectedCars}" var="sel" id="table">
<rich:column>
- <f:facet name="header"><h:outputText value="Make" /></f:facet>
- <h:outputText value="#{sel.make}" />
+ <f:facet name="header"><h:outputText value="Make" /></f:facet>
+ <h:outputText value="#{sel.make}" />
</rich:column>
<rich:column id="model">
- <f:facet name="header"><h:outputText value="Model" /></f:facet>
- <h:outputText value="#{sel.model}" />
+ <f:facet name="header"><h:outputText value="Model" /></f:facet>
+ <h:outputText value="#{sel.model}" />
</rich:column>
<rich:column id="price">
- <f:facet name="header"><h:outputText value="Price" /></f:facet>
- <h:outputText value="#{sel.price}" />
+ <f:facet name="header"><h:outputText value="Price" /></f:facet>
+ <h:outputText value="#{sel.price}" />
</rich:column>
- </rich:dataTable>
- </rich:modalPanel>
+ </rich:dataTable>
+</rich:modalPanel>
...]]></programlisting>
<para>This is a result:</para>
<figure>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/spacer.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/spacer.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/spacer.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,7 +50,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:spacer/>
+<rich:spacer/>
...]]></programlisting>
</section>
<section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/status.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/status.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/status.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -51,12 +51,12 @@
<listitem><para>
With <emphasis><property>"Start"</property></emphasis>/<emphasis><property>"Stop"</property></emphasis > facets definition:</para>
<programlisting role="XML"><![CDATA[<a4j:status for="stat2">
- <f:facet name="start">
- <h:graphicImage value="ajax_process.png" />
- </f:facet>
- <f:facet name="stop">
- <h:graphicImage value="ajax_stoped.png" />
- </f:facet>
+ <f:facet name="start">
+ <h:graphicImage value="ajax_process.png" />
+ </f:facet>
+ <f:facet name="stop">
+ <h:graphicImage value="ajax_stoped.png" />
+ </f:facet>
</a4j:status>]]></programlisting>
<para>In this case, the elements are generated for each status and correspond the facets content.</para>
</listitem>
@@ -131,17 +131,17 @@
</para>
<programlisting role="XML"><![CDATA[<a4j:status startText="Started" stopText="stopped" />]]></programlisting>
<para>The code shown in the example above is decoded on a page as:</para><programlisting role="XML"><![CDATA[<span id="j_id20:status.start" style="display: none">
- Started
+ Started
</span>
<span id="j_id20:status.stop">
- Stopped
+ Stopped
</span>]]></programlisting>
<para>and after the generation of an Ajax response is changed to:</para>
<programlisting role="XML"><![CDATA[<span id="j_id20:status.start">
- Started
+ Started
</span>
<span id="j_id20:status.stop" style="display: none">
- Stopped
+ Stopped
</span>]]></programlisting>
<para>There is a possibility to group a <emphasis role="bold"><property><a4j:status></property></emphasis> elements content into <emphasis role="bold"><property><div></property></emphasis> elements, instead of <emphasis role="bold"><property><span></property></emphasis>. To use it, just redefine the <emphasis >
<property>"layout"</property>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/subTable.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/subTable.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/subTable.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -49,16 +49,16 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
- <rich:column>
- ...
- </rich:column>
- <rich:subTable value=#{capitals.details} var="detail">
- <rich:column>
- ...
- </rich:column>
- </rich:subTable>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
+ <rich:column>
+ ...
+ </rich:column>
+ <rich:subTable value=#{capitals.details} var="detail">
+ <rich:column>
+ ...
+ </rich:column>
+ </rich:subTable>
+</rich:dataTable>
...
]]></programlisting>
</section>
@@ -100,18 +100,18 @@
</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
- <rich:column>
- ...
- </rich:column>
- <rich:subTable value="#{capitals.details}" var="detail" ajaxKeys="#{bean.ajaxSet}" binding="#{bean.subtable}" id="subtable">
- <rich:column>
- ...
- </rich:column>
- </rich:subTable>
- </rich:dataTable>
+<rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
+ <rich:column>
+ ...
+ </rich:column>
+ <rich:subTable value="#{capitals.details}" var="detail" ajaxKeys="#{bean.ajaxSet}" binding="#{bean.subtable}" id="subtable">
+ <rich:column>
+ ...
+ </rich:column>
+ </rich:subTable>
+</rich:dataTable>
...
- <a4j:commandButton action="#{tableBean.action}" reRender="subtable"/>
+<a4j:commandButton action="#{tableBean.action}" reRender="subtable"/>
...
]]></programlisting>
<para> In the example <emphasis>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,12 +50,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <h:inputText value="#{bean.property}" id="suggest"/>
- <rich:suggestionbox for="suggest" suggestionAction="#{bean.autocomplete}" var="suggest">
- <h:column>
- <h:outputText value="#{suggest.text}"/>
- </h:column>
- </rich:suggestionbox>
+<h:inputText value="#{bean.property}" id="suggest"/>
+<rich:suggestionbox for="suggest" suggestionAction="#{bean.autocomplete}" var="suggest">
+ <h:column>
+ <h:outputText value="#{suggest.text}"/>
+ </h:column>
+</rich:suggestionbox>
...
]]></programlisting>
<para>Here is the <code>bean.autocomplete</code> method that returns the
@@ -66,10 +66,10 @@
</para>
<programlisting role="JAVA"><![CDATA[public List autocomplete(Object event) {
String pref = event.toString();
- //collecting some data that begins with "pref" letters.
- ...
- return result;
- }
+ //Collecting some data that begins with "pref" letters
+ ...
+ return result;
+}
]]></programlisting>
</section>
<section>
@@ -128,14 +128,14 @@
screenshot, could get any collection for an output and outputs it in a
ToolTip window the same as a custom dataTable (in several columns)</para>
<programlisting role="XML"><![CDATA[...
- <rich:suggestionbox for="test" suggestionAction="#{bean.autocomplete}" var="cit" fetchValue="#{cit.text}">
- <h:column>
- <h:outputText value="#{cit.label}"/>
- </h:column>
- <h:column>
- <h:outputText value="#{cit.text}"/>
- </h:column>
- </rich:suggestionbox>
+<rich:suggestionbox for="test" suggestionAction="#{bean.autocomplete}" var="cit" fetchValue="#{cit.text}">
+ <h:column>
+ <h:outputText value="#{cit.label}"/>
+ </h:column>
+ <h:column>
+ <h:outputText value="#{cit.text}"/>
+ </h:column>
+</rich:suggestionbox>
...
]]></programlisting>
<para>It looks on a page in the following way:</para>
@@ -160,11 +160,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:suggestionbox for="test" suggestionAction="#{bean.autocomplete}" var="cit" selfRendered="true" tokens=",">
- <h:column>
- <h:outputText value="#{cit.text}"/>
- </h:column>
- </rich:suggestionbox>
+<rich:suggestionbox for="test" suggestionAction="#{bean.autocomplete}" var="cit" selfRendered="true" tokens=",">
+ <h:column>
+ <h:outputText value="#{cit.text}"/>
+ </h:column>
+</rich:suggestionbox>
...
]]></programlisting>
<para>This example shows that when a city is chosen and a comma and first letter
@@ -209,11 +209,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:suggestionbox nothingLabel="Empty" for="test" suggestionAction="#{bean.autocomplete}" var="cit">
- <h:column>
- <h:outputText value="#{cit.text}"/>
- </h:column>
- </rich:suggestionbox>
+<rich:suggestionbox nothingLabel="Empty" for="test" suggestionAction="#{bean.autocomplete}" var="cit">
+ <h:column>
+ <h:outputText value="#{cit.text}"/>
+ </h:column>
+</rich:suggestionbox>
...
]]></programlisting>
<para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/support.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/support.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/support.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -67,11 +67,11 @@
<programlisting role="JAVA"><![CDATA[HtmlInputText inputText = new HtmlInputText();
...
HtmlAjaxSupport ajaxSupport = new HtmlAjaxSupport();
- ajaxSupport.setActionExpression(FacesContext.getCurrentInstance().getApplication().getExpressionFactory().createMethodExpression(
+ajaxSupport.setActionExpression(FacesContext.getCurrentInstance().getApplication().getExpressionFactory().createMethodExpression(
FacesContext.getCurrentInstance().getELContext(), "#{bean.action}", String.class, new Class[] {}));
- ajaxSupport.setEvent("onkeyup");
- ajaxSupport.setReRender("output");
- inputText.getFacets().put("a4jsupport", ajaxSupport);
+ajaxSupport.setEvent("onkeyup");
+ajaxSupport.setReRender("output");
+inputText.getFacets().put("a4jsupport", ajaxSupport);
]]></programlisting>
</section>
<section>
@@ -130,7 +130,7 @@
<f:selectItem itemValue="First Item" itemLabel="First Item"/>
<f:selectItem itemValue=" Second Item" itemLabel="Second Item"/>
<f:selectItem itemValue=" Third Item" itemLabel="Third Item"/>
- <a4j:support event="onblur" reRender="panel" onsubmit="if(!confirm('Are you sure to change the option ?')) {form.reset(); return false;}" oncomplete="alert('Value succesfully stored')"/>
+ <a4j:support event="onblur" reRender="panel" onsubmit="if(!confirm('Are you sure to change the option ?')) {form.reset(); return false;}" oncomplete="alert('Value succesfully stored')"/>
</h:selectOneMenu>]]></programlisting>
<para>In example there is the condition checking (confirm) is used before
request sending and message printing after the request processing is
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tab.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tab.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tab.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -49,12 +49,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:tabPanel>
- <!--Set of Tabs inside-->
- <rich:tab>
- ...
- </rich:tab>
- </rich:tabPanel>
+<rich:tabPanel>
+ <!--Set of Tabs inside-->
+ <rich:tab>
+ ...
+ </rich:tab>
+</rich:tabPanel>
...
]]></programlisting>
</section>
@@ -89,14 +89,14 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:tab>
- <f:facet name="label">
- <h:graphicImage value="/images/img1.png"/>
- </f:facet>
- ...
- <!--Any Content inside-->
- ...
- </rich:tab>
+<rich:tab>
+ <f:facet name="label">
+ <h:graphicImage value="/images/img1.png"/>
+ </f:facet>
+ ...
+ <!--Any Content inside-->
+ ...
+</rich:tab>
...
]]></programlisting>
@@ -112,21 +112,21 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:tabPanel width="20%">
- <tabs:tab label="Canon">
- <h:outputText value="Canon EOS Digital Rebel XT" />
- ...
- </tabs:tab>
- <tabs:tab label="Nikon">
- <h:outputText value="Nikon D70s" />
- ...
+<rich:tabPanel width="20%">
+ <tabs:tab label="Canon">
+ <h:outputText value="Canon EOS Digital Rebel XT" />
+ ...
+ </tabs:tab>
+ <tabs:tab label="Nikon">
+ <h:outputText value="Nikon D70s" />
+ ...
</tabs:tab>
<tabs:tab label="Olympus">
- <h:outputText value="Olympus EVOLT E-500" />
- ...
- </tabs:tab>
- <tabs:tab disabled="true" name="disabled" label="Disabled"/>
- </rich:tabPanel>
+ <h:outputText value="Olympus EVOLT E-500" />
+ ...
+ </tabs:tab>
+ <tabs:tab disabled="true" name="disabled" label="Disabled"/>
+</rich:tabPanel>
...]]></programlisting>
<para>With this example it's possible to generate the <property>tab
panel</property> with the last disabled and three active
@@ -188,12 +188,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:tabPanel>
- <rich:tab label="Tab1" ontabenter="alert()">
- ...
- </rich:tab>
- ...
- </rich:tabPanel>
+<rich:tabPanel>
+ <rich:tab label="Tab1" ontabenter="alert()">
+ ...
+ </rich:tab>
+ ...
+</rich:tabPanel>
...]]></programlisting>
<para> The following example shows how on the client side to get the names of
<code>entered</code>/<code>left</code> tabs. </para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tabPanel.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,12 +50,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:tabPanel>
- <!--//Set of Tabs inside-->
- <rich:tab>
- ...
- </rich:tab>
- </rich:tabPanel>
+<rich:tabPanel>
+ <!--Set of Tabs inside-->
+ <rich:tab>
+ ...
+ </rich:tab>
+</rich:tabPanel>
...
]]></programlisting>
</section>
@@ -141,17 +141,17 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:tabPanel width="40%" headerAlignment="right">
- <rich:tab label="Canon">
- ...
- </rich:tab>
- <rich:tab label="Nikon">
- ...
- </rich:tab>
- <rich:tab label="Olympus">
- ...
- </rich:tab>
- </rich:tabPanel>
+<rich:tabPanel width="40%" headerAlignment="right">
+ <rich:tab label="Canon">
+ ...
+ </rich:tab>
+ <rich:tab label="Nikon">
+ ...
+ </rich:tab>
+ <rich:tab label="Olympus">
+ ...
+ </rich:tab>
+</rich:tabPanel>
...
]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toggleControl.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toggleControl.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toggleControl.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -51,11 +51,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:toggleControl for="panel"/>
- ...
- <rich:togglePanel id="panel" stateOrder="[facets order to be switched]">
- <!--//Set of Facets-->
- </rich:togglePanel>
+<rich:toggleControl for="panel"/>
+ ...
+ <rich:togglePanel id="panel" stateOrder="[facets order to be switched]">
+ <!--Set of Facets-->
+ </rich:togglePanel>
...
]]></programlisting>
</section>
@@ -85,28 +85,28 @@
><property>"switchOrder"</property></emphasis> attribute of <emphasis role="bold"><property><rich:togglePanel></property>.</emphasis></para>
<para><emphasis role="bold">Example:</emphasis></para>
<programlisting role="XML"><![CDATA[...
- <rich:togglePanel id="panel" initialState="empty" switchType="client">
- <f:facet name="first">
- <h:panelGroup>
- <rich:toggleControl for="helloForm:panel" value="Empty" switchToState="empty"/>
- <rich:toggleControl for="helloForm:panel" value=" Second" switchToState="second"/>
- ...//Some Content
- </h:panelGroup>
- </f:facet>
- <f:facet name="second">
- <h:panelGroup>
- <rich:toggleControl for="helloForm:panel" value="Empty" switchToState="empty"/>
- <rich:toggleControl for="helloForm:panel" value=" first" switchToState="first"/>
- ...//Some Content
- </h:panelGroup>
- </f:facet>
- <f:facet name="empty">
- <h:panelGroup>
- <rich:toggleControl for="helloForm:panel" value="first" switchToState="first"/>
- <rich:toggleControl for="helloForm:panel" value=" second" switchToState="second"/>
- </h:panelGroup>
- </f:facet>
- </rich:togglePanel>
+<rich:togglePanel id="panel" initialState="empty" switchType="client">
+ <f:facet name="first">
+ <h:panelGroup>
+ <rich:toggleControl for="helloForm:panel" value="Empty" switchToState="empty"/>
+ <rich:toggleControl for="helloForm:panel" value=" Second" switchToState="second"/>
+ <!--Some content-->
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="second">
+ <h:panelGroup>
+ <rich:toggleControl for="helloForm:panel" value="Empty" switchToState="empty"/>
+ <rich:toggleControl for="helloForm:panel" value=" first" switchToState="first"/>
+ <!--Some content-->
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="empty">
+ <h:panelGroup>
+ <rich:toggleControl for="helloForm:panel" value="first" switchToState="first"/>
+ <rich:toggleControl for="helloForm:panel" value=" second" switchToState="second"/>
+ </h:panelGroup>
+ </f:facet>
+</rich:togglePanel>
...
]]></programlisting>
<para>In this example the switching is performed on facets specified in the <emphasis
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/togglePanel.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,18 +50,18 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:togglePanel>
- <f:facet name="first">
- ...
- </f:facet>
- <f:facet name="second">
- ...
- </f:facet>
- ...
- </rich:togglePanel>
- ...
- <!--//Set of the toggleControls somewhere on a page.-->
+<rich:togglePanel>
+ <f:facet name="first">
+ ...
+ </f:facet>
+ <f:facet name="second">
+ ...
+ </f:facet>
+ ...
+</rich:togglePanel>
...
+<!--Set of the toggleControls somewhere on a page-->
+...
]]></programlisting>
</section>
<section>
@@ -141,19 +141,19 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:togglePanel id="panel" initialState="panelB" switchType="client"
+<rich:togglePanel id="panel" initialState="panelB" switchType="client"
stateOrder="panelA,panelB,panelC">
- <f:facet name="panelA">
- ...
+ <f:facet name="panelA">
+ ...
</f:facet>
<f:facet name="panelB">
- ...
+ ...
</f:facet>
<f:facet name="panelC">
- ...
+ ...
</f:facet>
- </rich:togglePanel>
- <rich:toggleControl for="panel" value="Switch"/>
+</rich:togglePanel>
+<rich:toggleControl for="panel" value="Switch"/>
...
]]></programlisting>
<para>The example shows a <property>togglePanel</property> initial state when
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolBar.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolBar.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,9 +50,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:toolBar>
- <!--//...Set of action or other JSF components-->
- </rich:toolBar>
+<rich:toolBar>
+ <!--Set of action or other JSF components-->
+</rich:toolBar>
...
]]></programlisting>
</section>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,16 +50,16 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:toolBar>
- ...
- <rich:toolBarGroup>
- <!--...Set of action or other JSF components-->
- </rich:toolBarGroup>
- <rich:toolBarGroup>
- <!--...Set of action or other JSF components-->
- </rich:toolBarGroup>
- ...
- </rich:toolBar>
+<rich:toolBar>
+ ...
+ <rich:toolBarGroup>
+ <!--Set of action or other JSF components-->
+ </rich:toolBarGroup>
+ <rich:toolBarGroup>
+ <!--Set of action or other JSF components-->
+ </rich:toolBarGroup>
+ ...
+</rich:toolBar>
...
]]></programlisting>
</section>
@@ -95,16 +95,16 @@
><property>"location"</property></emphasis> attribute with "left" (DEFAULT) and "right" values.</para>
<para><emphasis role="bold">Example:</emphasis></para>
<programlisting role="XML"><![CDATA[...
- <rich:toolBar itemSeparator="disc" width="500">
- <rich:toolBarGroup itemSeparator="line">
- <h:commandLink value="Command 1.1"/>
- <h:commandLink value="Command 2.1"/>
- </rich:toolBarGroup>
- <rich:toolBarGroup itemSeparator="line" location="right">
- <h:commandLink value="Command 1.2"/>
- <h:commandLink value="Command 2.2"/>
- </rich:toolBarGroup>
- </rich:toolBar>
+<rich:toolBar itemSeparator="disc" width="500">
+ <rich:toolBarGroup itemSeparator="line">
+ <h:commandLink value="Command 1.1"/>
+ <h:commandLink value="Command 2.1"/>
+ </rich:toolBarGroup>
+ <rich:toolBarGroup itemSeparator="line" location="right">
+ <h:commandLink value="Command 1.2"/>
+ <h:commandLink value="Command 2.2"/>
+ </rich:toolBarGroup>
+</rich:toolBar>
...
]]></programlisting>
<para>The code result is the following:</para>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolTip.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolTip.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/toolTip.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -398,7 +398,6 @@
.rich-tool-tip{
background-color: #eef2f8;
border-color: #7196c8;
-
}
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tree.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/tree.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -415,7 +415,7 @@
<programlisting role="XML"><![CDATA[...
<h:form>
<rich:tree style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}">
- ...
+ ...
<rich:treeNode type="album" iconLeaf="/images/tree/album.gif" icon="/images/tree/album.gif"
rendered="#{item.exist}">
<h:outputText value="#{item.name}" />
@@ -424,7 +424,7 @@
rendered="#{not item.exist}">
<h:outputText value="#{item.name}" />
</rich:treeNode>
- ...
+ ...
</rich:tree>
</h:form>
...]]></programlisting>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/treeNode.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/treeNode.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/treeNode.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -50,11 +50,11 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:tree ... faceNode="simpleNode">
- <rich:treeNode type="simpleNode">
- <!--Tree node data displaying template-->
- </rich:treeNode>
- </rich:tree>
+<rich:tree ... faceNode="simpleNode">
+ <rich:treeNode type="simpleNode">
+ <!--Tree node data displaying template-->
+ </rich:treeNode>
+</rich:tree>
...
]]></programlisting>
</section>
@@ -85,24 +85,24 @@
facets contents are used as icons. The width of a rendered facet area is 16px. </para>
<programlisting role="XML"><![CDATA[...
- <rich:tree ...>
- ...
- <rich:treeNode ...>
- <f:facet name="icon">
- <outputText value="A"/>
- </f:facet>
- <f:facet name="iconCollapsed">
- <outputText value="B"/>
- </f:facet>
- <f:facet name="iconExpanded">
- <outputText value="C"/>
- </f:facet>
- <f:facet name="iconLeaf">
- <outputText value="D"/>
- </f:facet>
- </rich:treeNode>
- ...
- </rich:tree>
+<rich:tree ...>
+ ...
+ <rich:treeNode ...>
+ <f:facet name="icon">
+ <outputText value="A"/>
+ </f:facet>
+ <f:facet name="iconCollapsed">
+ <outputText value="B"/>
+ </f:facet>
+ <f:facet name="iconExpanded">
+ <outputText value="C"/>
+ </f:facet>
+ <f:facet name="iconLeaf">
+ <outputText value="D"/>
+ </f:facet>
+ </rich:treeNode>
+ ...
+</rich:tree>
...
]]></programlisting>
<para>As it has been mentioned <link linkend="treeNode">above</link>, <emphasis role="bold"><property><rich:treeNode></property></emphasis> defines a template for nodes
@@ -112,12 +112,12 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:tree ... faceNode="simpleNode" ... value="#{bean.data}" var="data">
- <rich:treeNode type="simpleNode">
- <h:outputText value="context-param:"/>
- <h:inputText value="#{data.name}"/>
- </rich:treeNode>
- </rich:tree >
+<rich:tree ... faceNode="simpleNode" ... value="#{bean.data}" var="data">
+ <rich:treeNode type="simpleNode">
+ <h:outputText value="context-param:"/>
+ <h:inputText value="#{data.name}"/>
+ </rich:treeNode>
+</rich:tree>
...
]]></programlisting>
<figure>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/virtualEarth.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/virtualEarth.xml 2009-06-10 00:26:34 UTC (rev 14576)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/virtualEarth.xml 2009-06-10 09:06:32 UTC (rev 14577)
@@ -54,7 +54,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:virtualEarth lat="..." lng="..."/>
+<rich:virtualEarth lat="..." lng="..."/>
...
]]></programlisting>
</section>
@@ -144,7 +144,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:virtualEarth style="width:800px;" id="vm" lat="48.833" lng="2.40"
+<rich:virtualEarth style="width:800px;" id="vm" lat="48.833" lng="2.40"
dashboardSize="Normal" zoom="11" mapStyle="Hybrid" var="map" />
...
]]></programlisting>
@@ -273,14 +273,11 @@
Here
</ulink>
you can found additional information about Microsoft
- <property>Virtual Earth map</property>
- .
+ <property>Virtual Earth map</property>.
</para>
<para>
Some additional information about usage of component can be found
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/virtualEarth.jsf?c=virtualEarth">on its LiveDemo page</ulink>.</para>
-
-
</section>
</section>
More information about the richfaces-svn-commits
mailing list