Try:

@Property @InjectComponent
private Zone testZone;

On Wed, May 5, 2010 at 11:32 AM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Wed, 05 May 2010 15:18:18 -0300, Jim O'Callaghan
> <j...@peritussolutions.com> wrote:
>
>> Hello,
>
> Hi!
>
>> <t:zone zone="prop:zone" id="${ componentZoneId }" t:update="show">
>
> Don't use expansions (${}) when passing values to parameters. It forces the
> conversion to String. In this case, it's harmless, as it's already a Strig.
>
>> 'zone' is a ComponentSource within the associated component java class and
>> is defined as follows:
>>               �...@property
>>               �...@inject
>>               �...@id("testZone")
>>                private ComponentSource zone;
>
> This is strange, as ComponentSource isn't a component nor a Block, it's an
> interface and a service.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to