[Wicket-user] AjaxLink, mass delete and javascript confirmation

2007-04-20 Thread Decebal Suiu
I have a UsersPanel that contains a UsersTablePanel and a delete link (Ajax). UsersTablePanel contains a DataTable (Ajax) with the first column only for selection (checkboxes), and a method getSelectedIds():ListLong. The user flow is very simple: check (select) some rows from table and click on

Re: [Wicket-user] AjaxLink, mass delete and javascript confirmation

2007-04-20 Thread Decebal Suiu
Thanks Igor. I'm not a javascript developer and I come from swing. It is nice to have in wicket some methods that encapsulates javascript basic functions (alert, confirm, ...). In my case, in onClick method I have the selected rows number and I wish to call a confirm method (something like

[Wicket-user] ReloadingWicketFilter and Spring with annotation

2007-04-18 Thread Decebal Suiu
I try to use in my application a TestFilter (extends ReloadingWicketFilter) and spring annotations and I received this exception: java.lang.IllegalArgumentException: interface test.wicket.service.UserService is not visible from class loader. TestFilter contains only a static block with this line:

Re: [Wicket-user] ReloadingWicketFilter and Spring with annotation

2007-04-18 Thread Decebal Suiu
--- Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Decebal Suiu: I try to use in my application a TestFilter (extends ReloadingWicketFilter) and spring annotations and I received this exception: java.lang.IllegalArgumentException: interface test.wicket.service.UserService

Re: [Wicket-user] ReloadingWicketFilter and Spring with annotation

2007-04-18 Thread Decebal Suiu
--- Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Decebal Suiu: I try to use in my application a TestFilter (extends ReloadingWicketFilter) and spring annotations and I received this exception: java.lang.IllegalArgumentException: interface test.wicket.service.UserService

Re: [Wicket-user] ReloadingWicketFilter and Spring with annotation

2007-04-18 Thread Decebal Suiu
--- Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Yes of course, the reloading filter is not meant to work with your data layer. Please read the Javadoc for ReloadingWicketFilter carefully, and more precisely the paragraph about Spring. Use the patterns to exclude the data

[Wicket-user] TabbedPanel question

2006-11-17 Thread Decebal Suiu
I have a TabbedPanel with two tabs. The first tab contains a panel with a data table (DefaultDataTable with filter suport). The second tab contains a panel with a link. When I click on link I want to modify the filter from the first tab and jump to the first tab. For this, in the onClick() method

Re: [Wicket-user] TabbedPanel question

2006-11-17 Thread Decebal Suiu
in a reference. then have ITabs cache the panel instance instead of always creating one. then when the second itab creates the panel it can pass the reference to the first itab into that panel so it can get to the panel/datatatble in the first tab. make sense? -igor On 11/17/06, Decebal

[Wicket-user] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
Has anybody used htmlunit (or jwebunit) with success to create a functional test for a wicket application that contains ajax code? In a few words: I have a html page with a select element inside. When I select an option from this, an ajax request is made on the server and an input text appears on

Re: [Wicket-user] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
to use Selenium instead. Martijn On 10/16/06, Decebal Suiu [EMAIL PROTECTED] wrote: Has anybody used htmlunit (or jwebunit) with success to create a functional test for a wicket application that contains ajax code? In a few words: I have a html page with a select element inside

Re: [Wicket-user] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
Thanks Martijn, Decebal --- Martijn Dashorst [EMAIL PROTECTED] wrote: I haven't used RC yet. I just know and have experienced that a manual start of the tests works perfectly together with ajax testing. Martijn On 10/16/06, Decebal Suiu [EMAIL PROTECTED] wrote: Ok, Selenium

[Wicket-user] CheckGroupSelector with CheckBox

2006-09-27 Thread Decebal Suiu
Can I use CheckGroupSelector with CheckBox (instead Check) ? Because I want to be notified when a selection was changed (CheckBox.onSelectionChanged)? Thanks, Decebal __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

Re: [Wicket-user] Highlight row in DataTable

2006-09-25 Thread Decebal Suiu
--- Igor Vaynberg [EMAIL PROTECTED] wrote: you know that the cell item is somewhere inside the row item, so you can do Thanks again, Igor Component c=cellItem.getParent(); while (!(c instanceof MyItem)) { c=c.getParent(); } MyItem mi=(MyItem)c; -Igor On 9/23/06, Decebal Suiu

[Wicket-user] Highlight row in DataTable

2006-09-23 Thread Decebal Suiu
I have a link in a table column (MyColumn) and I want to highlight the entire row when I press the link. The functionality that I try to obtain is the same with example from http://www.wicket-library.com/wicket-examples/repeater?wicket:bookmarkablePage=:wicket.examples.repeater.OIRPage but with

[Wicket-user] static progress bar component

2006-08-05 Thread Decebal Suiu
Has anyboody created/used a static progress bar component in wicket? I need this component to show a static number like a percent in a progress bar style. Thanks, Decebal __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection

Re: [Wicket-user] static progress bar component

2006-08-05 Thread Decebal Suiu
x on a regular basis. This is the simplest static progress bar I can think of. Hope this help, Pierre-Yves Decebal Suiu a écrit : Has anyboody created/used a static progress bar component in wicket? I need this component to show a static number like a percent in a progress

[Wicket-user] links in a DataTable

2006-08-04 Thread Decebal Suiu
I created a table with wicket (1.2.1) using a DataTable (DefaultDataTable) and a DataProvider (SortableDataProvider). My table has one column like PropertyColumn(new Model(name'), name, name). Is it possible to have a linkable name instead of a plain name? Here's the code: ListIColumn