Ilia Naryzhny created WICKET-5482:
-------------------------------------

             Summary: Wicket-guice doesn support @Named annotations
                 Key: WICKET-5482
                 URL: https://issues.apache.org/jira/browse/WICKET-5482
             Project: Wicket
          Issue Type: Bug
          Components: wicket-guice
    Affects Versions: 6.13.0
            Reporter: Ilia Naryzhny


Following annotations in wicket commponent have not been supported now:

@Inject
@Named("myproperty")
private String myproperty;

And instead of throwing exception, wicket-guice just substitute "" for String 
fields. And that is making debuging of problems quite difficult task.

The problem, from my point of view, lies in 
org.apache.wicket.guice.GuiceFieldValueFactory.findBindingAnnotation(); or can 
be fixed one level up 
(org.apache.wicket.guice.GuiceFieldValueFactory.getFieldValue())



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to