net.sf.beanform
Class BeanFormRows

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by net.sf.beanform.BeanFormComponent
                  extended by net.sf.beanform.BeanFormRows
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IRender, ITemplateComponent

public abstract class BeanFormRows
extends BeanFormComponent

A low level BeanForm component that generates the rows for all the properties. This component must be wrapped by a BeanForm component.

Author:
Daniel Gredler

Field Summary
static String BEAN_FORM_ROWS_ATTRIBUTE
           
 
Constructor Summary
BeanFormRows()
           
 
Method Summary
protected  void addExtraBindings(IFormComponent field)
           
 List<BeanProperty> getProperties()
           
 BeanProperty getProperty()
           
protected  void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
 void setProperty(BeanProperty property)
           
 
Methods inherited from class net.sf.beanform.BeanFormComponent
getBeanForm, getCustomField, getCustomFieldBlock, getCustomFieldBlockName, getCustomFieldName, getPropertySelectionModel, getSiblingComponent, hasCustomField, hasPropertySelectionModel
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad
 
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, 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
 

Field Detail

BEAN_FORM_ROWS_ATTRIBUTE

public static final String BEAN_FORM_ROWS_ATTRIBUTE
Constructor Detail

BeanFormRows

public BeanFormRows()
Method Detail

getProperty

public BeanProperty getProperty()

setProperty

public void setProperty(BeanProperty property)

getProperties

public List<BeanProperty> getProperties()

renderComponent

protected void renderComponent(IMarkupWriter writer,
                               IRequestCycle cycle)
Overrides:
renderComponent in class BaseComponent

addExtraBindings

protected void addExtraBindings(IFormComponent field)


Copyright © 2006 Daniel Gredler. All Rights Reserved.