Package org.projectforge.orga

Examples of org.projectforge.orga.PosteingangDO


    final CellItemListener<PosteingangDO> cellItemListener = new CellItemListener<PosteingangDO>() {
      public void populateItem(final Item<ICellPopulator<PosteingangDO>> item, final String componentId,
          final IModel<PosteingangDO> rowModel)
      {
        final PosteingangDO posteingang = rowModel.getObject();
        appendCssClasses(item, posteingang.getId(), posteingang.isDeleted());
      }
    };
    columns
    .add(new CellItemListenerPropertyColumn<PosteingangDO>(new Model<String>(getString("date")), "datum", "datum", cellItemListener) {
      /**
       * @see org.projectforge.web.wicket.CellItemListenerPropertyColumn#populateItem(org.apache.wicket.markup.repeater.Item,
       *      java.lang.String, org.apache.wicket.model.IModel)
       */
      @Override
      public void populateItem(final Item<ICellPopulator<PosteingangDO>> item, final String componentId,
          final IModel<PosteingangDO> rowModel)
      {
        final PosteingangDO posteingang = rowModel.getObject();
        item.add(new ListSelectActionPanel(componentId, rowModel, PosteingangEditPage.class, posteingang.getId(),
            returnToPage, DateTimeFormatter.instance().getFormattedDate(posteingang.getDatum())));
        cellItemListener.populateItem(item, componentId, rowModel);
        addRowClick(item);
      }
    });
    columns.add(new CellItemListenerPropertyColumn<PosteingangDO>(new Model<String>(getString("orga.posteingang.absender")), "absender",
View Full Code Here

TOP

Related Classes of org.projectforge.orga.PosteingangDO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.