626: TLD declared variables not recongized
TLD declared variables still aren't recognized as of build 626... Is this
something that is planned to be fixed? Should we keep checking it or will
you mention this in the release notes when accomplished. For example, when I
reference this tag (declared below) the editor complains about "course" as
an invalid reference.
getCourse
com.powered.sdk.tags.courses.GetCourseTag
JSP
course
com.powered.api.content.Course
true
NESTED
courseId
false
true
]]>
--
Duane Fields
duane@deepmagic.com
Please sign in to leave a comment.
Duane,
Here's the example that is actually working (create a project, and add test5
directory to web apps). Can you compare it with yours and give us additional
details?
--
Best regards,
Mike Aizatsky.
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Duane Fields" <duane@deepmagic.com> wrote in message
news:ad0ah6$6u7$1@is.intellij.net...
I
>
>
>
>
>
BTW,
Duane, please don't crosspost messages - we are reading all newsgroups.
--
Best regards,
Mike Aizatsky.
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Duane Fields" <duane@deepmagic.com> wrote in message
news:ad0ah6$6u7$1@is.intellij.net...
I
>
>
>
>
>
That example uses JSP 1.1 style tags, I'm using 1.2 blocks instead, so that's a big difference. It finds everythin else (like tag names and legal attributes) fine. -- Duane Fields duane@deepmagic.com "Mike Aizatsky" ]]> wrote in message
news:ad0cb0$bnv$1@is.intellij.net...
>
test5
additional
>
>
>
this
will
when
as
>
>
>
Also, in your test, you need to actually call the tag, then try to access
the created object via a scriptlet and <jsp:getProperty> tag to see the
behavior.
--
Duane Fields
duane@deepmagic.com
"Mike Aizatsky" <mike@intellij.com> wrote in message
news:ad0cb0$bnv$1@is.intellij.net...
>
test5
additional
>
>
>
this
will
when
as
>
>
>
Duane,
The example contains ]]> block too.
--
Best regards,
Mike Aizatsky.
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Duane Fields" <duane@deepmagic.com> wrote in message
news:ad0cou$crh$1@is.intellij.net...
blocks
names
>
"course"
>
>
Duane,
This test is used as a stub for automatic JUnit test, so there's no
<test:test/> tag in .jsp file. If you manually add
<test:test/>
<% anotherVar.add(""); %>
to the file you'll see that it's actually working.
--
Best regards,
Mike Aizatsky.
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Duane Fields" <duane@deepmagic.com> wrote in message
news:ad0cp0$crh$2@is.intellij.net...
>
"course"
>
>
This doesn't seem to work for me, build 626, Windows 2000, Sun JDK 1.3.1_03.
The taglib is recognized, "test" is considered a valid tag, but in both the
following cases, the variable "anotherVar" is marked as "Cannot resolve
symbol" (is not recognized)
<%@ taglib uri="/WEB-INF/test.tld" prefix="test" %>
<test:test/>
<%= anotherVar.add("") %>
<test:test>
<% anotherVar.add(""); %>
</test:test>
--
Duane Fields
duane@deepmagic.com
"Mike Aizatsky" <mike@intellij.com> wrote in message
news:ad0dc7$e0s$1@is.intellij.net...
>
>
>
>
>
>
>
access
example,
>
>
Duane,
Can you send me your whole test project?
--
Best regards,
Mike Aizatsky.
-
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Duane Fields" <duane@deepmagic.com> wrote in message
news:ad0hio$kff$1@is.intellij.net...
1.3.1_03.
the
>
>
>
>
the
add
Is
or
>
>