Re: Serious problem with swapping two items in a list (GAEJ/ JDO)
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 model are a List. 2010/1/11 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 before page reload (and the entire form > revalidated before swapping). > > 2010/1/8 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 >> 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/HomePagePanel >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Serious problem with swapping two items in a list (GAEJ/ JDO)
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 before page reload (and the entire form revalidated before swapping). 2010/1/8 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 > 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/HomePagePanel > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Serious problem with swapping two items in a list (GAEJ/ JDO)
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 had different results but the list never worked properly. I'll look deeper at your article tommorow. 2010/1/8 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 > 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/HomePagePanel > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Serious problem with swapping two items in a list (GAEJ/ JDO)
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 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/HomePagePanel > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Serious problem with swapping two items in a list (GAEJ/ JDO)
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/HomePagePanel