On Thursday, June 7, 2012 5:58:10 PM UTC+2, Shaun Tarves wrote:
>
> Thanks for the suggestions.
>
> I'm still perplexed why the field injection of the PHM doesn't work in a 
> PlaceHyperlink.
>

Depends how you do it; but given that it's created by UiBinder and not by 
GIN (unless you use @UiFactory or @UiField(provided=true)), you have to 
take explicit action to inject it with GIN. You should be able to do 
"instance injection" instead of "static injection" if you prefer (declare a 
method on your Ginjector taking a PlaceHyperlink as argument and with a 
void return-type, then call it with a PlaceHyperlink for an equivalent to 
Guice's injectMembers)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/DQe2uOI5gKcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to