> > > maxlength="16"/>
> >
> > which is then processed to HTML.
> >
> > I'm keeping a close eye on this thread & if/when I
> > find a solution I'll post
> > it.
> >
> > Thanks for all the responses.
> >
>
;16"/>
>
> which is then processed to HTML.
>
> I'm keeping a close eye on this thread & if/when I
> find a solution I'll post
> it.
>
> Thanks for all the responses.
>
> Wayne
>
>
>
> -Original Message-
> From: [EMAIL
7, 2001 9:45 PM
To: [EMAIL PROTECTED]
Subject: RE: recursive tag
Actually, the tag doesn't produce tags, although it does
iterate over the tags in its body.
What Wayne wants to do, as I understand it, is have a tag that can actually
generate some JSP containing other tags (in this case Stru
Actually, the tag doesn't produce tags, although it does
iterate over the tags in its body.
What Wayne wants to do, as I understand it, is have a tag that can actually
generate some JSP containing other tags (in this case Struts tags). Those
tags would then be evaluated, and may in fact produ
Title: RE: recursive tag
Hi,
Struts "enumerate" tag does that
-Original Message-
From: Young, Wayne [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 8:22 AM
To: Struts-Dev@Jakarta. Apache. Org (E-mail)
Subject: recursive tag
Does anyone k
When a JSP page is compiled, the JSP code itself is turned into a servlet,
but the custom tags remain external to that servlet. The class files for
these must be a part of the web app for it to work.
Regardless, you do raise a good point. If things worked the way I had
supposed, then you would
Martin,
I do not believe that what you suggest would work.
My understanding is that when a jsp is compiled, all
the custom taglibs and the jsp are compiled into one huge
servlet. So at runtime, the container knows nothing about
custom tags or taglibs, just
You should be able to do this by creating a custom tag that writes your
initial output (the tags you suggested from your example) to
the body, and then returns EVAL_BODY_TAG from doAfterBody() to cause the
body to be reevaluated. Take a look at the JSP spec (e.g. the section on
Actions with B
This brings up a sub point I was wondering about. Does the Digester handle
namespaces in it's matching? If so, how? I could see using the digester to
catch the embedded struts tag and instantiate the appropriate TagLib classes if
it supported namespaces.
Craig T.
"Sukachevin, Stoehr" wrote:
You could have your tag simulate being the JSP container by instantiating an
instance of org.apache.struts.taglib.html.TextTag and invoking it based upon
what the javadocs say is the invocation sequence for Tags
[http://www.javasoft.com/j2ee/j2sdkee/techdocs/api/javax/servlet/jsp/tagext/
Tag.html]
10 matches
Mail list logo