The stockwatcher tutorial threw me for a loop on this bit
// Listen for keyboard events in the input box.
newSymbolTextBox.addKeyPressHandler(new KeyPressHandler() {
public void onKeyPress(KeyPressEvent event) {
if (event.getCharCode() == KeyCodes.KEY_ENTER) {
addStock();
}
}
});
I used debugging ran a search and changed KeyPressHandler to
KeyDownHandler to fix (getCharCode() was returning 0 on enter which
wasn't the 13 KeyCodes.KEY_ENTER had)
I'm going to finish the sample first but is there another good sample
on working with JSON and your own data objects, maybe w/ Google App or
Simple MySQL database?
I'm also looking to possibly contribute time to a project if you'll have me
(15 year CF, 10 .NET, 16 SQL, 14 HTML, 5ish Java fell into a .net gap
and need to brush up on AJAX and JSON)
-Joshua O'Connor-Rose
-All is Good
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment