Deactivate s: select struct

0

I have the following struct statement:

<s:select name="idDepartamento" cssClass="form-control" id="idDepartamento"
 list="@com.mncars.factura.negocio.GestionDepartamentos@dameDepartamentos()"
 listKey="idDepartamento"
 listValue="departamento"
 headerKey="" headerValue="-- Seleccione --"
 value="%{#session.deptUsuario.idDepartamento}" 
 readonly="true"
/>

I simply want it to be read, but the readonly property does not work correctly, that is, the component looks gray as if it were disabled but I can change the option.

I've also tried with disable but it does not do anything.

Does anyone know what happens?

    
asked by nachfren 16.08.2017 в 17:59
source

0 answers