Foren

Using the Liferay IDE to develop portlet has some mistake

Kevin Lee, geändert vor 13 Jahren.

Using the Liferay IDE to develop portlet has some mistake

New Member Beiträge: 7 Beitrittsdatum: 25.07.10 Neueste Beiträge
Hello everybody.

I am using the Liferay IDE to develop portlet,but I can not use the Standard JET2 Control Tags(such as <c:choose>).I think that missed some of the required files.and the init.jsp leading to error.(init.jap has some errors,please look at the screenshot)



The underlines in red indicate that I have made some mistakes. I suppose that I have missed some of the required files; but I do not know what are missing. Could somebody help me on this?

Following has the same error:


&lt;%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %&gt;
&lt;%@ taglib uri="http://struts.apache.org/tags-bean-el" prefix="bean-el" %&gt;
&lt;%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %&gt;
&lt;%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html-el" %&gt;
&lt;%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %&gt;
&lt;%@ taglib uri="http://struts.apache.org/tags-logic-el" prefix="logic-el" %&gt;
&lt;%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %&gt;
&lt;%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %&gt;
&lt;%@ taglib uri="http://struts.apache.org/tags-tiles-el" prefix="tiles-el" %&gt;



&lt;%@ page import="com.liferay.portal.kernel.util.IntegerWrapper" %&gt;
&lt;%@ page import="com.liferay.portal.kernel.util.HtmlUtil" %&gt;
&lt;%@ page import="com.liferay.portal.language.LanguageImpl" %&gt;
&lt;%@ page import="com.liferay.portal.struts.StrutsUtil" %&gt;
&lt;%@ page import="com.liferay.portal.util.ContentUtil" %&gt;
&lt;%@ page import="com.liferay.portal.util.CookieKeys" %&gt;
&lt;%@ page import="com.liferay.portal.util.JavaScriptBundleUtil" %&gt;
&lt;%@ page import="com.liferay.portal.util.PrefsPropsUtil" %&gt;
&lt;%@ page import="com.liferay.portal.util.PropsUtil" %&gt;
&lt;%@ page import="com.liferay.portal.util.PropsValues" %&gt;
&lt;%@ page import="com.liferay.portal.util.SessionTreeJSClicks" %&gt;
&lt;%@ page import="com.liferay.portal.util.ShutdownUtil" %&gt;
&lt;%@ page import="com.liferay.portal.util.WebAppPool" %&gt;
&lt;%@ page import="com.liferay.portal.util.WebKeys" %&gt;
&lt;%@ page import="com.liferay.portlet.PortletResponseImpl" %&gt;
&lt;%@ page import="com.liferay.portlet.PortletSetupUtil" %&gt;
&lt;%@ page import="com.liferay.portlet.PortletURLImpl" %&gt;
&lt;%@ page import="com.liferay.portlet.RenderParametersPool" %&gt;
&lt;%@ page import="com.liferay.portlet.RenderRequestFactory" %&gt;
&lt;%@ page import="com.liferay.portlet.RenderRequestImpl" %&gt;
&lt;%@ page import="com.liferay.portlet.RenderResponseFactory" %&gt;
&lt;%@ page import="com.liferay.portlet.RenderResponseImpl" %&gt;
&lt;%@ page import="com.liferay.portlet.portletconfiguration.util.PortletConfigurationUtil" %&gt;
&lt;%@ page import="org.apache.commons.math.util.MathUtils" %&gt;
&lt;%@ page import="org.apache.struts.Globals" %&gt;