| Summary: | JSP validator treats accessing map values by a constant string key as "EL syntax error" | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Fyodor Golos <bugzilla> |
| Component: | jst.jsp | Assignee: | Ian Tewksbury <itewksbu> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cameron.bateman, nsand.dev, vladnc |
| Version: | 0.7.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Phil, judging from the abstract, this appears your area of expertise? I also get this warning for code that looks like this, and that code works fine:
<option value="${reason['element_id']}">
${reason['description_text']}
</option>
Mass transfer from pa to dw. Needs more triage. Looks like this has been fixed in WTP 3.0.3. (See bug#136795) *** This bug has been marked as a duplicate of bug 136795 *** |
Consider the following JSP file test.jsp: <%@ page language="java" %> <html> <body> param["yin"] = "${param["yin"]}" </body> </html> Deployed to Tomcat 5.5 and pulled up in a browser as /test.jsp?yin=yang gives: <html> <body> param["yin"] = "yang" </body> </html> However, JSP validator displays the following message with severity of zero in the Problems view: "EL Syntax Error" Looks like JSP validator does not like the quotes used to specify map's key.