Hi again,

Except if I am wrong, you cannot re-render just one listitem.
If you are going to change the content of one of the listitem's model
object, you will have to re-render the listview (by re-attaching its parent
to the target).
Now, if the list does not change (meaning, you are not going to add/remove
object), you can set ListView#setReuseItems to true so the re-rendering
will be more efficient.
Also, * If you nest a ListView in a Form, ALLWAYS set this property to
true, as otherwise validation will not work properly.* (setReuseItems
javadoc)

Hope this helps,
Sebastien.


On Sat, Jun 2, 2012 at 8:47 PM, kshitiz <k.agarw...@gmail.com> wrote:

> Hi,
>
> Yes...actually userTypeDomainList is a list of domain objects. I am
> creating
> view from this list, where each item of the view has saveral components.
> Now, on updating a component, i want to update its respective item, rather
> than whole listview. Do I need to put that item in a container to refresh
> it?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Refresh-listItem-only-of-listView-tp4649676p4649678.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to