Rodrigo,

        There's one problem with tld files in general. It is impossible
to specify, that some tld attribute should be the bean id. So, we
decided to treat every "name" attribute as the reference to some bean id
and in your case there's no such bean defined. Do you think we should
change this behaviour?

Best regards,
Mike Aizatsky.
------------------------------
IntelliJ Software, "Develop with pleasure!" http://www.intellij.com


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On
> Behalf Of Rodrigo Gevaerd
> Sent: Thursday, February 07, 2002 4:02 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Eap-list] Build 601 JSP Error highliting bug in taglib
> 
> Using the following tld (left in it just one tag):
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag
Library
> 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";>
> 
> <!-- a tab library descriptor -->
> 
> <taglib>
>   <tlibversion>1.0</tlibversion>
>   <jspversion>1.1</jspversion>
>   <shortname>modeltags</shortname>
>   <info>
>     Wise model tags...
>   </info>
> ******** (more tags) **********
>   <tag>
>     <name>Field</name>
>     <tagclass>symprise.web.taglib.model.FieldTag</tagclass>
>     <info>Specifies the current field, used by other tags.</info>
>     <attribute>
>       <name>name</name>
>       <required>true</required>
>       <rtexprvalue>true</rtexprvalue>
>     </attribute>
>   </tag>
> ********** (more tags) ************
> </taglib>
> 
> 
> The TLD is added in the JSP like this:
> 
> <%@ taglib uri="/wise/modeltags.tld" prefix="model"%>
> 
> 
> I got one JSP that uses that tag like this:
> 
> ****** snipped JSP Code *********
>     <model:Field name="ind_doc_ok">
>          ********** snipped JSP Code ***********
>     </model:Field>
> ****** snipped JSP Code *********
> 
> In this one ind_doc_ok and its quotes are shown in red. The error
message
> says "Cannot resolve symbol ind_doc_ok". Ctrl-P and Ctrl-Space work
all
> fine. Similiar problem happens with all tags in all JSPs.
> I've tried changing rtexprvalue to false but it made no difference.
> 
> []'s,
> 
> Rodrigo.
> 
> 
> > -----Original Message-----
> > From: Mike Aizatsky [mailto:[EMAIL PROTECTED]]
> > Sent: quarta-feira, 6 de fevereiro de 2002 17:44
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Eap-list] Build 601 JSP Error highliting bug in taglib
> >
> >
> > Rodrigo,
> >
> >     Can you give more details? Which taglib are you using? Can give
> > the exact tag statement you are writing?
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > On
> > > Behalf Of Rodrigo Gevaerd
> > > Sent: Thursday, February 07, 2002 12:38 AM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: [Eap-list] Build 601 JSP Error highliting bug in taglib
> > >
> > >  In a taglib like:
> > >
> > >   <taglibrary:tag attribute="value" />
> > >
> > >  The value inside quotes is showed as red. Putting cursor on it
the
> > status
> > > bar says "Cannot resolve symbol value". The taglibrary was found
> > correctly
> > > because it is doing the autocompletion fine.
> > >
> > >   []'s,
> > >
> > >   Rodrigo.
> > >
> 
> _______________________________________________
> 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