Yes, hitting the same problem. So far the example was great. Outstanding in fact. Being new to Java I'm afraid I'm stuck....
On Apr 14, 8:11 am, Jake B <[email protected]> wrote: > I'm having the same problem. If anyone else has gone through the app > engine tutorial and fixed this issue on their own, any help would be > greatly appreciated. Or as the OP said, a complete set of the working > code would be nice as well. > > On Apr 13, 9:44 am, "@lex" <[email protected]> wrote: > > > Hi, I would like some help to resolve this problem at the example of > > GWT using Gdatastore: > > http://code.google.com/webtoolkit/tutorials/1.6/appengine.html#data > > > All application run well following the getting start tutorial, so when > > I try to improve using data store at this implementation an erro > > occurs because stockService is not declare yet. > > I tryed to force the declaration using "StockService stockService = > > GWT.create(StockService.class);" but another erro is get with the > > method getStocks. > > > private void loadStocks() { > > stockService = GWT.create(StockService.class); > > stockService.getStocks(new AsyncCallback<String[]>() { > > public void onFailure(Throwable error) { > > } > > public void onSuccess(String[] symbols) { > > displayStocks(symbols); > > } > > }); > > } > > > private void displayStocks(String[] symbols) { > > for (String symbol : symbols) { > > displayStock(symbol); > > } > > } > > > If there is no mistake I would like to know where I can download the > > caomplete example with datastore workings. > > > Ty. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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 -~----------~----~----~----~------~----~------~--~---
