org.apache.tapestry.form
Class ListEdit

java.lang.Object
  extended byorg.apache.hivemind.impl.BaseLocatable
      extended byorg.apache.tapestry.AbstractComponent
          extended byorg.apache.tapestry.form.AbstractFormComponent
              extended byorg.apache.tapestry.form.ListEdit
All Implemented Interfaces:
IComponent, IFormComponent, IRender, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

Deprecated. As of release 4.0, replaced by ForBean

public abstract class ListEdit
extends AbstractFormComponent

A specialized component used to edit a list of items within a form; it is similar to a Foreachbut leverages hidden inputs within the <form> to store the items in the list. [ Component Reference ]

Since:
1.0.2
Author:
Howard Lewis Ship

Constructor Summary
ListEdit()
          Deprecated.  
 
Method Summary
protected  boolean getCanTakeFocus()
          Deprecated. Returns false; ListEdit components can't take focus.
 java.lang.String getClientId()
          Deprecated. Returns the component's client-side element id.
abstract  DataSqueezer getDataSqueezer()
          Deprecated.  
 java.lang.String getDisplayName()
          Deprecated. May be implemented to return a user-presentable, localized name for the component, which is used in labels or error messages.
abstract  java.lang.String getElement()
          Deprecated.  
abstract  IActionListener getListener()
          Deprecated.  
abstract  ListenerInvoker getListenerInvoker()
          Deprecated. Injected.
abstract  java.util.Iterator getSource()
          Deprecated.  
abstract  ValueConverter getValueConverter()
          Deprecated.  
 boolean isDisabled()
          Deprecated. Returns true if the component is disabled.
protected  void render(IMarkupWriter writer, IRequestCycle cycle, java.util.Iterator i)
          Deprecated.  
protected  void renderFormComponent(IMarkupWriter writer, IRequestCycle cycle)
          Deprecated.  
protected  void rewindFormComponent(IMarkupWriter writer, IRequestCycle cycle)
          Deprecated.  
abstract  void setIndex(int index)
          Deprecated.  
abstract  void setValue(java.lang.Object value)
          Deprecated.  
 
Methods inherited from class org.apache.tapestry.form.AbstractFormComponent
getAlwaysRenderBodyOnRewind, getForm, getIdParameter, getName, isRequired, renderComponent, renderDelegateAttributes, renderDelegatePrefix, renderDelegateSuffix, renderIdAttribute, setClientId, setForm, setName, setName
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, 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

ListEdit

public ListEdit()
Deprecated. 
Method Detail

renderFormComponent

protected void renderFormComponent(IMarkupWriter writer,
                                   IRequestCycle cycle)
Deprecated. 
Specified by:
renderFormComponent in class AbstractFormComponent
See Also:
AbstractFormComponent.renderFormComponent(org.apache.tapestry.IMarkupWriter, org.apache.tapestry.IRequestCycle)

rewindFormComponent

protected void rewindFormComponent(IMarkupWriter writer,
                                   IRequestCycle cycle)
Deprecated. 
Specified by:
rewindFormComponent in class AbstractFormComponent
See Also:
AbstractFormComponent.rewindFormComponent(org.apache.tapestry.IMarkupWriter, org.apache.tapestry.IRequestCycle)

render

protected void render(IMarkupWriter writer,
                      IRequestCycle cycle,
                      java.util.Iterator i)
Deprecated. 

getElement

public abstract java.lang.String getElement()
Deprecated. 

getListener

public abstract IActionListener getListener()
Deprecated. 
Since:
2.2 *

isDisabled

public boolean isDisabled()
Deprecated. 
Description copied from interface: IFormComponent
Returns true if the component is disabled. This is important when the containing form is submitted, since disabled parameters do not update their bindings.

Since:
3.0 *

getSource

public abstract java.util.Iterator getSource()
Deprecated. 
Since:
4.0

setValue

public abstract void setValue(java.lang.Object value)
Deprecated. 
Since:
4.0

setIndex

public abstract void setIndex(int index)
Deprecated. 
Since:
4.0

getDataSqueezer

public abstract DataSqueezer getDataSqueezer()
Deprecated. 
Since:
4.0

getValueConverter

public abstract ValueConverter getValueConverter()
Deprecated. 
Since:
4.0

getListenerInvoker

public abstract ListenerInvoker getListenerInvoker()
Deprecated. 
Injected.

Since:
4.0

getCanTakeFocus

protected boolean getCanTakeFocus()
Deprecated. 
Returns false; ListEdit components can't take focus.

Overrides:
getCanTakeFocus in class AbstractFormComponent
Since:
4.0

getClientId

public java.lang.String getClientId()
Deprecated. 
Description copied from interface: IFormComponent
Returns the component's client-side element id. Typically, this is specified using an id parameter on the component and is passed through IRequestCycle.getUniqueId(String) to ensure that it is unique. The component is expected to write an id attribute (if it has a non null id). As with IFormComponent.getName(), if a component renders more than once (such as inside a loop) then on each render it will have a different clientId.

Returns:
the id, or null if the component doesn't support an id.

getDisplayName

public java.lang.String getDisplayName()
Deprecated. 
Description copied from interface: IFormComponent
May be implemented to return a user-presentable, localized name for the component, which is used in labels or error messages. Most components simply return null.