I see. It's probably same thing as for 1.x, that TreeItem doesn't reattach the tree itself.
-Matej On 3/26/07, Isaac Weng <[EMAIL PROTECTED]> wrote: > Oops, I forgot to mention that. I'm using 1.2.5 release. > > > Isaac > > Matej Knopp wrote: > > Hi, as a temporary solution you can. But this is bug and needs to be > > resolved. What version of wicket are you using? > > > > On 3/26/07, Isaac Weng <[EMAIL PROTECTED]> wrote: > > > >> Hi, > >> Myabe I can just use RepeatingView instead. > >> Thanks a lot for clearing my doubts. > >> > >> Isaac > >> > >> > >> Matej Knopp wrote: > >> > >>> Hi, > >>> > >>> this seem to be caused by the latest attach refactor. After the > >>> attaching bug is fixed this problem should disappeared. > >>> > >>> -Matej > >>> > >>> On 3/24/07, Isaac Weng <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>>> Sorry, I didn't write my sample codes clearly. > >>>> > >>>> The problem happens in renderItem(). While expanding tree node, > >>>> ListItem in renderItem() becomes null, but the list values I get by > >>>> calling getList() are correct. > >>>> > >>>> Also, I found it renders correctly if I use RepeatingView. > >>>> > >>>> > >>>> Isaac > >>>> > >>>> Isaac Weng wrote: > >>>> > >>>> > >>>>> Sorry, don't know why my message didn't send, probably because gmail > >>>>> and attachement. > >>>>> > >>>>> I've made a quick start files for the problem. The problem is > >>>>> If using a ListView to display the tree node value, after I collapse > >>>>> the node, > >>>>> I can never expand it again, and the ListItem becomes null. No problem > >>>>> with a Label. > >>>>> > >>>>> Could you give me some directions ? Thanks. > >>>>> > >>>>> > >>>>> Sincerely, > >>>>> Isaac > >>>>> > >>>>> > >>>>> Matej Knopp wrote: > >>>>> > >>>>> > >>>>>> hi, > >>>>>> > >>>>>> this really is weird. Can you post a quick start project that > >>>>>> demonstrates the behavior? > >>>>>> > >>>>>> -Matej > >>>>>> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user