| | |
| | | public Boolean noSortHeader { get; set; } |
| | | public Boolean isRadioBox { get; set; } |
| | | public String tabS {get; set;} |
| | | public List<CreateRelationListPagingCtrlBase.WrapperInfo> allrecords{get;set;} |
| | | public transient Boolean userCustomPaging {get; set;} |
| | | public Boolean userCustomPaging {get; set;} |
| | | public Boolean isNeedCheckEvent { |
| | | get { |
| | | return pageController.isNeedCheckEvent; |
| | |
| | | } |
| | | if(String.isBlank(pageController.getRecordTypeId() )){ |
| | | try { |
| | | System.debug('--------2--------'+pageController.getObjName()); |
| | | |
| | | Map<String, Map<String, String>> editLayoutItemRWMap = SoapApi.getEditLayoutItemRW(pageController.getObjName(), null); |
| | | System.debug('--------1--------'+editLayoutItemRWMap); |
| | | if(editLayoutItemRWMap.size() >0){ |
| | | DESC_RW = editLayoutItemRWMap.values()[0]; |
| | | } |
| | |
| | | String soql =''; |
| | | final String soqlStr = 'Select {0} {1} '; |
| | | soql += String.format(soqlStr, new String[] {strColumus , pageController.getSelectedDataSql()}); |
| | | // system.debug(pageController + 'getSelectedDataInfo soql ' + soql); |
| | | system.debug('zheli~getSelectedDataInfo soql ' + soql); |
| | | system.debug(pageController + 'getSelectedDataInfo soql ' + soql); |
| | | List<sObject> queryList = Database.query(soql); |
| | | pageController.selectedData = queryList; |
| | | pageController.makeSelectedDataInfo(); |
| | |
| | | // get selected data |
| | | pageController.setViewList(new List<sObject>()); |
| | | currentPageRecordCnt = pageController.viewList.size(); |
| | | allrecords = pageController.viewList; |
| | | System.debug(LoggingLevel.INFO, '*** allrecords: ' + allrecords); |
| | | recordAllCount = currentPageRecordCnt; |
| | | pageController.sqlWhereStr = ''; |
| | | return; |
| | |
| | | |
| | | pageController.setViewList(queryList); |
| | | currentPageRecordCnt = pageController.viewList.size(); |
| | | allrecords = pageController.viewList; |
| | | System.debug(LoggingLevel.INFO, '*** allrecords: ' + allrecords); |
| | | |
| | | system.debug('●●●●● searchAndPaging END ' ); |
| | | } catch (Exception e) { |
| | |
| | | , orderStr |
| | | , limitStr}); |
| | | |
| | | system.debug('makeSoql'+soql); |
| | | system.debug(soql); |
| | | return soql; |
| | | } |
| | | public void searchGoPage() { |