If annotation added in tapestry page it worked:

public class SomePage {

  @Inject @SomeAnnot
  private TypeNotRegisteredInModuleAsService field;
}

annotationProvider.getAnnotation(SomeAnnot.class) != null

If annotation added in tapestry service it not worked:

public class SomeService {

// If without constructor and add annotation to this field - also not worked
   private TypeNotRegisteredInModuleAsService field;

   public SomeService(
          // With @Inject also not worked
@SomeAnnot TypeNotRegisteredInModuleAsService field) {

        this.field = field;
} }

annotationProvider.getAnnotation(SomeAnnot.class) == null

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

Reply via email to