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
-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...@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 called multiple times?
On Tue, Oct 5, 2010 at 6:37 PM, Shelli Orton shelli.or...@sjrb.ca wrote:
I overrode the detach method
]
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
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/Model Confusion
I
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 Confusion
...@gmail.com]
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
://user/SendEmail.jtp?type=nodenode=2956214i=1
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 is fetch only once
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 property, keep in mind
: Tuesday, October 05, 2010 9:33 AM
To: [hidden email] http://user/SendEmail.jtp?type=nodenode=2956527i=1
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
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 related
-Original Message-
From: jcgarciam [mailto:[hidden
email]http://user/SendEmail.jtp?type=nodenode=2956527i=0]
Sent: Tuesday, October 05, 2010 9:33 AM
To: [hidden email]
http://user/SendEmail.jtp?type=nodenode=2956527i=1
Subject: Re: DropDownChoice/Model Confusion
Yes, that should
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.nabble.comml-node%2B2956527-38526551
8-65...@n4
childRecordService.getList();
}
};
}
-Original Message-
From: jcgarciam [mailto:jcgarc...@gmail.com]
Sent: Tuesday, October 05, 2010 1:31 PM
To: users@wicket.apache.org
Subject: Re: DropDownChoice/Model Confusion
There should not need to force the LDB to reload,
Can you share more
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 detached
/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
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...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On
Behalf
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 is fetch only once at construction of your pages and
is considered static because its never get called again unless you
18 matches
Mail list logo