Hi, I'm not sure it is possible to change the markup of current treetable without actually copying the classes and the markup. However, it is on my todo list to change the markup from spans and divs to table. But it's not a high priority one I'm affraid.
So If you want to do it on your own, I suggest you copying TreeTable component and making the appropriate changes, as this seems to be the safest bet. Second question, I assume you want to show inserted rows without refreshing the entire listview? Well, this is possible to certain degree, but requres some javacsript foo. You need to create the DOM element with appropriate id (in javascript) before adding the newly created ListItem to ajaxrequesttarget. TreeTable does it, however, not with ListView. It uses different kind of repeater. -Matej On 4/11/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote: > Is there an easy way to change wicket treetable markup to table instead > of spans? I need this because html tables can adopt columns widths > according to values and newlines in some columns of our table is > prohibited. Should I write my own component derived from > DefaultAbstractTree, or extend TreeTable and change its markup or smth > else? > > And the second question - is it possible to insert rows in a ListView > via ajax? > > Thnks > > -- > Andrew Klochkov > > > ------------------------------------------------------------------------- > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
