jsf - "This page calls for XML namespace declared with prefix p but no taglibrary exists for that namespace." -
when using <p:messages> or <h:messages>, getting following warning:
this page calls xml namespace declared prefix p no taglibrary exists namespace.
i understand it's warning still it's bit annoying when working in development mode.
is there way fix issue ?
using: weblogic 12c & primefaces 5
this can come <p> if don't have declared default xml namespace html.
e.g.
<ui:composition xmlns:p="http://primefaces.org.ui" > <p><p:messages/></p> </ui:composition> would produce warning.
you'd need add default xml namespace html.
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:p="http://primefaces.org.ui" > <p><p:messages/></p> </ui:composition> this totally explains why still got message when using <h:messages> instead.
Comments
Post a Comment