org.chenillekit.tapestry.core.components
Class MultipleSelect
java.lang.Object
org.apache.tapestry5.corelib.base.AbstractField
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 $
| 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 |
MultipleSelect
public MultipleSelect()
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-2010 ChenilleKit. All Rights Reserved.