This code seems to work (and I'm posting it here in case it helps someone else). If anyone thinks this will cause issues somewhere else, and is kind enough to respond, I appreciate it!
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.