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 =
> 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
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
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)
{
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
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
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
> >
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
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)
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,
> 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"
>
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
12 matches
Mail list logo