Package org.projectforge.web.wicket

Examples of org.projectforge.web.wicket.ListSelectActionPanel


      @Override
      public void populateItem(final Item<ICellPopulator<Kost2DO>> item, final String componentId, final IModel<Kost2DO> rowModel)
      {
        final Kost2DO kost2 = rowModel.getObject();
        if (isSelectMode() == false) {
          item.add(new ListSelectActionPanel(componentId, rowModel, Kost2EditPage.class, kost2.getId(), returnToPage, String.valueOf(kost2
              .getFormattedNumber())));
          cellItemListener.populateItem(item, componentId, rowModel);
        } else {
          item.add(new ListSelectActionPanel(componentId, rowModel, caller, selectProperty, kost2.getId(), String.valueOf(kost2
              .getFormattedNumber())));
        }
        cellItemListener.populateItem(item, componentId, rowModel);
        addRowClick(item);
      }
View Full Code Here


      @SuppressWarnings({ "unchecked", "rawtypes"})
      @Override
      public void populateItem(final Item item, final String componentId, final IModel rowModel)
      {
        final ContactDO contactDO = (ContactDO) rowModel.getObject();
        item.add(new ListSelectActionPanel(componentId, rowModel, ContactEditPage.class, contactDO.getId(), returnToPage,
            DateTimeFormatter.instance().getFormattedDateTime(contactDO.getCreated())));
        addRowClick(item);
        cellItemListener.populateItem(item, componentId, rowModel);
      }
    });
View Full Code Here

      @Override
      public void populateItem(final Item<ICellPopulator<TeamEventDO>> item, final String componentId, final IModel<TeamEventDO> rowModel)
      {
        final TeamEventDO teamEvent = rowModel.getObject();
        final TeamCalDO calendar = teamEvent.getCalendar();
        item.add(new ListSelectActionPanel(componentId, rowModel, TeamEventEditPage.class, teamEvent.getId(), returnToPage,
            calendar != null ? calendar.getTitle() : ""));
        cellItemListener.populateItem(item, componentId, rowModel);
        addRowClick(item);
      }
    });
View Full Code Here

      @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);
      }
    });
View Full Code Here

      @Override
      public void populateItem(final Item<ICellPopulator<PostausgangDO>> item, final String componentId,
          final IModel<PostausgangDO> rowModel)
      {
        final PostausgangDO postausgang = rowModel.getObject();
        item.add(new ListSelectActionPanel(componentId, rowModel, PostausgangEditPage.class, postausgang.getId(),
            returnToPage, DateTimeFormatter.instance().getFormattedDate(postausgang.getDatum())));
        cellItemListener.populateItem(item, componentId, rowModel);
        addRowClick(item);
      }
    });
View Full Code Here

       */
      @Override
      public void populateItem(final Item<ICellPopulator<LicenseDO>> item, final String componentId, final IModel<LicenseDO> rowModel)
      {
        final LicenseDO license = rowModel.getObject();
        item.add(new ListSelectActionPanel(componentId, rowModel, LicenseEditPage.class, license.getId(), returnToPage, rowModel.getObject().getOrganization()));
        addRowClick(item);
        cellItemListener.populateItem(item, componentId, rowModel);
      }
    });
    columns.add(new CellItemListenerPropertyColumn<LicenseDO>(new Model<String>(getString("plugins.licensemanagement.product")), getSortable(
View Full Code Here

      @SuppressWarnings("unchecked")
      @Override
      public void populateItem(final Item item, final String componentId, final IModel rowModel)
      {
        final BankAccountDO bankAccount = (BankAccountDO) rowModel.getObject();
        item.add(new ListSelectActionPanel(componentId, rowModel, BankAccountEditPage.class, bankAccount.getId(), BankAccountListPage.this,
            String.valueOf(bankAccount.getAccountNumber())));
        addRowClick(item);
        cellItemListener.populateItem(item, componentId, rowModel);
      }
    });
View Full Code Here

       */
      @Override
      public void populateItem(final Item<ICellPopulator<MebEntryDO>> item, final String componentId, final IModel<MebEntryDO> rowModel)
      {
        final MebEntryDO meb = rowModel.getObject();
        item.add(new ListSelectActionPanel(componentId, rowModel, MebEditPage.class, meb.getId(), MebListPage.this, DateTimeFormatter
            .instance().getFormattedDateTime(meb.getDate())));
        cellItemListener.populateItem(item, componentId, rowModel);
        cellItemListener.populateItem(item, componentId, rowModel);
        addRowClick(item);
      }
View Full Code Here

      @SuppressWarnings({ "unchecked", "rawtypes"})
      @Override
      public void populateItem(final Item item, final String componentId, final IModel rowModel)
      {
        final TrainingAttendeeDO attendeeDO = (TrainingAttendeeDO) rowModel.getObject();
        item.add(new ListSelectActionPanel(componentId, rowModel, TrainingAttendeeEditPage.class, attendeeDO.getId(), returnToPage,
            DateTimeFormatter.instance().getFormattedDateTime(attendeeDO.getCreated())));
        addRowClick(item);
        cellItemListener.populateItem(item, componentId, rowModel);
      }
    });
View Full Code Here

      @SuppressWarnings({ "unchecked", "rawtypes"})
      @Override
      public void populateItem(final Item item, final String componentId, final IModel rowModel)
      {
        final BuchungssatzDO satz = (BuchungssatzDO) rowModel.getObject();
        item.add(new ListSelectActionPanel(componentId, rowModel, AccountingRecordEditPage.class, satz.getId(),
            AccountingRecordListPage.this, String.valueOf(satz.getFormattedSatzNummer())));
        cellItemListener.populateItem(item, componentId, rowModel);
        addRowClick(item);
      }
    });
View Full Code Here

TOP

Related Classes of org.projectforge.web.wicket.ListSelectActionPanel

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.