掲示板

Liferay 6.2 xhtml aui namespace

9年前 に Byomesh Jha によって更新されました。

Liferay 6.2 xhtml aui namespace

New Member 投稿: 3 参加年月日: 14/08/15 最新の投稿
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
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

Moved.

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Moved to Home > Liferay Faces - English.
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Liferay 6.2 xhtml aui namespace

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Hi Byomesh,
The aui namespace is http://liferay.com/faces/aui (not http://liferay.com/tld/aui).

- Kyle
9年前 に Byomesh Jha によって更新されました。

RE: Liferay 6.2 xhtml aui namespace

New Member 投稿: 3 参加年月日: 14/08/15 最新の投稿
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
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Liferay 6.2 xhtml aui namespace

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Is the Liferay Faces Alloy .jar in your project?

- Kyle
9年前 に Byomesh Jha によって更新されました。

RE: Liferay 6.2 xhtml aui namespace

New Member 投稿: 3 参加年月日: 14/08/15 最新の投稿
Thanks Kyle. That resolved the problem. This jar was missing in my project.

Thanks
Byomesh
thumbnail
9年前 に Kyle Joseph Stiemann によって更新されました。

RE: Liferay 6.2 xhtml aui namespace

Liferay Master 投稿: 760 参加年月日: 13/01/14 最新の投稿
Glad it worked. Thanks for using Liferay Faces!

- Kyle