Board index JavaServer Faces General <p:selectOneMenu is not working!

<p:selectOneMenu is not working!

Components, Ajax Framework, Utilities and More.


Posts: 60
<p:selectOneMenu id="transportMode" value="#{.....employee.transportMode}">
<f:selectItem itemLabel="Select" itemValue="" />
<f:selectItem itemLabel="Car" itemValue="" />
</p:selectOneMenu>

is not working with primefaces-2.2.1

errors:
<p:selectOneMenu> Tag Library supports namespace: http://primefaces.prime.com.tr/ui, but no tag was defined for name: selectOneMenu.....

is it works with primefaces-3.0?
Thanks,
Nidheesh


Posts: 72
As you can see here http://www.primefaces.org/showcase/ui/home.jsf (the ShowCase running Primefaces 2.2.1) there is no selectOneMenu component defined. You have to use the latest version, 3.0.M4, along with the new namespace:
xmlns:p="http://primefaces.org/ui"


Return to General