Tim
unread,May 12, 2011, 2:49:34 PM5/12/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi,
I'm using the editor framework in my application and enjoying the
automatic propagation of errors. However, some of my sub-editors are
CellTable based HasDataEditors which aren't implementing
HasEditorErrors.
Here's an example of how I'm defining an editor for a list of Phone
numbers:
public final class PhoneTableEditor extends Composite implements
IsEditor<HasDataEditor<PhoneHandle>>,
IndexedActionCell.Delegate<PhoneHandle> {
[...]
}
I tried simply implementing HasEditorErrors directly on this class,
but this results in a runtime class cast exception, so I guess I'm not
understanding the editor framework properly. I've read through the
editor framework documentation and I'm at a loss as to how I can
propagate EditorErrors into a HasDataEditor. Any ideas?