> How do you generate your fields? The app manages attendees for training events. When the event is defined, the administrator can specify additional attributes that need to be collected when someone registers. So one event might need to keep track of attendee's first and last names and another might need to keep track of their name, company, & school.
Each event has an ordered list of attribute definitions. When someone registers for the event, the page loops through the list of attributes. If the attribute definition says it is to be a short field, it renders as a textField. If it is long, it renders as a text area. Multiple people can be registered at the same time, so this loop is in another loop that executes once for each attendee. > See the Component getEmbeddedComponent(String embeddedId) method in ComponentResources. This looks like along the lines of what I'm looking for, but I need a field. How do I convert the right component to a field so I can pass it to source.createValidator? (Sorry if that is a silly question.) Also if there is a better approach, please let me know. I'm not married to this approach. Mark -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org