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..

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to