wh.write(self.getOuterAttrs()).write(self.getInnerAttrs()).write(">");
<BUG>ZkFns.redraw(self.getCaption(), out);
for (Iterator it = self.getChildren().iterator(); it.hasNext();) {</BUG>
final Component child = (Component) it.next();
<BUG>if(self.getCaption() != child)

ZkFns.redraw(child, out);
}</BUG>
wh.write("</fieldset>");
wh.writeln();

wh.write(self.getOuterAttrs()).write(self.getInnerAttrs()).write(">");
if(self.getCaption() != null){
self.getCaption().redraw(out);
}
for (Iterator it = self.getChildren().iterator(); it.hasNext();) {
final Component child = (Component) it.next();
if(self.getCaption() != child){
child.redraw(out);
}
}
wh.write("</fieldset>");
wh.writeln();
