Hi,
We have just installed MyEclipse 5.1.0 and have erros in all our JSPs and cannot find how to correct it.
(I have to turn off validation otherwise).
Here is a sample of 1 jsp:
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/pow2webgui.tld" prefix="gui" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-nested" prefix="nested" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="http://pow2acl.sf.net" prefix="acl" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@ taglib uri="/tags/string.tld" prefix="str" %>
<%@ page buffer = "16kb" %>
<%@page import = "com.rf1.doi.Constants,
java.util.List,
java.lang.String,
com.rf1.ws.doi.EntryMinimalDataList,
com.rf1.ws.doi.EntryMinimalData"%>
<%
String action = "";
List doiEntriesList = (List)session.getAttribute(Constants.BEAN_SESSION_DOI_TABLE_DOI_ENTRIES_LIST_ENTRY);
%>
<%@ include file="/jsp/commun/pleaseWait.jsp"%>
<span id="lyrMain" style="display:none;">
<br>
<br>
<%-- ENTRYFORM --%>
<logic:present name="EntryForm">
<logic:notEmpty name="EntryForm" property="action">
<bean:define id="actionForm" type="java.lang.String" name="EntryForm" property="action"/>
<%
if ( actionForm != null ){
action = actionForm;
session.removeAttribute("EntryForm");
}
%>
</logic:notEmpty>
</logic:present>
MyEclipse complains about the actionForm variable
actionForm cannot be resolved
The variable is created with the bean:define taglib, and if we declare it in the JSP first, then the bean:define will not set the variable properly.
Is there a way to fix this problem?
Thanks