Adam,

You are quite right that tag libraries support in IDEA is mostly
targeted towards JSP page developers, not libraries developers. The new
feature which will be available in build #612 (though it was announced
in #611 it had some implementation issues) will use information from
external resources configuration for TLD files resolving. So you'll be
able to choose some arbitrary URI and to map it to your TLD file
explicitly. Than you might use that URI in your web application's jsp
files.


> I still can't make scripting variables from TEI to be recognized in my
JSP
> files, when they have declare=true in VariableInfo

Please try build #612. I've made several changes to extend the rules of
TEI searching to help TEI developers.

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

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On
> Behalf Of Edmundas Miseikis
> Sent: Sunday, March 17, 2002 7:37 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] 611: Cannot resolve tag library
> 
> Adam,
> 
> use of tag libraries is a little bit confusing. I was caught by the
same
> trap.
> Each TLD file is visible only for JSPs which are in THE PARENT
directory
> to
> the corresponding WEB-INF with TLD and below this point. In other
words,
> JSPs should be prepared for editing exacly as they look in web
container.
> 
> Web-app
> |
> +--WEB-INF
> |  |
> |  +--TagLib1.tld
> |  +--TagLib2.tld
> +--a.jsp
> +--b.jsp
> +--dir1
>    |
>    +--x.jsp
>    +--y.jsp
> 
> TagLib1 and TagLib2 will be resolved only in a.jsp, b.jsp, x.jsp,
y.jsp,
> and
> other files under Web-app, but not elsewhere on the source path.
> 
> For those of us who develop custom tag libraries, TLDs usually are
kept
> together with tag library java source files. Any changes in TLD should
be
> copied to WEB-INF before they become visible in dependent JSP files.
> 
> For me it would be more convenient to have an option to specify either
> web-application as it is done now (i.e. WEB-INF's parent directory) or
> assign TLDs directly from their original place in taglib development
area.
> However, with a couple of Ant scripts I can live with the existing
setup.
> 
> I still can't make scripting variables from TEI to be recognized in my
JSP
> files, when they have declare=true in VariableInfo, probably I miss
> something in setup, but even if it is "a feature", I prefer that
> JetBrainiacs do what they do with Java instead of expanding IDEA to
> recognize infinite number of file formats. I would love to see smart
> support
> for XSLT, XDoclet, xhtml, probably some Portlet language when I choose
one
> or if standard one settles, but I can't see how it would be possible
> without
> losing focus. I believe that current IDEAs evolution towards strong
XML
> support will make IDEA very friendly to all XML related languages.
Also I
> have a dream that a dedicated enterprise application development tool
> could
> branch out of IDEA, encapsulating all popular server side
technologies.
> 
> The power of IDEA comes from the accumulated knowledge so that it
really
> thinks and perceives the code like a human developer.
> I'm just afraid that concentrated INTELLIJence may slow down the
editing
> or
> require the latest and greatest 2GHz+ CPUs. The fan which cools down
my
> notebook makes more noise with every new IDEA's build: something lifts
up
> CPU usage towards 100%.
> 
> Best regards
> --
> Edmundas
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
> Behalf Of Adam Goldband
> Sent: Sunday, March 17, 2002 6:52 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Eap-list] 611: Cannot resolve tag library
> 
> 
> As far as I can tell I have mine setup properly, but I am having the
same
> issue.
> Are there instructions somewhere on setting it up properly... I
haven't
> been
> able to find any...
> 
> thanks
> adam
> 
> > -----Original Message-----
> > From: Christopher Cobb [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 16, 2002 4:20 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Eap-list] 611: Cannot resolve tag library
> >
> >
> > Oh.  You mean you're supposed to setup the web app correctly?
> >  Now it is :)
> >
> > cc
> >
> > Mike Aizatsky wrote:
> >
> > > Christopher,
> > >
> > > Did you set up web application in IDEA properly?
> > >
> > > Best regards,
> > > Mike Aizatsky.
> > > ------------------------------
> > > JetBrains, Inc / IntelliJ Software
> > > http://www.intellij.com
> > > "Develop with pleasure!"
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > > On
> > > > Behalf Of Christopher Cobb
> > > > Sent: Saturday, March 16, 2002 9:10 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [Eap-list] 611: Cannot resolve tag library
> > > >
> > > > I have a new little webapp which is compiling and working with
> > > tomcat4.
> > > > It
> > > > consists of:
> > > >
> > > >      tagapp/WEB-INF/tabtags.tld
> > > >      tagapp/WEB-INF/web.xml
> > > >      tagapp/WEB-INF/src/tabtags/TabsetTag.java
> > > >      tagapp/WEB-INF/src/tabtags/TabTag.java
> > > >      tagapp/index.jsp
> > > >
> > > > The first line of index.jsp is:
> > > >
> > > >      <%@ taglib uri="tabtags" prefix="tt" %>
> > > >
> > > > 'tabtags' is in red and the message is "Cannot resolve
> > tag library".
> > > My
> > > > web.xml contains:
> > > >
> > > >        <taglib>
> > > >          <taglib-uri>tabtags</taglib-uri>
> > > >          <taglib-location>/WEB-INF/tabtags.tld</taglib-location>
> > > >        </taglib>
> > > >
> > > > My tabtags.tld contains:
> > > >
> > > >        <uri>tabtags</uri>
> > > >
> > > > I can't figure out why IDEA is highlighting the uri in my
> > taglib tag
> > > in
> > > > red.
> > > >
> > > > cc
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > 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
> >
> >
> > _______________________________________________
> > 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
> 
> 
> _______________________________________________
> 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