Foros de discusión
Liferay 6.2 xhtml aui namespace
Byomesh Jha, modificado hace 9 años.
Liferay 6.2 xhtml aui namespace
New Member Mensajes: 3 Fecha de incorporación: 15/08/14 Mensajes recientes
I am trying to use alloy namespace in my xhtml view and aui namespace is not recognized by Liferay 6.2 Here is the warning I get -
Warning: This page calls for XML namespace http://liferay.com/tld/aui declared with prefix aui but no taglibrary exists for that namespace.
I have verified that the util-taglib.jar is available in WEB-INF/lib.
I have verified that aui.tld exists in WEB-INF/tld.
I have "<requires-namespaced-parameters>false</requires-namespaced-parameters>" in my liferay-portlet.xml.
The deployed webapp has all the right pieces but aui is still being rejected. The web.xml file, when deployed, points to the correct taglib-uri
<jsp-config>
<taglib>
<taglib-uri>http://liferay.com/tld/aui</taglib-uri>
<taglib-location>/WEB-INF/tld/aui.tld</taglib-location>
</taglib>
This is the snippet from my xhtml file
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:aui="http://liferay.com/tld/aui"
xmlns:liferay-ui="http://liferay.com/faces/ui"
xmlns:liferay-util="http://liferay.com/faces/util"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:portlet="http://java.sun.com/portlet_2_0">
<aui:form id="myform">
I am absolutely stuck at this point with this problem. Any help will be appreciated.
Thanks
Byomesh
Warning: This page calls for XML namespace http://liferay.com/tld/aui declared with prefix aui but no taglibrary exists for that namespace.
I have verified that the util-taglib.jar is available in WEB-INF/lib.
I have verified that aui.tld exists in WEB-INF/tld.
I have "<requires-namespaced-parameters>false</requires-namespaced-parameters>" in my liferay-portlet.xml.
The deployed webapp has all the right pieces but aui is still being rejected. The web.xml file, when deployed, points to the correct taglib-uri
<jsp-config>
<taglib>
<taglib-uri>http://liferay.com/tld/aui</taglib-uri>
<taglib-location>/WEB-INF/tld/aui.tld</taglib-location>
</taglib>
This is the snippet from my xhtml file
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:aui="http://liferay.com/tld/aui"
xmlns:liferay-ui="http://liferay.com/faces/ui"
xmlns:liferay-util="http://liferay.com/faces/util"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:portlet="http://java.sun.com/portlet_2_0">
<aui:form id="myform">
I am absolutely stuck at this point with this problem. Any help will be appreciated.
Thanks
Byomesh
Kyle Joseph Stiemann, modificado hace 9 años.
Moved.
Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
Kyle Joseph Stiemann, modificado hace 9 años.
RE: Liferay 6.2 xhtml aui namespace
Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
Hi Byomesh,
The aui namespace is http://liferay.com/faces/aui (not http://liferay.com/tld/aui).
- Kyle
The aui namespace is http://liferay.com/faces/aui (not http://liferay.com/tld/aui).
- Kyle
Byomesh Jha, modificado hace 9 años.
RE: Liferay 6.2 xhtml aui namespace
New Member Mensajes: 3 Fecha de incorporación: 15/08/14 Mensajes recientes
Hi Kyle,
Thanks for the quick response.
The correction to namespace you provided, I don't believe that is correct. I am saying this after trying your solution. Unfortunately this did not work and I am still getting the Warning -
Warning: This page calls for XML namespace http://liferay.com/faces/aui declared with prefix aui but no taglibrary exists for that namespace.
Thanks
Byomesh
Thanks for the quick response.
The correction to namespace you provided, I don't believe that is correct. I am saying this after trying your solution. Unfortunately this did not work and I am still getting the Warning -
Warning: This page calls for XML namespace http://liferay.com/faces/aui declared with prefix aui but no taglibrary exists for that namespace.
Thanks
Byomesh
Kyle Joseph Stiemann, modificado hace 9 años.
RE: Liferay 6.2 xhtml aui namespace
Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
Byomesh Jha, modificado hace 9 años.
RE: Liferay 6.2 xhtml aui namespace
New Member Mensajes: 3 Fecha de incorporación: 15/08/14 Mensajes recientes
Thanks Kyle. That resolved the problem. This jar was missing in my project.
Thanks
Byomesh
Thanks
Byomesh
Kyle Joseph Stiemann, modificado hace 9 años.
RE: Liferay 6.2 xhtml aui namespace
Liferay Master Mensajes: 760 Fecha de incorporación: 14/01/13 Mensajes recientes
Glad it worked. Thanks for using Liferay Faces!
- Kyle
- Kyle