Package org.richfaces.model.selection

Examples of org.richfaces.model.selection.SimpleSelection.clear()


            final SimpleSelection simpleSelection = table.getSelection() == null ? new SimpleSelection()
                    : (SimpleSelection) table.getSelection();

            if (clientSelection.isReset() || clientSelection.isSelectAll()) {
                simpleSelection.clear();
            }

            try {
                table.walk(context, new DataVisitor() {
                    public void process(FacesContext context, Object rowKey,
View Full Code Here


          .createState(context, grid);
      state.setRowIndex(ScrollableDataTableUtils.getClientRowIndex(grid));
      final SimpleSelection simpleSelection = grid.getSelection() == null ? new SimpleSelection()
          : (SimpleSelection) grid.getSelection();
      if (clientSelection.isReset() || clientSelection.isSelectAll()) {
        simpleSelection.clear();
        simpleSelection.setSelectAll(clientSelection.isSelectAll());
      }
      try {
        grid.walk(context, new DataVisitor() {
          public void process(FacesContext context, Object rowKey,
View Full Code Here

        : (SimpleSelection) grid.getSelection();

   
   
    if (clientSelection.isReset() || clientSelection.isSelectAll()) {
      simpleSelection.clear();
      simpleSelection.setSelectAll(clientSelection.isSelectAll());
    }
   
    try {
      grid.walk(context,
View Full Code Here

            final SimpleSelection simpleSelection = table.getSelection() == null ? new SimpleSelection()
                    : (SimpleSelection) table.getSelection();

            if (clientSelection.isReset() || clientSelection.isSelectAll()) {
                simpleSelection.clear();
            }

            try {
                table.walk(context, new DataVisitor() {
                    public void process(FacesContext context, Object rowKey,
View Full Code Here

    UIScrollableDataTable grid = (UIScrollableDataTable) e.getComponent();
   
    //fix https://jira.jboss.org/jira/browse/RF-4368
    SimpleSelection selection = (SimpleSelection) grid.getSelection();
    if (selection != null) {
      selection.clear();
    }
   
    String sortColumn = e.getSortColumn();

    UIComponent column = grid.findComponent(sortColumn);
View Full Code Here

    UIScrollableDataTable grid = (UIScrollableDataTable) e.getComponent();
   
    //fix https://jira.jboss.org/jira/browse/RF-4368
    SimpleSelection selection = (SimpleSelection) grid.getSelection();
    if (selection != null) {
      selection.clear();
    }
   
    String sortColumn = e.getSortColumn();

    UIComponent column = grid.findComponent(sortColumn);
View Full Code Here

        : (SimpleSelection) grid.getSelection();

   
   
    if (clientSelection.isReset() || clientSelection.isSelectAll()) {
      simpleSelection.clear();
      simpleSelection.setSelectAll(clientSelection.isSelectAll());
    }
   
    try {
      grid.walk(context,
View Full Code Here

          .createState(context, grid);
      state.setRowIndex(ScrollableDataTableUtils.getClientRowIndex(grid));
      final SimpleSelection simpleSelection = grid.getSelection() == null ? new SimpleSelection()
          : (SimpleSelection) grid.getSelection();
      if (clientSelection.isReset() || clientSelection.isSelectAll()) {
        simpleSelection.clear();
        simpleSelection.setSelectAll(clientSelection.isSelectAll());
      }
      try {
        grid.walk(context, new DataVisitor() {
          public void process(FacesContext context, Object rowKey,
View Full Code Here

    UIScrollableDataTable grid = (UIScrollableDataTable) e.getComponent();
   
    //fix https://jira.jboss.org/jira/browse/RF-4368
    SimpleSelection selection = (SimpleSelection) grid.getSelection();
    if (selection != null) {
      selection.clear();
      grid.setActiveRowKey(null);
    }
   
    String sortColumn = e.getSortColumn();
View Full Code Here

    UIScrollableDataTable grid = (UIScrollableDataTable) e.getComponent();
   
    //fix https://jira.jboss.org/jira/browse/RF-4368
    SimpleSelection selection = (SimpleSelection) grid.getSelection();
    if (selection != null) {
      selection.clear();
      grid.setActiveRowKey(null);
    }
   
    String sortColumn = e.getSortColumn();
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.