i think this isn't the problem

model must be type TreeModelItem  and ongl:item is a
java.util.Iterator not a TreeModelItem

but i test it and it don't work for my example


On 5/23/05, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
> Do you just want to say:
> 
> <div jwcid="@TreeItemView" model="ognl:item"/>
> 
> in your TreeItemView?
> 
> 
> 
> pepone pepone wrote:
> > Hello list
> >
> > i trying to pass the foreach att value to a model.getObject method of
> > my component
> > but i unable to get this working
> >
> > <div jwcid="@Foreach" source="ognl:model.iterator" value="ognl:item">
> >            <div jwcid="@TreeItemView" model="ognl:model.getObject(item)"/>
> > </div>
> >
> > can any body sayme if posible and the correct way to doit
> >
> > thanks
> >
> > ---------------------------------------------------------------------
> > 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]
> 
>

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

Reply via email to