You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Edward Scanzano <es...@yahoo.com> on 2005/05/25 19:32:00 UTC
Is this the right syntax
<span jwcid="@Foreach"
source="ognl:currentRepository.getAllFacilities"
value="ognl:currentFacility"
index="ognl:currentFacilityIndex">
I have an object called currentRepository that has a
method called getAllFacilities and it returns a
Collection object.
I have nothing defined in the .page file. Do I need
support for these variables as a
property-specification?
The error I get
ognl.NoSuchPropertyException
com.intaglio.client.api.impl.RepositoryImpl.getAllFacilities
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Is this the right syntax
Posted by "Jean C. Favila" <jf...@legosoft.com.mx>.
The source attribute should be:
"ognl:currentRepository.allFacilities"
or
"ognl:currentRepository.getAllFacilities()"
> -----Original Message-----
> From: Edward Scanzano [mailto:escanzano@yahoo.com]
> Sent: Wednesday, May 25, 2005 12:32 PM
> To: tapestry-user
> Subject: Is this the right syntax
>
> <span jwcid="@Foreach"
> source="ognl:currentRepository.getAllFacilities"
> value="ognl:currentFacility"
> index="ognl:currentFacilityIndex">
>
> I have an object called currentRepository that has a
> method called getAllFacilities and it returns a
> Collection object.
>
> I have nothing defined in the .page file. Do I need
> support for these variables as a
> property-specification?
>
> The error I get
>
>
> ognl.NoSuchPropertyException
> com.intaglio.client.api.impl.RepositoryImpl.getAllFacilities
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org