<p:selectOneMenu is not working!

Components, Ajax Framework, Utilities and More.
Post Reply
nidheesh
Posts: 60
Joined: 24 Oct 2011, 13:21

01 Nov 2011, 07:15

<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

spauny
Posts: 73
Joined: 10 Oct 2011, 16:42

01 Nov 2011, 08:19

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:

Code: Select all

xmlns:p="http://primefaces.org/ui"

Post Reply
  • Information
  • Who is online

    Users browsing this forum: bigzidane, Bing [Bot] and 11 guests