XMl Namespace

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
nputta
Posts: 2
Joined: 21 Mar 2019, 19:33

01 Apr 2019, 19:50

Warning: This page calls for XML namespace http://primefaces.org/california declared with prefix pp but no taglibrary exists for that namespace.


i am getting this error for the below code any idea's would be appreciated


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:pp="http://primefaces.org/california">

<h:body>
<ui:composition>

<h:form id="menuForm">
<!-- <p:menu toggleable="true" model="#{applicationMenu.model}" /> -->


<pc:menu model="#{applicationMenu.model}></pp:menu>
</h:form>

</ui:composition>
</h:body>
</html>

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

17 Apr 2019, 08:23

Please see your typo; </pc:menu> instead of </pp:menu>

Please use;
xmlns:pc="http://primefaces.org/california"

<pc:menu model="#{applicationMenu.model}></pc:menu>
..

Also, California menu is a custom component for this layout. Please not use it as a PrimeFaces component in your page.

Best Regards,

Post Reply

Return to “California - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests