Being new to Vaadin, I tried the SimpleAddressBook example app in the “Five minute version” section of
this Tutorial page
.
It works well until you click the “+” button to add a record. The first issue is that the new row does not appear in the list (Table). If you sort a-z, you’ll see a tiny row only a few pixels tall above the first normal row (the a’s). Those few pixels are actually the new row. You can click to make the detail form appear. I suppose this might be a result of all the fields (Properties) of the Item are null. Is this normal behavior? Is the workaround to always assign at least one default value to a new Item (row) in a Table?
Another issue is that the newly added row is not displayed visibly within the Table. How can I make the newly added Item (with at least one default value) appear visibly to the user in the appropriate scroll position of the table? Apparently the call to “.setValue” sets which row is selected but does not scroll that row into view.
Actually, I can’t find the new row at all. Even worse, when trying to scroll to find the new record, you’ll see scrolling is now broken. You scroll a little ways and see nothing but empty white space in the list. Apparently, after adding a new row, the lazy loading of the list breaks.
Last issue: If you never noticed that skinny row at the top of the sorted Table, and just clicked around, you’d soon find the detail form fails to appear ever again. This issue is not a specific question, just an observation of a possible bug. I did not determine the exact steps to reproduce this behavior.
I’m using Vaadin jar 6.7.0 Beta 1, in Eclipse Indigo version, with the latest Vaadin plugin, on Mac OS X 10.6.7, with the Eclipse internal web browser, Tomcat 7.0.21.