Hello,

In the repeteater samples, the one with ajax capability you have 
DetachableContactModel. 

My question is why 

protected Object load()
 {
  // loads contact from the database
  return getContactsDB().get(id);
 }

does not just return the Contact object?

It is already determined by the constructor.
 public DetachableContactModel(Contact c)
 {
  this(c.getId());
  contact = c;
 }
[this is the one called by SortableDataProvider]

Why the extra roundtrip to the database?

Sorry if this is a silly question.

Thks in advance.

Reply via email to