Re: Serious problem with swapping two items in a list (GAEJ/ JDO)

2010-01-14 Thread nino martinez wael
I don't see why the ajaxdefaultfallback table won't work.. Just add up / down arrows.. Just remember it will be persisted when you click up or down. Even using a detachable model should work. I had something similar where you could click an edit or delete button, it just requires that the backing

Re: Serious problem with swapping two items in a list (GAEJ/ JDO)

2010-01-11 Thread Piotr Tarsa
It doesn't work out of the box, because it creates copy of a list. That list is backed by JDO and attached to PersistenceManager, so cloning it makes straightforward persistence impossible. I also want to make instant changes, ie. when I click "Move Down" I expect the items be swapped in database

Re: Serious problem with swapping two items in a list (GAEJ/ JDO)

2010-01-08 Thread Piotr Tarsa
I want to swap two elements in a ListView. The problem is that I want to persist all changes on every request (with validation etc). List should be ordered by a special field (I called it "position"). I've taken various different approaches, always used ListView as a basis, not RepeatingView. I ha

Re: Serious problem with swapping two items in a list (GAEJ/ JDO)

2010-01-08 Thread Igor Vaynberg
it usually helps to describe the problem but out of curiousity is this applicable? http://wicketinaction.com/2008/10/building-a-listeditor-form-component/ -igor On Fri, Jan 8, 2010 at 2:42 PM, Piotr Tarsa wrote: > Hello, > > I've tried virtually everything. I'm looking for someone who has e

Serious problem with swapping two items in a list (GAEJ/ JDO)

2010-01-08 Thread Piotr Tarsa
Hello, I've tried virtually everything. I'm looking for someone who has experience with GAEJ. Running site is at: http://data-compression.appspot.com/ Source code (need wicket-guice): http://code.google.com/p/data-compression/ Page address: http://data-compression.appspot.com/Administration/Home