sql:query to an ArrayList

2003-10-03 Thread earnst
HI all, I am trying to figure out how to go from ... to an ArrayList that I need to feed to another taglib. I've looked through the Hans' JavaServer Pages book and found something that looked like it should work: <% ArrayList testList = new ArrayList(); %> <% String partNumber =

Re: TagExtraInfo on getVariableInfo() - can't get parent information?

2003-10-03 Thread Lukas Bradley
> 1. Define the TEI within the inner-loop > 2. Have the scripting variables set to null by the TEI > 3. In the startTag() method of inner-loop look up the variables using findAncestorWithClass() > 4. Set the TEI variables to their new values This would be perfect, except on number 1 the inner TEI

RE: TagExtraInfo on getVariableInfo() - can't get parent information?

2003-10-03 Thread Martin van Dijken
Hey Lukas, > Thank you for the quick reply, Martin. You're always very helpful. Heh, I'm still learning from all the questions that are being asked here, which is my gain from it all. > To use my previous example, this would be easy within the . > However, I want the myName and myType variabl

Re: TagExtraInfo on getVariableInfo() - can't get parent information?

2003-10-03 Thread Lukas Bradley
Thank you for the quick reply, Martin. You're always very helpful. I'm attempting to utilize the TagExtraInfo object to automatically create a translation-time variable for me. The getVariableInfo() method would look something like this: public VariableInfo[] getVariableInfo(TagData pTagData) {

RE: TagExtraInfo on getVariableInfo() - can't get parent information?

2003-10-03 Thread Martin van Dijken
Hey Lukas, I'm not entirely certain what you're asking. Do you want to know how to pass info from the tag to the inner-loop? If you're programming the inner-loop tag yourself, you can simply do a findAncestorWithClass(this, MyTag.class) in the innerloop class. This presents you with the instanc

TagExtraInfo on getVariableInfo() - can't get parent information?

2003-10-03 Thread Lukas Bradley
Hi all, I want to do this: ... <%-- LOOP PERFORMED HERE --%> ... Where the object, a translation-time variable name, and object type are defined in a parent tag, and the actual loop is performed within a child tag. In the example above, my:tag references the array

Re: fmt taglib validation fails with web-app_2_4.xsd

2003-10-03 Thread Kris Schneider
Quoting Hans Bergsten <[EMAIL PROTECTED]>: > Adam Hardy wrote: > > I do have a reason for upgrading - I'm not just a masochist ;) - I need > > the character encoding features of the servlet 2.4 spec. Thanks for the > > explanation of that error on the struts taglibs. Makes sense. It was the > >

Re: fmt taglib validation fails with web-app_2_4.xsd

2003-10-03 Thread Kris Schneider
Look for the following entry near the top of the xercesImpl.jar manifest: Name: org/apache/xerces/impl/Version Comment: @impl.name@ for http://xml.apache.org/xerces2-j Implementation-Title: org.apache.xerces.impl.Version Implementation-Version: 2.5.0 Implementation-Vendor: Apache Software Foundat

Re: fmt taglib validation fails with web-app_2_4.xsd

2003-10-03 Thread Adam Hardy
Thanks Hans, Yann, re xml parsing issue, in the server.xml somebody left the useful comment: Because of that I assumed that the bundled xerces would be 2.1 - but I didn't check - unfortunately the tomcat docs only say "Tomcat 5.0 also makes Xerces 2 and the Commons Logging API (release 1.0.3)

Re: fmt taglib validation fails with web-app_2_4.xsd

2003-10-03 Thread Hans Bergsten
Adam Hardy wrote: I do have a reason for upgrading - I'm not just a masochist ;) - I need the character encoding features of the servlet 2.4 spec. Thanks for the explanation of that error on the struts taglibs. Makes sense. It was the same error as I was getting from the old jstl 1.0.4 taglibs,

Re: fmt taglib validation fails with web-app_2_4.xsd

2003-10-03 Thread Yann Cébron
> This is some sort of xml parsing problem, I've narrowed it down to the > following declaration in tomcat's server.xml: > > debug="0" > appBase="webapps" > unpackWARs="true" > autoDeploy="true" > xmlValidation="true" >

Re: fmt taglib validation fails with web-app_2_4.xsd

2003-10-03 Thread Adam Hardy
I do have a reason for upgrading - I'm not just a masochist ;) - I need the character encoding features of the servlet 2.4 spec. Thanks for the explanation of that error on the struts taglibs. Makes sense. It was the same error as I was getting from the old jstl 1.0.4 taglibs, which also makes