Upgraded to 5.0.5-SNAPSHOT and that fixed it.

On 6/13/07, Ben Tomasini <[EMAIL PROTECTED]> wrote:

I am working with tapestry 5.0.4 trying to do explicit service injection
since there are three services which match my interface.

Here is the code for the private field in the tapestry page:


@Inject
@Service("UserTranslator")
private Translator userTranslator;


And here is the module

public Translator buildUserTranslator() { ...

public Translator buildItemTranslator() { ...

I am getting and error indicating that tapestry is not recognizing the
explicit injection and is falling back to its auto logic, complainging that
there are two services which match the interface.

Ben



Reply via email to