Cannot use p:knob example from prime faces showcases

UI Components for JSF
Post Reply
dbac2002
Posts: 3
Joined: 17 May 2016, 21:34

18 May 2016, 11:14

Hi,

I try to use the example from the prime faces showcases regarding knob.

I use Primefaces 6.0.RC3, sf-api 2.2.13, javax.servlet-api 3.1.0.

My index.xhtml is

Code: Select all

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
</h:head>
<h:body>
	<div class="knob-container ui-corner-all">
		<p:knob cursor="true" value="0" />
	</div>
</h:body>
</html>
when running this, I get

/index.xhtml @14,37 <p:knob> Tag Library supports namespace: http://primefaces.org/ui, but no tag was defined for name: knob

what am I missing ?

Thanks

hsntpn
Posts: 15
Joined: 18 Mar 2016, 21:24

16 Jun 2016, 14:53

Code is working correctly can you check your primefaces jar?

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

16 Jun 2016, 21:43

Yes, might be an old PF jar in your server

hsntpn
Posts: 15
Joined: 18 Mar 2016, 21:24

17 Jun 2016, 08:50

I am using 6.0 Jar

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 48 guests