Hi,
At a quick glance I'd say you need to use html:option and not html:options
You need something like:
<html:select property="tp_acomodacao" size="1">
<html:option value="eletivo" key="tp_acomodacao.eletivo"/>
<html:option value="emergencia" key="tp_acomodacao.emergencia"/>
<html:option value="urgencia" key="tp_acomodacao.urgencia"/>
</html:select>
You then need to define the keys in your ApplicationResources.properties
file like so:
tp_acomodacao.eletivo=Eletivo
tp_acomodacao.emergencia=Emergência
tp_acomodacao.urgencia=Urgência
I'm pretty sure that should work fine.
Regards,
Bart.
Joaquim Azevedo wrote:
hi all!
I need to do a combobox, it's a simple question..., but i can't do...
this is my way ( wrong ):
<html:select property="tp_acomodacao" size="1">
<html:options value="eletivo" labelName="Eletivo"/>
<html:options value="emergencia" labelName="Emergência"/>
<html:options value="urgencia" labelName="Urgência"/>
</html:select>
What's right way??
Sorry for english....
--
========================
Joaquim Azevedo
Linux Users #398795
UECE - Ciências da Computação
Larces-NOKIA
========================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]