Ralph Goers wrote:

> Thanks for the feedback. I wasn't thinking of calling 
> processLayout - I'd leave that only for the selected tab.
> 
> I was thinking of something like:
> 
> // existing code
> if (j ==selected) {
>    processLayout(....)
> }
> // new code
> else if (config.generateSubNav) {
>    this.processSubNav(tab.getLayout, ...); }
> 
> processSubNav would generate a "sub-nav" element and then 
> generate named-item elements for each tab. It would then call 
> toSax() to recursive process any subordinate sub-nav below that.
> 
> Am I missing something in thinking that this would keep the 
> coplets from being rendered?  If I am, then yes, it should be 
> an easy matter to strip the stuff from non-selected tabs, 
> although that isn't very "pretty".

Yes, this should work.

Carsten

Reply via email to