What is the T5 equivalent to the following JSF?

@RequestScoped @Named
class Person {}

class SigninPage {
  @Inject
  Person person;
}

If I try this in tapestry, I'm getting:
org.apache.tapestry5.runtime.ComponentEventException
Error obtaining injected value for field person: No service implements the
interface Person.

What do I have to change to use this kind of injection in T5?



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Inject-managed-beans-tp5717346.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to