掲示板
Alloy UI
I have been reading that Alloy UI is included in Liferay 6.X.
What do I need to do?
This will not complie.
I tried adding this to the web.xml
And I also have the alloy-taglib.jar in my path. "Liferay Portal Plugin API".
This ca be found in my liferay-plugin-package.properties.
How can I use alloy UI?
What do I need to do?
This will not complie.
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
I tried adding this to the web.xml
<taglib>
<taglib-uri>http://liferay.com/tld/aui</taglib-uri>
<taglib-location>/WEB-INF/tld/liferay-aui.tld</taglib-location>
</taglib>
And I also have the alloy-taglib.jar in my path. "Liferay Portal Plugin API".
This ca be found in my liferay-plugin-package.properties.
portal-dependency-jars=\
alloy-taglib.jar,\
jstl-impl.jar
How can I use alloy UI?
What do you mean, it will not compile?
Is the IDE just marking it as an error, or does the ant build script fail when you try to create the portlet? Or is the failure seen when deploying or rendering the portlet?
Is the IDE just marking it as an error, or does the ant build script fail when you try to create the portlet? Or is the failure seen when deploying or rendering the portlet?
The IDE is marking it as an error.
ant deploy shows no error message.
Edit: Something is wrong. When I am using
in /admin/view.jsp
I get "Product Administration is temporarily unavailable."
Description Resource Path Location Type
Can not find the tag library descriptor for "http://liferay.com/tld/aui" init.jsp /mvc-portlet-portlet/docroot line 8 JSP Problem
ant deploy shows no error message.
Edit: Something is wrong. When I am using
<aui:form>
<aui:input name="productName" size="45" />
</aui:form>
in /admin/view.jsp
I get "Product Administration is temporarily unavailable."
1. Well the IDE is famous for not understanding where all of the Liferay bones are buried. I have a hook that is always marked as an error in the IDE because it has an include for a file like "./init.jspf" that I didn't need to hook so didn't copy it in. Deploy time everything works fine, just the IDE doesn't get it.
I wouldn't fret those kinds of issues.
2. When you get the 'not available' message, there's usually a stack trace in the log indicating what your issue is...
I wouldn't fret those kinds of issues.
2. When you get the 'not available' message, there's usually a stack trace in the log indicating what your issue is...
Peter Hellstrand:
I have been reading that Alloy UI is included in Liferay 6.X.
What do I need to do?
This will not complie.<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
I tried adding this to the web.xml<taglib> <taglib-uri>http://liferay.com/tld/aui</taglib-uri> <taglib-location>/WEB-INF/tld/liferay-aui.tld</taglib-location> </taglib>
And I also have the alloy-taglib.jar in my path. "Liferay Portal Plugin API".
This ca be found in my liferay-plugin-package.properties.portal-dependency-jars=\ alloy-taglib.jar,\ jstl-impl.jar
How can I use alloy UI?
Hi Peter are you trying this on 6.0 or 6.1?
Hi
I am using version 6.1
Thanks!
I am using version 6.1
Thanks!
Hey Peter,
There was a mix-up with URL/URIs for the aui taglib for 6.1 GA1. This is going ot be addressed by GA2 but for now you can just add this to your web.xml in your IDE project:
Then copy the aui.tld from the portal's tld folder (<tomcat>/webapps/ROOT/WEB-INF/tld/aui.tld) into your project's docroot/WEB-INF/tld
Then to get Eclipse to not mark it as error you will have to close and reopen the project (or restart) eclipse and then re-validate your jsp files.
There was a mix-up with URL/URIs for the aui taglib for 6.1 GA1. This is going ot be addressed by GA2 but for now you can just add this to your web.xml in your IDE project:
<taglib>
<taglib-uri>http://liferay.com/tld/aui</taglib-uri>
<taglib-location>/WEB-INF/tld/aui.tld</taglib-location>
</taglib>
Then copy the aui.tld from the portal's tld folder (<tomcat>/webapps/ROOT/WEB-INF/tld/aui.tld) into your project's docroot/WEB-INF/tld
Then to get Eclipse to not mark it as error you will have to close and reopen the project (or restart) eclipse and then re-validate your jsp files.
12年前 に Pablo Antonio Zamora Ortiz によって更新されました。
RE: Alloy UI
Junior Member 投稿: 28 参加年月日: 11/03/18 最新の投稿
Thank you very much for your contribution and I had the same problem and corrected it with your contribution Thanks
I have liferay-portlet.tld and aui.tld files in WEB-INF/tld folder and I also restarted eclipse but there is still an error on the following lines :
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
I am using liferay-portal-6.1.1-ce-ga2 and eclipse indigo
Kindly help!!
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
I am using liferay-portal-6.1.1-ce-ga2 and eclipse indigo
Kindly help!!