> > Is the @RenderBlock specified from within the template or within the JAVA? >
RenderBlock is a component, it's actually a component "marking" where a specified Block component (could be chosen dynamically at runtime) will be rendered. As any component can be defined in the component definition java file or with java annotations, neverthless it's "position" in html must be specified in the html template. What the Block/RenderBlock option gives you more with respect to other solution is the fact that you can can choose completely different Block to render at runtime (in fact any other component that can be contained in a Block component), see the tab example in the user guide: it's a non ajax example but could be easily turned in an ajax update just using an EventListener and a ResponseBuilder.updateComponent call. http://tapestry.apache.org/tapestry4.1/components/general/renderblock.html > > > How would I rig up a listener="listener:edit" within the JAVA? > Why would you want to do that? Really I can't understand your case. What you mean with "rig up rig up a listener="listener:edit" within java? the writer you use inside a renderComponent just generate final output for the browser, it's not meant to be "parsed again" in search of components. If you want to add a link to your component I suggest you to use a DIrectLink component in your component and use customer components (with or without templates) for the rest. You can then incorporate your components and other components in a super component. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]