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
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/
]
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
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
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
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()
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
/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
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
// 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
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
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
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
--
> 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
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
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
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
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
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
19 matches
Mail list logo