The GWT Editor framework lets you map data stored in an object graph to a set of editors (the UI). It saves you a lot from writing boiler plate code that binds data to the UI and vice versa. It allows you to even use Request Factory Proxies seamlessly.
Questions tagged [gwt-editors]
78 questions
12
votes
4 answers
Using GWT Editors with a complex usecase
I'm trying to create a page which is very similar to the Google Form creation page.
This is how I am attempting to model it using the GWT MVP framework (Places and Activities), and Editors.
CreateFormActivity (Activity and presenter)
CreateFormView…

Nick Siderakis
- 1,961
- 2
- 21
- 39
11
votes
0 answers
Using GWT Editor Framework with CellList
I want to use the GWT Editor framework with a CellList. My data model looks like this:
public class CarDto {
private String name;
private List features;
// getter and setter
}
Using GWTP here is part of my presenter:
public class…

Michael
- 32,527
- 49
- 210
- 370
11
votes
0 answers
GWT Editor Framework for polymorphic types
I've following class hierarchy.
class A {
String id;
@NotEmpty(message="Title can't be empty")
String title;
String description;
String comments;
}
class B extends A {
String manufacturer;
}
class C extends A {
long size;
}
Now I…

tj-recess
- 1,781
- 11
- 15
8
votes
3 answers
How to use GWT's Editor Framework with gwt-platform?
I'm using gwt-platform and tried to implement GWT's editor framework. But I don't get it working from within the presenter. There are some answers around the web, that say I have to inject the EditorDriver somehow into the Presenter, but I don't…

Benjamin M
- 23,599
- 32
- 121
- 201
6
votes
1 answer
GWT List editor binding
public interface Person {
String getName();
void setName(String name);
List getFriends();
}
public interface PersonFriend {
String getName();
}
I'm trying to implement a view-only editor for Person:
public class…

Andrey Agibalov
- 7,624
- 8
- 66
- 111
5
votes
2 answers
How to setConstraintViolations on EditorDriver using return value of client side Validator Validate method call
Using GWT 2.5.0,
I would like to use Client side validation and Editors. I encounter the following error when trying to pass the ConstraintViolation java.util.Set to the EditorDriver as follows.
Validator a =…

asenec4
- 367
- 3
- 16
5
votes
2 answers
How to edit a Set extends EntityProxy> with GWT Editor framework?
for sake of simplicity:
public class Person
{
String name;
Set addresses;
}
public class Address
{
String city;
String street;
}
with and matching
public interface PersonProxy extends EntityProxy
{
public…

Boris Daich
- 2,431
- 3
- 23
- 27
4
votes
1 answer
GWT Editors framework - ListEditor, removing items, MVP violation
public class PersonListEditor extends Composite implements IsEditor> {
private static PersonListEditorUiBinder uiBinder = GWT.create(PersonListEditorUiBinder.class);
interface PersonListEditorUiBinder…

Andrey Agibalov
- 7,624
- 8
- 66
- 111
4
votes
1 answer
GWT CellTable and Editors framework
In order to do not duplicate code, I've decided some time ago, to refactor my views towards usage of editors framework. Currently, each view is editor which contains set of other editors. For example "Person details" view contains editors such as…

omnomnom
- 8,911
- 4
- 41
- 50
4
votes
1 answer
GWT: ListEditor incorrectly tries to validate entities removed form the list
The problem is that ContactDocuments removed with editor.getList().remove(index) are still passed for validation making it impossible to save edited Contact. For example requestContext.save() will fail with onConstraintViolation if I add new…

Sokolof
- 2,271
- 2
- 19
- 30
4
votes
2 answers
Showing GWT validation errors using Editor Framework
I do GWT client side validation and I've a problem of how to show validation errors which are returned by validator. I debugged it and I can see that the set contains errors but driver doesn't show them. SimpleBeanEditorDriver is used.
Entry Entry =…

Eugene
- 91
- 2
- 6
3
votes
1 answer
GWT Editor use IsEditor> to populate Long field
I just got the hang of using the Editor framework and am porting over all my forms to use it. I'm running into some trouble on my Event form. I have 5 different time fields - for each field I use a DateBox to allow the user to select the time.
In…

sean christe
- 879
- 2
- 7
- 24
3
votes
2 answers
Editor Fields are not updating
I want to use the Editor Framework of GWT within my project.
In my View(which implements Editor) I have my UiBinder Field:
@UiField
TextBox text;
In my Presenter I inject via GIN the driver instance:
@Inject
public…

Gambo
- 1,572
- 3
- 26
- 52
3
votes
1 answer
Simple GWT Editor Example
I'm finding anything other than copying and pasting existing GWT Editor examples to be frustrating. Here's an attempt to create a minimal Editor, without success.
public class ContactEditor extends Composite implements Editor {
…

Glenn
- 6,455
- 4
- 33
- 42
3
votes
1 answer
How to display form validation constraints message on GWT Material inputs using Editor and Validation Framework from Presenter's class?
I use:
Gwt-platform
Gwt Validation
Gwt UiEditor framework
Gwt Material inputs
After constraints validation I would like to display error messages. This is supported by gwt material inputs, like MaterialTextBox using method:…

masterdany88
- 5,041
- 11
- 58
- 132