Ugh. It's the one thing that was different and I was too bleary-eyed
to notice. That worked. Thanks.
Christian.
On 18-Oct-07, at 2:12 AM, Adam Ayres wrote:
I am using 5.0.5 and was able to get the example from the wiki working
when I made the PropertyAccess injection private.
Many thanks to the contributors of the wiki for all of the Tapestry 5
How Tos, they have been very helpful!
Thanks,
Adam
-----Original Message-----
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 17, 2007 10:58 PM
To: Tapestry users
Subject: Re: T5: PropertyAccess service not injecting?
yes,
it should be
@Inject private PropertyAccess _access;
I've corrected the wiki ...
Hrg
On 10/18/07, lasitha <[EMAIL PROTECTED]> wrote:
Christian, i haven't tested this, but i did notice the line at the
top
of the wiki page seems incorrect:
@Inject PropertyAccess _access;
AFAIK, injected properties _have_ to be private. The full listing of
'SelectTest' further down the page uses the correct form. I don't
remember where i read about injected properties being private, but
i've certianly run across it several times, at least on 5.0.5.
Cheers, lasitha
On 10/18/07, Christian Gruber <[EMAIL PROTECTED]>
wrote:
Hi,
So I was working with the "select model from objects" example
from
the t5 wiki, and I pulled everything in just as per the class. The
wierd thing is that the PropertyAccess service is not injecting.
That
page class has 2 other injected services (Logger and my DataService)
which do get successfully injected. PropertyAccess does not,
however. Is this a known thing? couldn't find it in JIRA or with
straight google searches.
I'm using a trunk build from 2 days ago (5.0.6-SNAPSHOT from
svn)
and everything else is working beautifully.
Christian.
---------------------------------------------------------------------
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]