Same here...

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to