org.apache.tapestry5.corelib.components
Class AjaxFormLoop

java.lang.Object
  extended by org.apache.tapestry5.corelib.components.AjaxFormLoop

@Events(value={"addRow","removeRow"})
public class AjaxFormLoop
extends Object

A special form of the Loop component that adds Ajax support to handle adding new rows and removing existing rows dynamically. Expects that the values being iterated over are entities that can be identified via a ValueEncoder.

Works with AddRowLink and RemoveRowLink components.

The addRow event will receive the context specified by the context parameter.

The removeRow event will receive the client-side value for the row being iterated.

See Also:
EventConstants.ADD_ROW, EventConstants.REMOVE_ROW

Constructor Summary
AjaxFormLoop()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxFormLoop

public AjaxFormLoop()


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.