Same here.

My TEI classes are either in WEB-INF/classes, or WEB-INF/*.jar

If anything, I'm pretty sure that IDEA isn't picking up on some TEI's that
it used to find in 614...

On 4/4/02 9:34 am, "Duane Fields" <[EMAIL PROTECTED]> wrote:

> I'm still having problems getting IDEA to recognize any variables scoped
> into the JSP page via custom tags. It find my custom tags just fine, it
> knows how to complete them, knows the required attributes, etc. But it still
> complains about any attempt to access tag variables, either as scriptlets or
> via the jsp:getProperty tag.
> 
> My setup is this. I have an "expanded war" type code tree, which looks like
> this:
> 
> lib/
> src/java/*.java
> src/web/myapp/WEB-INF/
> build/classes/
> 
> All the classes get copied to WEB-INF/classes, and all the libs to WEB-INF
> lib. I have the web app setup in IDEA. IDEA knows about the classes (how to
> complete their method parameters, etc.) so that's not the problem. My tag
> library gets jar'd up as part of the build and copied into WEB-INF/lib. I
> included a taglib.tld file, and have tried referencing both the jar file
> directly and an extracted tld file as well, via web.xml, which looks like
> this:
> 
> <taglib>
>   <taglib-uri>/mytags</taglib-uri>
>   <taglib-location>/WEB-INF/lib/my-tags.jar</taglib-location>
> </taglib>
> 
> In my TLD (which is JSP 1.2) I have both TEI classes and <variable>
> declarations, here an excerpt:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
>   <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
> 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";>
> <taglib>
> <tlib-version>1.0</tlib-version>
> <jsp-version>1.2</jsp-version>
> <short-name>my-tags</short-name>
> <uri>WEB-INF/lib/my-tags.jar</uri>
> <tag>
> <name>ifLoggedIn</name>
> <tag-class>demo.tags.security.IfLoggedInTag</tag-class>
> <tei-class>demo.tags.security.IfLoggedInTEI</tei-class>
> <body-content>JSP</body-content>
> <variable>
> <name-given>currentUser</name-given>
> <variable-class>demo.user.User</variable-class>
> <declare>true</declare>
> <scope>NESTED</scope>
> </variable>
> </tag>
> 
> 
> One possible clue is that the classes that I am scoping in come from one of
> the 3rd party imported libraries. I do have the source code, and it is in
> IDEA, it's just not part of the project. But, like I said, IDEA seems to
> find the classes themselves OK.
> 
> I love this IDE! Please let me know if I can assist you further in tracking
> down this problem.
> 
> --
> Duane Fields
> [EMAIL PROTECTED]
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to