In such advanced cases you can use IMarkupWriter.getNestedWriter():
When rendering the page:
- render all FaqItems to a nested writer
- render the FaqSummary itself
- close() the nested writer (which implicitly commits its content to the
main writer)
Thanks a lot, that makes sense.
But where do I put what?
I'll have something like:
<span jwcid="@FaqSummary"/>
<span jwcid="@FaqItem" title="title1">
Body of FAQ #1
</span>
<span jwcid="@FaqItem" title="title2">
Body of FAQ #2
</span>
Where do I put the Nested thing?
-jec
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]