Greetings,
Is it possible to use the Delegate component such that the delegation of the
rendering be given to a method in the page, or to a rendering class instead
of a Block or Component? In the example below, can the onDelegatemethod be
used to render the contents (ie. return a stream or use the MarkupWriter) of
the delegate?
The old T3 Delegate component was used this way, but I'm not sure how to do
the same in T5. I have my own IRender interface (similar to T3) that is
returned to the delegate component. For Example:
MyPage.tml
<t:delegate to:"onDelegate" ></t:delegate>
MyPage.java
public void onDelegate(MarkupWriter writer) {
writer.element("table");
...
}
Any thoughts or suggestions?
Thanks,
Marcel
--
View this message in context:
http://www.nabble.com/-T5--Delegate-Rendering-tp20471932p20471932.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]