Actually, the <logic:iterate> 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 produce yet more tags, and so
on until there were no more tags to process.
My guess now, after Nick Pellow pointed out the bug in my thinking (thank
you, Nick! :-) ), is that you just can't do this, at least not this way.
Wayne, can you tell us what it is you're trying to do? Maybe we can come up
with an alternative approach.
--
Martin Cooper
Tumbleweed Communications
At 11:00 PM 2/27/01 -0500, Mallari Kulkarni wrote:
>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 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]