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


0
8 comments
Avatar
Permanently deleted user

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...

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.

>

<tag>
<name>getCourse</name>
<tag-class>com.powered.sdk.tags.courses.GetCourseTag</tag-class>
<body-content>JSP</body-content>
<variable>
<name-given>course</name-given>
<variable-class>com.powered.api.content.Course</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>courseId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

>
>

--
Duane Fields
duane@deepmagic.com

>
>




0
Avatar
Permanently deleted user

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...

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.

>

<tag>
<name>getCourse</name>
<tag-class>com.powered.sdk.tags.courses.GetCourseTag</tag-class>
<body-content>JSP</body-content>
<variable>
<name-given>course</name-given>
<variable-class>com.powered.api.content.Course</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>courseId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

>
>

--
Duane Fields
duane@deepmagic.com

>
>


0
Avatar
Permanently deleted user

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...

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...

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.

>

<tag>
<name>getCourse</name>
<tag-class>com.powered.sdk.tags.courses.GetCourseTag</tag-class>
<body-content>JSP</body-content>
<variable>
<name-given>course</name-given>
<variable-class>com.powered.api.content.Course</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>courseId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

>
>

--
Duane Fields
duane@deepmagic.com

>
>

>
>
>


0
Avatar
Permanently deleted user

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...

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...

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.

>

<tag>
<name>getCourse</name>
<tag-class>com.powered.sdk.tags.courses.GetCourseTag</tag-class>
<body-content>JSP</body-content>
<variable>
<name-given>course</name-given>
<variable-class>com.powered.api.content.Course</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>courseId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

>
>

--
Duane Fields
duane@deepmagic.com

>
>

>
>
>


0
Avatar
Permanently deleted user

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...

That example uses JSP 1.1 style <TEI> tags, I'm using 1.2 <variable>

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" <mike@intellij.com> wrote in message
news:ad0cb0$bnv$1@is.intellij.net...

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...

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.

>

<tag>
<name>getCourse</name>
<tag-class>com.powered.sdk.tags.courses.GetCourseTag</tag-class>
<body-content>JSP</body-content>
<variable>
<name-given>course</name-given>
<variable-class>com.powered.api.content.Course</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>courseId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

>
>

--
Duane Fields
duane@deepmagic.com

>
>

>
>
>

>
>


0
Avatar
Permanently deleted user

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...

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...

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...

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.

>

<tag>
<name>getCourse</name>
<tag-class>com.powered.sdk.tags.courses.GetCourseTag</tag-class>
<body-content>JSP</body-content>
<variable>
<name-given>course</name-given>
<variable-class>com.powered.api.content.Course</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>courseId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

>
>

--
Duane Fields
duane@deepmagic.com

>
>

>
>
>

>
>


0
Avatar
Permanently deleted user

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...

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...

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...

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...

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.

>

<tag>
<name>getCourse</name>
<tag-class>com.powered.sdk.tags.courses.GetCourseTag</tag-class>
<body-content>JSP</body-content>
<variable>
<name-given>course</name-given>
<variable-class>com.powered.api.content.Course</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>courseId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

>
>

--
Duane Fields
duane@deepmagic.com

>
>

>
>
>

>
>

>
>


0
Avatar
Permanently deleted user

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...

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...

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...

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...

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...

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.

>

<tag>
<name>getCourse</name>
<tag-class>com.powered.sdk.tags.courses.GetCourseTag</tag-class>
<body-content>JSP</body-content>
<variable>
<name-given>course</name-given>
<variable-class>com.powered.api.content.Course</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>courseId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

>
>

--
Duane Fields
duane@deepmagic.com

>
>

>
>
>

>
>

>
>

>
>


0

Please sign in to leave a comment.