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] and BodyTags
> [http://www.javasoft.com/j2ee/j2sdkee/techdocs/api/javax/servlet/jsp/tagext/
> BodyTag.html] (I think TextTag is a BodyTag).
>
> With this way, you would not really be creating Struts tags for real, but
> would be simulating what outcome you desired.
>
> Perhaps you already considered this?
>
> -- Stoehr
>
> -----Original Message-----
> From: Young, Wayne [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 27, 2001 09:22 AM
> To: Struts-Dev@Jakarta. Apache. Org (E-mail)
> Subject: recursive tag
>
> Does anyone know how to create a tag that produces struts tags & then
> recursively processes them.
>
> Something like:
> <app:databyschema schema="test"/>
> is processed and returns
> <struts:text property="field1" size="16" maxlength="16"/>
> <struts:text property="field2" size="16" maxlength="16"/>
> which is then processed to HTML.
>
> Any help would be appreciated.
>
> Thanks.
>
> Wayne
> [EMAIL PROTECTED]

--
I've been trying to change the world for years, but they just won't give me the
source code....

begin:vcard 
n:Tataryn;Craig
tel;home:952-884-6752
tel;work:952-842-5576
x-mozilla-html:TRUE
url:http://www.computer-programmer.org
org:Compuware;Professional Division
adr:;;3600 West 80th St. Suite 400;Bloomington;MN;55431;United States of America
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Staff Analyst
fn:Craig Tataryn
end:vcard

Reply via email to