struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Exposito <>
Subject Doubt about form with select and texfields
Date Wed, 03 Sep 2008 09:04:03 GMT


I am trying to create a form where I have a select, and depending of my selection, I make
visible or not some others textfields in the same page.

How can I do it?

I have this (a test showing a radio or another), but it doesn't work...

<td><s:select name="contrato.tipoContrato" label="Tipo" list="listaTiposContrato"
listKey="idTipo" emptyOption="false" headerValue="Seleccionar" headerKey="Seleccionar"></s:select></td>
                <s:if test="contrato.tipoContrato=='SoporteVenta'">
                    <td><s:radio label="Abierta" name="contrato.abierta" list="{'SĂ­','No'}"/></td>
                    <td><s:radio label="Abierta" name="contrato.abierta" list="{'AA','BB'}"/></td>


Prueba los prototipos de los Ășltimos en MSN Motor
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message