JBoss Rich Faces SVN: r1017 - in trunk: sandbox/scrollable-grid/src/main/java/org/richfaces/component and 8 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-06-05 09:06:12 -0400 (Tue, 05 Jun 2007)
New Revision: 1017
Added:
trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean/ChannelDataModel2.java
trunk/sandbox-samples/scrollable-grid-demo/src/main/resources/commons-logging.properties
trunk/sandbox-samples/scrollable-grid-demo/src/main/resources/logging.properties
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/Entity.java
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/GridDataModel.java
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/Selection.java
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/SimpleSelection.java
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Channel.java
trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Issue.java
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml
trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml
trunk/sandbox/scrollable-grid/src/main/config/component/scrollable-grid.xml
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/renderkit/html/ScrollableGridBaseRenderer.java
Log:
fixed save state
Modified: trunk/sandbox/scrollable-grid/src/main/config/component/scrollable-grid.xml
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/config/component/scrollable-grid.xml 2007-06-05 12:54:25 UTC (rev 1016)
+++ trunk/sandbox/scrollable-grid/src/main/config/component/scrollable-grid.xml 2007-06-05 13:06:12 UTC (rev 1017)
@@ -43,7 +43,12 @@
<description>grid width</description>
<defaultvalue>"700px"</defaultvalue>
</property>
-
+
+ <property attachedstate="true">
+ <name>sortOrder</name>
+ <classname>org.richfaces.model.SortOrder</classname>
+ </property>
+
&ui_component_attributes;
</component>
Modified: trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-06-05 12:54:25 UTC (rev 1016)
+++ trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -27,10 +27,12 @@
import org.apache.commons.collections.iterators.IteratorChain;
import org.richfaces.event.sort.SortEvent;
import org.richfaces.model.BufferedSequenceRange;
+import org.richfaces.model.GridDataModel;
import org.richfaces.model.ScrollableGridDataModel;
import org.richfaces.model.SortOrder;
import org.richfaces.model.impl.ArrayDataModelExt;
import org.richfaces.model.impl.ListDataModelExt;
+import org.richfaces.model.selection.Selection;
@@ -52,19 +54,13 @@
private Collection responseData = new ArrayList();
- private SortOrder sortOrder;
-
public Collection getResponseData() {
return responseData;
}
- public SortOrder getSortOrder() {
- return sortOrder;
- }
+ public abstract SortOrder getSortOrder();
- public void setSortOrder(SortOrder sortOrder) {
- this.sortOrder = sortOrder;
- }
+ public abstract void setSortOrder(SortOrder sortOrder) ;
public void setResponseData(Collection responseData) {
this.responseData = responseData;
@@ -107,6 +103,10 @@
ScrollableGridDataModel model = null;
Object value = getValue();
+ if (value instanceof GridDataModel) {
+ return (GridDataModel) value;
+ }
+
if (value instanceof ScrollableGridDataModel) {
ScrollableGridDataModel dataModel = (ScrollableGridDataModel) value;
model = dataModel;
@@ -152,9 +152,6 @@
values[1] = _requestedRows;
values[2] = _startRow;
values[3] = _dataIndex;
- values[4] = responseData;
- values[5] = saveAttachedState(context, sortOrder);
-
return (Object)values;
}
@@ -166,9 +163,6 @@
_requestedRows = (Integer)values[1];
_startRow = (Integer)values[2];
_dataIndex = (Integer)values[3];
- responseData = (Collection)values[4];
- sortOrder = (SortOrder) restoreAttachedState(context, values[5]);
-
}
protected Iterator dataChildren() {
Added: trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/Entity.java
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/Entity.java (rev 0)
+++ trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/Entity.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -0,0 +1,14 @@
+/**
+ *
+ */
+package org.richfaces.model;
+
+import java.io.Serializable;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public interface Entity {
+ public Serializable getId();
+}
Added: trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/GridDataModel.java
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/GridDataModel.java (rev 0)
+++ trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/GridDataModel.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -0,0 +1,121 @@
+/**
+ *
+ */
+package org.richfaces.model;
+
+import java.io.IOException;
+import java.io.Serializable;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.ajax.repeat.DataVisitor;
+import org.ajax4jsf.ajax.repeat.ExtendedDataModel;
+import org.ajax4jsf.ajax.repeat.Range;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public abstract class GridDataModel extends ExtendedDataModel {
+
+ private static final Log log = LogFactory.getLog(GridDataModel.class);
+
+ private Serializable rowKey;
+
+ private Map mapping;
+
+ public Object getRowKey() {
+ return rowKey;
+ }
+
+ public void setRowKey(Object key) {
+ rowKey = (Serializable) key;
+ }
+
+ public void walk(FacesContext context, DataVisitor visitor, Range range,
+ Object argument) throws IOException {
+
+ if (log.isTraceEnabled()) {
+ log.trace("Starting walk");
+ }
+
+ BufferedSequenceRange sequenceRange = (BufferedSequenceRange) range;
+
+ int startIndex = sequenceRange.getFirst();
+ int last = sequenceRange.getLast();
+
+ List objects = loadData(startIndex, last, sequenceRange.getSortOrder());
+
+ mapping = new HashMap();
+
+ for (int i = 0; i < objects.size(); i++,startIndex++) {
+ Object data = objects.get(i);
+ Object key = null;
+ if (data instanceof Entity) {
+ Entity entity = (Entity) data;
+ key = entity.getId();
+ } else {
+ key = new Integer(startIndex);
+ }
+ mapping.put(key, data);
+
+ visitor.process(context, key, argument);
+
+ }
+
+ if (log.isTraceEnabled()) {
+ log.trace("Ending walk");
+ }
+
+ }
+
+ public abstract List loadData(int startRow, int endRow, SortOrder sortOrder);
+
+ public abstract Object getObjectById(Serializable id);
+
+ private Object loadAndMap(Serializable id) {
+
+ if (log.isTraceEnabled()) {
+ log.trace("loadAndMap " + id);
+ }
+
+ Object o = getObjectById(id);
+ if (o != null) {
+ if (mapping == null) {
+ mapping = new HashMap();
+ }
+ mapping.put(id, o);
+ }
+ return o;
+ }
+
+ public Object getRowData() {
+
+ if (mapping != null && mapping.containsKey(rowKey)) {
+ return mapping.get(rowKey);
+ } else {
+ return loadAndMap(rowKey);
+ }
+
+ }
+
+ public int getRowIndex() {
+ throw new UnsupportedOperationException("getRowIndex");
+ }
+
+ public boolean isRowAvailable() {
+ //boolean result
+ return mapping != null && mapping.containsKey(getRowKey());
+ }
+
+ public void setRowIndex(int arg0) {
+ throw new UnsupportedOperationException("setRowIndex");
+ }
+
+
+}
Added: trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/Selection.java
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/Selection.java (rev 0)
+++ trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/Selection.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -0,0 +1,20 @@
+/**
+ *
+ */
+package org.richfaces.model.selection;
+
+import java.io.Serializable;
+import java.util.Iterator;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public interface Selection extends Serializable {
+
+ public Iterator getKeys();
+
+ public int size();
+
+ public boolean isSelected(Serializable rowKey);
+}
Added: trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/SimpleSelection.java
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/SimpleSelection.java (rev 0)
+++ trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/model/selection/SimpleSelection.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -0,0 +1,37 @@
+/**
+ *
+ */
+package org.richfaces.model.selection;
+
+import java.io.Serializable;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.Set;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public class SimpleSelection implements Selection {
+
+ private static final long serialVersionUID = 1L;
+
+ private Set keys = new HashSet();
+
+ public boolean addKey(Serializable rowKey) {
+ return keys.add(rowKey);
+ }
+
+ public Iterator getKeys() {
+ return keys.iterator();
+ }
+
+ public int size() {
+ return keys.size();
+ }
+
+ public boolean isSelected(Serializable rowKey) {
+ return keys.contains(rowKey);
+ }
+
+}
Modified: trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/renderkit/html/ScrollableGridBaseRenderer.java
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/renderkit/html/ScrollableGridBaseRenderer.java 2007-06-05 12:54:25 UTC (rev 1016)
+++ trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/renderkit/html/ScrollableGridBaseRenderer.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -223,7 +223,7 @@
boolean normalTRRendered = false;
- System.out.println("row index: " + grid.getRowIndex());
+ //System.out.println("row index: " + grid.getRowIndex());
for (Iterator iter = grid.getChildren().iterator(); iter.hasNext(); ) {
UIComponent kid = (UIComponent) iter.next();
Added: trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean/ChannelDataModel2.java
===================================================================
--- trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean/ChannelDataModel2.java (rev 0)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean/ChannelDataModel2.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -0,0 +1,58 @@
+/**
+ *
+ */
+package org.richfaces.demo.datagrid.bean;
+
+import java.io.Serializable;
+import java.util.List;
+
+import org.richfaces.demo.datagrid.model.Channel;
+import org.richfaces.model.GridDataModel;
+import org.richfaces.model.SortOrder;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public class ChannelDataModel2 extends GridDataModel {
+
+ private Channel channel;
+
+ /* (non-Javadoc)
+ * @see org.richfaces.model.GridDataModel#getObjectById(java.io.Serializable)
+ */
+ @Override
+ public Object getObjectById(Serializable id) {
+ return channel.findById((Integer) id);
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.model.GridDataModel#loadData(int, int, org.richfaces.model.SortOrder)
+ */
+ @Override
+ public List loadData(int startRow, int endRow, SortOrder sortOrder) {
+ return channel.executeQuery(startRow, endRow, sortOrder);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.model.DataModel#getRowCount()
+ */
+ @Override
+ public int getRowCount() {
+ return channel.size();
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.model.DataModel#getWrappedData()
+ */
+ @Override
+ public Object getWrappedData() {
+ return channel;
+ }
+
+ @Override
+ public void setWrappedData(Object arg0) {
+ this.channel = (Channel) arg0;
+ }
+
+}
Modified: trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Channel.java
===================================================================
--- trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Channel.java 2007-06-05 12:54:25 UTC (rev 1016)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Channel.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -17,6 +17,7 @@
import java.util.List;
import java.util.Map;
+import org.richfaces.model.Entity;
import org.richfaces.model.SortOrder;
Modified: trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Issue.java
===================================================================
--- trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Issue.java 2007-06-05 12:54:25 UTC (rev 1016)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/model/Issue.java 2007-06-05 13:06:12 UTC (rev 1017)
@@ -10,11 +10,15 @@
package org.richfaces.demo.datagrid.model;
+import java.io.Serializable;
+
+import org.richfaces.model.Entity;
+
/**
* @author Maksim Kaszynski
*
*/
-public class Issue {
+public class Issue implements Entity{
private static int issueIndex = 0;
private int index = ++issueIndex;
@@ -373,4 +377,9 @@
return getPriority().getId();
}
+ public Serializable getId() {
+ // TODO Auto-generated method stub
+ return getIndex();
+ }
+
}
Added: trunk/sandbox-samples/scrollable-grid-demo/src/main/resources/commons-logging.properties
===================================================================
--- trunk/sandbox-samples/scrollable-grid-demo/src/main/resources/commons-logging.properties (rev 0)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/resources/commons-logging.properties 2007-06-05 13:06:12 UTC (rev 1017)
@@ -0,0 +1,14 @@
+org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
+java.util.logging.config.file=logging.properties
+
+java.util.logging.config.file = logging.properties
+handlers = java.util.logging.ConsoleHandler
+java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
+
+# If you want to provide finer grained logging, restrict the level for the
+# specific package name.
+# For example:
+# org.apache.cactus.server.level = ALL
+# org.apache.commons.httpclient.level = ALL
+# .level = ALL
+.level = ALL
\ No newline at end of file
Added: trunk/sandbox-samples/scrollable-grid-demo/src/main/resources/logging.properties
===================================================================
--- trunk/sandbox-samples/scrollable-grid-demo/src/main/resources/logging.properties (rev 0)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/resources/logging.properties 2007-06-05 13:06:12 UTC (rev 1017)
@@ -0,0 +1,19 @@
+ # Specify the handlers to create in the root logger
+ # (all loggers are children of the root logger)
+ # The following creates two handlers
+ handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler
+
+ # Set the default logging level for the root logger
+ .level = ALL
+
+ # Set the default logging level for new ConsoleHandler instances
+ java.util.logging.ConsoleHandler.level = INFO
+
+ # Set the default logging level for new FileHandler instances
+ java.util.logging.FileHandler.level = ALL
+
+ # Set the default formatter for new ConsoleHandler instances
+ java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+ # Set the default logging level for the logger named com.mycompany
+ com.mycompany.level = ALL
\ No newline at end of file
Modified: trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml 2007-06-05 12:54:25 UTC (rev 1016)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/WEB-INF/faces-config.xml 2007-06-05 13:06:12 UTC (rev 1017)
@@ -214,6 +214,16 @@
</managed-bean>
<managed-bean>
+ <managed-bean-name>dataModel2</managed-bean-name>
+ <managed-bean-class>org.richfaces.demo.datagrid.bean.ChannelDataModel2</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>wrappedData</property-name>
+ <value>#{jiraService.channel}</value>
+ </managed-property>
+ </managed-bean>
+
+ <managed-bean>
<managed-bean-name>selectionBean</managed-bean-name>
<managed-bean-class>org.richfaces.demo.datagrid.bean.SelectionBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
Modified: trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml
===================================================================
--- trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml 2007-06-05 12:54:25 UTC (rev 1016)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/webapp/pages/scrollable-grid.xhtml 2007-06-05 13:06:12 UTC (rev 1017)
@@ -37,14 +37,13 @@
<h:form>
<sg:scrollable-grid id="grid"
- value="#{dataModel}"
+ value="#{dataModel2}"
var="issues"
frozenColCount="3"
first="0"
rows="40"
width="800px"
- height="500px"
- visualModel="#{selectionBean.visualModel}">
+ height="500px">
<f:facet name="splash">
<h:panelGroup id="splash">
17 years, 7 months
JBoss Rich Faces SVN: r1016 - trunk/richfaces/dataFilterSlider/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-06-05 08:54:25 -0400 (Tue, 05 Jun 2007)
New Revision: 1016
Modified:
trunk/richfaces/dataFilterSlider/src/main/config/component/dataFilterSlider.xml
Log:
Modified: trunk/richfaces/dataFilterSlider/src/main/config/component/dataFilterSlider.xml
===================================================================
--- trunk/richfaces/dataFilterSlider/src/main/config/component/dataFilterSlider.xml 2007-06-05 12:47:17 UTC (rev 1015)
+++ trunk/richfaces/dataFilterSlider/src/main/config/component/dataFilterSlider.xml 2007-06-05 12:54:25 UTC (rev 1016)
@@ -57,7 +57,7 @@
<name>endRange</name>
<classname>java.lang.Integer</classname>
<description>
- A slider end point.
+ A slider end point
</description>
</property>
<property>
@@ -86,7 +86,7 @@
<name>handleStyleClass</name>
<classname>java.lang.String</classname>
<description>
- The handleStyleClass for a handle.
+ The handleStyleClass for a handle
</description>
</property>
<property>
@@ -122,7 +122,7 @@
<classname>boolean</classname>
<description>
False value for this attribute makes text field "read-only" and "hidden".
- Hence, the value can be changed only from a handle.
+ Hence, the value can be changed only from a handle
</description>
<defaultvalue>true</defaultvalue>
</property>
@@ -138,7 +138,7 @@
<classname>java.lang.String</classname>
<description>
This is a string which is used in a value attribute of the datatable. It is used for resetting
- the datatable back to the original list provided by a backing bean.
+ the datatable back to the original list provided by a backing bean
<!--TODO - get this programmatically - not using manual-->
</description>
</property>
@@ -147,7 +147,7 @@
<classname>java.lang.String</classname>
<description>
A getter of an object member required to compare a slider value to. This is a
- value that is used in results filtering.
+ value that is used in results filtering
</description>
</property>
<property>
@@ -161,14 +161,14 @@
<name>onSlide</name>
<classname>boolean</classname>
<description>
- If the slider value changes must submit a form, onSlide or OnChange can be true.
+ If the slider value changes must submit a form, onSlide or OnChange can be true
</description>
</property>
<property>
<name>onChange</name>
<classname>boolean</classname>
<description>
- If the slider value changes must submit a form, onSlide or OnChange can be true.
+ If the slider value changes must submit a form, onSlide or OnChange can be true
</description>
</property>
<property>
17 years, 7 months
JBoss Rich Faces SVN: r1015 - trunk/docs/userguide/en/modules.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-06-05 08:47:17 -0400 (Tue, 05 Jun 2007)
New Revision: 1015
Modified:
trunk/docs/userguide/en/modules/RFCsetwebappl.xml
Log:
edited indentation
Modified: trunk/docs/userguide/en/modules/RFCsetwebappl.xml
===================================================================
--- trunk/docs/userguide/en/modules/RFCsetwebappl.xml 2007-06-05 12:46:12 UTC (rev 1014)
+++ trunk/docs/userguide/en/modules/RFCsetwebappl.xml 2007-06-05 12:47:17 UTC (rev 1015)
@@ -95,7 +95,7 @@
</listitem>
</itemizedlist>
- <programlisting role="XML"> <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%></programlisting>
+ <programlisting role="XML"><%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%></programlisting>
<itemizedlist>
<listitem>
17 years, 7 months
JBoss Rich Faces SVN: r1014 - trunk/docs/userguide/en/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-06-05 08:46:12 -0400 (Tue, 05 Jun 2007)
New Revision: 1014
Modified:
trunk/docs/userguide/en/included/column.xml
trunk/docs/userguide/en/included/columnGroup.xml
trunk/docs/userguide/en/included/dataDefinitionList.xml
trunk/docs/userguide/en/included/dataFilterSlider.xml
trunk/docs/userguide/en/included/dataGrid.xml
trunk/docs/userguide/en/included/dataList.xml
trunk/docs/userguide/en/included/dataOrderedList.xml
trunk/docs/userguide/en/included/dataTable.xml
trunk/docs/userguide/en/included/datascroller.xml
trunk/docs/userguide/en/included/dndParam.xml
trunk/docs/userguide/en/included/dragIndicator.xml
trunk/docs/userguide/en/included/dragSupport.xml
trunk/docs/userguide/en/included/draggable.xml
trunk/docs/userguide/en/included/dropDownMenu.xml
trunk/docs/userguide/en/included/dropSupport.xml
trunk/docs/userguide/en/included/dropZone.xml
trunk/docs/userguide/en/included/gmap.xml
trunk/docs/userguide/en/included/inputNumberSlider.xml
trunk/docs/userguide/en/included/inputNumberSpinner.xml
trunk/docs/userguide/en/included/menuGroup.xml
trunk/docs/userguide/en/included/menuItem.xml
trunk/docs/userguide/en/included/menuSeparator.xml
trunk/docs/userguide/en/included/modalPanel.xml
trunk/docs/userguide/en/included/paint2D.xml
trunk/docs/userguide/en/included/panel.xml
trunk/docs/userguide/en/included/panelBar.xml
trunk/docs/userguide/en/included/panelBarItem.xml
trunk/docs/userguide/en/included/separator.xml
trunk/docs/userguide/en/included/simpleTogglePanel.xml
trunk/docs/userguide/en/included/spacer.xml
trunk/docs/userguide/en/included/subTable.xml
trunk/docs/userguide/en/included/suggestionBox.xml
trunk/docs/userguide/en/included/tab.xml
trunk/docs/userguide/en/included/tabPanel.xml
trunk/docs/userguide/en/included/toggleControl.xml
trunk/docs/userguide/en/included/togglePanel.xml
trunk/docs/userguide/en/included/toolBar.xml
trunk/docs/userguide/en/included/toolBarGroup.xml
trunk/docs/userguide/en/included/tree.xml
trunk/docs/userguide/en/included/treeNode.xml
Log:
edited indentation
Modified: trunk/docs/userguide/en/included/column.xml
===================================================================
--- trunk/docs/userguide/en/included/column.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/column.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -45,9 +45,9 @@
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of <property>column</property> on a page, use the following syntax:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable var="set">
- <rich:column>
- <h:outputText value="#{set.property1}"/>
+ <rich:dataTable var="set">
+ <rich:column>
+ <h:outputText value="#{set.property1}"/>
</rich:column>
<!--Set of another columns and header/footer facets-->
</rich:dataTable>
@@ -66,25 +66,26 @@
<title>Details of Usage</title>
<para>To output a simple table, the <emphasis role="bold"><property><rich:column></property></emphasis> component is used the same way as the standard
<emphasis role="bold"><property><h:column></property></emphasis>, i.e. the following code on a page is used:</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>
+<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>
+...
]]></programlisting>
<para>The result is:</para>
<figure>
@@ -99,21 +100,22 @@
the <emphasis role="italic"><property>"colspan"</property></emphasis> attribute, which is similar to an HTML one, specifying that the first column contains 3 columns.
In addition, it's necessary to specify that the next column begins from the first row with the help of the
<emphasis role="italic"><property>"breakBefore"</property></emphasis> attribute = true.</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>
+ <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>
+...
]]></programlisting>
<para>As a result the following structure is rendered:</para>
<figure>
@@ -127,23 +129,24 @@
<para>The same way is used for <property>columns</property> grouping with the <emphasis role="italic"><property>"rowspan"</property></emphasis>
attribute that is similar to an HTML one responsible for rows quantity definition occupied with the
current one. The only thing to add in the example is an instruction to move onto the next row for each next after the second column.</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>
+ <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>
+...
]]></programlisting>
<para>As a result:</para>
<figure>
Modified: trunk/docs/userguide/en/included/columnGroup.xml
===================================================================
--- trunk/docs/userguide/en/included/columnGroup.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/columnGroup.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -43,17 +43,17 @@
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of <property>columnGroup</property> on a page which you can see at the screenshot, use the following syntax:</para>
<programlisting role="XML"><![CDATA[...
-<rich:dataTable value="#{capitalsBean.capitals}" var="capitals"
- ajaxKeys="#{bean.ajaxSet}" binding="#{bean.tabe}" id="table">
- <!--...//Set of columns and header/footer facets-->
- <rich:column colspan="3">
- <f:facet name="header">State Flag</f:facet>
- <h:graphicImage value="#{cap.stateFlag}"/>
- </rich:column>
- <rich:columnGroup>
- <!--...//Set of columns and header/footer facets-->
- </rich:columnGroup>
-</rich:dataTable>
+ <rich:dataTable value="#{capitalsBean.capitals}" var="capitals"
+ ajaxKeys="#{bean.ajaxSet}" binding="#{bean.tabe}" id="table">
+ <!--...//Set of columns and header/footer facets-->
+ <rich:column colspan="3">
+ <f:facet name="header">State Flag</f:facet>
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ </rich:column>
+ <rich:columnGroup>
+ <!--...//Set of columns and header/footer facets-->
+ </rich:columnGroup>
+ </rich:dataTable>
...
]]></programlisting>
</section>
@@ -71,36 +71,38 @@
into one row. Columns are combined in a group the same way as when the <emphasis role="italic"><property>"breakBefore"</property></emphasis> attribute is used for
columns to add a moving to the next rows, but the first variant is clearer from a source code. Hence, the
following simple examples are very same.</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>
+ <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>
+...
]]></programlisting>
<para>And representation without a grouping:</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">...</rich:column>
- <rich:column >...</rich:column>
- <rich:column >...</rich:column>
-</rich:dataTable>
+<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">...</rich:column>
+ <rich:column >...</rich:column>
+ <rich:column >...</rich:column>
+ </rich:dataTable>
+....
]]></programlisting>
<para>The result is:</para>
<figure>
@@ -113,26 +115,27 @@
</figure>
<para>It's also possible to use the component for output of complex headers in a table. For example adding
of a complex header to a facet for the whole table looks the following way:</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>
+ <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>
+...
]]></programlisting>
<para>Generated on a page as:</para>
<figure>
Modified: trunk/docs/userguide/en/included/dataDefinitionList.xml
===================================================================
--- trunk/docs/userguide/en/included/dataDefinitionList.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dataDefinitionList.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -45,10 +45,10 @@
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of <property>dataDefinitionList</property> on a page, use the following syntax:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataDefinitionList value="#{bean.capitals}" var="caps">
- <f:facet name="term">United States Capitals</f:facet>
+ <rich:dataDefinitionList value="#{bean.capitals}" var="caps">
+ <f:facet name="term">United States Capitals</f:facet>
<h:outputText value="#{caps.name}"/>
- </rich:dataDefinitionList>
+ </rich:dataDefinitionList>
...
]]></programlisting>
</section>
@@ -75,12 +75,12 @@
<para>The component is created basing on the <emphasis role="bold"><property><a4j:repeat></property></emphasis> component and as a result the component could
be partially updated with AJAX.</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataDefinitionList value="#{bean.capitals}" var="caps" ajaxKeys="#{listBean.list}"
- binding="#{listBean.dataList}" id="list">
- <h:outputText value="#{caps.name}"/>
- </rich:dataDefinitionList>
+ <rich:dataDefinitionList value="#{bean.capitals}" var="caps" ajaxKeys="#{listBean.list}"
+ binding="#{listBean.dataList}" id="list">
+ <h:outputText value="#{caps.name}"/>
+ </rich:dataDefinitionList>
...
- <a4j:commandButton action"#{listBean.action}" reRender="list" value="Submit"/>
+ <a4j:commandButton action"#{listBean.action}" reRender="list" value="Submit"/>
...
]]></programlisting>
<para>Here during the action is processed the ajaxKeys set is composed into a list and then update
Modified: trunk/docs/userguide/en/included/dataFilterSlider.xml
===================================================================
--- trunk/docs/userguide/en/included/dataFilterSlider.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dataFilterSlider.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -39,12 +39,12 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataFilterSlider sliderListener="#{mybean.doSlide}"
- startRange="0"
- endRange="50000"
- increment="10000"
- handleValue="1"
- />
+ <rich:dataFilterSlider sliderListener="#{mybean.doSlide}"
+ startRange="0"
+ endRange="50000"
+ increment="10000"
+ handleValue="1"
+ />
...
]]></programlisting>
</section>
@@ -63,18 +63,18 @@
filters data in this table. </para>
<para><emphasis role="bold">Example:</emphasis></para>
<programlisting role="XML"><![CDATA[...
- <rich:dataFilterSlider sliderListener="#{mybean.doSlide}"
- startRange="0"
- endRange="50000"
- increment="10000"
- handleValue="1"
- for="carIndex"
- forValRef="inventoryList.carInventory"
- filterBy="getMileage"
+ <rich:dataFilterSlider sliderListener="#{mybean.doSlide}"
+ startRange="0"
+ endRange="50000"
+ increment="10000"
+ handleValue="1"
+ for="carIndex"
+ forValRef="inventoryList.carInventory"
+ filterBy="getMileage"
/>
...
<h:dataTable id="carIndex">
- ...
+ ...
</h:dataTable>
...
]]></programlisting>
Modified: trunk/docs/userguide/en/included/dataGrid.xml
===================================================================
--- trunk/docs/userguide/en/included/dataGrid.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dataGrid.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,9 +46,9 @@
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of <property>dataGrid</property> on a page, use the following syntax:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataGrid value="#{bean.capitals}" var="caps" columns="4">
- <h:outputText value="#{caps.name}"/>
- </rich:dataGrid>
+ <rich:dataGrid value="#{bean.capitals}" var="caps" columns="4">
+ <h:outputText value="#{caps.name}"/>
+ </rich:dataGrid>
...
]]></programlisting>
</section>
@@ -76,14 +76,14 @@
<para>Here is an example for the first screenshot:</para>
<programlisting role="XML"><![CDATA[...
<rich:dataGrid value="#{bean.capitals}" var="caps" ajaxKeys="#{listBean.list}"
- binding="#{listBean.dataList}" id="grid" elements="20" columns="4">
- <h:graphicImage value="#{cap.stateFlag}"/>
- <h:outputText value="#{cap.name}"/>
- <h:outputText value="#{cap.state}"/>
- <h:outputText value="#{cap.timeZone}"/>
- </rich:dataGrid>
+ binding="#{listBean.dataList}" id="grid" elements="20" columns="4">
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ <h:outputText value="#{cap.name}"/>
+ <h:outputText value="#{cap.state}"/>
+ <h:outputText value="#{cap.timeZone}"/>
+ </rich:dataGrid>
...
-<a4j:commandButton action"#{listBean.action}" reRender="grid" value="Submit"/>
+ <a4j:commandButton action"#{listBean.action}" reRender="grid" value="Submit"/>
...
]]></programlisting>
<para>In the example there is an output of a grid with four columns and output limitation to 20 elements.
Modified: trunk/docs/userguide/en/included/dataList.xml
===================================================================
--- trunk/docs/userguide/en/included/dataList.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dataList.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -47,9 +47,9 @@
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of <property>dataList</property> on a page, use the following syntax:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataList value="#{bean.capitals}" var="caps">
- <h:outputText value="#{caps.name}"/>
- </rich:dataList>
+ <rich:dataList value="#{bean.capitals}" var="caps">
+ <h:outputText value="#{caps.name}"/>
+ </rich:dataList>
...
]]></programlisting>
</section>
@@ -75,12 +75,12 @@
<para>The component is created basing on the <emphasis role="bold"><property><a4j:repeat></property></emphasis> component and as a result the component could
be partially updated with AJAX.</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataList value="#{bean.capitals}" var="caps" ajaxKeys="#{listBean.list}"
- binding="#{listBean.dataList}" id="list">
- <h:outputText value="#{caps.name}"/>
- </rich:dataList>
+ <rich:dataList value="#{bean.capitals}" var="caps" ajaxKeys="#{listBean.list}"
+ binding="#{listBean.dataList}" id="list">
+ <h:outputText value="#{caps.name}"/>
+ </rich:dataList>
...
-<a4j:commandButton action"#{listBean.action}" reRender="list" value="Submit">
+ <a4j:commandButton action"#{listBean.action}" reRender="list" value="Submit">
...
]]></programlisting>
<para>Here during the action is processed the ajaxKeys set is composed into a list and then update
Modified: trunk/docs/userguide/en/included/dataOrderedList.xml
===================================================================
--- trunk/docs/userguide/en/included/dataOrderedList.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dataOrderedList.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,9 +46,9 @@
<title>Creating the Component with a Page Tag</title>
<para>To create the simplest variant of <property>dataOrderedList</property> on a page, use the following syntax:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataOrderedList value="#{bean.capitals}" var="caps">
- <h:outputText value="#{caps.name}"/>
- </rich:dataOrderedList>
+ <rich:dataOrderedList value="#{bean.capitals}" var="caps">
+ <h:outputText value="#{caps.name}"/>
+ </rich:dataOrderedList>
...
]]></programlisting>
</section>
@@ -74,12 +74,12 @@
<para>The component is created basing on the <emphasis role="bold"><property><a4j:repeat></property></emphasis> component and as a result the component could
be partially updated with AJAX.</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataOrderedList value="#{bean.capitals}" var="caps" ajaxKeys="#{listBean.list}"
- binding="#{listBean.dataList}" id="list">
- <h:outputText value="#{caps.name}"/>
- </rich:dataOrderedList>
+ <rich:dataOrderedList value="#{bean.capitals}" var="caps" ajaxKeys="#{listBean.list}"
+ binding="#{listBean.dataList}" id="list">
+ <h:outputText value="#{caps.name}"/>
+ </rich:dataOrderedList>
...
-<a4j:commandButton action"#{listBean.action}" reRender="list" value="Submit">
+ <a4j:commandButton action"#{listBean.action}" reRender="list" value="Submit">
...
]]></programlisting>
<para>Here during the action is processed the ajaxKeys set is composed into a list and then update
Modified: trunk/docs/userguide/en/included/dataTable.xml
===================================================================
--- trunk/docs/userguide/en/included/dataTable.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dataTable.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -47,9 +47,9 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
- <!--...//Set of columns and header/footer facets-->
- </rich:dataTable>
+ <rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
+ <!--...//Set of columns and header/footer facets-->
+ </rich:dataTable>
...
]]></programlisting>
</section>
@@ -74,14 +74,14 @@
as a result the component has its possibilities of AJAX updates for a limited set of strings.
The component is implemented with the <emphasis role="italic"><property>"ajaxKeys"</property></emphasis> attribute for a <property>table</property> and in contrast to
the <emphasis role="bold"><property><a4j:repeat></property></emphasis> outputs the standard HTML structure for table rendering.</para>
- <programlisting role="XML"><![CDATA[
- <rich:dataTable value="#{capitalsBean.capitals}" var="capitals"
- ajaxKeys="#{bean.ajaxSet}" binding="#{bean.table}" id="table">
- <!--Set of columns and header/footer facets-->
- </rich:dataTable>
- ...
- <a4j:commandButton action="#{bean.someAction}" reRender="table"/>
+ <programlisting role="XML"><![CDATA[...
+ <rich:dataTable value="#{capitalsBean.capitals}" var="capitals"
+ ajaxKeys="#{bean.ajaxSet}" binding="#{bean.table}" id="table">
+ <!--Set of columns and header/footer facets-->
+ </rich:dataTable>
...
+ <a4j:commandButton action="#{bean.someAction}" reRender="table"/>
+...
]]></programlisting>
<para>For such a table during <property>someAction</property> method processing called with AJAX request when the key is pressed it's possible to fill in
lot's of ajaxKeys with strings indices that are to be updated. A resulting output on the client
Modified: trunk/docs/userguide/en/included/datascroller.xml
===================================================================
--- trunk/docs/userguide/en/included/datascroller.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/datascroller.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -47,12 +47,12 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:</para>
<programlisting role="XML"><![CDATA[...
-<h:dataTable id="table">
+ <h:dataTable id="table">
+ ...
+ </h:dataTable>
+ ...
+ <rich:datascroller for="table"/>
...
-</h:dataTable>
-...
-<rich:datascroller for="table"/>
-...
]]></programlisting>
</section>
<section>
@@ -81,15 +81,16 @@
</itemizedlist>
<para>The controls of fast switching are created adding the facets component with the
corresponding name:</para>
- <programlisting role="XML"><![CDATA[
- <rich:datascroller for="table" maxPages="10">
- <f:facet name="first">
- <h:outputText value="First"/>
- </f:facet>
- <f:facet name="last">
- <h:outputText value="Last"/>
- </f:facet>
- </rich:Datascroller>
+ <programlisting role="XML"><![CDATA[ ...
+ <rich:datascroller for="table" maxPages="10">
+ <f:facet name="first">
+ <h:outputText value="First"/>
+ </f:facet>
+ <f:facet name="last">
+ <h:outputText value="Last"/>
+ </f:facet>
+ </rich:Datascroller>
+...
]]></programlisting>
<figure>
<title>Datascroller controls</title>
Modified: trunk/docs/userguide/en/included/dndParam.xml
===================================================================
--- trunk/docs/userguide/en/included/dndParam.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dndParam.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -53,12 +53,12 @@
<para>Here is a simple example as it might be used in a page, nested in one of the drag-and-drop components:</para>
- <programlisting role="XML"> ...
- <rich:dragSupport dragType="file">
- <rich:dndParam name="testDrag" value="testDragValue"
- type="drag"/>
- </rich:dragSupport>
- ...
+ <programlisting role="XML">...
+ <rich:dragSupport dragType="file">
+ <rich:dndParam name="testDrag" value="testDragValue"
+ type="drag"/>
+ </rich:dragSupport>
+...
</programlisting>
</section>
@@ -93,13 +93,14 @@
<para>In this case, <property>dndParam</property> is of a drag type
and is defined in the following way:</para>
- <programlisting role="JSP"><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 role="JSP">...
+ <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>
<para>Here <property>dndParam</property> defines an icon that is used by
@@ -114,10 +115,12 @@
<para>In this case <property>dndParam</property> is of a drag type
and is defined in the following way:</para>
- <programlisting role="JSP"><rich:dragSupport ...>
- <rich:dndParam type="drag" name="label" value="#{msg.subj}"/>
- ...
-</rich:dragSupport>
+ <programlisting role="JSP">...
+ <rich:dragSupport ...>
+ <rich:dndParam type="drag" name="label" value="#{msg.subj}"/>
+ ...
+ </rich:dragSupport>
+...
</programlisting>
<para>The parameter is transmitted into an indicator for usage in an
@@ -132,12 +135,14 @@
<para>In this case <property>dndParam</property> is of a drop type and is
defined in the following way:</para>
- <programlisting role="JSP"><rich:dropSupport ...>
+ <programlisting role="JSP">...
+ <rich:dropSupport ...>
<rich:dndParam type="drop" name="comp" >
- <h:graphicImage height="16" width="16" value="/images/comp.png"/>
+ <h:graphicImage height="16" width="16" value="/images/comp.png"/>
</rich:dndParam>
- ...
-</rich:dropSupport >
+ ...
+ </rich:dropSupport >
+...
</programlisting>
<para>Here, <property>dndParam</property> passes icons into an indicator,
Modified: trunk/docs/userguide/en/included/dragIndicator.xml
===================================================================
--- trunk/docs/userguide/en/included/dragIndicator.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dragIndicator.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,17 +46,17 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:</para>
- <programlisting role="XML"><![CDATA[ ...
- <dnd:dragIndicator id="indicator">
- <f:facet name="single">
- <f:verbatim>
- <b>Single item</b> {DragInfo}
- </f:verbatim>
- </f:facet>
- </dnd:dragIndicator>
- ...
-<dnd:dragSupport dragType="text" dragIndicator="indicator">
- ...
+ <programlisting role="XML"><![CDATA[...
+ <dnd:dragIndicator id="indicator">
+ <f:facet name="single">
+ <f:verbatim>
+ <b>Single item</b> {DragInfo}
+ </f:verbatim>
+ </f:facet>
+ </dnd:dragIndicator>
+ ...
+ <dnd:dragSupport dragType="text" dragIndicator="indicator">
+...
]]></programlisting>
</section>
<section>
@@ -110,20 +110,23 @@
</listitem>
</itemizedlist>
<para>Here is an example for an accept facet:</para>
- <programlisting role="XML"><![CDATA[<f:facet name="accept">
- <h:graphicImage value="./images/1.gif"/>
-</f:facet>
+ <programlisting role="XML"><![CDATA[...
+ <f:facet name="accept">
+ <h:graphicImage value="./images/1.gif"/>
+ </f:facet>
+...
]]></programlisting>
<para>Each of these three facets have a default structure for icons rendering on the left side.</para>
<para>When it's necessary to define individual icons for dragged above elements of a <property>drop zone</property> from each
particular drag area, use a <property>drop zone</property>
<emphasis role="italic"><property>"typeMapping"</property></emphasis> attribute for the
corresponding icons.</para>
-<programlisting role="XML"><![CDATA[<rich:dropSupport acceptedTypes="[iconsDragged, textDragged]" typeMapping="{iconsDragged: DropIcon}">
-
- <dnd:dndParam name="DropIcon">
- <h:graphicImage value="/images/drop-icon.png"/>
- </dnd:dndParam>
+<programlisting role="XML"><![CDATA[...
+ <rich:dropSupport acceptedTypes="[iconsDragged, textDragged]" typeMapping="{iconsDragged: DropIcon}">
+ <dnd:dndParam name="DropIcon">
+ <h:graphicImage value="/images/drop-icon.png"/>
+ </dnd:dndParam>
+ <rich:dropSupport/>
...
]]></programlisting>
<para>Here, drag areas that are to be processed with this drop zone are of iconsDragged and
Modified: trunk/docs/userguide/en/included/dragSupport.xml
===================================================================
--- trunk/docs/userguide/en/included/dragSupport.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dragSupport.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -63,8 +63,8 @@
<programlisting role="XML">...
<h:panelGrid id="drag1">
- <rich:dragSupport dragType="item"/>
- <!--Some content to be dragged-->
+ <rich:dragSupport dragType="item"/>
+ <!--Some content to be dragged-->
</h:panelGrid>
...
</programlisting>
@@ -94,10 +94,10 @@
<programlisting role="XML">...
<h:column>
- <rich:dragSupport dragIndicator=":form:iii" dragType="text">
- <a4j:actionparam value="#{caps.name}" name="name"/>
- </rich:dragSupport>
- <h:outputText value="#{caps.name}"/>
+ <rich:dragSupport dragIndicator=":form:iii" dragType="text">
+ <a4j:actionparam value="#{caps.name}" name="name"/>
+ </rich:dragSupport>
+ <h:outputText value="#{caps.name}"/>
</h:column>
...
</programlisting>
@@ -108,13 +108,13 @@
<programlisting role="XML">...
<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>
+ <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>
@@ -127,20 +127,20 @@
example:</para>
<programlisting role="XML">...
-<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: trunk/docs/userguide/en/included/draggable.xml
===================================================================
--- trunk/docs/userguide/en/included/draggable.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/draggable.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -47,11 +47,12 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
- <rich:draggable dragType="file">
- <!--Some Content to be Dragged-->
- </rich:draggable>
- ...
-</rich:toolBar>
+ <rich:toolBar>
+ <rich:draggable dragType="file">
+ <!--Some Content to be Dragged-->
+ </rich:draggable>
+ ...
+ </rich:toolBar>
]]></programlisting>
</section>
<section>
@@ -66,16 +67,17 @@
<para>As it shown in the example, a key attribute is <emphasis role="italic"><property>"dragType"</property></emphasis>, where a name for an obtaining Drag-area is defined. Basing on this name, Drop-zones on a page decide whether to accept Drag-area content or not (with the help of Drag-areas lists accepted for processing that are defined in Drop-zones).</para>
<para><emphasis role="bold">Example:</emphasis></para>
<programlisting role="XML"><![CDATA[...
- <rich:draggable dragType="dragTextBlocks">
- <!--Some Components There-->
- </rich:draggable>
- <rich:draggable dragType="dragIcons">
- <!--Some Components There-->
- </rich:draggable>
+ <rich:draggable dragType="dragTextBlocks">
+ <!--Some Components There-->
+ </rich:draggable>
+ <rich:draggable dragType="dragIcons">
+ <!--Some Components There-->
+ </rich:draggable>
+ ...
+ <rich:dropZone acceptedTypes="[dragIcons]">
+ <!--Some Content Representing DropZone-->
+ <rich:dropZone>
...
- <rich:dropZone acceptedTypes="[dragIcons]">
- <!--Some Content Representing DropZone-->
- <rich:dropZone>
]]></programlisting>
<para>The example shows that Drop zone calls the corresponding drop event processing in it, only
if a drop is generated from the second drop zone. </para>
@@ -88,9 +90,11 @@
dragIndicator</ulink>.</para>
<para>Thus, it's necessary only to define the following:</para>
<para><emphasis role="bold">Example:</emphasis></para>
- <programlisting role="XML"><![CDATA[<rich:draggable dragType="dragText">
- <h:outputText value="Hello"></h:outputText>
-</rich:draggable>
+ <programlisting role="XML"><![CDATA[...
+ <rich:draggable dragType="dragText">
+ <h:outputText value="Hello"></h:outputText>
+ </rich:draggable>
+...
]]></programlisting>
<para>in order to be able to drag this string on a page.</para>
<para>The component also provide important components for redefinition of the corresponding
Modified: trunk/docs/userguide/en/included/dropDownMenu.xml
===================================================================
--- trunk/docs/userguide/en/included/dropDownMenu.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dropDownMenu.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -61,7 +61,8 @@
<rich:dropDownMenu value="Item1">
<!--Nested menu components-->
</rich:dropDownMenu>
-...</programlisting>
+...
+ </programlisting>
</section>
<section>
@@ -85,7 +86,8 @@
<f:facet name="label">
<h:graphicImage value="/images/img1.gif"/>
</f:facet>
-...</programlisting>
+...
+ </programlisting>
<para>Use the "event" attribute to define an event for the represented
element that triggers a menu appearance. An example of a menu appearance
@@ -196,7 +198,8 @@
<rich:dropDownMenu value="Item1" direction="bottom-right" jointPoint="tr">
<!--Nested menu components-->
</rich:dropDownMenu>
-...</programlisting>
+...
+</programlisting>
<para>This is the result:</para>
Modified: trunk/docs/userguide/en/included/dropSupport.xml
===================================================================
--- trunk/docs/userguide/en/included/dropSupport.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dropSupport.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -65,8 +65,8 @@
<programlisting role="XML">...
<rich:panel>
- <rich:dropSupport acceptedTypes="text"/>
- </rich:panel>
+ <rich:dropSupport acceptedTypes="text"/>
+ </rich:panel>
...
</programlisting>
</section>
@@ -105,8 +105,8 @@
<programlisting role="XML">...
<rich:dropSupport acceptedTypes="[iconsDragged, textDragged]" typeMapping="{iconsDragged: DropIcon}">
<rich:dndParam name="DropIcon">
- <h:graphicImage value="/images/drop-icon.png"/>
- </rich:dndParam>
+ <h:graphicImage value="/images/drop-icon.png"/>
+ </rich:dndParam>
...
</programlisting>
@@ -124,16 +124,16 @@
<programlisting role="XML">...
<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>
+ <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>
@@ -142,10 +142,10 @@
<programlisting role="XML">...
<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>
+ <f:facet name="header">Drop Zone</f:facet>
+ <rich:dropSupport acceptedTypes="text" reRender="box"
+ dropListener="#{capitalsBean.addCapital2}"/>
+ </rich:panel>
...
</programlisting>
@@ -154,24 +154,23 @@
<programlisting role="XML">...
<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>
+ <f:facet name="caption">Capitals chosen</f:facet>
+ <h:column>
+ <h:outputText value="#{cap2.name}"/>
+ </h:column>
+ </rich:dataTable>
...</programlisting>
<para>And finally, as a listener, this listener will implement the dropped
element:</para>
<programlisting role="JAVA">...
- public void addCapital2(DropEvent event) {
- FacesContext context = FacesContext.getCurrentInstance();
- Capital cap = new Capital();
- cap.setName(context.getExternalContext().getRequestParameterMap().
- get("name").toString());
- capitals2.add(cap);
- }
+ 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: trunk/docs/userguide/en/included/dropZone.xml
===================================================================
--- trunk/docs/userguide/en/included/dropZone.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/dropZone.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,15 +46,17 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
- <rich:draggable dragType="DropIcons">
- <!-- Draggable content that can be dropped to next drop zone-->
- </rich:draggable>
- ...
- <rich:dropZone acceptedTypes="[DropIcons]">
- <!--Some content to represent drop zone-->
- </rich:dropZone>
- ...
-</rich:toolBar>
+ <rich:toolBar>
+ <rich:draggable dragType="DropIcons">
+ <!-- Draggable content that can be dropped to next drop zone-->
+ </rich:draggable>
+ ...
+ <rich:dropZone acceptedTypes="[DropIcons]">
+ <!--Some content to represent drop zone-->
+ </rich:dropZone>
+ ...
+ </rich:toolBar>
+...
]]></programlisting>
</section>
<section>
@@ -78,12 +80,15 @@
corresponding order of <emphasis role="bold"><property><rich:dndParam></property></emphasis>
wrapping is defined for a drop from each drag-zone type</para>
<para><emphasis role="bold">Example:</emphasis></para>
- <programlisting role="XML"><![CDATA[<rich:dropZone acceptedTypes="[iconsDragged, textDragged]"
- typeMapping="{iconsDragged: DropIcon}">
+ <programlisting role="XML"><![CDATA[...
+ <rich:dropZone acceptedTypes="[iconsDragged, textDragged]"
+ typeMapping="{iconsDragged: DropIcon}">
<rich:dndParam name="DropIcon">
<h:graphicImage value="/images/drop-icon.png" />
</rich:dndParam>
- ...
+ ...
+ </rich:dropZone>
+...
]]></programlisting>
<para>Thus, here is a drag zone indicator of iconsDragged type that obtains DropIcon parameter
the same one as richParam gets. </para>
Modified: trunk/docs/userguide/en/included/gmap.xml
===================================================================
--- trunk/docs/userguide/en/included/gmap.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/gmap.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,7 +46,7 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
- <rich:gmap gmapKey="..."/>
+ <rich:gmap gmapKey="..."/>
...
]]></programlisting>
</section>
Modified: trunk/docs/userguide/en/included/inputNumberSlider.xml
===================================================================
--- trunk/docs/userguide/en/included/inputNumberSlider.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/inputNumberSlider.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -45,7 +45,7 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
- <rich:inputNumberSlider minValue="0" maxValue="100" step="1"/>
+ <rich:inputNumberSlider minValue="0" maxValue="100" step="1"/>
...
]]></programlisting>
</section>
@@ -231,13 +231,12 @@
<para><emphasis role="bold">Example:</emphasis></para>
<para>CSS code piece used on the page:</para>
<programlisting role="HTML"><![CDATA[...
- .rich-slider-handle{
- border:2px solid;
- }
-
- .myClass{
- font-style:italic;
- }
+ .rich-slider-handle{
+ border:2px solid;
+ }
+ .myClass{
+ font-style:italic;
+ }
...
]]></programlisting>
<para>The component is defined in the following way:</para>
Modified: trunk/docs/userguide/en/included/inputNumberSpinner.xml
===================================================================
--- trunk/docs/userguide/en/included/inputNumberSpinner.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/inputNumberSpinner.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,7 +46,7 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
- <rich:inputNumberSpinner minValue="0" maxValue="100" step="1"/>
+ <rich:inputNumberSpinner minValue="0" maxValue="100" step="1"/>
...
]]></programlisting>
</section>
@@ -72,7 +72,7 @@
and a <property>spinner</property> step.</para>
<para><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>
@@ -235,15 +235,12 @@
<para><emphasis role="bold">Example:</emphasis></para>
<para>CSS code piece used on the page:</para>
<programlisting role="XML"><![CDATA[...
- . rich-spinner-input
- {
- font-style:italic;
- }
-
- .myClass
- {
- font-weight: bold;
- }
+ . rich-spinner-input {
+ font-style:italic;
+ }
+ .myClass {
+ font-weight: bold;
+ }
...
]]></programlisting>
<para>The component is defined in the following way:</para>
Modified: trunk/docs/userguide/en/included/menuGroup.xml
===================================================================
--- trunk/docs/userguide/en/included/menuGroup.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/menuGroup.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -51,14 +51,16 @@
</rich:menuGroup>
...
</rich:dropDownMenu >
-...]]></programlisting>
+...
+]]></programlisting>
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
<programlisting role="java"><![CDATA[...
- org.richfaces.component.html.HtmlMenuGroup myGroup = new org.richfaces.component.html.HtmlMenuGroup ();
-...]]></programlisting>
+org.richfaces.component.html.HtmlMenuGroup myGroup = new org.richfaces.component.html.HtmlMenuGroup ();
+...
+]]></programlisting>
</section>
<section>
@@ -76,8 +78,8 @@
<f:facet name="icon">
<h:selectBooleanCheckbox value="#{bean.property}"/>
</f:facet>
-...]]>
- </programlisting>
+...
+]]></programlisting>
<para>
The "iconFolder" and "iconFolderDisabled" attributes are defined for using icons as folder icons. The "iconFolder" and "iconFolderDisabled" facets use their contents as folder icon representations in place of the attribute values.
</para>
@@ -100,8 +102,8 @@
<rich:menuGroup value="Active" direction="left"
<!--Nested menu components-->
</rich:menuGroup>
-...]]>
- </programlisting>
+...
+]]></programlisting>
<para>
This would be the result:
</para>
Modified: trunk/docs/userguide/en/included/menuItem.xml
===================================================================
--- trunk/docs/userguide/en/included/menuItem.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/menuItem.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -49,13 +49,14 @@
<rich:menuItem value="Active"/>
...
<rich:dropDownMenu>
-...]]></programlisting>
+...
+]]></programlisting>
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
<programlisting role="java"><![CDATA[...
- org.richfaces.component.html.HtmlMenuItem myItem = new org.richfaces.component.html.HtmlMenuItem ();
+org.richfaces.component.html.HtmlMenuItem myItem = new org.richfaces.component.html.HtmlMenuItem ();
...]]></programlisting>
</section>
@@ -74,7 +75,8 @@
<f:facet name="icon">
<h:selectBooleanCheckbox value="#{bean.property}"/>
</f:facet>
-...]]></programlisting>
+...
+]]></programlisting>
<para>The <rich: menuItem> "mode" attribute can be set to three
possible parameters:</para>
@@ -119,8 +121,9 @@
<h:outputLink value=”www.jboss.org”/>
</rich:menuItem>
...
- <rich:dropDownMenu>
-...]]></programlisting>
+ <rich:dropDownMenu>
+...
+]]></programlisting>
<para>
You can use the "disabled" attribute to set the item state.
</para>
@@ -131,7 +134,8 @@
<rich:dropDownMenu>
<rich:menuItem value="Disable" disabled="true"/>
<rich:dropDownMenu>
-...]]></programlisting>
+...
+]]></programlisting>
</section>
<section>
Modified: trunk/docs/userguide/en/included/menuSeparator.xml
===================================================================
--- trunk/docs/userguide/en/included/menuSeparator.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/menuSeparator.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -49,13 +49,14 @@
<rich: menuSeparator/>
...
<rich:dropDownMenu/>
-...]]></programlisting>
+...
+]]></programlisting>
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
<programlisting role="java"><![CDATA[...
- org.richfaces.component.html.HtmlMenuSeparator mySep = new org.richfaces.component.html.HtmlMenuSeparator ();
+org.richfaces.component.html.HtmlMenuSeparator mySep = new org.richfaces.component.html.HtmlMenuSeparator ();
...]]></programlisting>
</section>
Modified: trunk/docs/userguide/en/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/included/modalPanel.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/modalPanel.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -62,18 +62,18 @@
<para>Here is a simple example as it might be used in a page:</para>
<programlisting role="XML">...
- <rich:modalPanel id="panel">
- <f:facet name="header">
- <h:outputText value="header">
- </f:facet>
- ...
- <!--Any Content inside-->
- ...
- <a href="javascript:RichFaces.hideModalPanel('form:panel')">Hide</a>
- </rich:panel>
- ...
- <a href="javascript:RichFaces.showModalPanel('form:panel')">Show</a>
+ <rich:modalPanel id="panel">
+ <f:facet name="header">
+ <h:outputText value="header">
+ </f:facet>
+ ...
+ <!--Any Content inside-->
+ ...
+ <a href="javascript:RichFaces.hideModalPanel('form:panel')">Hide</a>
+ </rich:modalpanel>
...
+ <a href="javascript:RichFaces.showModalPanel('form:panel')">Show</a>
+...
</programlisting>
</section>
@@ -128,19 +128,18 @@
<para>It's possible to add a "header" facet to the component to set the
content for the header.</para>
- <programlisting role="XML">
-<form jsfc="h:form" id="form">
- <rich:modalPanel id="panel" width="400" height="300">
- <f:facet name="header">
- <h:outputText value="Modal Panel"/>
- </f:facet>
-
-<h:graphicImage value="/pages/california_large.gif"/>
- <a href="javascript:Richfaces.hideModalPanel('form:panel')">Close</a>
-
-</rich:modalPanel>
- <a href="javascript:Richfaces.showModalPanel('form:panel');">Open</a>
-</form>
+ <programlisting role="XML">...
+ <form jsfc="h:form" id="form">
+ <rich:modalPanel id="panel" width="400" height="300">
+ <f:facet name="header">
+ <h:outputText value="Modal Panel"/>
+ </f:facet>
+ <h:graphicImage value="/pages/california_large.gif"/>
+ <a href="javascript:Richfaces.hideModalPanel('form:panel')">Close</a>
+ </rich:modalPanel>
+ <a href="javascript:Richfaces.showModalPanel('form:panel');">Open</a>
+ </form>
+...
</programlisting>
<para>This defines a window with a particular size and ID. It includes one
@@ -161,13 +160,13 @@
control elements on a header.</para>
<programlisting role="XML">
-<rich:modalPanel id="panel">
- <f:facet name="header"><h:outputText value="Modal Panel"/></f:facet>
- <f:facet name="controls">
- <a href="javascript:Richfaces.hideModalPanel('form:panel')">X</a>
- </f:facet>
- <h:graphicImage value="/pages/california_large.gif"/>
-</rich:modalPanel>
+ <rich:modalPanel id="panel">
+ <f:facet name="header"><h:outputText value="Modal Panel"/></f:facet>
+ <f:facet name="controls">
+ <a href="javascript:Richfaces.hideModalPanel('form:panel')">X</a>
+ </f:facet>
+ <h:graphicImage value="/pages/california_large.gif"/>
+ </rich:modalPanel>
</programlisting>
<para>The result displays like this:</para>
Modified: trunk/docs/userguide/en/included/paint2D.xml
===================================================================
--- trunk/docs/userguide/en/included/paint2D.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/paint2D.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,7 +46,7 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
- <rich:paint2D paint="#{paint2D.paint}" data="#{paint2DModel}"/>
+ <rich:paint2D paint="#{paint2D.paint}" data="#{paint2DModel}"/>
...
]]></programlisting>
<para>Here <emphasis
Modified: trunk/docs/userguide/en/included/panel.xml
===================================================================
--- trunk/docs/userguide/en/included/panel.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/panel.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,14 +46,15 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="Panel Header"/>
- </f:facet>
- ...
- <!--Any Content inside-->
- ...
- </rich:panel>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="Panel Header"/>
+ </f:facet>
+ ...
+ <!--Any Content inside-->
+ ...
+ </rich:panel>
+...
]]></programlisting>
</section>
<section>
@@ -72,10 +73,10 @@
</para>
<para><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>
<figure>
@@ -92,12 +93,14 @@
<para>The example shows that similar rectangular areas are formed with a particular style.</para>
<para>When creating a <property>panel</property> with a header element, one more <emphasis role="bold"><property><div></property></emphasis> element is added with content defined for a header.</para>
<para><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>
+ <programlisting role="XML"><![CDATA[...
+ <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>
<figure>
@@ -280,12 +283,12 @@
<para><emphasis role="bold">Example:</emphasis></para>
<para>CSS code piece used on the page:</para>
<programlisting role="XML"><![CDATA[...
- .rich-panel-header{
- background-color:#F99;
- }
- .myClass{
- font-style:italic;
- }
+ .rich-panel-header{
+ background-color:#F99;
+ }
+ .myClass{
+ font-style:italic;
+ }
...
]]></programlisting>
<para>Hence, a header class is redefined for all <property>panels</property> (its color changed) of
Modified: trunk/docs/userguide/en/included/panelBar.xml
===================================================================
--- trunk/docs/userguide/en/included/panelBar.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/panelBar.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,15 +46,15 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </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>
@@ -154,32 +154,34 @@
<para><emphasis role="bold">Example:</emphasis></para>
<para>CSS code piece used on the page:</para>
<programlisting role="HTML"><![CDATA[...
- . rich-panelbar{
- padding:10px;
- }
-
- .myClass{
- font-style:italic;
- }
-...]]></programlisting>
+ . rich-panelbar{
+ padding:10px;
+ }
+ .myClass{
+ font-style:italic;
+ }
+...
+]]></programlisting>
<para>When using headerClass and headerClassActive attributes the declaration of headerClass should precede the
one of headerClassActive:</para>
<programlisting role="HTML"><![CDATA[...
- .headerClass{
- ...
- }
-
- .headerClassActive{
- ...
- }
-...]]></programlisting>
+ .headerClass{
+ ...
+ }
+ .headerClassActive{
+ ...
+ }
+...
+]]></programlisting>
<para>The component is defined in the following way:</para>
<para><emphasis role="bold">Example:</emphasis></para>
-<programlisting role="XML"><![CDATA[<rich:panelBar contentClass="myClass">
- <rich:panelBarItem>
- ...
- </rich:panelBarItem>
-</rich:panelBar>
+<programlisting role="XML"><![CDATA[...
+ <rich:panelBar contentClass="myClass">
+ <rich:panelBarItem>
+ ...
+ </rich:panelBarItem>
+ </rich:panelBar>
+...
]]></programlisting>
<para>Hence, paddings for all <property>panelBars</property> are changed on a page as well as a
font for particular <property>panelBarItems</property> content.</para>
Modified: trunk/docs/userguide/en/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/included/panelBarItem.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/panelBarItem.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,14 +46,14 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </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>
@@ -195,21 +195,22 @@
<para><emphasis role="bold">Example:</emphasis></para>
<para>CSS code piece used on the page:</para>
<programlisting role="XML"><![CDATA[...
- .rich-panelbar-header{
- font-size:14px;
- }
-
- .myClass{
- font-style:italic;
- }
+ .rich-panelbar-header{
+ font-size:14px;
+ }
+ .myClass{
+ font-style:italic;
+ }
...
]]></programlisting>
<para>The component is defined in the following way:</para>
-<programlisting role="XML"><![CDATA[<rich:panelBar>
-<rich:panelBarItem contentClass="myClass">
- ...
-</rich:panelBarItem>
-</rich:panelBar>
+<programlisting role="XML"><![CDATA[...
+ <rich:panelBar>
+ <rich:panelBarItem contentClass="myClass">
+ ...
+ </rich:panelBarItem>
+ </rich:panelBar>
+...
]]></programlisting>
<para>Hence, a font size
of all <property>panelBarItem</property> headers is changed on a page as well as a font for the
Modified: trunk/docs/userguide/en/included/separator.xml
===================================================================
--- trunk/docs/userguide/en/included/separator.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/separator.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,7 +46,7 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:</para>
<programlisting role="XML"><![CDATA[...
- <rich:separator/>
+ <rich:separator/>
...
]]></programlisting>
</section>
Modified: trunk/docs/userguide/en/included/simpleTogglePanel.xml
===================================================================
--- trunk/docs/userguide/en/included/simpleTogglePanel.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/simpleTogglePanel.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -47,9 +47,9 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
-<rich:simpleTogglePanel>
- ...
-</rich:simpleTogglePanel>
+ <rich:simpleTogglePanel>
+ ...
+ </rich:simpleTogglePanel>
...
]]></programlisting>
</section>
Modified: trunk/docs/userguide/en/included/spacer.xml
===================================================================
--- trunk/docs/userguide/en/included/spacer.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/spacer.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,7 +46,7 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:</para>
<programlisting role="XML"><![CDATA[...
- <rich:spacer/>
+ <rich:spacer/>
...]]></programlisting>
</section>
<section>
Modified: trunk/docs/userguide/en/included/subTable.xml
===================================================================
--- trunk/docs/userguide/en/included/subTable.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/subTable.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -45,10 +45,10 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page:</para>
<programlisting role="XML"><![CDATA[...
- <rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
+ <rich:dataTable value="#{capitalsBean.capitals}" var="capitals">
<!--...//Set of columns and header/footer facets-->
<rich:subTable value=#{capitals.details} var="detail">
- <!--...//Set of columns and header/footer facets-->
+ <!--...//Set of columns and header/footer facets-->
</rich:subTable>
</rich:dataTable>
...
@@ -78,16 +78,14 @@
with the <emphasis role="italic"><property>"ajaxKeys"</property></emphasis> attribute for a table and in contrast to the <emphasis role="bold"><property><a4j:repeat></property></emphasis> outputs the standard HTML
structure for table rendering.</para>
<programlisting role="XML"><![CDATA[...
-<rich:dataTable value="#{capitalsBean.capitals}" var="capitals" id="table">
-<!--...//Set of columns and header/footer facets-->
-
- <rich:subTable value="#{capitals.details}" var="detail" ajaxKeys="#{bean.ajaxSet}" binding="#{bean.subtable}" >
- <!--...//Set of columns and header/footer facets-->
- </rich:subTable>
-
-</rich:dataTable>
+ <rich:dataTable value="#{capitalsBean.capitals}" var="capitals" id="table">
+ <!--...//Set of columns and header/footer facets-->
+ <rich:subTable value="#{capitals.details}" var="detail" ajaxKeys="#{bean.ajaxSet}" binding="#{bean.subtable}" >
+ <!--...//Set of columns and header/footer facets-->
+ </rich:subTable>
+ </rich:dataTable>
...
-<a4j:commandButton action="#{bean.someAction}" reRender="table"/>
+ <a4j:commandButton action="#{bean.someAction}" reRender="table"/>
...
]]></programlisting>
<para>For such a table during someAction processing called with AJAX request when the key is pressed
Modified: trunk/docs/userguide/en/included/suggestionBox.xml
===================================================================
--- trunk/docs/userguide/en/included/suggestionBox.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/suggestionBox.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,23 +46,23 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </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 <emphasis role="italic"><property>bean.autocomplete</property></emphasis>
method that returns the collection to pop up:</para>
<programlisting role="JAVA"><![CDATA[public List autocomplete(Object event) {
- String pref = event.toString();
- //collecting some data that begins with "pref" letters.
+ String pref = event.toString();
+ //collecting some data that begins with "pref" letters.
...
- return result;
- }
+ return result;
+ }
]]></programlisting>
</section>
<section>
@@ -99,15 +99,17 @@
role="italic"><property>"height"</property></emphasis>) that are obligatory for the suggestion component. The attributes have initial Defaults but should be specified manually in order to be changed.</para>
<para>The <property>suggestionBox</property> component, as it is shown on the 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>
+<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>
+...
]]></programlisting>
<para>It looks on the page in the following way:</para>
<figure>
@@ -124,12 +126,12 @@
role="italic"><property>"tokens"</property></emphasis> that specifies separators after which a set of some characters sequence is defined as a new prefix beginning from this separator and not from the string beginning.</para>
<para><emphasis role="bold">Example:</emphasis></para>
<programlisting role="XML"><![CDATA[...
- <rich:suggestiobox for="test" suggestionAction="#{bean.autocomplete}" var="cit"
- selfRendered="true" tokens=",">
- <h:column>
- <h:outputText value="#{cit.text}"/>
- </h:column>
- </rich:suggestionbox>
+ <rich:suggestiobox 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 character are input,
Modified: trunk/docs/userguide/en/included/tab.xml
===================================================================
--- trunk/docs/userguide/en/included/tab.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/tab.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -45,12 +45,12 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </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>
@@ -66,17 +66,18 @@
<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>A marker on a <property>tab</property> header defined with the <emphasis role="italic"><property>"label"</property></emphasis> attribute. Moreover, each <property>tab</property> could be disabled (switching on this <property>tab</property> is impossible) with the <emphasis role="italic"><property>"disable"</property></emphasis> attribute.</para>
- <programlisting role="XML"><![CDATA[<rich:tabPanel width="20%">
- <rich:tab label="Tab">
- <h:outputText value="Active Tab content"/>
- </rich:tab>
- <rich:tab label="Disabled Tab" disabled="true">
- ...
- </rich:tab>
- <rich:tab label="Next Enabled Tab">
- ...
- </rich:tab>
- </rich:tabPanel>
+ <programlisting role="XML"><![CDATA[...
+ <rich:tabPanel width="20%">
+ <rich:tab label="Tab">
+ <h:outputText value="Active Tab content"/>
+ </rich:tab>
+ <rich:tab label="Disabled Tab" disabled="true">
+ ...
+ </rich:tab>
+ <rich:tab label="Next Enabled Tab">
+ ...
+ </rich:tab>
+ </rich:tabPanel>
]]></programlisting>
<para>With this example it's possible to generate the <property>tab panel</property>
with the second disabled and two active <property>tabs</property> (see the picture).</para>
Modified: trunk/docs/userguide/en/included/tabPanel.xml
===================================================================
--- trunk/docs/userguide/en/included/tabPanel.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/tabPanel.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,13 +46,12 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </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>
@@ -102,19 +101,20 @@
rendering of <property>tabPanel</property> components. The attribute has several values: left (Default), right, center, which specify
Tabs components location on the top of the tabPanel.</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> ]]>
- </programlisting>
+ <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>
+...
+]]></programlisting>
<figure>
<title>TabPanel with right aligned tabs</title>
Modified: trunk/docs/userguide/en/included/toggleControl.xml
===================================================================
--- trunk/docs/userguide/en/included/toggleControl.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/toggleControl.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,12 +46,13 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
- <programlisting role="XML"><![CDATA[<rich:toggleControl for="panel"/>
+ <programlisting role="XML"><![CDATA[...
+ <rich:toggleControl for="panel"/>
+ ...
+ <rich:togglePanel id="panel" stateOrder="[facets order to be switched]">
+ <!--//Set of Facets-->
+ </rich:togglePanel>
...
-<rich:togglePanel id="panel" stateOrder="[facets order to be switched]">
- <!--//Set of Facets-->
-</rich:togglePanel>
-...
]]></programlisting>
</section>
<section>
@@ -75,35 +76,30 @@
in <emphasis
role="italic"><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>
+ <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>
+ <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
role="italic"><property>"switchToState"</property></emphasis> attribute.</para>
Modified: trunk/docs/userguide/en/included/togglePanel.xml
===================================================================
--- trunk/docs/userguide/en/included/togglePanel.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/togglePanel.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,17 +46,17 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </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 the page.-->
+ <rich:togglePanel>
+ <f:facet name="first">
+ ...
+ </f:facet>
+ <f:facet name="second">
+ ...
+ </f:facet>
+ ...
+ </rich:togglePanel>
+ ...
+ <!--//Set of the toggleControls somewhere on the page.-->
...
]]></programlisting>
</section>
@@ -104,20 +104,21 @@
role="italic"><property>"stateOrder"</property></emphasis> attribute. The facets names are enumerated in
such an order that they are rendered when a control is clicked, as it's not defined where
to switch beforehand.</para>
-<programlisting role="XML"><![CDATA[<rich:togglePanel id="panel"
- initialState="panelB" switchType="client"
- stateOrder="panelA,panelB,panelC">
- <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"/>
+<programlisting role="XML"><![CDATA[...
+ <rich:togglePanel id="panel" initialState="panelB" switchType="client"
+ stateOrder="panelA,panelB,panelC">
+ <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"/>
+...
]]></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>
</section>
Modified: trunk/docs/userguide/en/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/included/toolBar.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/toolBar.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -45,9 +45,11 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
- <programlisting role="XML"><![CDATA[<rich:toolBar>
- <!--//...Set of action or other JSF components-->
-</rich:toolBar>
+ <programlisting role="XML"><![CDATA[...
+ <rich:toolBar>
+ <!--//...Set of action or other JSF components-->
+ </rich:toolBar>
+...
]]></programlisting>
</section>
<section>
Modified: trunk/docs/userguide/en/included/toolBarGroup.xml
===================================================================
--- trunk/docs/userguide/en/included/toolBarGroup.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/toolBarGroup.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -45,17 +45,18 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </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>
+ <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>
+...
]]></programlisting>
</section>
<section>
@@ -91,16 +92,18 @@
role="italic"><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>
+ <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>
+...
]]></programlisting>
<para>The code result is the following:</para>
<figure>
Modified: trunk/docs/userguide/en/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/included/tree.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/tree.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,9 +46,9 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </para>
<programlisting role="XML"><![CDATA[...
- <rich:tree>
- <!--Set of the Tree nodes-->
- </rich:tree>
+ <rich:tree>
+ <!--Set of the Tree nodes-->
+ </rich:tree>
...
]]></programlisting>
</section>
@@ -114,23 +114,25 @@
<emphasis role="italic"><property>"iconLeaf"</property></emphasis>
attributes define icons for the component. Also you can define icons using facets with the same names. If the facets are defined,
the corresponding attributes are ignored and facets contents are used as icons. The width of a rendered facet area is 16px.
-<programlisting role="JAVA"><![CDATA[
-<rich:tree ....>
- ...
- <f:facet name="icon">
- <hutputText value="A"/>
- </f:facet>
- <f:facet name="iconCollapsed">
- <hutputText value="B"/>
- </f:facet>
- <f:facet name="iconExpanded">
- <hutputText value="C"/>
- </f:facet>
- <f:facet name="iconLeaf">
- <hutputText value="D"/>
- </f:facet>
- ...
-</rich:tree>]]></programlisting></para>
+<programlisting role="JAVA"><![CDATA[...
+ <rich:tree ....>
+ ...
+ <f:facet name="icon">
+ <hutputText value="A"/>
+ </f:facet>
+ <f:facet name="iconCollapsed">
+ <hutputText value="B"/>
+ </f:facet>
+ <f:facet name="iconExpanded">
+ <hutputText value="C"/>
+ </f:facet>
+ <f:facet name="iconLeaf">
+ <hutputText value="D"/>
+ </f:facet>
+ ...
+ </rich:tree>
+...
+ ]]></programlisting></para>
</section>
<section>
<title>Built-In Drag and Drop</title>
Modified: trunk/docs/userguide/en/included/treeNode.xml
===================================================================
--- trunk/docs/userguide/en/included/treeNode.xml 2007-06-05 12:28:19 UTC (rev 1013)
+++ trunk/docs/userguide/en/included/treeNode.xml 2007-06-05 12:46:12 UTC (rev 1014)
@@ -46,11 +46,11 @@
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it might be used in a page: </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>
@@ -71,25 +71,27 @@
<emphasis role="italic"><property>"iconLeaf"</property></emphasis>
attributes define icons for the component. Also you can define icons using facets with the same names. If the facets are defined,
the corresponding attributes are ignored and facets contents are used as icons. The width of a rendered facet area is 16px.
-<programlisting role="JAVA"><![CDATA[
-<rich:tree ....>
- ...
- <rich:treeNode ...>
- <f:facet name="icon">
- <hutputText value="A"/>
- </f:facet>
- <f:facet name="iconCollapsed">
- <hutputText value="B"/>
- </f:facet>
- <f:facet name="iconExpanded">
- <hutputText value="C"/>
- </f:facet>
- <f:facet name="iconLeaf">
- <hutputText value="D"/>
- </f:facet>
- </rich:treeNode>
- ...
-</rich:tree>]]></programlisting></para>
+<programlisting role="JAVA"><![CDATA[...
+ <rich:tree ....>
+ ...
+ <rich:treeNode ...>
+ <f:facet name="icon">
+ <hutputText value="A"/>
+ </f:facet>
+ <f:facet name="iconCollapsed">
+ <hutputText value="B"/>
+ </f:facet>
+ <f:facet name="iconExpanded">
+ <hutputText value="C"/>
+ </f:facet>
+ <f:facet name="iconLeaf">
+ <hutputText value="D"/>
+ </f:facet>
+ </rich:treeNode>
+ ...
+ </rich:tree>
+...
+]]></programlisting></para>
</section>
<section>
@@ -97,13 +99,14 @@
<para>As it has been mentioned above, <property>treeNode</property> defines a template for nodes
rendering in a tree. Thus, during XML document rendering (a web.xml application) as a tree, the
following nodes output (passed via var="data" on a tree) happens:</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 >
+ <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 >
+...
]]></programlisting>
<figure>
<title>Nodes output</title>
17 years, 7 months
JBoss Rich Faces SVN: r1013 - trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-06-05 08:28:19 -0400 (Tue, 05 Jun 2007)
New Revision: 1013
Modified:
trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean/SelectionBean.java
Log:
Modified: trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean/SelectionBean.java
===================================================================
--- trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean/SelectionBean.java 2007-06-05 12:12:20 UTC (rev 1012)
+++ trunk/sandbox-samples/scrollable-grid-demo/src/main/java/org/richfaces/demo/datagrid/bean/SelectionBean.java 2007-06-05 12:28:19 UTC (rev 1013)
@@ -15,7 +15,6 @@
import org.richfaces.demo.datagrid.model.Channel;
import org.richfaces.demo.datagrid.model.Issue;
import org.richfaces.model.ScrollableGridDataModel;
-import org.richfaces.model.visual.ScrollableGridVisualModel;
/**
@@ -24,8 +23,6 @@
*/
public class SelectionBean {
- private ScrollableGridVisualModel visualModel;
-
private ScrollableGridDataModel dataModel;
private Channel channel;
@@ -43,17 +40,6 @@
this.dataModel = dataModel;
}
- public ScrollableGridVisualModel getVisualModel() {
- return visualModel;
- }
-
- /**
- * @param visualModel the visualModel to set
- */
- public void setVisualModel(ScrollableGridVisualModel visualModel) {
- this.visualModel = visualModel;
- }
-
public SelectionBean() {
}
17 years, 7 months
JBoss Rich Faces SVN: r1012 - trunk/richfaces/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-06-05 08:12:20 -0400 (Tue, 05 Jun 2007)
New Revision: 1012
Modified:
trunk/richfaces/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html/SimpleTogglePanelRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-182
Modified: trunk/richfaces/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html/SimpleTogglePanelRenderer.java
===================================================================
--- trunk/richfaces/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html/SimpleTogglePanelRenderer.java 2007-06-05 12:08:45 UTC (rev 1011)
+++ trunk/richfaces/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html/SimpleTogglePanelRenderer.java 2007-06-05 12:12:20 UTC (rev 1012)
@@ -91,6 +91,7 @@
} else {
if (panel.isOpened()!= new Boolean((String) clnId).booleanValue()){
+ panel.setAjaxSingle(false);
SimpleToggleEvent event = new SimpleToggleEvent(panel, (panel.isOpened()));
if (panel.isImmediate()) {
event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
17 years, 7 months
JBoss Rich Faces SVN: r1011 - in trunk/richfaces: datascroller/src/main/config/component and 9 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vkukharchuk
Date: 2007-06-05 08:08:45 -0400 (Tue, 05 Jun 2007)
New Revision: 1011
Modified:
trunk/richfaces/dataTable/src/main/config/component/colgroup.xml
trunk/richfaces/dataTable/src/main/config/component/column.xml
trunk/richfaces/dataTable/src/main/config/component/dataGrid.xml
trunk/richfaces/dataTable/src/main/config/component/dataList.xml
trunk/richfaces/dataTable/src/main/config/component/dataTable.xml
trunk/richfaces/dataTable/src/main/config/component/subTable.xml
trunk/richfaces/datascroller/src/main/config/component/datascroller.xml
trunk/richfaces/inputnumber-slider/src/main/config/component/inputNumberSlider.xml
trunk/richfaces/inputnumber-spinner/src/main/config/component/inputNumberSpinner.xml
trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml
trunk/richfaces/panelbar/src/main/config/component/panelbar.xml
trunk/richfaces/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml
trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml
trunk/richfaces/tabPanel/src/main/config/component/tabPanel.xml
trunk/richfaces/togglePanel/src/main/config/component/togglePanel.xml
trunk/richfaces/tree/src/main/config/component/tree.xml
trunk/richfaces/tree/src/main/config/component/treeNode.xml
Log:
Modified: trunk/richfaces/dataTable/src/main/config/component/colgroup.xml
===================================================================
--- trunk/richfaces/dataTable/src/main/config/component/colgroup.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/dataTable/src/main/config/component/colgroup.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -32,7 +32,7 @@
<property>
<name>breakBefore</name>
<classname>java.lang.String</classname>
- <description>if 'true' next column begins from the first row.</description>
+ <description>if 'true' next column begins from the first row</description>
</property>
<property>
<name>columnClasses</name>
Modified: trunk/richfaces/dataTable/src/main/config/component/column.xml
===================================================================
--- trunk/richfaces/dataTable/src/main/config/component/column.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/dataTable/src/main/config/component/column.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -38,27 +38,27 @@
<property>
<name>colspan</name>
<classname>int</classname>
- <description>Corresponds to the HTML colspan attribute.</description>
+ <description>Corresponds to the HTML colspan attribute</description>
</property>
<property>
<name>rowspan</name>
<classname>int</classname>
- <description>Corresponds to the HTML rowspan attribute.</description>
+ <description>Corresponds to the HTML rowspan attribute</description>
</property>
<property>
<name>breakBefore</name>
<classname>boolean</classname>
- <description>if 'true' next column begins from the first row.</description>
+ <description>if 'true' next column begins from the first row</description>
</property>
<property>
<name>headerClass</name>
<classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to any header generated for this table.</description>
+ <description>Space-separated list of CSS style class(es) that are be applied to any header generated for this table</description>
</property>
<property>
<name>footerClass</name>
<classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to any footer generated for this table.</description>
+ <description>Space-separated list of CSS style class(es) that are be applied to any footer generated for this table</description>
</property>
<!--
<property>
Modified: trunk/richfaces/dataTable/src/main/config/component/dataGrid.xml
===================================================================
--- trunk/richfaces/dataTable/src/main/config/component/dataGrid.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/dataTable/src/main/config/component/dataGrid.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -38,7 +38,7 @@
<property>
<name>ajaxKeys</name>
<classname>java.lang.String</classname>
- <description>This attribute defines strings that are updated after an AJAX request. </description>
+ <description>This attribute defines strings that are updated after an AJAX request</description>
</property>
<property>
<name>elements</name>
@@ -55,13 +55,13 @@
<property>
<name>border</name>
<classname>java.lang.String</classname>
- <description>This attributes specifies the width of the frame around a component.</description>
+ <description>This attributes specifies the width of the frame around a component</description>
<defaultvalue>"0"</defaultvalue>
</property>
<property>
<name>cellpadding</name>
<classname>java.lang.String</classname>
- <description>This attribute specifies the amount of space between the border of the cell and its contents.</description>
+ <description>This attribute specifies the amount of space between the border of the cell and its contents</description>
<defaultvalue>"0"</defaultvalue>
</property>
<property>
@@ -74,12 +74,12 @@
<property>
<name>captionClass</name>
<classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to caption for this component.</description>
+ <description>Space-separated list of CSS style class(es) that are be applied to caption for this component</description>
</property>
<property>
<name>captionStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) is/are to be applied to caption when this component is rendered.</description>
+ <description>CSS style(s) is/are to be applied to caption when this component is rendered</description>
</property>
<property>
<name>headerClass</name>
@@ -112,7 +112,7 @@
<property>
<name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>The attribute provides access to a row key in a Request scope.</description>
+ <description>The attribute provides access to a row key in a Request scope</description>
</property>
<property>
<name>rowKey</name>
@@ -175,7 +175,7 @@
<property>
<name>componentState</name>
<classname>java.lang.String</classname>
- <description>It defines EL-binding for a component state for saving or redefinition.</description>
+ <description>It defines EL-binding for a component state for saving or redefinition</description>
</property>
</component>
</components>
Modified: trunk/richfaces/dataTable/src/main/config/component/dataList.xml
===================================================================
--- trunk/richfaces/dataTable/src/main/config/component/dataList.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/dataTable/src/main/config/component/dataList.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -40,18 +40,18 @@
<property>
<name>ajaxKeys</name>
<classname>java.lang.String</classname>
- <description>This attribute defines strings that are updated after an AJAX request. </description>
+ <description>This attribute defines strings that are updated after an AJAX request</description>
</property>
<property>
<name>rowKey</name>
<classname>java.lang.String</classname>
- <description>RowKey is a representation of an identifier for a specific data row.</description>
+ <description>RowKey is a representation of an identifier for a specific data row</description>
</property>
<property>
<name>value</name>
<classname>java.lang.String</classname>
- <description>The current value for this component.</description>
+ <description>The current value for this component</description>
</property>
<property>
<name>stateVar</name>
@@ -63,12 +63,12 @@
<property>
<name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>The attribute provides access to a row key in a Request scope.</description>
+ <description>The attribute provides access to a row key in a Request scope</description>
</property>
<property>
<name>componentState</name>
<classname>java.lang.String</classname>
- <description>It defines EL-binding for a component state for saving or redefinition.</description>
+ <description>It defines EL-binding for a component state for saving or redefinition</description>
</property>
<!--
<property>
@@ -118,22 +118,22 @@
<property>
<name>ajaxKeys</name>
<classname>java.lang.String</classname>
- <description>This attribute defines strings that are updated after an AJAX request. </description>
+ <description>This attribute defines strings that are updated after an AJAX request</description>
</property>
<property>
<name>rowKey</name>
<classname>java.lang.String</classname>
- <description>RowKey is a representation of an identifier for a specific data row.</description>
+ <description>RowKey is a representation of an identifier for a specific data row</description>
</property>
<property>
<name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>The attribute provides access to a row key in a Request scope.</description>
+ <description>The attribute provides access to a row key in a Request scope</description>
</property>
<property>
<name>value</name>
<classname>java.lang.String</classname>
- <description>The current value for this component.</description>
+ <description>The current value for this component</description>
</property>
<property>
<name>stateVar</name>
@@ -145,7 +145,7 @@
<property>
<name>componentState</name>
<classname>java.lang.String</classname>
- <description>It defines EL-binding for a component state for saving or redefinition.</description>
+ <description>It defines EL-binding for a component state for saving or redefinition</description>
</property>
<!--
<property>
@@ -202,32 +202,32 @@
<property>
<name>ajaxKeys</name>
<classname>java.lang.String</classname>
- <description>This attribute defines strings that are updated after an AJAX request. </description>
+ <description>This attribute defines strings that are updated after an AJAX request</description>
</property>
<property>
<name>rowKey</name>
<classname>java.lang.String</classname>
- <description>RowKey is a representation of an identifier for a specific data row.</description>
+ <description>RowKey is a representation of an identifier for a specific data row</description>
</property>
<property>
<name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>The attribute provides access to a row key in a Request scope.</description>
+ <description>The attribute provides access to a row key in a Request scope</description>
</property>
<property>
<name>value</name>
<classname>java.lang.String</classname>
- <description>The current value for this component.</description>
+ <description>The current value for this component</description>
</property>
<property>
<name>stateVar</name>
<classname>java.lang.String</classname>
- <description>The attribute provides access to a component state on the client side.</description>
+ <description>The attribute provides access to a component state on the client side</description>
</property>
<property>
<name>componentState</name>
<classname>java.lang.String</classname>
- <description>It defines EL-binding for a component state for saving or redefinition.</description>
+ <description>It defines EL-binding for a component state for saving or redefinition</description>
</property>
Modified: trunk/richfaces/dataTable/src/main/config/component/dataTable.xml
===================================================================
--- trunk/richfaces/dataTable/src/main/config/component/dataTable.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/dataTable/src/main/config/component/dataTable.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -35,7 +35,7 @@
<property>
<name>ajaxKeys</name>
<classname>java.lang.String</classname>
- <description>This attribute defines strings that are updated after an AJAX request. </description>
+ <description>This attribute defines strings that are updated after an AJAX request</description>
</property>
<property>
<name>columns</name>
@@ -46,13 +46,13 @@
<property>
<name>border</name>
<classname>java.lang.String</classname>
- <description>This attributes specifies the width of the frame around a component.</description>
+ <description>This attributes specifies the width of the frame around a component</description>
<defaultvalue>"0"</defaultvalue>
</property>
<property>
<name>cellpadding</name>
<classname>java.lang.String</classname>
- <description>This attribute specifies the amount of space between the border of the cell and its contents.</description>
+ <description>This attribute specifies the amount of space between the border of the cell and its contents</description>
<defaultvalue>"0"</defaultvalue>
</property>
<property>
@@ -77,12 +77,12 @@
<property>
<name>captionClass</name>
<classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to caption for this component.</description>
+ <description>Space-separated list of CSS style class(es) that are be applied to caption for this component</description>
</property>
<property>
<name>captionStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) is/are to be applied to caption when this component is rendered.</description>
+ <description>CSS style(s) is/are to be applied to caption when this component is rendered</description>
</property>
<property>
<name>headerClass</name>
@@ -100,7 +100,7 @@
<property>
<name>componentState</name>
<classname>java.lang.String</classname>
- <description>It defines EL-binding for a component state for saving or redefinition.</description>
+ <description>It defines EL-binding for a component state for saving or redefinition</description>
</property>
<property>
<name>rowKey</name>
@@ -112,7 +112,7 @@
<property>
<name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>The attribute provides access to a row key in a Request scope.</description>
+ <description>The attribute provides access to a row key in a Request scope</description>
</property>
<property>
<name>stateVar</name>
Modified: trunk/richfaces/dataTable/src/main/config/component/subTable.xml
===================================================================
--- trunk/richfaces/dataTable/src/main/config/component/subTable.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/dataTable/src/main/config/component/subTable.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -34,7 +34,7 @@
<property>
<name>ajaxKeys</name>
<classname>java.lang.String</classname>
- <description>This attribute defines strings that are updated after an AJAX request. </description>
+ <description>This attribute defines strings that are updated after an AJAX request</description>
</property>
<property disabled="true" hidden="true">
<name>breakBefore</name>
@@ -45,12 +45,12 @@
<property>
<name>componentState</name>
<classname>java.lang.String</classname>
- <description>It defines EL-binding for a component state for saving or redefinition.</description>
+ <description>It defines EL-binding for a component state for saving or redefinition</description>
</property>
<property>
<name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>The attribute provides access to a row key in a Request scope.</description>
+ <description>The attribute provides access to a row key in a Request scope</description>
</property>
<property>
<name>stateVar</name>
Modified: trunk/richfaces/datascroller/src/main/config/component/datascroller.xml
===================================================================
--- trunk/richfaces/datascroller/src/main/config/component/datascroller.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/datascroller/src/main/config/component/datascroller.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -94,7 +94,7 @@
<property>
<name>rendered</name>
<classname>java.lang.String</classname>
- <description>If "false", this component is not rendered.</description>
+ <description>If "false", this component is not rendered</description>
</property>
<property>
<name>for</name>
@@ -251,7 +251,7 @@
<property>
<name>actionExpression</name>
<classname>java.lang.String</classname>
- <description>The action method binding expression.</description>
+ <description>The action method binding expression</description>
</property>
Modified: trunk/richfaces/inputnumber-slider/src/main/config/component/inputNumberSlider.xml
===================================================================
--- trunk/richfaces/inputnumber-slider/src/main/config/component/inputNumberSlider.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/inputnumber-slider/src/main/config/component/inputNumberSlider.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -45,7 +45,7 @@
<property>
<name> value </name>
<classname>java.lang.String</classname>
- <description> Value to set as a result of working with a slider control. </description>
+ <description> Value to set as a result of working with a slider control</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
@@ -69,26 +69,26 @@
<property>
<name> width </name>
<classname>java.lang.String</classname>
- <description> The width of a slider control.</description>
+ <description> The width of a slider control</description>
<defaultvalue><![CDATA["200px"]]></defaultvalue>
</property>
<property hidden="true">
<name> height </name>
<classname>java.lang.String</classname>
- <description> The height of a slider control.</description>
+ <description> The height of a slider control</description>
<defaultvalue><![CDATA["20px"]]></defaultvalue>
</property>
<property>
<name> enableManualInput </name>
<classname>boolean</classname>
<description>False value for this attribute makes a text field "read-only", so the value can be
- changed only from a handle. </description>
+ changed only from a handle</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name> showInput </name>
<classname>boolean</classname>
- <description>False value for this attribute makes text a field invisible. </description>
+ <description>False value for this attribute makes text a field invisible</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
@@ -110,19 +110,19 @@
<property>
<name> inputStyle </name>
<classname>java.lang.String</classname>
- <description> Style attribute for text field. </description>
+ <description>Style attribute for text field</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name> inputClass </name>
<classname>java.lang.String</classname>
- <description> Style Class attribute for a text field.</description>
+ <description> Style Class attribute for a text field</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name> inputSize </name>
<classname>int</classname>
- <description> Similar to the "Size" attribute of h:inputText.</description>
+ <description> Similar to the "Size" attribute of h:inputText</description>
<defaultvalue><![CDATA[3]]></defaultvalue>
</property>
<property>
@@ -169,19 +169,19 @@
<property>
<name> barClass </name>
<classname>java.lang.String</classname>
- <description>A name of CSS class for the bar element.</description>
+ <description>A name of CSS class for the bar element</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name> handleClass </name>
<classname>java.lang.String</classname>
- <description>A name of CSS class for a control handle element.</description>
+ <description>A name of CSS class for a control handle element</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name> handleSelectedClass </name>
<classname>java.lang.String</classname>
- <description>A name of CSS class for a selected control handle element.</description>
+ <description>A name of CSS class for a selected control handle element</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
@@ -194,7 +194,7 @@
<property>
<name> tipClass </name>
<classname>java.lang.String</classname>
- <description>A name of CSS class for the tool tip element.</description>
+ <description>A name of CSS class for the tool tip element</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
@@ -234,7 +234,7 @@
<property hidden="true">
<name>alt</name>
<classname>java.lang.String</classname>
- <description>For user agents that cannot display images, forms, or applets, this attribute specifies an alternate text. Language of an alternate text is specified by the lang attribute.</description>
+ <description>For user agents that cannot display images, forms, or applets, this attribute specifies an alternate text. Language of an alternate text is specified by the lang attribute</description>
</property>
<property hidden="true">
<name>localValueSet</name>
Modified: trunk/richfaces/inputnumber-spinner/src/main/config/component/inputNumberSpinner.xml
===================================================================
--- trunk/richfaces/inputnumber-spinner/src/main/config/component/inputNumberSpinner.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/inputnumber-spinner/src/main/config/component/inputNumberSpinner.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -61,19 +61,19 @@
<property>
<name>minValue</name>
<classname>java.lang.String</classname>
- <description>Minimum value.</description>
+ <description>Minimum value</description>
<defaultvalue><![CDATA["0"]]></defaultvalue>
</property>
<property>
<name>maxValue</name>
<classname>java.lang.String</classname>
- <description>Maximum value.</description>
+ <description>Maximum value</description>
<defaultvalue><![CDATA["100"]]></defaultvalue>
</property>
<property>
<name>step</name>
<classname>java.lang.String</classname>
- <description>Parameter that determines the step between nearest values while using controls.</description>
+ <description>Parameter that determines the step between nearest values while using controls</description>
<defaultvalue><![CDATA["1"]]></defaultvalue>
</property>
<property>
@@ -111,7 +111,7 @@
<property>
<name>onerror</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; event fires whenever an JavaScript error occurs.</description>
+ <description>HTML: a script expression; event fires whenever an JavaScript error occurs</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
@@ -128,13 +128,13 @@
<property>
<name> inputClass </name>
<classname>java.lang.String</classname>
- <description> Class attribute for text field. </description>
+ <description> Class attribute for text field</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name> inputStyle </name>
<classname>java.lang.String</classname>
- <description> Style attribute for text field. </description>
+ <description> Style attribute for text field</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<!--
Modified: trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml
===================================================================
--- trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -42,13 +42,13 @@
<name>disabled</name>
<classname>boolean</classname>
<description>If "true" sets state of the item to disabled state.
- "false" is default.</description>
+ "false" is default</description>
<defaultvalue>false</defaultvalue>
</property>
<property required="true">
<name>value</name>
<classname>java.lang.Object</classname>
- <description>Defines representation text for menuItem.</description>
+ <description>Defines representation text for menuItem</description>
</property>
<property>
<name>direction</name>
@@ -72,13 +72,13 @@
<name>event</name>
<classname>java.lang.String</classname>
<description>Defines the event on the representation element that
- triggers the menu's appearance.</description>
+ triggers the menu's appearance</description>
<defaultvalue>"onmouseover"</defaultvalue>
</property>
<property>
<name>showDelay</name>
<classname>java.lang.Integer</classname>
- <description>Delay between event and menu showing.</description>
+ <description>Delay between event and menu showing</description>
<defaultvalue><![CDATA[new Integer(300)]]></defaultvalue>
</property>
<property>
@@ -106,14 +106,14 @@
<name>onopen</name>
<classname>java.lang.String</classname>
<description>HTML: script expression; group was
- opened.</description>
+ opened</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>onclose</name>
<classname>java.lang.String</classname>
<description>HTML: script expression; group was
- closed.</description>
+ closed</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -121,23 +121,23 @@
<name>selectStyle</name>
<classname>java.lang.String</classname>
<description>CSS style rules to be applied to selected
- items.</description>
+ items</description>
</property>
<property>
<name>selectClass</name>
<classname>java.lang.String</classname>
- <description>Class to be applied to selected items.</description>
+ <description>Class to be applied to selected items</description>
</property>
<property>
<name>iconStyle</name>
<classname>java.lang.String</classname>
<description>CSS style rules to be applied to icon
- element.</description>
+ element</description>
</property>
<property>
<name>iconClass</name>
<classname>java.lang.String</classname>
- <description>Class to be applied to icon element.</description>
+ <description>Class to be applied to icon element</description>
</property>
<property>
<name>converter</name>
@@ -192,7 +192,7 @@
<property>
<name>actionExpression</name>
<classname>java.lang.String</classname>
- <description>The action method binding expression.</description>
+ <description>The action method binding expression</description>
</property>
<property>
<name>disabled</name>
@@ -230,7 +230,7 @@
<name>onselect</name>
<classname>java.lang.String</classname>
<description>HTML: script expression; The onselect event occurs when
- a user selects some menu item.</description>
+ a user selects some menu item</description>
<defaultvalue>""</defaultvalue>
</property>
<property hidden="true">
Modified: trunk/richfaces/panelbar/src/main/config/component/panelbar.xml
===================================================================
--- trunk/richfaces/panelbar/src/main/config/component/panelbar.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/panelbar/src/main/config/component/panelbar.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -74,7 +74,7 @@
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- <description>Corresponds to the HTML class attribute.</description>
+ <description>Corresponds to the HTML class attribute</description>
</property>
<property>
<name>headerStyleActive</name>
Modified: trunk/richfaces/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml
===================================================================
--- trunk/richfaces/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -46,7 +46,7 @@
<property>
<name>actionExpression</name>
<classname>java.lang.String</classname>
- <description>The action method binding expression.</description>
+ <description>The action method binding expression</description>
</property>
<property>
<name>height</name>
Modified: trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml
===================================================================
--- trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -127,7 +127,7 @@
<property>
<name>onsubmit</name>
<classname>java.lang.String</classname>
- <description>JavaScript code for call before submission of ajax event.</description>
+ <description>JavaScript code for call before submission of ajax event</description>
</property>
<property>
Modified: trunk/richfaces/tabPanel/src/main/config/component/tabPanel.xml
===================================================================
--- trunk/richfaces/tabPanel/src/main/config/component/tabPanel.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/tabPanel/src/main/config/component/tabPanel.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -80,7 +80,7 @@
<property>
<name>selectedTab</name>
<classname>java.lang.Object</classname>
- <description>Attribure defines name of selected tab.</description>
+ <description>Attribure defines name of selected tab</description>
</property>
<property>
<name>activeTabClass</name>
@@ -165,12 +165,12 @@
<property>
<name>actionExpression</name>
<classname>java.lang.String</classname>
- <description>The action method binding expression.</description>
+ <description>The action method binding expression</description>
</property>
<property>
<name>name</name>
<classname>java.lang.Object</classname>
- <description>Attribute defines tab name.</description>
+ <description>Attribute defines tab name</description>
<defaultvalue>getId()</defaultvalue>
</property>
<property >
@@ -181,12 +181,12 @@
<property>
<name>label</name>
<classname>java.lang.String</classname>
- <description>Text for the actual "tab" in a tab section.</description>
+ <description>Text for the actual "tab" in a tab section</description>
</property>
<property>
<name>title</name>
<classname>java.lang.String</classname>
- <description>HTML: An advisory title for this element. Often displayed as a tooltip.</description>
+ <description>HTML: An advisory title for this element. Often displayed as a tooltip</description>
</property>
<property>
<name>labelWidth</name>
Modified: trunk/richfaces/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- trunk/richfaces/togglePanel/src/main/config/component/togglePanel.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/togglePanel/src/main/config/component/togglePanel.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -190,7 +190,7 @@
<property>
<name>actionExpression</name>
<classname>java.lang.String</classname>
- <description>The action method binding expression.</description>
+ <description>The action method binding expression</description>
</property>
<property>
Modified: trunk/richfaces/tree/src/main/config/component/tree.xml
===================================================================
--- trunk/richfaces/tree/src/main/config/component/tree.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/tree/src/main/config/component/tree.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -63,12 +63,12 @@
<property>
<name>rowKeyVar</name>
<classname>java.lang.String</classname>
- <description>The attribute provides access to a row key in a Request scope.</description>
+ <description>The attribute provides access to a row key in a Request scope</description>
</property>
<property>
<name>componentState</name>
<classname>java.lang.String</classname>
- <description>It defines EL-binding for a component state for saving or redefinition.</description>
+ <description>It defines EL-binding for a component state for saving or redefinition</description>
</property>
<property>
<name>nodeFace</name>
@@ -78,17 +78,17 @@
<property>
<name>changeExpandListener</name>
<classname>javax.faces.el.MethodBinding</classname>
- <description>Listener called on expand/collapse event on the node.</description>
+ <description>Listener called on expand/collapse event on the node</description>
</property>
<property>
<name>dragListener</name>
<classname>javax.faces.el.MethodBinding</classname>
- <description>MethodBinding representing an action listener method that will be notified after drag operation. </description>
+ <description>MethodBinding representing an action listener method that will be notified after drag operation</description>
</property>
<property>
<name>dropListener</name>
<classname>javax.faces.el.MethodBinding</classname>
- <description>MethodBinding representing an action listener method that will be notified after drop operation. </description>
+ <description>MethodBinding representing an action listener method that will be notified after drop operation</description>
</property>
<property>
<name>nodeSelectListener</name>
@@ -98,7 +98,7 @@
<property>
<name>iconLeaf</name>
<classname>java.lang.String</classname>
- <description>An icon for component leaves.</description>
+ <description>An icon for component leaves</description>
</property>
<property>
<name>switchType</name>
@@ -109,17 +109,17 @@
<property>
<name>dragIndicator</name>
<classname>java.lang.String</classname>
- <description>An indicator component id.</description>
+ <description>An indicator component id</description>
</property>
<property>
<name>value</name>
<classname>java.lang.String</classname>
- <description>The current value for this component.</description>
+ <description>The current value for this component</description>
</property>
<property>
<name>var</name>
<classname>java.lang.String</classname>
- <description>Attribute contains a name providing an access to data defined with value.</description>
+ <description>Attribute contains a name providing an access to data defined with value</description>
</property>
&commonTreeClientListeners;
<property>
Modified: trunk/richfaces/tree/src/main/config/component/treeNode.xml
===================================================================
--- trunk/richfaces/tree/src/main/config/component/treeNode.xml 2007-06-05 08:50:48 UTC (rev 1010)
+++ trunk/richfaces/tree/src/main/config/component/treeNode.xml 2007-06-05 12:08:45 UTC (rev 1011)
@@ -47,7 +47,7 @@
<property required="true">
<name>type</name>
<classname>java.lang.String</classname>
- <description>A node type.</description>
+ <description>A node type</description>
</property>
<property>
<name>ajaxSubmitSelection</name>
@@ -76,17 +76,17 @@
<property>
<name>changeExpandListener</name>
<classname>javax.faces.el.MethodBinding</classname>
- <description>Listener called on expand/collapse event on the node.</description>
+ <description>Listener called on expand/collapse event on the node</description>
</property>
<property>
<name>dragListener</name>
<classname>javax.faces.el.MethodBinding</classname>
- <description>MethodBinding representing an action listener method that will be notified after drag operation. </description>
+ <description>MethodBinding representing an action listener method that will be notified after drag operation</description>
</property>
<property>
<name>dropListener</name>
<classname>javax.faces.el.MethodBinding</classname>
- <description>MethodBinding representing an action listener method that will be notified after drop operation. </description>
+ <description>MethodBinding representing an action listener method that will be notified after drop operation</description>
</property>
<property>
<name>nodeSelectListener</name>
@@ -96,7 +96,7 @@
<property>
<name>iconLeaf</name>
<classname>java.lang.String</classname>
- <description>An icon for component leaves.</description>
+ <description>An icon for component leaves</description>
</property>
&commonTreeClientListeners;
17 years, 7 months
JBoss Rich Faces SVN: r1010 - trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: a.izobov
Date: 2007-06-05 04:50:48 -0400 (Tue, 05 Jun 2007)
New Revision: 1010
Modified:
trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-252 fixed
Modified: trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
--- trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-06-05 01:17:52 UTC (rev 1009)
+++ trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-06-05 08:50:48 UTC (rev 1010)
@@ -356,15 +356,10 @@
LOG.debug("Scroll = " + scroll.scrollTop
+ " , reallOffset= " + realOffset
+ " scrollHeight= " + scroll.offsetHeight);
- var minScroll = realOffset - (scroll.clientHeight / 2)
- - (scroll.clientHeight / 2) % entry.offsetHeight;
- var maxScroll = realOffset - (scroll.clientHeight * 2 / 3)
- + (scroll.clientHeight * 2 / 3)
- % (entry.offsetHeight) ;
- if (scroll.scrollTop > minScroll) {
- scroll.scrollTop = minScroll;
- } else if (scroll.scrollTop < maxScroll) {
- scroll.scrollTop = maxScroll;
+ if (realOffset > scroll.scrollTop + scroll.clientHeight - entry.offsetHeight) {
+ scroll.scrollTop = realOffset - scroll.clientHeight + entry.offsetHeight;
+ } else if (realOffset < scroll.scrollTop) {
+ scroll.scrollTop = realOffset;
}
}
// remove hightliit from inactive entry
17 years, 7 months
JBoss Rich Faces SVN: r1009 - trunk/richfaces-samples.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-04 21:17:52 -0400 (Mon, 04 Jun 2007)
New Revision: 1009
Modified:
trunk/richfaces-samples/pom.xml
Log:
Move common skins subproject to build before all samples.
Modified: trunk/richfaces-samples/pom.xml
===================================================================
--- trunk/richfaces-samples/pom.xml 2007-06-05 00:29:08 UTC (rev 1008)
+++ trunk/richfaces-samples/pom.xml 2007-06-05 01:17:52 UTC (rev 1009)
@@ -262,6 +262,7 @@
</profile>
</profiles>
<modules>
+ <module>skins</module>
<module>separator-sample</module>
<module>panel-sample</module>
<module>gmap-sample</module>
@@ -277,7 +278,6 @@
<module>suggestionbox-sample</module>
<module>dragDropDemo</module>
<module>dataTableDemo</module>
- <module>skins</module>
<module>modalpanel-sample</module>
<module>datascroller-sample</module>
<module>richfaces-demo</module>
17 years, 7 months
JBoss Rich Faces SVN: r1008 - in trunk/richfaces/assembly: src/main/assembly and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-06-04 20:29:08 -0400 (Mon, 04 Jun 2007)
New Revision: 1008
Added:
trunk/richfaces/assembly/src/main/assembly/src.xml
Modified:
trunk/richfaces/assembly/pom.xml
trunk/richfaces/assembly/src/main/assembly/richfaces.xml
Log:
Properly assembly source archive
Modified: trunk/richfaces/assembly/pom.xml
===================================================================
--- trunk/richfaces/assembly/pom.xml 2007-06-04 18:12:29 UTC (rev 1007)
+++ trunk/richfaces/assembly/pom.xml 2007-06-05 00:29:08 UTC (rev 1008)
@@ -98,6 +98,7 @@
<outputDirectory>${project.build.directory}/dist</outputDirectory>
<descriptors>
<descriptor>src/main/assembly/richfaces.xml</descriptor>
+ <descriptor>src/main/assembly/src.xml</descriptor>
</descriptors>
</configuration>
<executions>
Modified: trunk/richfaces/assembly/src/main/assembly/richfaces.xml
===================================================================
--- trunk/richfaces/assembly/src/main/assembly/richfaces.xml 2007-06-04 18:12:29 UTC (rev 1007)
+++ trunk/richfaces/assembly/src/main/assembly/richfaces.xml 2007-06-05 00:29:08 UTC (rev 1008)
@@ -2,6 +2,7 @@
<id>bin</id>
<formats>
<format>zip</format>
+ <format>tar.gz</format>
</formats>
<fileSets>
<fileSet>
@@ -31,10 +32,10 @@
<directory>target/tlddoc</directory>
<outputDirectory>tlddoc</outputDirectory>
</fileSet>
- <fileSet>
+<!-- <fileSet>
<directory>target/src</directory>
<outputDirectory>src</outputDirectory>
- </fileSet>
+ </fileSet> -->
</fileSets>
<dependencySets>
<dependencySet>
Added: trunk/richfaces/assembly/src/main/assembly/src.xml
===================================================================
--- trunk/richfaces/assembly/src/main/assembly/src.xml (rev 0)
+++ trunk/richfaces/assembly/src/main/assembly/src.xml 2007-06-05 00:29:08 UTC (rev 1008)
@@ -0,0 +1,37 @@
+<assembly>
+ <id>src</id>
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>../..</directory>
+ <outputDirectory>/</outputDirectory>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ <exclude>**/.*</exclude>
+ <exclude>**/.*/**</exclude>
+ <exclude>**/*.log</exclude>
+ <exclude>www/**</exclude>
+ </excludes>
+ </fileSet>
+ <!-- fileSet>
+ <directory>framework/target</directory>
+ <outputDirectory>/framework</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet-->
+ </fileSets>
+ <!--dependencySets>
+ <dependencySet>
+ <outputDirectory>lib</outputDirectory>
+ <unpack>false</unpack>
+ <scope>runtime</scope>
+ <excludes>
+ <exclude>junit:junit</exclude>
+ </excludes>
+ </dependencySet>
+ </dependencySets-->
+ </assembly>
\ No newline at end of file
17 years, 7 months