The childRecordService is a stateless JPA bean and the getList method executes a named query on the database. The logs show that the SQL to retrieve the list from the db is called every time (i.e. no caching).
Shelli -----Original Message----- From: Daniel Stoch [mailto:daniel.st...@gmail.com] 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 problem is related to your service layer? Have you checked whet this method returns inside childRecordsModel.load() ? -- Daniel On Tue, Oct 5, 2010 at 10:23 PM, Shelli Orton <shelli.or...@sjrb.ca> wrote: > This is what my class basically looks like, hope it helps: --------------------------------------------------------------------- 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