Yep, sure, I may I add - This mailing list is great and Tapestry rocks!

 <t:loop source="breadCrumbs" value="crumb" index="index">
    <t:if test="LastCrumb">
       ${crumb.name}
       <t:parameter name="else">
           <a href="#"
t:type="pageLink" ....>${crumb.name}</a>                            
              >
       </t:parameter>
    </t:if>
</t:loop>

-J.

On Fri, 2008-04-18 at 14:34 +0200, Chris Lewis wrote:
> Can you share some code? At least the relevant part from template would
> be helpful.
> 
> chris
> 
> Jan Vissers wrote:
> > Hi,
> >
> > Just to make sure I'm not missing something.
> >
> > In T4 when I wrote a @For construct I could use value="..." as long as I
> > provided a setter|getter pair for the class involved - in this case
> > BreadcrumbBean. I want to iterate over a list of beans and use each
> > instance individually. Now T5 throws up on me with this nice coercion
> > message. Does this mean I need to contribute my own coercion - or is
> > there a more simple way? In my case BreadcrumbBean is a simple class
> > holding three String members.
> >
> > Thanks (again :-))
> > -J.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >   
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to