PrimeFaces 5
GlassFish 4.1
Very simple to explain, I got multiple selectOneMenu items to perform filtering on several kind of objects, when i change one, the other are being update, and sometimes, I got somes that "change width" and I can't use them anymore :
I got also a reset button, and when i click, sometimes everything ok, sometimes somes broke, sometimes all broke
When I remove the update part, don't have this problem but not very usefull
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
they all are like :
Code: Select all
<p:selectOneMenu id="firstFilter"
value="#{bean.f1}"
style="width:200px">
<p:ajax event="change" update'="secondFilter" />
<f:selectItem itemValue="#{null}" noSelectionOption="true" />
<f:selectItems itemValue="#{bean.listFilter1}" />
</p:selectOneMenu>
I check that if a longer word what not inside, by the Dom and no
There is only:
Code: Select all
<select ... >
<option value="7ds6f4-s5vf-vs5dv4fds-vfdgv4d" selected="selected"></option>
<option value="6vdf17-fdsg-1d413f89loi4l8zca"> 1 </option>
<option value="4v81z-g641-dsu7k4k1z89q94b"> 2 </option>
</select>
Code: Select all
<script id="myid_s">$(function(){PrimaFaces.cw("SelectOneMenu", "widget_myid", {id:"myid", widgetVar:"widget_myid"});});</script>