java - GWTQuery UI Error with .dialog() -
i trying utilize dialogs gwtquery-ui in kepler , can't figure out wrong. followed best instructions found @ https://code.google.com/p/gwtquery-ui/wiki/gettingstarted. have next code setup
gwt.xml
<inherits name='gwtquery.plugins.uigooglecdn' /> <inherits name='gwtquery.plugins.uiembedded' />
i have tried gwtquery.plugins.ui hasn't solved things either.
in java file have following
import static com.google.gwt.query.client.gquery.*; import static gwtquery.plugins.ui.ui.ui; import com.google.gwt.query.client.function;
i have next in html project.
<div style="display: none;" class="gwt-dlgbox">this test see if shows up</div>
in main logic have next click handler
@uihandler("btnshow") public void btnshow(clickevent event) { int x = 0; seek { x = $(".gwt-dlgbox").length(); $(".gwt-dlgbox").as(ui).dialog(); } catch(throwable e) { e=e; // can debug break here. } }
when debug error: line 80: referencing method 'com.google.gwt.query.client.function.f(lcom/google/gwt/user/client/event;ljava/lang/object;)': unable resolve method
when step through code x = 1; correct, .dialog() line fails error mentioned above.
when seek , compile next error
[error] errors in 'jar:file:/c:/src/gwtquery-ui-r146.jar!/gwtquery/plugins/ui/uiwidget.java' [error] line 80: referencing method 'com.google.gwt.query.client.function.f(lcom/google/gwt/user/client/event;ljava/lang/object;)': unable resolve method
any help appreciated. yes new gwt , don't understand missing.
thanks.
if using gwtquery 1.4.2, issue. resolved downgrading gwtquery 1.3.3.
java eclipse gwt gwtquery
No comments:
Post a Comment