I have form with editors for bean fields: public class EditSampleView extends ViewImpl implements EditView, Editor<SampleData> {
interface Driver extends SimpleBeanEditorDriver<SampleData, EditSampleView> { } @UiField TextFieldEditor country; @UiField TextFieldEditor description; @UiField DigitFieldEditor digit; EditorDriver<SampleData, ? extends Editor<SampleData>> driver; @UiField TextFieldEditor name; } Each field editor has edit and view modes. I also have own driver wrapper. It adds JSR-303 validation automation. I want to implement this method in my driver: /** Sets edit/view mode of field editors */ public void setEditMode(boolean edit) { for(FieldEditor field: getFieldEditors()) { field.setEditMode(edit); } } Is it possible to access all field editors from driver ? GWT.create(Driver.class) generates code for each field editor annotated by @UiField. So it knows about all those fields. It could be great to have access to them. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FenIwojd-CgJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.