Examples of TableRowGroup


Examples of com.sun.webui.jsf.component.TableRowGroup

  input={
      @HandlerInput(name="tableRowGroup", type=TableRowGroup.class, required=true)},
  output={
      @HandlerOutput(name="rowKeys", type=RowKey[].class)})
    public static void getSelectedTableRowKeys(HandlerContext handlerCtx) {
  TableRowGroup trg =
      (TableRowGroup) handlerCtx.getInputValue("tableRowGroup");
  handlerCtx.setOutputValue("rowKeys", trg.getSelectedRowKeys());
    }
View Full Code Here

Examples of com.sun.webui.jsf.component.TableRowGroup

    @Handler(id="deleteTableRows",
  input={
      @HandlerInput(name="tableRowGroup", type=TableRowGroup.class, required=true),
      @HandlerInput(name="rowKeys", type=RowKey[].class, required=true)})
    public static void deleteTableRows(HandlerContext handlerCtx) {
  TableRowGroup trg =
      (TableRowGroup) handlerCtx.getInputValue("tableRowGroup");
  RowKey[] keys = (RowKey []) handlerCtx.getInputValue("rowKeys");
        MultipleListDataProvider dp =
      (MultipleListDataProvider) trg.getSourceData();
  for (RowKey key : keys) {
      dp.removeRow(key);
  }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.