Hi,
A while ago I reported [1]issues with ListView, and requested to
add a remove link to the forminput example to demonstrate the
problem. The problem was apparently [2]fixed by Eelco.
However the flaw is deeper than it appears: I proposed to [3]add a
remove *submit* link to allow one to reproduce the issue. But
this didn't receive any attention so far.
Igor agreed that « ListView is fragile », and that there is an
alternative, namely RepeatingView. But I reported that the latter
does not handle a backing List. So Igor advised to extend
RepeatingView to handle that.
What can we do to have a better ListView? Are you interested
in a rewrite based on RepeatingView? In this case we'll
have to deprecate ListView, or at least deprecating using
ListView.setReuseItems(true), which means deprecating ListView
when used in a form. And we'll also probably want to move
RepeatingView from extensions to core.
WDYT?
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
[1]
http://www.nabble.com/Removing-a-row-from-ListView-in-a-form-t2643595.html#a7379618
[2] http://svn.apache.org/viewvc?view=rev&revision=476705
http://svn.apache.org/viewvc?view=rev&revision=476706
[3]
http://www.nabble.com/Removing-a-row-from-ListView-in-a-form-t2643595.html#a7441404