Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by MarceloLotif: http://wiki.apache.org/tapestry/Tapestry5SelectObject ------------------------------------------------------------------------------ import org.exemplo.testeModels.selectModel.GenericSelectionModel; import org.exemplo.testeModels.selectModel.GenericValueEncoder; - /** - * Select an item from a list of values, using an [X]HTML <select> - element on the client side. - * An validation decorations will go around the entire <select> - element. - * <p> - * A core part of this component is the [EMAIL PROTECTED] ValueEncoder} (the encoder - parameter) that is used to - * convert between server-side values and client-side strings. In many - cases, a [EMAIL PROTECTED] ValueEncoder} - * can be generated automatically from the type of the value parameter. The - * [EMAIL PROTECTED] ValueEncoderSource} service provides an encoder in these - situations; it can be overriden - * by binding the encoder parameter, or extended by contributing a [EMAIL PROTECTED] - ValueEncoderFactory} into - * the service's configuration. - */ public final class SelectObject extends AbstractField { private class Renderer extends SelectModelRenderer @@ -186, +169 @@ @Parameter private String _labelField = null; - // Maybe this should default to property "<componentId>Model"? - /** - * The model used to identify the option groups and options to be - presented to the user. This - * can be generated automatically for Enum types. - */ - // @Parameter(required = true) - // private SelectModel _model; - private GenericSelectionModel<Object> _model; - - /** - * Allows a specific implementation of [EMAIL PROTECTED] ValueEncoder} to be - supplied. This is used to - * create client-side string values for the different options. - * - * @see ValueEncoderSource - */ - // @Parameter - // private ValueEncoder _encoder; private GenericValueEncoder<Object> _encoder; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
