]> source.dussan.org Git - vaadin-framework.git/commit
Properly toggle editor state when calling editId() on the server
authorArtur Signell <artur@vaadin.com>
Thu, 18 Jun 2015 18:59:51 +0000 (21:59 +0300)
committerHenri Sara <hesara@vaadin.com>
Sat, 4 Jul 2015 11:29:57 +0000 (14:29 +0300)
commit7f7620fe1c5b3c956545ae7fe0f9ecaa08090473
tree4d98e5edf5ef6bae1da28d40d4e006e23fa19eb9
parent70e91f4f165cc3b535b530754ecf728096ec70fc
Properly toggle editor state when calling editId() on the server
(#18287)

Ensure isEditorActive() returns false if editItem(...) has been called
but the
editor has not yet been opened, as it should according to javadoc

isRendered() requires that the editor fields are marked as dirty when
they are
made visible on the client (isEditorActive() changes state)

Change-Id: I7123332c6769f7a7f6b00852bddc8dbbaa311754
server/src/com/vaadin/ui/Grid.java
uitest/src/com/vaadin/tests/components/grid/ProgrammaticEditorControl.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/grid/ProgrammaticEditorControlTest.java [new file with mode: 0644]