RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
od is called before the ldm.load, but the onSubmit is called after the ldm.load for the delete button? Thanks for all the help! Shelli -Original Message- From: Shelli Orton Sent: Wednesday, October 06, 2010 9:41 AM To: users@wicket.apache.org Subject: RE: DropDownChoice/Model Confusio

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
I don't understand what you mean by "between requests". -Original Message- From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman Sent: Wednesday, October 06, 2010 9:43 AM To: users@wicket.apache.org Subject: Re: DropDownChoice/

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
] Sent: Wednesday, October 06, 2010 1:37 AM To: users@wicket.apache.org Subject: Re: DropDownChoice/Model Confusion The code looks ok. Maybe the problem is in childRecordService: childRecordService.getList() when method getList() does not reflect changes until you create a new session. So maybe the

Re: DropDownChoice/Model Confusion

2010-10-06 Thread James Carman
li > > > -Original Message- > From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On > Behalf Of James Carman > Sent: Tuesday, October 05, 2010 4:50 PM > To: users@wicket.apache.org > Subject: Re: DropDownChoice/Model Confusion > > Is your getList() being ca

RE: DropDownChoice/Model Confusion

2010-10-06 Thread Shelli Orton
elli > > -Original Message- > From: Shelli Orton > Sent: Tuesday, October 05, 2010 2:24 PM > To: users@wicket.apache.org > Subject: RE: DropDownChoice/Model Confusion > > I don't know how to determine that. > > -Original Message- > From: jcar...@c

Re: DropDownChoice/Model Confusion

2010-10-06 Thread Daniel Stoch
The code looks ok. Maybe the problem is in childRecordService: childRecordService.getList() when method getList() does not reflect changes until you create a new session. So maybe the problem is related to your service layer? Have you checked whet this method returns inside childRecordsModel.load()

Re: DropDownChoice/Model Confusion

2010-10-05 Thread James Carman
essage- > From: Shelli Orton > Sent: Tuesday, October 05, 2010 2:24 PM > To: users@wicket.apache.org > Subject: RE: DropDownChoice/Model Confusion > > I don't know how to determine that. > > -Original Message- > From: jcar...@carmanconsulting.com [mailto:j

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
/Model Confusion I don't know how to determine that. -Original Message- From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman Sent: Tuesday, October 05, 2010 1:44 PM To: users@wicket.apache.org Subject: Re: DropDownChoice/Model Confusion

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
I don't know how to determine that. -Original Message- From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman Sent: Tuesday, October 05, 2010 1:44 PM To: users@wicket.apache.org Subject: Re: DropDownChoice/Model Confusion Is it being det

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
// Gets the value that is invisble to the end user, and that is used as // the selection id. public String getIdValue(ParentRecord parentRecord, int index) { return parentRecord.getName(); } } LoadableDetachableModel> childRecordsModel = new Loada

Re: DropDownChoice/Model Confusion

2010-10-05 Thread James Carman
2010 12:52 PM > To: users@wicket.apache.org > Subject: Re: DropDownChoice/Model Confusion > > > I dont think it may be related to the hierarchy, are you using AJAX? > > On Tue, Oct 5, 2010 at 2:38 PM, Shelli Orton [via Apache Wicket] < > ml-node+2956527-385265518-65...@n4.nabbl

Re: DropDownChoice/Model Confusion

2010-10-05 Thread jcgarciam
ad? > > Shelli > > -Original Message- > From: jcgarciam [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&node=2956722&i=0>] > > Sent: Tuesday, October 05, 2010 12:52 PM > To: [hidden email] <http://user/SendEmail.jtp?type=node&node=2956722&a

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
No, I'm not using AJAX. Is there a way to force the LDB to reload? Shelli -Original Message- From: jcgarciam [mailto:jcgarc...@gmail.com] Sent: Tuesday, October 05, 2010 12:52 PM To: users@wicket.apache.org Subject: Re: DropDownChoice/Model Confusion I dont think it may be relat

Re: DropDownChoice/Model Confusion

2010-10-05 Thread jcgarciam
-- > From: jcgarciam [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&node=2956527&i=0>] > > Sent: Tuesday, October 05, 2010 9:33 AM > To: [hidden email] <http://user/SendEmail.jtp?type=node&node=2956527&i=1> > Subject: Re: DropDownChoice/Mod

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
tober 05, 2010 9:33 AM To: users@wicket.apache.org Subject: Re: DropDownChoice/Model Confusion Yes, that should make your DDC to query the list any time it needs to re render. To your 2nd. question in order to set a default or selected value, just set a "MyRecord" reference to your pr

Re: DropDownChoice/Model Confusion

2010-10-05 Thread jcgarciam
de&node=2956214&i=0>] > > Sent: Monday, October 04, 2010 6:27 PM > To: [hidden email] <http://user/SendEmail.jtp?type=node&node=2956214&i=1> > Subject: Re: DropDownChoice/Model Confusion > > > Hi, instead of passing "getMyRecords()" in th

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
Sent: Monday, October 04, 2010 6:27 PM To: users@wicket.apache.org Subject: Re: DropDownChoice/Model Confusion Hi, instead of passing "getMyRecords()" in the constructor wrap it around a LoadableDetachableModel and pass that model to the DDC. The difference is that your current list i

Re: DropDownChoice/Model Confusion

2010-10-04 Thread jcgarciam
mands, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=2955144&i=1> > > > > -- > View message @ > http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-Model-Confusion-tp2955144p2955144.html > To

DropDownChoice/Model Confusion

2010-10-04 Thread Shelli Orton
I am writing a (simple?) database CRUD app where I have multiple tab panels that encapsulate the different tables in the database. On a panel there's a dropdownchoice which lists the existing records for that table. There's also create, delete and edit buttons (and and edit panel with save and ca