Another query about TLD support...

We structure a JSP Pages in the following manner :-

header.jsp                      < --- contains navigation and header for all
the site
        any_page.jsp    <--- contains the body of the page.
footer.jsp                      <--- contains the footer


Currently all our TLD directives are in the header.jsp and look like this

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/emo.tld" prefix="emo" %>


then the any_page.jsp looks like this

<%@ include file="header.jsp" %>
        page content.
<%@ include file="footer.jsp" %>


Because the header.jsp has the tld directives in it, it means that if i open
a jsp page that includes header, but does not itself repeat the tld
directives ariadna highlights the tags in red because it cant find where
they are defined.


Is there any way of configuring ariadna so that it looks to see if there are
tld directives in included files?

i.e. if i open homepage.jsp in ariadna which <includes> header.jsp. can
Ariadna scan header.jsp to find out what the tag directives are? This would
be a very useful feature if it isnt currrently supported. It wouldny be nice
if we had to repeat tag directives on every jsp page, since we already have
them in header.jsp

Can you please advise?

Cheers

Nad


> -----Original Message-----
> From: Shabir, Nadeem 
> Sent: 15 February 2002 10:46
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Eap-list] Ariadna JSP Tag Library BUG/Error
> 
> 
> Mike,
> 
> It works now, i copied all the TLD files into a web-inf 
> folder, set it up the way youve suggested and it works.
> 
> thanks for you help, its a really useful feature.
> 
> cheers
> 
> Nad
> 
> > -----Original Message-----
> > From: Mike Aizatsky [mailto:[EMAIL PROTECTED]]
> > Sent: 15 February 2002 10:14
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Eap-list] Ariadna JSP Tag Library BUG/Error
> > 
> > 
> > Shabir
> > 
> > See message
> > http://www.intellij.com/pipermail/eap-list/2002-February/010899.html
> > 
> > Best regards,
> > Mike Aizatsky.
> > ------------------------------
> > IntelliJ Software, "Develop with pleasure!" http://www.intellij.com
> > 
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED]]
> > On
> > > Behalf Of Shabir, Nadeem
> > > Sent: Friday, February 15, 2002 12:08 PM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: [Eap-list] Ariadna JSP Tag Library BUG/Error
> > > 
> > > Is there any way to tell Ariadna that it needs to parse a 
> particular
> > TLD
> > > to
> > > find out about tags. For example were using Struts, even 
> though the
> > JSP
> > > containts the directive ...
> > > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> > > 
> > > Ariadna still highlights all the struts tags in red.
> > > 
> > > I think its because the TLD when deployed WILL reside in 
> > /WEB-INF/ but
> > > during development it resides somewhere else in our 
> > development tree.
> > And
> > > obviously when we build and deploy the application using 
> ANT it puts
> > the
> > > TLD
> > > into the /WEB-INF/ folder. I think thats why ariadna cant find the
> > TLD.
> > > So is there any way to tell ariadna where to pick up the 
> TLD's from?
> > and
> > > if
> > > there isnt is there any chance you might add this as 
> > feature, because
> > as
> > > it
> > > stands any time we open up a JSP page it highlights lots of errors
> > that
> > > arent really errors.
> > > 
> > > cheers
> > > 
> > > Nadeem
> > > 
> > > 
> > >  Nadeem Shabir BSc
> > >  Senior Software Engineer
> > > 
> > >  Data Systems & Solutions (DS&S),
> > >  PO Box No 31,
> > >  Sinfin Lane,
> > >  Derby.
> > >  DE24 8BJ.
> > > 
> > >  www.ds-s.com
> > > 
> > >  Tel      :       (01332) 777570
> > >  Fax      :       (01332) 772647
> > >  Mobile:  (07790) 901297
> > > 
> > >  E-mail:   [EMAIL PROTECTED]
> > > 
> > > For optimum solutions that save you time, visit www.ds-s.com.
> > > 
> > > _______________________________________________
> > > 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
> > 
> 
For optimum solutions that save you time, visit www.ds-s.com.

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

Reply via email to