Im looking for something similar to T4
IComponent.renderBody(IMarkupWriter writer, IRequestCycle cycle)
2007/9/18, Ted Steen <[EMAIL PROTECTED]>:
> I would like to do this,
>
> @BeginRender
> final void begin(MarkupWriter writer)
> {
> StringTokenizer st = new StringTokenizer(template, " ");
> while(st.hasMoreTokens())
> {
> String token = st.nextToken();
> if("TEST".equals(token))
> {
> //TODO Render a block or component here!
> }
> else
> {
> writer.writeRaw(token);
> }
> }
> }
>
> But I cant find anything in the api that lets me render a block or
> component programmatically..
>
--
/ted
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]