You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/02/02 10:04:09 UTC

[jira] [Reopened] (WICKET-5482) Wicket-guice doesn't support @javax.inject.Named annotations

     [ https://issues.apache.org/jira/browse/WICKET-5482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reopened WICKET-5482:
-------------------------------------

      Assignee: Martin Grigorov

> Wicket-guice doesn't support @javax.inject.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
>            Assignee: Martin Grigorov
>              Labels: injection
>         Attachments: WICKET-5482.patch
>
>
> 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)