jsf - p:selectOneMenu does not work -


i developing application primefaces 3 , p:selectonemenu doesn't work.

the first option selected , when press drop-down button right nothing happens. h:selectonemenu works fine, want style of primefaces component.

<h:form>   <!-- country-->   <div class="control-group">     <label class="control-label">country</label>     <div class="controls">       <p:selectonemenu value="#{userservice.sessionbean.currentuser.country}">         <f:selectitem itemlabel="austria" itemvalue="austria" />         <f:selectitem itemlabel="germany" itemvalue="germany" />         <f:selectitem itemlabel="italy" itemvalue="italy" />       </p:selectonemenu>     </div>   </div>   <div class="form-actions">     <p:commandbutton type="submit" id="submitbutton" action="#{userservice.update()}" value="update profile" styleclass="btn btn-primary btn-large" ajax="false">       <f:param name="update" value="true" />     </p:commandbutton>   </div> </h:form> 

i copied showcase example primefaces homepage still not work. tested @ friends computer , firefox , chrome on ubuntu , mac os x.

is problem primefaces version (3.5)?

i commented on issue on year ago, ran same issue , found post again when looking solution.

the fix in case page had import of older version of jquery (1.11.2) clashing jquery primefaces uses , imports page.

i removed jquery import , p:selectonemenu drops down , works expected.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -