0
The first faces Component is losing style after updating with ajax in the view. What do I do to solve?
0
The first faces Component is losing style after updating with ajax in the view. What do I do to solve?
0
Solution to beat the bug by updating using ajax in the Calendar component in the view (.xhtml), in this case my "dataRevise" flag was being affected.
OBS: I AM USING, IN A MOBILE WAY, THE PRIMEFACES 5.3 !!!!
In the view, it was necessary to insert two attributes below in the "dataRelat".
Also, I inserted in my bean a code snippet in an event from another field related to the "dataRelat".
In my changeEventCampoQtdDiasVendidos method(Ajaxbehaviorevent Event) { }
/*trecho do código para resolver o bug do update */
org.primefaces.component.calendar.Calendar calendarDataRetorno = (org.primefaces.component.calendar.Calendar) FacesContext
.getCurrentInstance().getViewRoot()
.findComponent("formCadastro:dataRetorno");
calendarDataRetorno.setStyle("border-width: 1;");
Browser other questions tagged ajax jsf primefaces calendar
You are not signed in. Login or sign up in order to post.
You tried to use update="?" by pointing only to a Legend?
– Marlysson
In my case I used update="inputText1 inputText2 Calendar", but the error happens by putting only Calendar too.
– Guilherme Muller Moura Lima