Hi,

You may have to use JavaScript, this will only work at the time of page rendering only.

Thanks,

Nuwan


Francisco Exposito wrote:
Hi,

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>
                </s:if>
                <s:else>
                    <td><s:radio label="Abierta" name="contrato.abierta" 
list="{'AA','BB'}"/></td>
                </s:else>

Thanks.

_________________________________________________________________
Prueba los prototipos de los Ășltimos en MSN Motor
http://motor.es.msn.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to