Problem with inputSwitch when "update" the control

UI Components for JSF
Post Reply
paulino152
Posts: 1
Joined: 19 Apr 2017, 19:14

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:
Image


after update:

Image

the inputSwitch :
<p:inputSwitch onLabel="#{msg['etiqueta.general.si']}" offLabel="#{msg['etiqueta.general.no']}" id="switch" value="#{tramiteController.tramiteCompra.indDemanda}" >
</p:inputSwitch>

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 49 guests