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?