Changing output of ListView, when the list is empty?

2009-12-30 Thread Jerouris
Hello Wickets, Does anyone know can I change the output of a listView when the included list is empty? It would be nice for example, when the list is empty, to show a message type Sorry, no results. Best, Jerry

Re: Changing output of ListView, when the list is empty?

2009-12-30 Thread Jerouris
(..., Sorry, no results) { // Show label only if list is empty isvisible() { return listview.getList().isEmpty(); } } ** Martin 2009/12/30 Jerouris jerou...@gmail.com: Hello Wickets, Does anyone know can I change the output of a listView when the included list is empty

How to override RatingPanel default CSS?

2009-12-29 Thread Jerouris
Hello everynone, Does anyone know how can I override the default CSS of the rating panel and use a custom CSS class e.g. .myrating instead of .WicketRating? Thanks, Jerry

Re: How to override RatingPanel default CSS?

2009-12-29 Thread Jerouris
Thank you Martin, That worked! Jerry 2009/12/29 Martin Makundi martin.maku...@koodaripalvelut.com Make new MyRatingPanel.html for MyRatingPanel extends RatingPanel ** Martin 2009/12/29 Jerouris jerou...@gmail.com: Hello everynone, Does anyone know how can I override the default CSS

WicketStuff ObjectAutoComplete, Textfield size?

2009-11-15 Thread Jerouris
Hello to the list, I'm trying to use ObjectAutoCompleteBuilder, in order to build a AutoCompleteTextField. The problem I'm having is that the TextField size is fixed, no matter what. I tried using ObjectAutoCompleteBuilder#width(), but the width only goes to the suggestion list div. Any help?