| Unknow tages - suddenly appeared? [message #190960] |
Mon, 02 April 2007 17:47  |
Rupert Woodman Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Hi,
I'm using WTP 1.5.3 which I downloaded as one big file (i.e. including
Eclipse). Generally, things were going pretty well, apart from a problem
using JSTL (which I'll post about in a separate thread). However, when I
was trying to get JSTL working, I think I may have made a change somewhere
so that I'm getting a number of "Unknown tag/attribute" warnings, tho they
look fine to me. My file "response.tag" is shown below. The <%@
attribute... %> line is all underlined (yellow), and the margin says
"Unknown tag (jsp:directive.attribute).". The line "<table cols="1"...>"
has "cols" underlined (also in yellow) and the warning says "Undefined
attribute name (cols)." but that looks correct to me. I know that for the
reponse.tag I've given below, I don't need the taglib lines.
I will recreate my project from scratch if necessary, or even move to v2
(I'd be interested to know how stable it is anyway, so any comments on that
aspect would be interesting), but I'd like to know if I've inadvertantly
checked some checkbox I shouldn't have done. I've looked and I've looked
but can't see any problems.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/function" %>
<%@ attribute name="username" required="false" %>
<table cols="1" border="1">
<tr>
<td>
<strong>
${username}
</strong>
</td>
</tr>
<tr>
<td>xNav 1</td>
</tr>
<tr>
<td>Nav 2</td>
</tr>
<tr>
<td>Nav 3</td>
</tr>
<tr>
<td>Nav 4</td>
</tr>
</table>
Many thanks
|
|
|