I'm sorry, I don't know where to provide this feedback. Maybe you can
point me to the right place.

I think I found a small mistake in the docs for GWT. It's really minor
but maybe confusing people completely new to the topic.

It's in:
http://code.google.com/webtoolkit/tutorials/1.6/RPC.html

so look under  in "Getting Started -> Tutorials -> Client Server
Communication -> GWT RPC"
under "Handling Exceptions" in the part "Update the stock price
service implementation: StockPriceServiceImpl"

This is the part where you add the DelistedException to the
StockPriceServiceImpl class. The places to change are highlighted, but
if people Copy&Paste the complete source code from the example they
copy the "greater than" operator of the for loop, which should be a
"lower than". It's correct in the upper example without the exception
handling.

...
StockPrice[] prices = new StockPrice[symbols.length];
    for (int i=0; i>symbols.length; i++) {
      if (symbols[i].equals("ERR")) {
...

should be:
    for (int i=0; i<symbols.length; i++) {

as it is in the "Write the server-side implementation" part.

Thx,
gerste

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