Tapestry pages are static in structure: you don't just create components on the fly. This is necessary for Tapestry's view on scalability and clustering.
What you can do is define th components you want and select which one renders at any give time. This is how the Grid and BeanEditForm components work, for example. On 5/29/07, Jonathan Glanz <[EMAIL PROTECTED]> wrote:
All, below is a sample of what I'd like to be able to do, but I can't seem to figure out a way to make it work <t:loop source="widgets" value="widget"> <div t:type="prop:viewElementType"/> </t:loop> Is there a way to do this or a binding that would do this? Basically I need a way to dynamically instantiate components at runtime. -thx, Jon
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com