Package org.olat.core.gui.control.generic.ajax.autocompletion

Examples of org.olat.core.gui.control.generic.ajax.autocompletion.AutoCompleterController


              }
            }
          }
        }
      }};
    AutoCompleterController tableSearchController = new AutoCompleterController(ureq, wControl, genericProvider, "-", false, trans.translate("table.filter.label"));
    tableSearchController.addControllerListener(this)
    return tableSearchController;
  }
View Full Code Here


            //String last = u.getProperty(UserConstants.LASTNAME, ureq.getLocale());
            receiver.addEntry(login, login +" "+login);
          }         
        }};
       
      Controller c = new AutoCompleterController(ureq, getWindowControl(), provider, "-no user found-", false);
     
      // for demo only, normally use in parent controller
      c.addControllerListener(new ControllerEventListener() {
        public void dispatchEvent(UserRequest ureq, Controller source, Event event) {
          EntriesChosenEvent ece = (EntriesChosenEvent) event;
          String sel = ece.getEntries().toString();
          getWindowControl().setInfo("selected entrie(s):"+sel);
         
View Full Code Here

    userListProvider = new UserListProvider(userInfoList);

    boolean ajax = wControl.getWindowBackOffice().getWindowManager().getGlobalSettings().getAjaxFlags().isIframePostEnabled();
    mainVC.contextPut("ajax", new Boolean(ajax));
   
    userAutoCompleterCtr = new AutoCompleterController(ureq, wControl, userListProvider, "", false);
    listenTo(userAutoCompleterCtr);
   
    dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, ureq.getLocale());

    TableGuiConfiguration tableConfig = new TableGuiConfiguration();
View Full Code Here

          if(hasMore){
            receiver.addEntry(".....",".....");
          }
        }
      };
      autocompleterC = new AutoCompleterController(ureq, getWindowControl(), provider, "-", false);
      autocompleterC.addControllerListener(this);
      myContent.put("autocompletionsearch", autocompleterC.getInitialComponent());
    }
   
    setInitialComponent(myContent);
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.generic.ajax.autocompletion.AutoCompleterController

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.