Re: ListView highlight selected row

2010-05-20 Thread JeroenWolff
Now i've got it working with the quickstart and a simple ListView. Now i have to find out the difference and why it is now working..,now working on jetty...tomorrow i test it on Websphere... Thanks! public class HomePage extends WebPage { private Contact selected = new Contact();

Re: ListView highlight selected row

2010-05-20 Thread JeroenWolff
thanks, it is not rendered in the html (view source in browser) when i disable Javascript it works fine! I will put it in the quickstart and report it in Jira thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ListView-highlight-selected-row-tp2197486p2225133.ht

Re: ListView highlight selected row

2010-05-20 Thread JeroenWolff
Igor, you are right. It is still not rendered when i do the super.onComponentTag after the tag.put. This is the markup for the listview. "zoekresultaat" is the id for the listview. When the page is rendered the first time it works fine, but not in Ajax updates. In the debugger is see that on the

Re: ListView highlight selected row

2010-05-18 Thread JeroenWolff
Igor, thanks you've helped me a lot...but now i repaint the whole table and on every onComponentTag i update the class if the item is selected or not. I see in the debugger that onComponentTag and the tag.put("class", "selected") but it is not rendered. What do i do wrong?? Thanks!! This is my

Re: ListView highlight selected row

2010-05-17 Thread JeroenWolff
Thanks Igor... But i forgot to tell...my app is a single page app with only Ajax replacements. Is it possible to click on a (Ajax) link in de (Pageable)ListView and replace the ListView with a changed style on the selected Item? now in my Ajax onClick i have target.addChildren(listView, Label.cl

ListView highlight selected row

2010-05-13 Thread JeroenWolff
Hi, i'm a wicket newbee...i've got a ListView with a AjaxLink so the selected 'customer' details will be shown in a detailed panel. But now i would like to highlite the selected 'customer' row in de ListView so the user can see which row he/she selected. How can i do this? Thanks, Jeroen -- V