Re: Panel's read more link

2008-11-25 Thread Anton Veretennikov
I found that every time link is clicked ReadMoreWicketPanel-s are created again because they are populated by ListView in WebPage. Does it mean that I must put my ReadMoreWicketPanel's instances in session? On Tue, Nov 25, 2008 at 2:48 PM, Anton Veretennikov [EMAIL PROTECTED] wrote: Hi, I

Re: Panel's read more link

2008-11-25 Thread Newgro
Anton Veretennikov wrote: I found that every time link is clicked ReadMoreWicketPanel-s are created again because they are populated by ListView in WebPage. Did you try ListView.setReuseItems(true);? Maybe that can help Cheers Per -- View this message in context:

Re: Panel's read more link

2008-11-25 Thread Newgro
Anton Veretennikov wrote: Thank you! Very usefull thing! No problem. The explanation on that issue is in the list and i think there is a note in the wiki. Maybe this thread gives you a hint http://www.nabble.com/ListView-%2B-reusing-Items-td14918862.html#a14924868

Re: Panel's read more link

2008-11-25 Thread Anton Veretennikov
Anton Veretennikov wrote: Thank you! Very usefull thing! No problem. The explanation on that issue is in the list and i think there is a note in the wiki. Maybe this thread gives you a hint http://www.nabble.com/ListView-%2B-reusing-Items-td14918862.html#a14924868 I did not scroll doc to

Panel's read more link

2008-11-24 Thread Anton Veretennikov
Hi, I want to make a read more link that will make visible initially hidden label. Running debugger I found that my Panel's constructor is called every time I click this link. So it again invisible. What is wrong? public class ReadMoreWicketPanel extends WicketPanel { private Label