>From the T5 documentation: "When a sub-class overrides an render phase method of a base class, the method is only invoked once, along with any other base class methods. The subclass can change the implementation of the base class method via an override, but can't change the timing of when that method is invoked. See TAPESTRY-2311<https://issues.apache.org/jira/browse/TAPESTRY-2311>."
I want to extend the Loop component to add a 'last' parameter that's true for the last iteration of the loop, and false otherwise. Unfortunately when I extend the T5 Loop component and try to override after() so I can set the Boolean (change the implementation like the docs suggest), it cannot be overridden because the method is package private. All of the members of the T5 Loop component are private and there's no public accessors for the ones I need. So, anyone any ideas how I can do this? The only thing I can think is asking Howard to make the render phase methods public or protected so they can be overridden. Either that or I copy the entire loop component code into my own - ugh. Thanks, Andy