LOG.debug("    instance is " + bean);
LOG.debug("    instance is " + simpleString(bean));
  public DataModel getDataModel() throws FatalFacesException {    LOG.debug("request for datamodel");    if ($dataModel == null) {      LOG.debug("no datamodel cached; creating new datamodel");      List handlers = new ArrayList();      List beans = new ArrayList(getInstances());      LOG.debug("retrieved instances");      if (getComparator() != null) {        Collections.sort(beans, getComparator());      }      LOG.debug("creating handler for each instance");      Iterator iter = beans.iterator();      while (iter.hasNext()) {        PersistentBean bean = (PersistentBean)iter.next();        LOG.debug("    instance is " + bean);        PersistentBeanCrudHandler handler = createInstanceHandler(bean);        handler.setViewMode(PersistentBeanCrudHandler.VIEWMODE_DISPLAY);        LOG.debug("    handler is " + handler);        handlers.add(handler);      }      $dataModel = new ListDataModel(handlers);      LOG.debug("datamodel created and cached");    }    else {      LOG.debug("returning cached datamodel");    }    return $dataModel;  }