Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
When is a table forced read-only?
I have an editable table with a BeanItemContainer<Foo> where Foo has getters and setters for all properties and it works fine.
I have another table with the same setup but there I have a ReadOnlyFoo with only has getters and then I have an EditableFoo whichs extends ReadOnlyFoo and adds one property with a getter and a setter but the entire table still adds "readonly" to all text fields. Any ideas why? One would think that the field from EditableFoo could be edited just fine(?)
Nicklas Karlsson: I have an editable table with a BeanItemContainer<Foo> where Foo has getters and setters for all properties and it works fine.
I have another table with the same setup but there I have a ReadOnlyFoo with only has getters and then I have an EditableFoo whichs extends ReadOnlyFoo and adds one property with a getter and a setter but the entire table still adds "readonly" to all text fields. Any ideas why? One would think that the field from EditableFoo could be edited just fine(?)
<p><a href="javascript:alert(document.cookie)">http://www.google.com/</a></p>