From 23dd45f562cada36e0ab45aec5f9d06d863ba757 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 29 Nov 2011 15:15:54 +0000 Subject: [PATCH] Test for #7965 svn changeset:22182/svn branch:6.7 --- .../components/table/EditableTableFocus.java | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 tests/testbench/com/vaadin/tests/components/table/EditableTableFocus.java diff --git a/tests/testbench/com/vaadin/tests/components/table/EditableTableFocus.java b/tests/testbench/com/vaadin/tests/components/table/EditableTableFocus.java new file mode 100644 index 0000000000..149e32579b --- /dev/null +++ b/tests/testbench/com/vaadin/tests/components/table/EditableTableFocus.java @@ -0,0 +1,35 @@ +package com.vaadin.tests.components.table; + +import com.vaadin.tests.components.TestBase; +import com.vaadin.ui.Table; + +public class EditableTableFocus extends TestBase { + @Override + public void setup() { + Table table = new Table(); + + table.addContainerProperty("TextField", String.class, null); + table.setColumnWidth("TextField", 150); + for (int i = 1; i < 100; i++) { + table.addItem(new String[] { "" }, new Integer(i)); + } + table.setEditable(true); + + addComponent(table); + } + + @Override + protected String getDescription() { + return "IE-Problem: TextFields in table lose their focus, no input possible

" + + "Try inputs in the table's textfields in the freshly started programm. For the moment all works fine.

" + + "Then scroll the table down one page or more.
" + + "Try again to make some inputs. Nothing happens...
" + + "Now the textfields always lose their focus immediately after they got it and no input is taken.

" + + "This problem is exclusive to Microsoft's Internet Explorer!"; + } + + @Override + protected Integer getTicketNumber() { + return 7965; + } +} \ No newline at end of file -- 2.39.5