
02/09/2008, 12:52
|
Usuario no validado | | Fecha de Ingreso: junio-2008
Mensajes: 386
Antigüedad: 16 años, 7 meses Puntos: 10 | |
Respuesta: Struts mostrar el label de un html:select Hola,
Este codigo te muestra el select con los valores:
<html:select property="clave">
<html:options collection="lista" property="id" labelProperty="nombre" />
</html:select>
Y tambien se puede hacer de la siguiente manera:
<html:select property="clave">
<html:optionsCollection name="lista" value="id" label="nombre" />
</html:select>
saludos! |