I've created a dynamic component which renders other components based
on a "wiki" format.
This works in a similar way as Block and RenderBlock and I have not
experienced any
problems with it. Is this dynamic rendering allowed in Tapestry or
does it violate Tapestry's
static structure?

The core functionality of the component looks something like this:


protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
{
   for (String componentName : components)
   {
       IPage page = cycle.getPage("ComponentContainer");
       IComponent component = page.getComponent(componentName);

       component.render(writer, cycle);
   }
}


Thanks!

Marcus Matèrn

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

Reply via email to