net.sf.tacos.ajax.components.table
Class Table

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.apache.tapestry.contrib.table.components.Table
                  extended by net.sf.tacos.ajax.components.table.Table
All Implemented Interfaces:
Locatable, LocationHolder, org.apache.tapestry.contrib.table.model.ITableModelSource, org.apache.tapestry.IComponent, org.apache.tapestry.IRender, org.apache.tapestry.ITemplateComponent

public abstract class Table
extends org.apache.tapestry.contrib.table.components.Table

Ajax version of the contrib:Table component found in the main Tapestry distribution. This is not a complex Javascript Grid widget, but rather an adjustment of the Tapestry table to work with Ajax semantics.

By default, this table updates it's own rendering zone (the header, rows and pages links) using Ajax semantics, with no special effects. If you wish to override this, use the specified Ajax params. Note that this override disables the default parameters, so you must manually set the table in the updateComponents parameter if you are overriding it.

Author:
lquijano

Field Summary
 
Fields inherited from interface org.apache.tapestry.contrib.table.model.ITableModelSource
TABLE_MODEL_SOURCE_ATTRIBUTE
 
Constructor Summary
Table()
           
 
Method Summary
 String getEffects()
          Effects.
abstract  String getEffectsParam()
          Effects parameter.
 String getPreEffects()
          Pre-effects parameter.
abstract  String getPreEffectsParam()
          Pre-effects parameter.
 String getStatusElement()
          Update status element id.
abstract  String getStatusElementParam()
          Update status element id parameter.
 Collection getUpdateComponents()
          Components to update in request.
abstract  Collection getUpdateComponentsParam()
          Components to update in request parameter.
 
Methods inherited from class org.apache.tapestry.contrib.table.components.Table
fireObservedStateChange, getShowNormalPages, getTableColumn, getTableColumnsComponent, getTableModel, getTableRow, getTableRowsComponent, getTableValuesComponent, getTableViewComponent, getVolatile, reset
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

Table

public Table()
Method Detail

getUpdateComponentsParam

public abstract Collection getUpdateComponentsParam()
Components to update in request parameter.


getEffectsParam

public abstract String getEffectsParam()
Effects parameter.


getStatusElementParam

public abstract String getStatusElementParam()
Update status element id parameter.


getPreEffectsParam

public abstract String getPreEffectsParam()
Pre-effects parameter.


getUpdateComponents

public Collection getUpdateComponents()
Components to update in request.


getEffects

public String getEffects()
Effects.


getStatusElement

public String getStatusElement()
Update status element id.


getPreEffects

public String getPreEffects()
Pre-effects parameter.