Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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