WebWork 2 : Combobox tag
This page last changed on Dec 14, 2004 by casey.
<ww:combobox />The combo box is basically an HTML INPUT of type text and HTML SELECT grouped together to give you a combo box functionality. You can place text in the INPUT control by using the SELECT control or type it in directly in the text field.In this example, the SELECT will be populated from id=year attribute. Counter is itself an Iterator. It will span from first to last. <ww:bean name="'webwork.util.Counter'" id="year"> <ww:param name="'first'" value="text('firstBirthYear')"/> <ww:param name="'last'" value="2000"/> <ww:combobox label="'Birth year'" size="6" maxlength="4" name="'birthYear'" list="#year"/> </ww:bean> Attributes
|
![]() |
Document generated by Confluence on Dec 14, 2004 16:36 |