- This topic has 4 replies, 1 voice, and was last updated 18 years, 1 month ago by rtulloh.
-
AuthorPosts
-
rtullohMemberIn response to https://bugs.eclipse.org/bugs/show_bug.cgi?id=87143, I installed WTP 1.5.1. However, I still see red X’s all over the place where TagExtraInfo variables are used. Is there anything I can do to make this work?
Also, many of my fellow developers are using Idea 6.x and they are able to navigate to struts-config.xml by clicking on things in the JSP editor. I also see that they can navigate directly to form and action classes by clicking on things in the struts-xml editor. Is this coming for MyEclipse/Eclipse? I am forced to Ctl-H or Ctl-Shft-T and cut/paste to do the same thing. It would be great if I could navigate by clicking directly.
I am running MyEclipse 5.0.1. Here is what ‘about’ reports:
Eclipse SDK
Version: 3.2.1
Build id: M20060921-0945(c) Copyright Eclipse contributors and others 2000, 2006. All rights reserved.
Visit http://www.eclipse.org/platformThis product includes software developed by the
Apache Software Foundation http://www.apache.org/
rtullohMemberAn example of the kind of JSP I am expering problems with. The ‘customer’ variable and ‘brandedApplicationAbbrv’ variable should be resolved by TEI, however both are flagged as ‘XXX cannot be resolved’. These should be resolved via the capp tag library.
<%@ page language=”java” %>
<%@ taglib uri=”/WEB-INF/capp.tld” prefix=”capp” %>
<%@ taglib uri=”/WEB-INF/struts-tiles.tld” prefix=”tiles” %><capp:page menuItem=”Item 1″>
<capp:brandedVars/><%
customer.setState(“Enabled”);
%><div class=”rightPaneContent”>
<div>
<span style=”float: right”><img src=”<common:imagesrc/>/nav_UA_users.gif”></span>
<div class=”title”>Test</div>
<div class=”infoText”>Some text <%=brandedApplicationAbbrv%> </div>
</div>
</div></capp:page>
rtullohMemberInteresting development. I created a new Java project. I added Web Capabilities. I then added Struts capabilities. I then configured the build path. After all the dust had settled, this new project seems to have no problem resolving the TEI variables. My original post is based on a project I have been using for several weeks. Maybe there is something about an older project that prevented this from working? At any rate, there seems to be light at the end of the tunnel wrt TEI vars.
rtullohMemberThis morning, I as edit and save JSPs, the TEI errors pop back up. JSPs that I have not edited still show no errors. Re-running validation seems to make no difference. Even more distrubing is if I do Project->Clean, all the errors return to the JSPs that previously had no errors.
rtullohMemberI have opened defect 161060 against Eclipse WTP describing this same problem. If the problem I reported is not a MyEclipse issue, then this issue can be closed. I leave this to your discretion.
-
AuthorPosts