You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by pradeepmohite07 <pr...@rediffmail.com> on 2014/05/21 15:11:47 UTC
Dataview setreuseitem to false
Hello,
I am using dataview form sorting and pagination
and observed that data in dataview is not refreshed properly
previously i used Listview with set reuseitem=false and it was working
properly
and now after use of dataview its not behaving properly
I looked into sourcecode of ListView
do there is any way to achive same behaviour as set reuseitem=false
or do i have to extend Dataview and write similar logic as in Listview for
reuseitem in it.
thanks
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dataview-setreuseitem-to-false-tp4665971.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Dataview setreuseitem to false
Posted by Sven Meier <sv...@meiers.net>.
Hi,
please take a look at #setItemReuseStrategy(IItemReuseStrategy)
Sven
On 05/21/2014 03:11 PM, pradeepmohite07 wrote:
> Hello,
> I am using dataview form sorting and pagination
> and observed that data in dataview is not refreshed properly
> previously i used Listview with set reuseitem=false and it was working
> properly
> and now after use of dataview its not behaving properly
> I looked into sourcecode of ListView
> do there is any way to achive same behaviour as set reuseitem=false
> or do i have to extend Dataview and write similar logic as in Listview for
> reuseitem in it.
>
> thanks
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dataview-setreuseitem-to-false-tp4665971.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Dataview setreuseitem to false
Posted by pradeepmohite07 <pr...@rediffmail.com>.
Finally solved the problem
actually we used LDM to fetch data inside Provider
and now inside detach of Provider called detach for LDM as well and it
worked
thanks
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dataview-setreuseitem-to-false-tp4665971p4666004.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org