Problem with inputSwitch when "update" the control
Posted: 19 Apr 2017, 19:27
I have a problem with inputSwitch located in a tabView control, when an command button update the inputSwitch it grows and stops working
in the command button the update is update="tabTramiteCompra:formDetalleTramite:switch" "switch" is the id of the inputSwitch
the correct size befor update is:
after update:
the inputSwitch :
<p:inputSwitch onLabel="#{msg['etiqueta.general.si']}" offLabel="#{msg['etiqueta.general.no']}" id="switch" value="#{tramiteController.tramiteCompra.indDemanda}" >
</p:inputSwitch>
in the command button the update is update="tabTramiteCompra:formDetalleTramite:switch" "switch" is the id of the inputSwitch
the correct size befor update is:
after update:
the inputSwitch :
<p:inputSwitch onLabel="#{msg['etiqueta.general.si']}" offLabel="#{msg['etiqueta.general.no']}" id="switch" value="#{tramiteController.tramiteCompra.indDemanda}" >
</p:inputSwitch>