tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Tang" <>
Subject Custom attributes and nested tags
Date Mon, 29 Jan 2001 07:47:02 GMT
Hi folks.

I'm writing a Body tag which has the ability to nest itself: e.g.

     <foo:mytag name="a">
       <foo:mytag name="b">

This works fine...except that the tag "foo:mytag" has attributes it sets
with pageContext.setAttribute and a TagExtraInfo class.  These variables
are defined as "nested".

The nesting causes problems because I get compile errors when the second
tag tries to define the variable since it has already been compiled in
the first tag.

Does anyone have any solutions to this problem?



View raw message