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>
XMl Namespace
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
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,
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,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 6 guests