org.chenillekit.tapestry.core.components
Class MultipleSelect

java.lang.Object
  extended by org.apache.tapestry5.corelib.base.AbstractField
      extended by org.chenillekit.tapestry.core.components.MultipleSelect
All Implemented Interfaces:
ClientElement, Field

public class MultipleSelect
extends AbstractField

Select a list of items from a list of values, using an [X]HTML multiple select element on the client side.

the only diffrence to the original tapestry select component is that the "value" parameter expected a java.util.List object.

Version:
$Id: MultipleSelect.java 729 2010-11-03 19:51:08Z homburgs $

Constructor Summary
MultipleSelect()
           
 
Method Summary
protected  void processSubmission(String elementName)
           
 void setModel(SelectModel model)
          only for testing.
 void setValue(List value)
          only for testing.
 void setValueEncoder(MultipleValueEncoder encoder)
          only for testing.
 
Methods inherited from class org.apache.tapestry5.corelib.base.AbstractField
createDefaultParameterBinding, decorateInsideField, getClientId, getControlName, getLabel, isDisabled, isRequired, putPropertyNameIntoBeanValidationContext, removePropertyNameFromBeanValidationContext, setDecorator, setFormSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleSelect

public MultipleSelect()
Method Detail

processSubmission

protected void processSubmission(String elementName)
Specified by:
processSubmission in class AbstractField

setModel

public void setModel(SelectModel model)
only for testing.

Parameters:
model -

setValue

public void setValue(List value)
only for testing.

Parameters:
value -

setValueEncoder

public void setValueEncoder(MultipleValueEncoder encoder)
only for testing.

Parameters:
encoder -


Copyright © 2008-2011 ChenilleKit. All Rights Reserved.