Is title a true property with getTitle()? I forget if you also need
setTitle() for it to be a true property..brain fart.

if not you have to do the ognl equivalent of a method invocation
instead of a property access.

ie. to invoke an arbitrary method use the whole method name in the expression...

ognl::components.feedLoop.value.title()

if the method is title() that is.

Geoff



On 6/20/05, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
> Well I tried:
> ognl:components.feedLoop.value as the value property.
> So to access a method from it I tried:
> ognl:components.feedLoop.value.title
> and I'm getting an error:
> ognl.NoSuchPropertyException
> org.apache.tapestry.components.Foreach$Enhance_6.value
> 
> Any ideas?
> 
> On 6/20/05, Robert Zeigler <[EMAIL PROTECTED] > wrote:
> > Like Todd said, you only need the the source. You can always get to the
> > value like:
> > ognl:components.feedLoop.value
> >
> > Robert
> >
> > Pablo Ruggia wrote:
> > >>From what I know, only source is required.
> > >
> > > On 6/19/05, Vinicius Carvalho <[EMAIL PROTECTED] > wrote:
> > >
> > >>Hello there! Must I always bind a value from a foreach in a page to a
> > >>property on its class?
> > >>
> > >>for example:
> > >>
> > >><span jwcid="[EMAIL PROTECTED]" source="ognl:category.userFeeds"
> > >>value="ognl:userFeed">
> > >>
> > >>My page must have a UserFeed property?
> > >>
> > >>Regards
> > >>
> > >>Vinicius Carvalho
> > >>
> > >>---------------------------------------------------------------------
> > >>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] 
> 
>

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

Reply via email to