Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Unknow tages - suddenly appeared?
Unknow tages - suddenly appeared? [message #190960] Mon, 02 April 2007 21:47 Go to next message
Eclipse UserFriend
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
Re: Unknow tages - suddenly appeared? [message #190975 is a reply to message #190960] Tue, 03 April 2007 03:23 Go to previous messageGo to next message
Eclipse UserFriend
Rupert Woodman wrote:
> 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" %>

1.5 doesn't support using or editing tag files. Odds are you've
enabled JSP validation and it's producing incorrect results for the
..tag files. V2 will support using tag files.

--
Nitin Dahyabhai
Structured Source Editor
Re: Unknow tages - suddenly appeared? [message #190991 is a reply to message #190975] Tue, 03 April 2007 06:48 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Nitin.
How stable is version 2 at the minute? I realise it's not release quality,
but would you consider it's worth using - i.e. it won't crash every 5
minutes?

Many thanks

"Nitin Dahyabhai" <nitind@us.ibm.com> wrote in message
news:eushbo$b30$1@build.eclipse.org...
> Rupert Woodman wrote:
>> 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" %>
>
> 1.5 doesn't support using or editing tag files. Odds are you've enabled
> JSP validation and it's producing incorrect results for the .tag files.
> V2 will support using tag files.
>
> --
> Nitin Dahyabhai
> Structured Source Editor
Re: Unknow tages - suddenly appeared? [message #191007 is a reply to message #190991] Tue, 03 April 2007 13:30 Go to previous message
Eclipse UserFriend
Originally posted by: dumbass.whitehouse.gov

You'll have to wait for M6 for the first release with tag file support. I
believe it's due out this Friday.

I've been eagerly awaiting this as well...


"Rupert Woodman" <eclipse@woodman.me.uk> wrote in
news:eustcd$nb6$1@build.eclipse.org:

>
> Thanks Nitin.
> How stable is version 2 at the minute? I realise it's not release
> quality, but would you consider it's worth using - i.e. it won't crash
> every 5 minutes?
>
> Many thanks
>
> "Nitin Dahyabhai" <nitind@us.ibm.com> wrote in message
> news:eushbo$b30$1@build.eclipse.org...
>> Rupert Woodman wrote:
>>> 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" %>
>>
>> 1.5 doesn't support using or editing tag files. Odds are you've
>> enabled JSP validation and it's producing incorrect results for the
>> .tag files. V2 will support using tag files.
>>
>> --
>> Nitin Dahyabhai
>> Structured Source Editor
>
>
>
Previous Topic:J2EE Module Dependencies for non-J2EE projects
Next Topic:request for comments: German wtp/tomcat tutorials
Goto Forum:
  


Current Time: Sun Feb 09 06:07:03 GMT 2025

Powered by FUDForum. Page generated in 0.03394 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top