Re: [Wicket-user] How do I show/hide row

2007-04-24 Thread john . mattucci
I tried what you suggested i.e. swap a different fragment in but I can't seem to get it to work. I have the following. When I click on the delete link I want fragment1 to be replaced with fragment2. However fragment2 remains and is shifted to the right. What am I missing or doing wrong? Thanks

Re: [Wicket-user] How do I show/hide row

2007-04-24 Thread john . mattucci
Ok figured it out. I set ListView.setReuseItems(true); and it works. Thanks again for all your help john.mattuc [EMAIL PROTECTED]

[Wicket-user] How do I show/hide row

2007-04-22 Thread john . mattucci
I have a table which contains a list of users. At the end of each row there is an delete/undo link. When the user clicks delete I want to hide the row and replace it with only the undo link. What would be the best way to do this? Thanks for your time. view = new ListView(rows, data) {

[Wicket-user] How do you add a row dynamically?

2007-04-19 Thread john . mattucci
I have the following. I would like to add an additional row each time the user clicks on the add user link. From the ajax debug window I get the following message. Component with id [[rows]] a was not found while trying to perform markup update. Make sure you called 

[Wicket-user] Issue with form being submitted prior to onSubmit of AjaxFormSubmitBehavior

2007-04-17 Thread john mattucci
I'm using an AjaxFormSubmitBehavior to render a little indicator on the ongoing Ajax request which gets triggered when the user clicks on the AjaxSubmitButton. The only problem is that the form is getting sumitted prior to showingthe results ignoring ajax. If I remove the AjaxFormSubmitBehavior