Re: Listview in a listview refresh with AjaxLink don't work

2009-11-17 Thread pieter claassen
Pedro, Improved version now works. Here is my onclick for the AjaxFallBackLink. Much of it I think is not best practice. Any tips on making this code better? Thanks a million for your help! P AjaxFallbackLink up = new AjaxFallbackLink(up) { @Override public void

Re: Listview in a listview refresh with AjaxLink don't work

2009-11-15 Thread pieter claassen
Hi Pedro, Here it is. So, I basically move the question up or down the array. public void moveQuestionUp(QuestionBase question) { int idx = questions.indexOf(question); if (idx 0) { questions.remove(question); questions.add(idx - 1, question);

Re: Listview in a listview refresh with AjaxLink don't work

2009-11-15 Thread wicketnewuser
I don't see your up link in the html markup. Doesn't look like you have enough info here. If you are moving your question row up are you updating the list for the listview. Also you are updating questionpanel with ajax target . I think it would have to be your listview. I would use ajaxsubmitlink

Re: Listview in a listview refresh with AjaxLink don't work

2009-11-14 Thread Pedro Santos
Can you send the moveQuestionUp implementation? On Sat, Nov 14, 2009 at 9:03 PM, pieter claassen pieter.claas...@gmail.comwrote: I am trying to follow wicket in action advice P263 but I have a ListView in a ListView with a panel added to my inner listview. On that panel, I have an AjaxLink