HasEditorErrors and HasDataEditor

63 views
Skip to first unread message

Tim

unread,
May 12, 2011, 2:49:34 PM5/12/11
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?

Tim

unread,
May 17, 2011, 11:59:48 AM5/17/11
to Google Web Toolkit
I'm guessing the lack of replies implies HasDataEditor.of(cellTable)
locks you out of the HasEditorError goodness... that's a shame.

WERDEX

unread,
Oct 4, 2011, 2:59:07 AM10/4/11
to google-we...@googlegroups.com
Hi,
Are there any updates on this? Is it possible to get CellTable working with HasEditorErrors?
Reply all
Reply to author
Forward
0 new messages