On Monday, September 19, 2011 5:23:32 PM UTC+2, Eric Metcalf wrote:
>
> Why don't you want to do the 2 things you mentioned? 
>
> > I want to avoid putting this code into "another" class or using the * 
>

In this case I have to make a method (that is called by *dialogOk()*) in 
THIS class static because it would be called from another class.
 

> > addClickHandler* method within THIS class. Is there a way around?


Well, I suppose it's discouraged since @UiHandler was introduced? Also I 
really like to use declarative constructs (annotations) for those kind of 
things. 

However my preliminary solution is to use the boilerplaty *
addClickHandler(...)* :(

I suppose @UiHandler simply doesn't support static fields yet?

-- 
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/-/F0GtJ6p51k4J.
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