Advertisement
psi_mmobile

Untitled

Mar 4th, 2021
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.68 KB | None | 0 0
  1.     public String onFilterValueChange() {long start = new java.util.Date().getTime();log.debug("Set freeTextFilter: " + freeTextFilter);ADFContext.getCurrent().getSessionScope().put("personFreeTextFilter", this.freeTextFilter);ViewObjectImpl vo = (ViewObjectImpl)getMainViewObject();vo.executeQuery();long end = new java.util.Date().getTime();log.debug("freeTextFilter executed in " + (end - start) + " ms");if (null != getMainViewObject().first()) {getMainViewObject().setCurrentRow(getMainViewObject().first());ContextBean.getCurrent().setSelectedPersonId((Integer)getMainViewObject().getCurrentRow().getAttribute("PersonId"));} else {ContextBean.getCurrent().setSelectedPersonId(0);}return "";}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement