Make sure that you populate your list in the onAttach instead of the
constructor. Most of the time, that was my error. Or, make sure your model
is updated at the redraw
-- Forwarded message --
From: Jason Roelofs [EMAIL PROTECTED]
Date: Mar 5, 2007 11:25 AM
Subject:
Well, I am using a detachable model. Here's basically what I've got (using
Databinder, HibernateListModel implements IDetachable):
IModel rules = new HibernateListModel(...);
add(new PropertyListView(rules, rules) {
});
On 3/5/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
Make sure that you
Crap, Gmail keybindings screwed me up. Posting the rest...
Well, I am using a detachable model. Here's basically what I've got (using
Databinder, HibernateListModel implements IDetachable):
IModel rules = new HibernateListModel(...);
add(new PropertyListView(rules, rules) {
void
that should be ifne provided that HibernateListModel is detaching properly.
i dont use databinder so i couldnt tell you. maybe you should post this on
the databinder mailing list.
if it is indeed detaching properly then the wicket-side of things looks
fine. maybe you are caching the query in