seinecle
seinecle

Reputation: 10768

Tag Library supports namespace: http://primefaces.org/ui, but no tag was defined for name: socket

Error msg when my xhtml page loads, pointing to the following line in my xhtml:

" Tag Library supports namespace: http://primefaces.org/ui, but no tag was defined for name: socket"

The line in my xhtml: (after the h:form is closed)

<p:socket onMessage="handleMessage" channel="/counter" />

(I followed carefully the great tutorial here: http://blog.eisele.net/2012/09/primefaces-push-with-atmosphere-on.html)

Where should I look to debug?

Upvotes: 1

Views: 14899

Answers (1)

BalusC
BalusC

Reputation: 1108632

The first sentence of the blog which you linked there says:

PrimeFaces 3.4 came out three days ago. Beside the usual awesomeness of new and updated components it also includes the new PrimeFaces Push framework.

So, it's only available since PrimeFaces 3.4. The error message which you got suggests that you haven't upgraded to 3.4 yet, or that the upgrade itself wasn't done properly (e.g. the older PrimeFaces version wasn't been removed at all).

Upvotes: 8

Related Questions