org.apache.wicket.markup.html.WebPage.getString()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(125)

本文整理了Java中org.apache.wicket.markup.html.WebPage.getString()方法的一些代码示例,展示了WebPage.getString()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebPage.getString()方法的具体详情如下:
包路径:org.apache.wicket.markup.html.WebPage
类名称:WebPage
方法名:getString

WebPage.getString介绍

暂无

代码示例

代码示例来源:origin: micromata/projectforge

columns.add(new CellItemListenerPropertyColumn<AddressDO>(new Model<String>(page.getString("created")),
   getSortable("created",
     sortable),
 columns.add(new CellItemListenerPropertyColumn<AddressDO>(new Model<String>(page.getString("created")),
   getSortable("created",
     sortable),
columns.add(new CellItemListenerPropertyColumn<AddressDO>(new Model<String>(page.getString("name")),
  getSortable("name", sortable),
  "name", cellItemListener));
columns.add(new CellItemListenerPropertyColumn<AddressDO>(new Model<String>(page.getString("firstName")),
  getSortable("firstName",
    sortable),
  "firstName", cellItemListener));
columns.add(
  new CellItemListenerPropertyColumn<AddressDO>(new Model<String>(page.getString("organization")), getSortable(
    "organization", sortable), "organization", cellItemListener));
columns.add(new CellItemListenerPropertyColumn<AddressDO>(
  new Model<String>(page.getString("address.contactStatus")), getSortable(
    "contactStatus", sortable),
  "contactStatus", cellItemListener));
columns.add(new AbstractColumn<AddressDO, String>(new Model<String>(page.getString("address.addressText")))
  new Model<String>(page.getString("address.addressStatus")), getSortable(
    "addressStatus", sortable),
  "addressStatus", cellItemListener));
columns.add(new AbstractColumn<AddressDO, String>(new Model<String>(page.getString("value")))

代码示例来源:origin: micromata/projectforge

columns.add(new UserPropertyColumn<TimesheetDO>(userGroupCache, page.getString("timesheet.user"),
   getSortable("user.fullname", sortable), "user",
   cellItemListener).withUserFormatter(userFormatter));
  columns.add(new UserPropertyColumn<TimesheetDO>(userGroupCache, page.getString("timesheet.user"),
    getSortable("user.fullname", sortable), "user",
    cellItemListener).withUserFormatter(userFormatter));
 } else {
  columns.add(new UserPropertyColumn<TimesheetDO>(userGroupCache, page.getString("timesheet.user"),
    getSortable("user.fullname", sortable), "user",
    cellItemListener)
if (systemInfoCache.isCost2EntriesExists() == true) {
 columns.add(
   new CellItemListenerPropertyColumn<TimesheetDO>(new Model<String>(page.getString("fibu.kunde")), getSortable(
     "kost2.projekt.kunde.name", sortable), "kost2.projekt.kunde.name", cellItemListener));
 columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(new Model<String>(page.getString("fibu.projekt")),
   getSortable(
     "kost2.projekt.name", sortable),
   "kost2.projekt.name", cellItemListener));
columns.add(new TaskPropertyColumn<TimesheetDO>(page.getString("task"),
  getSortable("task.title", sortable), "task",
  cellItemListener)
  .withTaskTree(taskTree));
if (systemInfoCache.isCost2EntriesExists() == true) {
 columns.add(new CellItemListenerPropertyColumn<TimesheetDO>(page.getString("fibu.kost2"),
   getSortable("kost2.shortDisplayName",
     sortable),

代码示例来源:origin: micromata/projectforge

hasMoreEntries = new Label("hasMoreEntries", page.getString("search.error") + " | ");
} else {
 hasMoreEntries = new Label("hasMoreEntries", page.getString("moreEntriesAvailable") + " | ");
 hasMoreEntries.setVisible(false);
add(new Label("areaTitle", page.getString(webRegistryEntry.getI18nTitleHeading())));
add(new Label("timeOfSearch", NumberFormatter.format(duration)));

相关文章