Steps to Reproduce
Enter something into the textbox and call model.add(0, value) to add a row to the top.
Current Result
All rows a re-rendered, text in Textbox is lost.
Expected Result
Prior to ZK 10, adding a line by adding an entry in 1st position just had that entry be rendered and added to the front. Text in Textbox would remain unaffected.
Debug Information
Workaround
Ugly stuff like
if (meshElement instanceof Grid) {
Grid grid = (Grid) meshElement;
RowRenderer<Object> rowRenderer = grid.getRowRenderer();
if (rowRenderer != null)
} else if (meshElement instanceof Listbox) {
Listbox listbox = (Listbox) meshElement;
ListitemRenderer<Object> itemRenderer = listbox.getItemRenderer();
if (itemRenderer != null)
}