Wow, I wouldn't want to have to maintain an app full of tml files like that. I think you're not realizing yet how much more maintainable a good clean T5-style template really is. Java is so much more expressive for logic anyway.
Bob Harner On Sep 17, 2011 5:20 PM, "Ken in Nashua" <kcola...@live.com> wrote: > > > > > > > > > > Thanks Thiago... I didn't think it unreasonable to have fundamental ops to take code like this... > > <span jwcid="foreachitem@For" source="ognl:collection" value="ognl:currentObject" index="ognl:index"> > <span jwcid="@If" condition="ognl:okToRenderItem"> > > <span jwcid="@If" condition="ognl:( @java.lang.Math@min(tableColumns, itemsPerPage) )"> > <span jwcid="@If" condition="ognl:((index - cursor) % > @java.lang.Math@min(tableColumns, itemsPerPage) ) == 0"> > <span jwcid="@Insert" value="</tr><tr>" raw="true"/> > </span> > </span> > > and have tap5 honor the same semantic (arithmetic and method calls) in some way or another... > > I refuse to violate the page code and self contained components is pure tapestry anyway. > > It seems I need chenelle... > > Can you recommend a chenelle version for tap 5.3.0 ? > > Thank You > > >