- This topic has 8 replies, 3 voices, and was last updated 19 years, 5 months ago by Riyad Kalla.
-
AuthorPosts
-
wseubertMemberI am using Eclipse 3.1 and MyEclipse 4.0M2.
When an error in a JSP is detected, for example accidentally deleting a ‘>’ to close a tag. The formatting error is marked in red and everything is underlined in red. However, after fixing the error I need to close and reopen the file to get the error to clear.
Is there a setting or something to allow me to do a reload?
Is there a way to get this kind of thing to show up in the list of problems?
Scott AndersonParticipantActually, saving the file should clear the error. If that’s not the case, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
wseubertMemberI’ll reverify this tonight. When I tried last night it wasn’t even complaining about bad tags.
I’m using 1.4.2_06 on XP-Home. I’ll get you the Tomcat version. What else in particular do you need other than steps to create the problem?
Scott AndersonParticipantWhat else in particular do you need other than steps to create the problem?
An example project that demonstrates the problem would be best.
wseubertMemberI have Apache Tomcat/5.0.28
OK I think I have a strong lead to recreate it.
Paste the following code into a JSP in a new Web App (notice the missing “> after ChartIndividualUserName):
<FORM action=”/SchoolPsychology/FieldSupervisor/PreDisplayChart” method=”post”>
<SELECT name=”EvaluationPeriod”>
<c:forEach var=”report” items=”${EnrollmentPeriods}”>
<OPTION value=”${report.id}”>${report}</OPTION>
</c:forEach>
</SELECT>
<INPUT type=”hidden” name=”ReportType” value=”${ReportType}”>
<INPUT type=”hidden” name=”title” value=”${ChartTitle}”>
<INPUT type=”hidden” name=”subtitle” value=”${ChartSubTitle}”>
<INPUT type=”hidden” name=”individualUserName” value=”${ChartIndividualUserName}
<INPUT type=”hidden” name=”EnrollmentPeriods” value=”${EnrollmentPeriods}”>
<INPUT type=”submit” value=”Generate”>
</FORM>1. Errors aren’t indicated at all in the MyEclipse perspective.
2. Errors are sometimes indicated in the Java perspective when adding and removing the “> (sometimes the error is cleared upon typing it without even needing to save it).If you can’t get the error so show or not clear just keep playing with adding and removing the ” and >.
This brings up the question, which perspective should I be developing in? MyEclipse or Java? I assumed that the MyEclipse perspective was a superset of the Java perspective.
wseubertMemberOK now I am seeing the validation errors (Multiple annotations found at this line) in the MyEclipse perspective but if and only if I create the error, close the file, then open the file. Same for the clearing process…
Riyad KallaMemberwseubert,
There is something funny going on here that loosk like a bug, thank you for bringing this to our attention, I’m sending off a bug report to the web team now.
wseubertMemberHave you guys been able to reproduce this?
Riyad KallaMemberYep, we thought we had it fixed in M2, seems to be a regression, we’ll get it fixed in M3.
-
AuthorPosts