Re: How to determing the relationship between tags

2001-12-05 Thread Martin Cooper
True, but that doesn't solve the particular problem I was describing. If you are breaking up a page into multiple pages because the compiled size blows the JVM limit, you have to use . The include directive includes at compile time, so you're no better off than when you started. -- Martin Cooper

Re: How to determing the relationship between tags

2001-12-05 Thread Dan Gross
If you use an include directive, like: <%@ include file="pageContainingTag2.jsp" %> instead of a JSP include, then findAncestorWithClass() will work. --Dan Martin Cooper wrote: >One thing to be aware of with findAncestorWithClass() is that it works only >within the JSP page. This is not surpr

Re: How to determing the relationship between tags

2001-12-05 Thread Martin Cooper
One thing to be aware of with findAncestorWithClass() is that it works only within the JSP page. This is not surprising in itself. However, if you want to be able to have the nested tag in an included page, you can't use this mechanism to find the parent. That is, with this code in the page:

RE: How to determing the relationship between tags

2001-12-05 Thread bo
Thanks a lot! Bo -Original Message- From: Shawn Bayern [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 3:20 PM To: Tag Libraries Users List; [EMAIL PROTECTED] Subject: Re: How to determing the relationship between tags On Wed, 5 Dec 2001, bo wrote: > I wonder if I can de

DBTags write resultsets into javascript, caching

2001-12-05 Thread Bill Moss
Off topic but I'm hoping someone has experience with these two questions: 1) What's the best way to have one select box influence another select box's choices? I'm thinking JavaScript. My scenario is, one select box has a list of places, based on place selected, sub-places should show in other

RE: How to determing the relationship between tags

2001-12-05 Thread Lacerda, Wellington (AFIS)
Yes. The Parent tag can be (recursively) scanned with getParent() and verified with instanceof. The TagSupport tag provides for that also with findAncestorWithClass method. Wellington L.S. da Silva UN/FAO -Original Message- From: bo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December

Re: How to determing the relationship between tags

2001-12-05 Thread Shawn Bayern
On Wed, 5 Dec 2001, bo wrote: > I wonder if I can determine the relationship among tags, such as tag A > should be within tag B etc. Is that possible? Thanks! You can use a TagLibraryValidator class to enforce arbitrary characteristics of the XML view of a JSP page, including specific relationsh

How to determing the relationship between tags

2001-12-05 Thread bo
Hi all, I wonder if I can determine the relationship among tags, such as tag A should be within tag B etc. Is that possible? Thanks! Bo -- To unsubscribe, e-mail: For additional commands, e-mail:

Mailer: server attribute not used?

2001-12-05 Thread Joachim Martin
Hi, After a couple frustrating hours, I finally got the mailer taglib to use a specified smtp server by setting CATALINA_OPTS to -Dmail.smtp.host=smtp.hbs.edu. I tried using the server="smtp.hbs.edu" attribute, but it didn't work. I tried hardcoding my smtp server in MailTag.java and then in

RE: dbtags

2001-12-05 Thread Mader, Steve
The following code works for me: <% // Set max rows to retrieve. trans_list.setMaxRows( 100 ); %> The fetch size parameter should work the same way. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:

Antwort: xsl taglibs problem with anchor element

2001-12-05 Thread Tobias . Himstedt
Hi, try to replace the & with & in the link -> mylink Regards -- Tobias "[EMAIL PROTECTED]" mylink When I run the jsp which has this anchor element in the xsl file used as xsl attribute of the tag library an exception occurs with this message: the entity param2

Re: xsl taglibs problem with anchor element

2001-12-05 Thread James Strachan
You must escape & when working with XML. Try mylink James - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 7:41 AM Subject: xsl taglibs problem with anchor element > Hi, > > is there anyone who has tested the xsl tag l