JBoss Rich Faces SVN: r9140 - in trunk: framework and 8 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-06-20 09:49:57 -0400 (Fri, 20 Jun 2008)
New Revision: 9140
Modified:
trunk/extensions/gwt/pom.xml
trunk/framework/pom.xml
trunk/framework/test/pom.xml
trunk/samples/pom.xml
trunk/samples/richfaces-demo/pom.xml
trunk/samples/richfaces-ear-demo/webapp/pom.xml
trunk/samples/seamEAR/wars/seamWebapp/pom.xml
trunk/sandbox/samples/rex-demo/pom.xml
trunk/test-applications/seleniumTest/pom.xml
trunk/ui/pom.xml
Log:
add jsf 1.2_09 BETA1 dependency
Modified: trunk/extensions/gwt/pom.xml
===================================================================
--- trunk/extensions/gwt/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/extensions/gwt/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -120,12 +120,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_03</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_03</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
Modified: trunk/framework/pom.xml
===================================================================
--- trunk/framework/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/framework/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -99,7 +99,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/framework/test/pom.xml
===================================================================
--- trunk/framework/test/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/framework/test/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -47,7 +47,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
Modified: trunk/samples/pom.xml
===================================================================
--- trunk/samples/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/samples/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -182,12 +182,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
@@ -237,12 +237,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
@@ -282,12 +282,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>runtime</scope>
</dependency>
<dependency>
@@ -336,13 +336,13 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: trunk/samples/richfaces-demo/pom.xml
===================================================================
--- trunk/samples/richfaces-demo/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/samples/richfaces-demo/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -182,12 +182,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
@@ -258,12 +258,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
Modified: trunk/samples/richfaces-ear-demo/webapp/pom.xml
===================================================================
--- trunk/samples/richfaces-ear-demo/webapp/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/samples/richfaces-ear-demo/webapp/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -93,13 +93,13 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_04</version>
+ <version>1.2_09-BETA1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_04</version>
+ <version>1.2_09-BETA1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: trunk/samples/seamEAR/wars/seamWebapp/pom.xml
===================================================================
--- trunk/samples/seamEAR/wars/seamWebapp/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/samples/seamEAR/wars/seamWebapp/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -55,13 +55,13 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/sandbox/samples/rex-demo/pom.xml
===================================================================
--- trunk/sandbox/samples/rex-demo/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/sandbox/samples/rex-demo/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -163,7 +163,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_04-p02</version>
+ <version>1.2_09-BETA1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
Modified: trunk/test-applications/seleniumTest/pom.xml
===================================================================
--- trunk/test-applications/seleniumTest/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/test-applications/seleniumTest/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -63,7 +63,7 @@
<dependency>
<groupId>el-impl</groupId>
<artifactId>el-impl</artifactId>
- </dependency>
+ </dependency>
</dependencies>
<type>embedded</type>
</container>
@@ -74,8 +74,8 @@
</cargo.servlet.port>
</properties>
</configuration>
- </configuration>
- <executions>
+ </configuration>
+ <executions>
<execution>
<id>start-container</id>
<phase>pre-integration-test</phase>
@@ -89,7 +89,7 @@
<goals>
<goal>stop</goal>
</goals>
- </execution>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -172,7 +172,7 @@
<goals>
<goal>xvfb</goal>
</goals>
- </execution>
+ </execution>
<execution>
<phase>pre-integration-test</phase>
@@ -209,8 +209,8 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>1.0-beta-2</version>
- <executions>
- <!--
+ <executions>
+ <!--
<execution>
<phase>pre-integration-test</phase>
<goals>
@@ -220,8 +220,8 @@
<background>true</background>
<debug>false</debug>
</configuration>
- </execution>
- -->
+ </execution>
+ -->
</executions>
</plugin>
</plugins>
@@ -272,11 +272,11 @@
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
<version>3.2.2-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-impl</artifactId>
- <version>1.2_07</version>
- </dependency>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>1.2_09-BETA1</version>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: trunk/ui/pom.xml
===================================================================
--- trunk/ui/pom.xml 2008-06-20 13:39:50 UTC (rev 9139)
+++ trunk/ui/pom.xml 2008-06-20 13:49:57 UTC (rev 9140)
@@ -178,7 +178,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_07</version>
+ <version>1.2_09-BETA1</version>
<scope>provided</scope>
</dependency>
</dependencies>
16 years
JBoss Rich Faces SVN: r9139 - in trunk/ui/componentControl/src/main: java/org/richfaces/renderkit and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-06-20 09:39:50 -0400 (Fri, 20 Jun 2008)
New Revision: 9139
Modified:
trunk/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java
trunk/ui/componentControl/src/main/java/org/richfaces/renderkit/ComponentControlRendererBase.java
trunk/ui/componentControl/src/main/templates/htmlComponentControl.jspx
Log:
Proper escapement for JavaScript parameters added
Modified: trunk/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java
===================================================================
--- trunk/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java 2008-06-20 13:39:43 UTC (rev 9138)
+++ trunk/ui/componentControl/src/main/java/org/richfaces/component/UIComponentControl.java 2008-06-20 13:39:50 UTC (rev 9139)
@@ -48,9 +48,7 @@
JSFunction invocation = new JSFunction("Richfaces.componentControl.performOperation");
invocation.addParameter(new JSReference("event"));
- //FIXME: Maksim
- //Replacement looks ugly - move that functionality to HtmlUtil
- invocation.addParameter(targetId.replace("\\\\", "\\"));
+ invocation.addParameter(targetId);
invocation.addParameter(getOperation());
invocation.addParameter(new JSReference("{" + getEncodedParametersMap() + "}"));
invocation.addParameter(Boolean.valueOf(isDisableDefault()));
Modified: trunk/ui/componentControl/src/main/java/org/richfaces/renderkit/ComponentControlRendererBase.java
===================================================================
--- trunk/ui/componentControl/src/main/java/org/richfaces/renderkit/ComponentControlRendererBase.java 2008-06-20 13:39:43 UTC (rev 9138)
+++ trunk/ui/componentControl/src/main/java/org/richfaces/renderkit/ComponentControlRendererBase.java 2008-06-20 13:39:50 UTC (rev 9139)
@@ -127,7 +127,7 @@
} else if (isImmediate) {
}
writer.write(attachEventBodyStart);
- writer.write(replaceClientIds(context, component, result[i]));
+ writer.write(getUtils().escapeJavaScript(replaceClientIds(context, component, result[i])));
writer.write(attachEventBodyEnd.toString());
if (isOnLoad || isOnAvailable) {
Modified: trunk/ui/componentControl/src/main/templates/htmlComponentControl.jspx
===================================================================
--- trunk/ui/componentControl/src/main/templates/htmlComponentControl.jspx 2008-06-20 13:39:43 UTC (rev 9138)
+++ trunk/ui/componentControl/src/main/templates/htmlComponentControl.jspx 2008-06-20 13:39:50 UTC (rev 9139)
@@ -31,7 +31,8 @@
String operation = (String) variables.getVariable("operation");
checkValidity(clientId, name, attachTiming, forAttr, operation);
- variables.setVariable("forAttr", replaceClientIds(context, component, forAttr));
+ variables.setVariable("forAttr", getUtils().escapeJavaScript(
+ replaceClientIds(context, component, forAttr)));
variables.setVariable("attachTo", replaceClientIds(context, component, attachTo));
]]>
</jsp:scriptlet>
16 years
JBoss Rich Faces SVN: r9138 - in trunk/ui/jQuery/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-06-20 09:39:43 -0400 (Fri, 20 Jun 2008)
New Revision: 9138
Modified:
trunk/ui/jQuery/src/main/java/org/richfaces/renderkit/JQueryRendererBase.java
trunk/ui/jQuery/src/main/templates/jQuery.jspx
Log:
Proper escapement for JavaScript parameters added
Modified: trunk/ui/jQuery/src/main/java/org/richfaces/renderkit/JQueryRendererBase.java
===================================================================
--- trunk/ui/jQuery/src/main/java/org/richfaces/renderkit/JQueryRendererBase.java 2008-06-20 13:38:48 UTC (rev 9137)
+++ trunk/ui/jQuery/src/main/java/org/richfaces/renderkit/JQueryRendererBase.java 2008-06-20 13:39:43 UTC (rev 9138)
@@ -4,7 +4,6 @@
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
-import org.ajax4jsf.javascript.JSEncoder;
import org.ajax4jsf.renderkit.HeaderResourcesRendererBase;
import org.richfaces.component.UIJQuery;
import org.richfaces.component.util.HtmlUtil;
@@ -49,20 +48,4 @@
return HtmlUtil.expandIdSelector(selector, component, context);
}
- public String escapeJavaScript(Object o) {
- if (o != null) {
- JSEncoder encoder = new JSEncoder();
- StringBuffer result = new StringBuffer();
- String string = o.toString();
- int length = string.length();
-
- for (int i = 0; i < length; i++) {
- result.append(encoder.encode(string.charAt(i)));
- }
-
- return result.toString();
- } else {
- return null;
- }
- }
}
Modified: trunk/ui/jQuery/src/main/templates/jQuery.jspx
===================================================================
--- trunk/ui/jQuery/src/main/templates/jQuery.jspx 2008-06-20 13:38:48 UTC (rev 9137)
+++ trunk/ui/jQuery/src/main/templates/jQuery.jspx 2008-06-20 13:39:43 UTC (rev 9138)
@@ -26,7 +26,8 @@
String selector = (String) variables.getVariable("selector");
checkValidity(clientId, name, timing, query);
- variables.setVariable("selector", replaceClientIds(context, component, selector));
+ variables.setVariable("selector", getUtils().escapeJavaScript(
+ replaceClientIds(context, component, selector)));
]]>
</jsp:scriptlet>
@@ -34,9 +35,9 @@
<script type="text/javascript">
//<![CDATA[
function #{name}(elm, param) {
- var selector = '#{selector}';
+ var selector = "#{selector}";
try {
- selector = eval("#{this:escapeJavaScript(selector)}");
+ selector = eval("#{selector}");
} catch (e) {}
jQuery(elm || selector).#{query};
@@ -49,9 +50,9 @@
<script type="text/javascript">
//<![CDATA[
{
- var selector = '#{selector}';
+ var selector = "#{selector}";
try {
- selector = eval("#{this:escapeJavaScript(selector)}");
+ selector = eval("selector}");
} catch (e) {}
jQuery(selector).#{query};
}
@@ -63,9 +64,9 @@
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function() {
- var selector = '#{selector}';
+ var selector = "#{selector}";
try {
- selector = eval("#{this:escapeJavaScript(selector)}");
+ selector = eval("#{selector}");
} catch (e) {}
jQuery(selector).#{query};
});
16 years
JBoss Rich Faces SVN: r9137 - trunk/test-applications/jsp/src/main/webapp/SortingAndFiltering.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-06-20 09:38:48 -0400 (Fri, 20 Jun 2008)
New Revision: 9137
Modified:
trunk/test-applications/jsp/src/main/webapp/SortingAndFiltering/SortingAndFiltering.jsp
Log:
ListDataModel added(RF-3012)
Modified: trunk/test-applications/jsp/src/main/webapp/SortingAndFiltering/SortingAndFiltering.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SortingAndFiltering/SortingAndFiltering.jsp 2008-06-20 13:38:26 UTC (rev 9136)
+++ trunk/test-applications/jsp/src/main/webapp/SortingAndFiltering/SortingAndFiltering.jsp 2008-06-20 13:38:48 UTC (rev 9137)
@@ -55,8 +55,27 @@
<h:outputText value="sortBy"></h:outputText>
</h:panelGrid>
</h:panelGrid>
- <rich:dataTable id="dataTableSAFID" value="#{sortingAndFiltering.data}"
- var="data" sortMode="#{sortingAndFiltering.sortMode}">
+ <h:panelGroup id="selectionTable">
+ <table>
+ <tr>
+ <td>Selected Issue</td>
+ <td>
+ <h:outputText value="#{sortingAndFiltering.selectedItem.int0}"></h:outputText>
+ </td>
+ <td>
+ <h:outputText value="#{sortingAndFiltering.selectedItem.str0}"></h:outputText>
+ </td>
+ <td>
+ <h:outputText value="#{sortingAndFiltering.selectedItem.str1}"></h:outputText>
+ </td>
+ <td>
+ <h:outputText value="#{sortingAndFiltering.selectedItem.str2}"></h:outputText>
+ </td>
+ </tr>
+ </table>
+ </h:panelGroup>
+ <rich:dataTable id="dataTableSAFID" value="#{sortingAndFiltering.dataModel}"
+ var="data" sortMode="#{sortingAndFiltering.sortMode}" rendered="#{sortingAndFiltering.rendered}">
<f:facet name="caption"><h:outputText value="sortMode: #{sortingAndFiltering.sortMode}"></h:outputText></f:facet>
<rich:column sortBy="#{data.int0}"
selfSorted="#{sortingAndFiltering.selfSorted}"
@@ -64,7 +83,7 @@
<f:facet name="header">
<h:outputText value="#1" />
</f:facet>
- <h:outputText value="#{data.int0}"></h:outputText>
+ <a4j:commandLink value="Select" action="#{sortingAndFiltering.select}" reRender="dataTableSAFID"></a4j:commandLink>
<f:facet name="footer">
<h:outputText value="#1" />
</f:facet>
@@ -188,6 +207,10 @@
<h:selectBooleanCheckbox value="#{sortingAndFiltering.selfSorted}"
onchange="submit();" />
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{sortingAndFiltering.rendered}"
+ onchange="submit();" />
+
<h:outputText value="sortOrder" />
<h:selectOneRadio value="#{sortingAndFiltering.currentSortOrder}"
onchange="submit();">
16 years
JBoss Rich Faces SVN: r9136 - trunk/test-applications/jsp/src/main/java/sortingAndFiltering.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-06-20 09:38:26 -0400 (Fri, 20 Jun 2008)
New Revision: 9136
Modified:
trunk/test-applications/jsp/src/main/java/sortingAndFiltering/SortingAndFiltering.java
Log:
ListDataModel added(RF-3012)
Modified: trunk/test-applications/jsp/src/main/java/sortingAndFiltering/SortingAndFiltering.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/sortingAndFiltering/SortingAndFiltering.java 2008-06-20 12:00:50 UTC (rev 9135)
+++ trunk/test-applications/jsp/src/main/java/sortingAndFiltering/SortingAndFiltering.java 2008-06-20 13:38:26 UTC (rev 9136)
@@ -4,9 +4,9 @@
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Random;
-
+import javax.faces.model.ListDataModel;
import org.richfaces.model.Ordering;
-
+import org.richfaces.component.html.HtmlDataTable;
import util.data.Data;
public class SortingAndFiltering {
@@ -19,6 +19,10 @@
private String currentSortOrder;
private String filterInput;
private String filterValue;
+ private boolean rendered;
+ private ListDataModel dataModel;
+ private HtmlDataTable myDataTable = new HtmlDataTable();
+ private Data selectedItem;
private final Comparator<Data> comparator = new Comparator<Data> () {
public int compare(Data o1, Data o2) {
@@ -56,6 +60,7 @@
sortMode = "single";
sortOrder = Ordering.ASCENDING;
currentSortOrder = "ASCENDING";
+ rendered = true;
boolean b = true;
Random r = new Random();
for(int i = 0; i < 10; i++)
@@ -64,9 +69,11 @@
data.get(0).setStr0(null);
data.get(1).setStr1(null);
data.get(2).setStr2(null);
- data.get(3).setStr3(null);
+ data.get(3).setStr3(null);
+ dataModel = new ListDataModel(data);
}
+
public String getSortMode() {
return sortMode;
}
@@ -136,6 +143,40 @@
public Comparator<Data> getComparator() {
return comparator;
}
-
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public ListDataModel getDataModel() {
+ return dataModel;
+ }
+
+ public void setDataModel(ListDataModel dataModel) {
+ this.dataModel = dataModel;
+ }
+
+ public HtmlDataTable getMyDataTable() {
+ return myDataTable;
+ }
+
+ public void setMyDataTable(HtmlDataTable myDataTable) {
+ this.myDataTable = myDataTable;
+ }
+ public void select() {
+ selectedItem = (Data)dataModel.getRowData();
+ }
+
+ public Data getSelectedItem() {
+ return selectedItem;
+ }
+
+ public void setSelectedItem(Data selectedItem) {
+ this.selectedItem = selectedItem;
+ }
+
}
16 years
JBoss Rich Faces SVN: r9135 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-06-20 08:00:50 -0400 (Fri, 20 Jun 2008)
New Revision: 9135
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
RF-3678 - added information about rich:findComponent function: description and code example
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2008-06-20 11:51:28 UTC (rev 9134)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2008-06-20 12:00:50 UTC (rev 9135)
@@ -917,6 +917,18 @@
<code>#{rich:clientId('id')}.component</code>
</para>
</listitem>
+ <listitem>
+ <para>
+ <code>rich:findComponent('id')</code>
+ - returns an instance of UIComponent taking the short ID of the component as a parameter.
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<h:inputText id="myInput">
+ <a4j:support event="onkeyup" reRender="outtext"/>
+</h:inputText>
+<h:outputText id="outtext" value="#{rich:findComponent('myInput').value}" />
+...]]></programlisting>
+ </listitem>
</itemizedlist>
</section>
16 years
JBoss Rich Faces SVN: r9134 - trunk/docs/cdkguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-06-20 07:51:28 -0400 (Fri, 20 Jun 2008)
New Revision: 9134
Modified:
trunk/docs/cdkguide/en/src/main/docbook/modules/setup.xml
Log:
http://jira.jboss.com/jira/browse/RF-3692 - some info was changed
Modified: trunk/docs/cdkguide/en/src/main/docbook/modules/setup.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/setup.xml 2008-06-20 11:43:11 UTC (rev 9133)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/setup.xml 2008-06-20 11:51:28 UTC (rev 9134)
@@ -5,13 +5,13 @@
<keywordset>
<keyword>setup</keyword>
<keyword>CDK</keyword>
- <keyword>Guide</keyword>
+ <keyword>Guide</keyword>
</keywordset>
</chapterinfo>
- <title>Setting up the enviroment</title>
+ <title>Setting up the environment</title>
<para>
- To start working with the project, it's necessary to have Maven installed. In order to install it:
+ To start working with the project, it's necessary to have Maven installed.
</para>
</chapter>
\ No newline at end of file
16 years
JBoss Rich Faces SVN: r9133 - trunk/docs/cdkguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-06-20 07:43:11 -0400 (Fri, 20 Jun 2008)
New Revision: 9133
Modified:
trunk/docs/cdkguide/en/src/main/docbook/modules/roadmap.xml
Log:
http://jira.jboss.com/jira/browse/RF-3692 - some info was added
Modified: trunk/docs/cdkguide/en/src/main/docbook/modules/roadmap.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/roadmap.xml 2008-06-20 11:42:39 UTC (rev 9132)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/roadmap.xml 2008-06-20 11:43:11 UTC (rev 9133)
@@ -11,7 +11,7 @@
<title>Document Roadmap</title>
<para>
- This document is aimed to to describe components development with Ajax4jsf Component Factory and factory features.
+ This document is aimed to describe components development with Ajax4jsf Component Factory and factory features.
</para>
</chapter>
\ No newline at end of file
16 years
JBoss Rich Faces SVN: r9132 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-06-20 07:42:39 -0400 (Fri, 20 Jun 2008)
New Revision: 9132
Modified:
trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml
trunk/docs/userguide/en/src/main/docbook/included/panel.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml
trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
trunk/docs/userguide/en/src/main/docbook/included/separator.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/separator.xml
trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/spacer.xml
trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
trunk/docs/userguide/en/src/main/docbook/included/tab.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/tab.xml
trunk/docs/userguide/en/src/main/docbook/included/tabPanel.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/toggleControl.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/togglePanel.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
Log:
RF-672 - corrected attributes names for orderingList, paint2d, panel, panelmenu, panelmenugroup, panelmenuitem, picklist, progressbar, scrollabledatatable, separator, simpletogglepanel, spacer, tabpanel, tab, togglepanel, toolbar, toolbargroup, tooltip, tree components.
RF-3161 - partly done for orderingList, paint2d, panel, panelbar, panelbaritem, panelmenu, panelmenugroup, panelmenuitem, separator, simpletogglepanel, suggestionbox, tabpanel, tab, togglepanel, toolbar, toolbargroup, tooltip, tree
Modified: trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -101,7 +101,7 @@
</para>
<note>
<para>
- Currently the button controls type is based on <div> element.
+ Currently the button controls type is based on <emphasis role="bold"><property><div></property></emphasis> element.
</para>
</note>
<para> The <emphasis>
@@ -135,13 +135,11 @@
...]]></programlisting>
<para> The <emphasis role="bold">
<property><rich:orderingList></property>
- </emphasis> component allows to use <emphasis>
- <property>"caption"</property>
- </emphasis>
+ </emphasis> component allows to use <code>"caption"</code>
<!--and <emphasis>
<property>"footer" </property>
</emphasis> -->
- facet.
+ facet.
A caption could be also defined with <emphasis>
<property>"captionLabel"</property></emphasis> attribute.
</para>
@@ -186,23 +184,9 @@
</emphasis>, <emphasis>
<property>"downControlLabel"</property>
</emphasis>attributes. </para>
- <para>It is also possible to use <emphasis>
- <property> "topControl" </property>
- </emphasis>, <emphasis>
- <property>"topControlDisabled"</property>
- </emphasis> , <emphasis>
- <property> "bottomControl"</property>
- </emphasis> , <emphasis>
- <property> "bottomControlDisabled" </property>
- </emphasis>, <emphasis>
- <property> "upControl" </property>
- </emphasis>, <emphasis>
- <property> "upControlDisabled" </property>
- </emphasis>, <emphasis>
- <property> "downControl"</property>
- </emphasis> , <emphasis>
- <property> "downControlDisabled" </property>
- </emphasis> facets in order to replace the default controls with facets content. </para>
+ <para>It is also possible to use <code> "topControl" </code>, <code>"topControlDisabled"</code> , <code> "bottomControl"</code> ,
+ <code> "bottomControlDisabled" </code>, <code> "upControl" </code>, <code> "upControlDisabled" </code>,
+ <code> "downControl"</code> , <code> "downControlDisabled" </code> facets in order to replace the default controls with facets content. </para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -283,13 +267,13 @@
<para>
The <emphasis role="bold"><property><rich:orderingList></property></emphasis> component allows to use internationalization method
to redefine and localize the labels. You could use application resource bundle and define
- <property>RICH_SHUTTLES_TOP_LABEL</property>,
- <property>RICH_SHUTTLES_BOTTOM_LABEL</property>,
- <property>RICH_SHUTTLES_UP_LABEL</property>,
- <property>RICH_SHUTTLES_DOWN_LABEL</property> there.
+ <code>RICH_SHUTTLES_TOP_LABEL</code>,
+ <code>RICH_SHUTTLES_BOTTOM_LABEL</code>,
+ <code>RICH_SHUTTLES_UP_LABEL</code>,
+ <code>RICH_SHUTTLES_DOWN_LABEL</code> there.
</para>
<para>
- You could also pack <property>org.richfaces.renderkit.orderingList</property> resource bundle with your JARs defining the same properties.
+ You could also pack <code>org.richfaces.renderkit.orderingList</code> resource bundle with your JARs defining the same properties.
</para>
<!-- Wiil be done for 3.2.0 version-->
<!--para>The component provides possibility to be customized using templating. The
Modified: trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -95,7 +95,7 @@
</itemizedlist>
<para>
<note>
- <title>Note:</title><para>data object should implement serializable interface </para></note>
+ <title>Note:</title><para>Data object should implement serializable interface </para></note>
</para>
<para>The <emphasis>
<property>"format"</property>
@@ -104,9 +104,7 @@
with <emphasis>
<property>"cacheable"</property>
</emphasis> attribute. If cache support is turned on, a key is created in URI with a mix of
- size (width/height), <emphasis>
- <property>"paint"</property>
- </emphasis> method, <emphasis>
+ size (width/height), <code>"paint"</code> method, <emphasis>
<property>"format"</property>
</emphasis> and <emphasis>
<property>"data"</property>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -73,7 +73,7 @@
<section>
<title>Details of Usage</title>
<para>The <emphasis ><property>"header"</property></emphasis > attribute defines text to be represented. If you can use the
- <emphasis ><property>"header"</property></emphasis > facet, you can even not use the <emphasis ><property>"header"</property></emphasis > attribute.</para>
+ <code>"header"</code > facet, you can even not use the <emphasis ><property>"header"</property></emphasis > attribute.</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -151,9 +151,9 @@
</itemizedlist>
<para>Moreover, to add e.g. some JavaScript effects, events defined on it are used.</para>
<itemizedlist>
- <listitem><para> "onmouseover" </para></listitem>
- <listitem><para> "onclick" </para></listitem>
- <listitem><para> "onmouseout" </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseover"</property></emphasis> </para></listitem>
+ <listitem><para> <emphasis><property>"onclick"</property></emphasis> </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseout"</property></emphasis> </para></listitem>
<listitem><para> etc. </para></listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -77,10 +77,8 @@
<title>Details of Usage</title>
<para>The <emphasis>
<property> "label"</property>
- </emphasis> attribute defines text to be represented. If you can use the <emphasis>
+ </emphasis> attribute defines text to be represented. If you can use the <code>"label"</code> facet, you can even not use the <emphasis>
<property>"label"</property>
- </emphasis> facet, you can even not use the <emphasis>
- <property>"label"</property>
</emphasis> attribute.</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -88,9 +88,7 @@
<para>Use <emphasis>
<property>"event"</property>
</emphasis> attribute to define an event for appearance of collapsing/expanding sublevels.
- Default value is <emphasis>
- <property>"onclick"</property>
- </emphasis>. An example could be seen below.</para>
+ Default value is "onclick". An example could be seen below.</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -199,7 +199,7 @@
<section>
<title>JavaScript API</title>
<para>In Java Script code for expanding/collapsing group element creation it's
- necessary to use <code>Expand()</code>/<code>Collapse()</code> function.</para>
+ necessary to use <code>expand()</code>/<code>collapse()</code> function.</para>
<table>
<title>JavaScript API</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -97,7 +97,7 @@
<itemizedlist>
<listitem>
- <para>Server (default)</para>
+ <para><code>Server</code> (default)</para>
</listitem>
</itemizedlist>
@@ -105,7 +105,7 @@
<itemizedlist>
<listitem>
- <para>Ajax</para>
+ <para><code>Ajax</code></para>
</listitem>
</itemizedlist>
@@ -113,7 +113,7 @@
<itemizedlist>
<listitem>
- <para>None</para>
+ <para><code>None</code></para>
</listitem>
</itemizedlist>
@@ -124,9 +124,7 @@
</emphasis> attributes are ignored. Items don't fire any submits itself. Behavior is
fully defined by the components nested into items.</para>
- <para>Here is an example for value <emphasis>
- <property>"none"</property>
- </emphasis>:</para>
+ <para>Here is an example for value "none":</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/pickList.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/pickList.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -136,7 +136,7 @@
With the help of <emphasis><property>"moveControlsVerticalAlign"</property></emphasis> attribute
you can align <property>move controls</property> vertically.
</para>
- <para>The possible value for <emphasis><property>"moveControlsVerticalAlign"</property></emphasis> are <property>"top"</property>, <property>"bottom"</property> and <property>"center"</property>(default value).</para>
+ <para>The possible value for <emphasis><property>"moveControlsVerticalAlign"</property></emphasis> are "top", "bottom" and "center" (default value).</para>
<para>
The <emphasis role="bold">
Modified: trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -68,15 +68,15 @@
component displays the status of the ongoing process.
</para>
- <para>The <emphasis role="bold"><property><rich:progressBar></property> </emphasis> component can run in two modes: Ajax (default) and Client.
+ <para>The <emphasis role="bold"><property><rich:progressBar></property> </emphasis> component can run in two modes: <code>Ajax</code> (default) and <code>Client</code>.
</para>
<itemizedlist>
<listitem>
- <para><property>Ajax</property> - In this mode the component works the same way as <emphasis role="bold"><property><a4j:poll/></property></emphasis> which gets the current progress value from the sever, repeating after a set time interval. </para>
+ <para><code>Ajax</code> - In this mode the component works the same way as <emphasis role="bold"><property><a4j:poll/></property></emphasis> which gets the current progress value from the sever, repeating after a set time interval. </para>
</listitem>
<listitem>
- <para><property>Client</property> - The current progress value in <property>Client</property> mode is set using JavaScript API </para>
+ <para><code>Client</code> - The current progress value in <property>Client</property> mode is set using JavaScript API </para>
</listitem>
</itemizedlist>
<para>
@@ -360,9 +360,9 @@
<para>
- The component can also employ <emphasis><property> "initial"</property></emphasis> and <emphasis><property> "complete"</property></emphasis>
- facets to display the states of the process: <emphasis><property> "initial"</property></emphasis> facet is displayed when the progress value is less or equal to <emphasis><property> "minValue"</property></emphasis>
- , and the <emphasis><property> "complete"</property></emphasis> facet is shown when the value is greater or equal to <emphasis><property> "maxValue"</property></emphasis>. Please see an example below.
+ The component can also employ <code> "initial"</code> and <code> "complete"</code>
+ facets to display the states of the process: <code> "initial"</code> facet is displayed when the progress value is less or equal to <emphasis><property> "minValue"</property></emphasis>
+ , and the <code> "complete"</code> facet is shown when the value is greater or equal to <emphasis><property> "maxValue"</property></emphasis>. Please see an example below.
</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -76,10 +76,10 @@
or collapse the columns through JS API on the client side. You can define the number of the
fixed columns from the left side using attribute <emphasis>
<property>"frozenColCount"</property>
- </emphasis> that is not scrolled via horizontal scroll. </para>
+ </emphasis> that is not scrolled via horizontal scroll. </para>
<para> There is possibility to increase component performance using attribute <emphasis>
<property>"hideWhenScrolling"</property>
- </emphasis>. If attribute value is 'true' data is hidden during scrolling. </para>
+ </emphasis>. If attribute value is "true" data is hidden during scrolling. </para>
<para> It's possible to select the whole row with onclick on the row or some set of rows.
Selection is optional and availability of such feature is defined on the component. There are
@@ -92,7 +92,7 @@
<para> The columns provides the possibility of expanding/collapsing on the client side through
the next JS API: <itemizedlist>
- <listitem><para>Collapse(columnId) - Performs the collapse action for the column with the
+ <listitem><para><code>collapse(columnId)</code> - Performs the collapse action for the column with the
corresponding id</para></listitem>
</itemizedlist> It's possible to sort the table content after clicks on the header. The
feature is optional. Every column should be pointed to the comparator method that is used
@@ -199,12 +199,12 @@
<para> The <emphasis role="bold">
<property><rich:scrollableDataTable></property>
</emphasis> component has the following extra attributes for event processing on the client: <itemizedlist>
- <listitem><para>onselectionchange</para></listitem>
- <listitem><para>oncomplete</para></listitem>
- <listitem><para>onRowClick</para></listitem>
- <listitem><para>onRowDblClick</para></listitem>
- <listitem><para>onRowMouseUp</para></listitem>
- <listitem><para>onRowMouseDown</para></listitem>
+ <listitem><para><emphasis><property>"onselectionchange"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"oncomplete"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"onRowClick"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"onRowDblClick"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"onRowMouseUp"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"onRowMouseDown"</property></emphasis></para></listitem>
</itemizedlist>
</para>
<para>Information about sorting and filtering you can find <link linkend="sortAndFilter">here</link>.</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/separator.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/separator.desc.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/separator.desc.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -8,7 +8,7 @@
<section>
<title>Description</title>
<para>A horizontal line to use as a <property>separator</property> in a layout. The line type
- can be customized with the <emphasis ><property>"lineType"</property></emphasis> parameter.</para>
+ can be customized with the <code>"lineType"</code> parameter.</para>
<figure>
<title><emphasis role="bold"><property><rich:separator></property></emphasis> component</title>
<mediaobject>
Modified: trunk/docs/userguide/en/src/main/docbook/included/separator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -72,18 +72,12 @@
which represents a <property>separator</property> stylized as a skin.
Thus, the main attributes that define its style are <emphasis> <property>"style"</property>
</emphasis> and <emphasis><property>"styleClass".</property>
- </emphasis> In addition there are <emphasis><property>width</property></emphasis> and <emphasis><property>height</property>
+ </emphasis> In addition there are <emphasis><property>"width"</property></emphasis> and <emphasis><property>"height"</property>
</emphasis> attributes that should be specified in pixels.
- On the HTML page the component is transposed into HTML <div> tag.</para>
+ On the HTML page the component is transposed into HTML <emphasis role="bold"><property><div></property></emphasis> tag.</para>
- <para>The line type can be customized with the <emphasis>
- <property>"lineType"</property>
- </emphasis> parameter. For example, different line types are shown after rendering with the
- following initial settings <emphasis>
- <property>lineType="double"</property>
- </emphasis>and <emphasis>
- <property>"lineType="solid".</property>
- </emphasis>
+ <para>The line type can be customized with the <code>"lineType"</code> parameter. For example, different line types are shown after rendering with the
+ following initial settings <code>lineType="double"</code>and <code>lineType="solid"</code>.
</para>
<figure>
<title>Different line types of <emphasis role="bold"><property><rich:separator></property></emphasis></title>
@@ -94,11 +88,11 @@
</mediaobject>
</figure>
- <para>Except style attributes, there are also event definition attributes.</para>
+ <para>Except style attributes, there are also event definition attributes:</para>
<itemizedlist>
- <listitem><para> onmouseover </para></listitem>
- <listitem><para> onclick </para></listitem>
- <listitem><para> onmouseout </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseover"</property></emphasis> </para></listitem>
+ <listitem><para> <emphasis><property>"onclick"</property></emphasis> </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseout"</property></emphasis> </para></listitem>
<listitem><para> etc. </para></listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.desc.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.desc.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -25,9 +25,9 @@
<listitem><para>Collapsing expanding content</para></listitem>
<listitem><para>Three modes of collapsing/expanding</para>
<itemizedlist>
- <listitem><para>Server</para></listitem>
- <listitem><para>Client</para></listitem>
- <listitem><para>Ajax</para></listitem>
+ <listitem><para><code>Server</code></para></listitem>
+ <listitem><para><code>Client</code></para></listitem>
+ <listitem><para><code>Ajax</code></para></listitem>
</itemizedlist>
</listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -79,17 +79,17 @@
<property>"switchType"</property>
</emphasis> attribute with three possible parameters.</para>
<itemizedlist>
- <listitem><para> Server (DEFAULT)</para><para>The common submission is performed around
+ <listitem><para> <code>Server</code> (DEFAULT)</para><para>The common submission is performed around
<property>simpleTogglePanel</property> and a page is completely rendered on a called
panel. Only one at a time panel is uploaded onto the client side.</para>
</listitem>
- <listitem><para> Ajax</para><para>AJAX form submission is performed around the panel, content of the called
+ <listitem><para><code> Ajax</code></para><para>AJAX form submission is performed around the panel, content of the called
panel is uploaded on Ajax request and additionally specified elements in the <emphasis>
<property>"reRender"</property>
</emphasis> attribute are rendered. Only one at a time panel is uploaded on the client
side.</para>
</listitem>
- <listitem><para>Client</para> <para> All panels are uploaded on the client side. Switching from the active
+ <listitem><para><code>Client</code></para> <para> All panels are uploaded on the client side. Switching from the active
to the hidden panel is performed with client JavaScript.</para>
</listitem>
</itemizedlist>
@@ -104,9 +104,9 @@
<!--SIMPLE EXAMPLE NEEDED -->
<itemizedlist>
- <listitem><para> onmouseover </para></listitem>
- <listitem><para> onclick </para></listitem>
- <listitem><para> onmouseout </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseover "</property></emphasis></para></listitem>
+ <listitem><para> <emphasis><property>"onclick "</property></emphasis></para></listitem>
+ <listitem><para> <emphasis><property>"onmouseout "</property></emphasis></para></listitem>
<listitem><para> etc. </para></listitem>
</itemizedlist>
<figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/spacer.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/spacer.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/spacer.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -78,9 +78,9 @@
</emphasis> and <emphasis><property>"height"</property>.</emphasis></para>
<para>Moreover, to add e.g. some JavaScript effects, events defined on it are used.</para>
<itemizedlist>
- <listitem><para> onmouseover </para></listitem>
- <listitem><para> onclick </para></listitem>
- <listitem><para> onmouseout </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseover "</property></emphasis></para></listitem>
+ <listitem><para> <emphasis><property>"onclick "</property></emphasis></para></listitem>
+ <listitem><para> <emphasis><property>"onmouseout "</property></emphasis></para></listitem>
<listitem><para> etc. </para></listitem>
</itemizedlist>
@@ -88,7 +88,7 @@
<section>
<title>Look-and-Feel Customization</title>
<para>On the component generation, the framework presents a default rich-spacer class in <emphasis>
- <property>styleClass</property>
+ <property>"styleClass"</property>
</emphasis> of a generated component, i.e. in order to redefine appearance of all
<property>spacers</property> at once, it's necessary to redefine this class in your
own CSS (replacing in the result properties defined in a skin with your own).</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -58,9 +58,7 @@
</rich:suggestionbBox>
...
]]></programlisting>
- <para>Here is the <emphasis>
- <code>bean.autocomplete</code>
- </emphasis> method that returns the collection to pop up:</para>
+ <para>Here is the <code>bean.autocomplete</code> method that returns the collection to pop up:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tab.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tab.desc.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/tab.desc.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -28,9 +28,9 @@
<listitem><para>Switch methods can be easily customized for every <property>tab</property>
separately with attribute to:</para>
<itemizedlist>
- <listitem><para>Server</para></listitem>
- <listitem><para>Client</para></listitem>
- <listitem><para>AJAX</para></listitem>
+ <listitem><para><code>Server</code></para></listitem>
+ <listitem><para><code>Client</code></para></listitem>
+ <listitem><para><code>AJAX</code></para></listitem>
</itemizedlist>
</listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tab.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -74,7 +74,7 @@
<title>Details of Usage</title>
<para>The main component function is to define a content group that is rendered and processed when the <property>tab</property> is active, i.e. click on a <property>tab</property> causes switching onto a <property>tab</property> containing content corresponded to this <property>tab</property>.</para>
<para>The <emphasis ><property>"label"</property></emphasis > attribute defines text to be represented. If you can use the
- <emphasis ><property>"label"</property></emphasis > facet, you can even not use the <emphasis ><property>"label"</property></emphasis > attribute.</para>
+ <code>"label"</code > facet, you can even not use the <emphasis ><property>"label"</property></emphasis > attribute.</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -130,12 +130,8 @@
<para>Each <property>tab</property> also has an attribute name (alias for <emphasis ><property>"id"</property></emphasis> attribute). Using this attribute value it's possible e.g. to set an active <property>tab</property> on a model level specifying this name in the corresponding attribute of the whole <property>tab</property>.</para>
<para>Except the specific component attributes it has all necessary attributes for JavaScript event definition.</para>
<itemizedlist>
- <listitem><para>
- onmouseover
- </para></listitem>
- <listitem><para>
- onmouseout
- </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseover"</property></emphasis> </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseout"</property></emphasis> </para></listitem>
<listitem><para>
etc.
</para></listitem>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tabPanel.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tabPanel.desc.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/tabPanel.desc.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -27,14 +27,14 @@
<listitem><para>Each tab has a unique name for direct access (e.g. for switching between tabs)</para></listitem>
<listitem><para>Switch methods can be easily customized with attribute to:</para>
<itemizedlist>
- <listitem><para>
+ <listitem><para><code>
Server
- </para></listitem>
+ </code></para></listitem>
<listitem><para>
- Client
+ <code>Client</code>
</para></listitem>
<listitem><para>
- AJAX
+ <code>AJAX</code>
</para></listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -84,18 +84,18 @@
<property>"mode"</property>
</emphasis> with three possible parameters.</para>
<itemizedlist>
- <listitem><para>Server (DEFAULT)</para><para>The common submission is performed around
+ <listitem><para><code>Server</code> (DEFAULT)</para><para>The common submission is performed around
<property>tabPanel</property> and a page is completely rendered on a called panel. Only
one at a time <property>tabPanel</property> is uploaded onto the client side.</para>
</listitem>
- <listitem><para> Ajax</para><para>AJAX form submission is performed around the
+ <listitem><para> <code>Ajax</code></para><para>AJAX form submission is performed around the
<property>tabPanel</property>, content of the called <property>tabPanel</property> is
uploaded on Ajax request and additionally specified elements in the <emphasis>
<property>"reRender"</property>
</emphasis> attribute are rendered. Only one at a time <property>tabPanel</property> is
uploaded on the client.</para>
</listitem>
- <listitem><para> Client</para><para> All <property>tabPanels</property> are uploaded on the client side.
+ <listitem><para> <code>Client</code></para><para> All <property>tabPanels</property> are uploaded on the client side.
The switching from the active to the hidden <property>panel</property> is performed with
client JavaScript.</para>
</listitem>
@@ -111,7 +111,7 @@
<para>There is also the <emphasis>
<property>"headerAlignment"</property>
</emphasis> attribute responsible for rendering of <property>tabPanel</property> components.
- The attribute has several values: left (Default), right, center, which specify Tabs components
+ The attribute has several values: "left" (Default), "right", "center", which specify Tabs components
location on the top of the tabPanel.</para>
@@ -157,8 +157,8 @@
<para>Except the specific attributes, the component has all necessary attributes for JavaScript
events definition.</para>
<itemizedlist>
- <listitem><para> onmouseover </para></listitem>
- <listitem><para> onmouseout </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseover"</property></emphasis> </para></listitem>
+ <listitem><para> <emphasis><property>"onmouseout"</property></emphasis> </para></listitem>
<listitem><para> etc. </para></listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toggleControl.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toggleControl.desc.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/toggleControl.desc.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -31,9 +31,9 @@
<listitem><para>Can be located anywhere in a page layout</para></listitem>
<listitem><para>Switching is provided in the three modes</para>
<itemizedlist>
- <listitem><para>Server</para></listitem>
- <listitem><para>Client</para></listitem>
- <listitem><para>Ajax</para></listitem>
+ <listitem><para><code>Server</code></para></listitem>
+ <listitem><para><code>Client</code></para></listitem>
+ <listitem><para><code>Ajax</code></para></listitem>
</itemizedlist>
</listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/togglePanel.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/togglePanel.desc.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/togglePanel.desc.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -25,9 +25,9 @@
<listitem><para>Support for any content inside</para></listitem>
<listitem><para>Three modes of facets switching</para>
<itemizedlist>
- <listitem><para>Server</para></listitem>
- <listitem><para>Client</para></listitem>
- <listitem><para>Ajax</para></listitem>
+ <listitem><para><code>Server</code></para></listitem>
+ <listitem><para><code>Client</code></para></listitem>
+ <listitem><para><code>Ajax</code></para></listitem>
</itemizedlist>
</listitem>
<listitem><para>Controls for <property>togglePanel</property> can be everywhere in layout</para></listitem>
Modified: trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -86,23 +86,23 @@
<property>"initialState"</property>
</emphasis> attribute, where a facet name that is shown at first is defined.</para>
<note><title>Note:</title><para> It's also possible to define an
- <property>"empty"</property> facet to implement the functionality as
+ <code>"empty"</code> facet to implement the functionality as
drop-down panels have and make the facet active when no content is required to be rendered.</para></note>
<para>Switching mode could be defined with the <emphasis>
<property>"switchType"</property>
</emphasis> attribute with three possible parameters:</para>
<itemizedlist>
- <listitem><para> Server (DEFAULT)</para><para>The common submission is performed around
+ <listitem><para> <code>Server</code> (DEFAULT)</para><para>The common submission is performed around
<property>togglePanel</property> and a page is completely rendered on a called panel.
Only one at a time the panel is uploaded onto the client side.</para>
</listitem>
- <listitem><para> Ajax</para><para>AJAX form submission is performed around the panel, content of the called
+ <listitem><para> <code>Ajax</code></para><para>AJAX form submission is performed around the panel, content of the called
panel is uploaded on an Ajax request and additionally specified elements in the <emphasis>
<property>"reRender"</property>
</emphasis> attribute are rendered. Only one at a time the panel is uploaded on the client
side.</para>
</listitem>
- <listitem><para> Client</para><para> All panels are uploaded on the client side. The switching from the
+ <listitem><para> <code>Client</code></para><para> All panels are uploaded on the client side. The switching from the
active to the hidden panel is performed with client JavaScript.</para>
</listitem>
</itemizedlist>
@@ -135,7 +135,7 @@
...
]]></programlisting>
<para>The example shows a <property>togglePanel</property> initial state when the second facet
- (panelB) is rendered and successive switching from the first to the second happens.</para>
+ (<code>panelB</code>) is rendered and successive switching from the first to the second happens.</para>
<para>
The <emphasis>
<property>"label"</property>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -80,10 +80,10 @@
<property>"itemSeparator"</property>
</emphasis> attribute with four predefined values:</para>
<itemizedlist>
- <listitem><para> none </para></listitem>
- <listitem><para> line </para></listitem>
- <listitem><para> square </para></listitem>
- <listitem><para> disc </para></listitem>
+ <listitem><para> "none" </para></listitem>
+ <listitem><para> "line" </para></listitem>
+ <listitem><para> "square" </para></listitem>
+ <listitem><para> "disc" </para></listitem>
</itemizedlist>
<para>For example, when setting a separator of a disc type, the following result is produced:</para>
<figure>
@@ -100,9 +100,7 @@
</emphasis> and <emphasis>
<property>"height"</property>
</emphasis> attributes are placed above all.</para>
- <para>A custom separator can be added with the help of <emphasis>
- <property>"itemSeparator"</property>
- </emphasis> facet.</para>
+ <para>A custom separator can be added with the help of <code>"itemSeparator"</code> facet.</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -85,22 +85,14 @@
><property>"itemSeparator"</property></emphasis> attribute with four
predefined values:</para>
<itemizedlist>
- <listitem><para>
- none
- </para></listitem>
- <listitem><para>
- line
- </para></listitem>
- <listitem><para>
- square
- </para></listitem>
- <listitem><para>
- disc
- </para></listitem>
+ <listitem><para> "none" </para></listitem>
+ <listitem><para> "line" </para></listitem>
+ <listitem><para> "square" </para></listitem>
+ <listitem><para> "disc" </para></listitem>
</itemizedlist>
<para>To control the group location inside, use the <emphasis
-><property>"location"</property></emphasis> attribute with left (DEFAULT) and right values.</para>
+><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">
@@ -190,7 +182,7 @@
</mediaobject>
</figure>
- <para>As it could be seen on the picture above,font style for first toolBarGroup was changed.</para>
+ <para>As it could be seen on the picture above,font style for first <property>toolBarGroup</property> was changed.</para>
</section>
<section>
<title>Relevant resources links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -131,7 +131,7 @@
<emphasis role="bold"><property><rich:toolTip></property></emphasis> may also be invoked by JS API function.
List of JS API functions available for <emphasis role="bold"><property><rich:toolTip></property></emphasis> is listed <link linkend="tab_jsapi">below</link>.
JS API functions are defined for a page element, the <emphasis role="bold"><property><rich:toolTip></property></emphasis> is applied to. So, <emphasis role="bold"><property><rich:toolTip></property></emphasis> can be defined separately from that page element.
- It is necessary to specify <emphasis><property>"ids"</property></emphasis> for both and set <emphasis role="bold"><property><rich:toolTip></property></emphasis> <emphasis><property>"attached"</property></emphasis> attribute's value to <emphasis><property>"false"</property></emphasis> (see the example below).
+ It is necessary to specify <emphasis><property>"ids"</property></emphasis> for both and set <emphasis role="bold"><property><rich:toolTip></property></emphasis> <emphasis><property>"attached"</property></emphasis> attribute's value to "false" (see the example below).
</para>
<programlisting role="XML"><![CDATA[...
<rich:panel id="paneld" onclick="#{rich:component("tooltipId")}.show();">
@@ -196,8 +196,8 @@
or after calling JS API function <code>show()</code>.
<emphasis><property>"hideEvent"</property></emphasis> attribute defines the way
how <emphasis role="bold"><property><rich:toolTip></property></emphasis> disappears.
- It default value is <emphasis><property>"none"</property></emphasis>, so the <emphasis role="bold"><property><rich:toolTip></property></emphasis> does not dissapears.
- Deactivation may be set for example on <emphasis>mouseout</emphasis> event on the parent component
+ It default value is "none", so the <emphasis role="bold"><property><rich:toolTip></property></emphasis> does not disappears.
+ Deactivation may be set for example on <emphasis><property>mouseout</property></emphasis> event on the parent component
(excepting the situation when the mouse is hovered onto the
<emphasis role="bold"><property><rich:toolTip></property></emphasis> itself)
or after calling JS API function <code>hide()</code>.
@@ -216,19 +216,19 @@
<para>
Standart:
<itemizedlist>
- <listitem><para>onclick</para></listitem>
- <listitem><para>ondblclick</para></listitem>
- <listitem><para>onmouseout</para></listitem>
- <listitem><para>onmousemove</para></listitem>
- <listitem><para>onmouseover</para></listitem>
+ <listitem><para><emphasis><property>"onclick"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"ondblclick"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"onmouseout"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"onmousemove"</property></emphasis></para></listitem>
+ <listitem><para><emphasis><property>"onmouseover"</property></emphasis></para></listitem>
</itemizedlist>
</para>
<para>
Special:
<itemizedlist>
- <listitem><para>onshow - Called after the tooltip is called (some element hovered) but before its request</para></listitem>
- <listitem><para>oncomplete - Called just after the tooltip is shown</para></listitem>
- <listitem><para>onhide - Called after the tooltip is hidden</para></listitem>
+ <listitem><para><emphasis><property>"onshow"</property></emphasis> - Called after the tooltip is called (some element hovered) but before its request</para></listitem>
+ <listitem><para><emphasis><property>"oncomplete"</property></emphasis> - Called just after the tooltip is shown</para></listitem>
+ <listitem><para><emphasis><property>"onhide"</property></emphasis> - Called after the tooltip is hidden</para></listitem>
</itemizedlist>
</para>
</section>
@@ -367,7 +367,7 @@
</table>
<para>
- It depends on <emphasis role="bold"><property><rich:toolTip></property></emphasis> layout what a wrapper element <emphasis><property><span></property></emphasis> or <emphasis><property><div></property></emphasis>to choose.
+ It depends on <emphasis role="bold"><property><rich:toolTip></property></emphasis> layout what a wrapper element <emphasis role="bold"><property><span></property></emphasis> or <emphasis role="bold"><property><div></property></emphasis>to choose.
</para>
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:toolTipl></property>
@@ -429,7 +429,7 @@
</mediaobject>
</figure>
- <para>As it could be seen on the picture above, background color and border color of tool tip were changed.</para>
+ <para>As it could be seen on the picture above, background color and border color of <property>tool tip</property> were changed.</para>
</section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-06-20 11:30:14 UTC (rev 9131)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-06-20 11:42:39 UTC (rev 9132)
@@ -315,14 +315,14 @@
<property><rich:tree></property>
</emphasis> component allows rendering any tree-like data model.</para>
<para>The component interacts with data model via
- <property>"TreeNode"</property> interface (<ulink
+ <code>"TreeNode"</code> interface (<ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone..."
>org.richfaces.model.TreeNode</ulink>) that is used for tree nodes representation. The <emphasis>
<property>"value"</property>
</emphasis> attribute of the <emphasis role="bold">
<property><rich:tree></property>
</emphasis> component contains a nodes structure defined in a bean property. The property
- keeps a structure of objects that implements <property>"TreeNode"</property>
+ keeps a structure of objects that implements <code>"TreeNode"</code>
interface.</para>
<para><emphasis role="bold">
<property><rich:treeNode></property>
@@ -336,15 +336,15 @@
<property><rich:tree></property>
</emphasis> component.</para>
<para>You can develop and use your own pattern of the
- <property>"TreeNode"</property> interface or use a default implementation,
- which is defined with a default class <property>"TreeNodeImpl"</property>
+ <code>"TreeNode"</code> interface or use a default implementation,
+ which is defined with a default class <code>"TreeNodeImpl"</code>
(<ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone..."
>org.richfaces.model.TreeNodeImpl</ulink>).</para>
- <para>There is a <property>"XmlTreeDataBuilder"</property> class (<ulink
+ <para>There is a <code>"XmlTreeDataBuilder"</code> class (<ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone..."
>org.richfaces.component.xml.XmlTreeDataBuilder</ulink>) that allows transforming XML into
- structures of objects containing <property>"XmlNodeData"</property> (<ulink
+ structures of objects containing <code>"XmlNodeData"</code> (<ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone..."
>org.richfaces.component.xml.XmlNodeData</ulink>) instances as data, which could be
represented by the <emphasis role="bold">
@@ -534,8 +534,8 @@
<property>"rendered"</property>
</emphasis> for the first <emphasis>
<property><rich:treeNode></property>
- </emphasis> component is <property>"true"</property>, for the second one is
- <property>"false"</property>. Thus, the first <emphasis role="bold">
+ </emphasis> component is "true", for the second one is
+ "false". Thus, the first <emphasis role="bold">
<property><rich:treeNode></property>
</emphasis> is selected for node representation. </para>
<para>Tree node can be run in tree modes. Modes can be specified with <emphasis>
@@ -544,10 +544,10 @@
<property><rich:tree></property>
</emphasis> component.</para>
<itemizedlist>
- <listitem><para>Ajax (default value) - Ajax submission is used performing the functionality.
+ <listitem><para><code>Ajax</code> (default value) - Ajax submission is used performing the functionality.
Note, that for collapse/expand operations an Ajax request is sent to the server and it can cause a short delay.</para></listitem>
- <listitem><para>Server - regular form of submission request is used.</para></listitem>
- <listitem><para>Client – all operations are performed totally on the client; no interaction with a server is involved. Full page content is reloaded after every action.</para></listitem>
+ <listitem><para><code>Server</code> - regular form of submission request is used.</para></listitem>
+ <listitem><para><code>Client</code> – all operations are performed totally on the client; no interaction with a server is involved. Full page content is reloaded after every action.</para></listitem>
</itemizedlist>
<para> The <emphasis>
<property>"icon"</property>
@@ -593,7 +593,7 @@
</emphasis> and <emphasis>
<property>"var"</property>
</emphasis>. Besides, visual representation shouldn't be defined right in the
- <property>tree</property>. In this case a <property><rich: tree></property> tag is applied mainly for defining common
+ <property>tree</property>. In this case a <emphasis role="bold"><property><rich: tree></property></emphasis> tag is applied mainly for defining common
attributes such as <emphasis>
<property>"ajaxSubmitSelection"</property>
</emphasis> etc. </para>
@@ -603,7 +603,7 @@
<tip>
<title>Tip:</title>
<para>
- rowKeyConverter support for the <emphasis role="bold"><property><rich:tree></property></emphasis> is pending!
+ <emphasis><property>"rowKeyConverter"</property></emphasis> support for the <emphasis role="bold"><property><rich:tree></property></emphasis> is pending!
</para>
</tip>
</section>
@@ -734,29 +734,27 @@
<title>Events handling</title>
<para>Listeners classes that process events on the server side are defined with the help of:</para>
<itemizedlist>
- <listitem><para>changeExpandListener processes expand/collapse event of a <property>treeNode</property></para></listitem>
- <listitem><para>dropListener processes a Drop event</para></listitem>
- <listitem><para>dragListener processes a Drag event</para></listitem>
- <listitem><para>nodeSelectListener is called during request sending on a node selecting event (if request sending on this event is defined)</para></listitem>
+ <listitem><para><property>changeExpandListener</property> processes expand/collapse event of a <property>treeNode</property></para></listitem>
+ <listitem><para><property>dropListener</property> processes a Drop event</para></listitem>
+ <listitem><para><property>dragListener</property> processes a Drag event</para></listitem>
+ <listitem><para><property>nodeSelectListener</property> is called during request sending on a node selecting event (if request sending on this event is defined)</para></listitem>
</itemizedlist>
<para>Listener methods can be defined using the <link linkend="treeNodeKF">following
attributes</link> or using nested tags.</para>
<para>Client event attributes are:</para>
<itemizedlist>
- <listitem><para>onexpand is a script expression to invoke when a node is expanded</para></listitem>
- <listitem><para>oncollapse is a script expression to invoke when a node is collapsed</para></listitem>
- <listitem><para>ondragexit is a script expression to invoke when an element passing out from a tree zone</para></listitem>
- <listitem><para>ondragstart is a script expression to invoke when dragging starts</para></listitem>
- <listitem><para>ondragend is a script expression to invoke when dragging ends (a drop event)</para></listitem>
- <listitem><para>ondragenter is a script expression to invoke when a dragged element appears on a tree</para></listitem>
+ <listitem><para><emphasis><property>"onexpand"</property></emphasis> is a script expression to invoke when a node is expanded</para></listitem>
+ <listitem><para><emphasis><property>"oncollapse"</property></emphasis> is a script expression to invoke when a node is collapsed</para></listitem>
+ <listitem><para><emphasis><property>"ondragexit"</property></emphasis> is a script expression to invoke when an element passing out from a tree zone</para></listitem>
+ <listitem><para><emphasis><property>"ondragstart"</property></emphasis> is a script expression to invoke when dragging starts</para></listitem>
+ <listitem><para><emphasis><property>"ondragend"</property></emphasis> is a script expression to invoke when dragging ends (a drop event)</para></listitem>
+ <listitem><para><emphasis><property>"ondragenter"</property></emphasis>is a script expression to invoke when a dragged element appears on a tree</para></listitem>
</itemizedlist>
<para>They can be used to add some JavaScript effects.</para>
- <para> Standart HTML event attributes like<emphasis>
- <property>"onclick"</property>
- </emphasis>, <emphasis>
+ <para> Standart HTML event attributes like<emphasis><property>"onclick"</property></emphasis>, <emphasis>
<property>"onmousedown"</property>
</emphasis>, <emphasis>
<property>"onmouseover"</property>
@@ -900,7 +898,7 @@
</mediaobject>
</figure>
- <para>As it's shown on the picture above, font weight of highlighted text node of a tree was changed to bold.</para>
+ <para>As it's shown on the picture above, font weight of highlighted text node of a <property>tree</property> was changed to bold.</para>
</section>
<section>
16 years
JBoss Rich Faces SVN: r9131 - trunk/docs/cdkguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-06-20 07:30:14 -0400 (Fri, 20 Jun 2008)
New Revision: 9131
Modified:
trunk/docs/cdkguide/en/src/main/docbook/modules/ccreate.xml
Log:
http://jira.jboss.com/jira/browse/RF-3692 - TOC - some info was added
Modified: trunk/docs/cdkguide/en/src/main/docbook/modules/ccreate.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/ccreate.xml 2008-06-20 11:25:42 UTC (rev 9130)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/ccreate.xml 2008-06-20 11:30:14 UTC (rev 9131)
@@ -11,7 +11,7 @@
</chapterinfo>
<title>Creating and building component</title>
<para>
- Info
+ Simple component (panel maybe) TBD
</para>
<section id="skeleton" xreflabel="skeleton">
<?dbhtml filename="skeleton.html"?>
16 years