Re: @InjectObject and concrete classes

2005-11-01 Thread Howard Lewis Ship
Sorry, but those annotations are only supported for pages and components, not for beans or anything else. However, it easy to define a HiveMind service, inject whats needed into the service, and then inject that service into your page or component. On 10/31/05, Richard Clark <[EMAIL PROTECTED]>

Re: @InjectObject and concrete classes

2005-10-31 Thread Richard Clark
Correction: Make that injection call @InjectObject("service:gtd.UserDataSource") That's what I get for not just cutting and pasting! (It still fails as described) ...R On Oct 31, 2005, at 17:59, Richard Clark wrote: I'm experimenting with Tapestry 4 (not quite ready to apply this to

@InjectObject and concrete classes

2005-10-31 Thread Richard Clark
I'm experimenting with Tapestry 4 (not quite ready to apply this to the huge production app yet ;) ), and ran into an interesting problem. I have a Validator that's used in my login process, and a service that gives access to the user names & passwords. I would like the validator to pick up