org.apache.tapestry.contrib.table.components
Class TableFormRows
java.lang.Object
|
+--org.apache.tapestry.spec.BaseLocatable
|
+--org.apache.tapestry.AbstractComponent
|
+--org.apache.tapestry.BaseComponent
|
+--org.apache.tapestry.contrib.table.components.AbstractTableViewComponent
|
+--org.apache.tapestry.contrib.table.components.TableRows
|
+--org.apache.tapestry.contrib.table.components.TableFormRows
- All Implemented Interfaces:
- IComponent, ILocatable, ILocationHolder, IRender, ITableRowSource
- public class TableFormRows
- extends TableRows
A low level Table component that generates the rows of the current page in the table.
This component is a variant of TablePages
,
but is designed for operation in a form. The displayed rows are stored in
hidden form fields, which are then read during a rewind. This ensures that
the form will rewind in exactly the same was as it was rendered even if the
TableModel has changed and no StaleLink exceptions will occur.
The component must be wrapped by TableView
.
The component iterates over the rows of the current page in the table.
The rows are wrapped in 'tr' tags by default.
You can define columns manually within, or
you can use TableValues
to generate the columns automatically.
Parameter |
Type |
Direction |
Required |
Default |
Description |
row |
Object |
out |
no |
|
The value object of the current row. |
element |
String |
in |
no |
tr |
The tag to use to wrap the rows in. |
- Version:
- $Id: TableFormRows.java,v 1.1 2003/09/06 14:04:42 mindbridge Exp $
- Author:
- mindbridge
Methods inherited from class org.apache.tapestry.contrib.table.components.TableRows |
getElement, getElementBinding, getRowBinding, getTableRow, getTableRowsIterator, getValueBinding, renderComponent, setElementBinding, setRowBinding, setTableRow, setValueBinding |
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString |
TableFormRows
public TableFormRows()