jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Kallen <spida...@arachna.com>
Subject iterative tag with nested tags example
Date Sun, 09 Mar 2003 03:57:10 GMT

I've been looking over Cactus 1.4.1 to build some tag library unit tests.
I can get the simple cases to work fine but I'm unclear on how to build a
test for a construct like:

<mytag:iterator var="item" list="aList">
  <mytag:instance property="name">
    <mytag:formatter bean="item" />
  </mytag:instance>
</mytag:iterator>

It's not clear how to setup a test so that the interior tags can be
parameterized with the iteration values, if that makes sense.  Is there a
good example of this hidden away somewhere I can check out?
thanks!

--
Ian Kallen <spidaman@arachna.com> | AIM: iankallen


Mime
View raw message