Revision history [back]

click to hide/show revision 1
initial version

answered 2015-02-05 08:28:37 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India

http://emrpms.blogspot.in...

Another example in different search page

    <paging
id="pagenavi" pageSize="@load(vm.pageSize)"
activePage="@bind(vm.activePage)"
sclass="floatright" pageIncrement="1" detailed="true">
</paging>


@AfterCompose
    public void initSetup(@ContextParam(ContextType.VIEW) Component view,
            @ExecutionArgParam("container") Component container,
            @ExecutionArgParam("searchClaim") SearchClaim searchClaim,
            @ExecutionArgParam("MenuDetails") MenuItems menu) {
        Selectors.wireComponents(view, this, false);
        moreErrorInfo = this.getClass().getName();
        this.container = container;
        this.menu = menu;
        this.searchClaim = searchClaim;
        billingService = (BillingService) SpringUtil.getBean("BillingService");
        Borderlayout myborderLayout = (Borderlayout) view
                .getFellow("searchclaimsmainlayout");
        myWest = myborderLayout.getWest();
        myWest.setOpen(false);
        prevBox = (Groupbox) view.getFellow("general");
        this.pageSize = FHSessionUtil.getDesktopHeight() - 1;
        zulpatientcode.setFocus(true);
        claimStatusList = billingService
                .GetListByNamedQuery("ClaimStatus.getAllStatus");

        if (this.searchClaim == null) {
            initSearch();
        } else {
            this.claimHeader = searchClaim.getEdiClaims();
            this.searchTotals = searchClaim.getSearchTotals();
            this.searchClaim.setSearchWhere("SubmitElectronicClaims");
            this.searchClaim.setClaimTranModeType("EDI");
            this.totalSize = searchTotals.getTotalSize();
            // The following lines gives the error
            this.activePage = 4;
        }

    }

Another example in different search page

  <paging
 id="pagenavi" pageSize="@load(vm.pageSize)"
 activePage="@bind(vm.activePage)"
 sclass="floatright" pageIncrement="1" detailed="true">
 </paging>

<listbox sclass="mylist"
                                                mold="paging" paginal="${pagenavi}" checkmark="true"
                                                onCheckSelectAll="@command('onSelectAll')" multiple="true"
                                                selectedItem="@bind(vm.selectedClaim)"
                                                selectedItems="@bind(vm.selectedClaims)"
                                                model="@load(vm.claimHeader)"
                                                emptyMessage="No record found for the given search condition.">
  @AfterCompose
     public void initSetup(@ContextParam(ContextType.VIEW) Component view,
             @ExecutionArgParam("container") Component container,
             @ExecutionArgParam("searchClaim") SearchClaim searchClaim,
             @ExecutionArgParam("MenuDetails") MenuItems menu) {
         Selectors.wireComponents(view, this, false);
         moreErrorInfo = this.getClass().getName();
         this.container = container;
         this.menu = menu;
         this.searchClaim = searchClaim;
         billingService = (BillingService) SpringUtil.getBean("BillingService");
         Borderlayout myborderLayout = (Borderlayout) view
                 .getFellow("searchclaimsmainlayout");
         myWest = myborderLayout.getWest();
         myWest.setOpen(false);
         prevBox = (Groupbox) view.getFellow("general");
         this.pageSize = FHSessionUtil.getDesktopHeight() - 1;
         zulpatientcode.setFocus(true);
         claimStatusList = billingService
                 .GetListByNamedQuery("ClaimStatus.getAllStatus");

         if (this.searchClaim == null) {
             initSearch();
         } else {
             this.claimHeader = searchClaim.getEdiClaims();
             this.searchTotals = searchClaim.getSearchTotals();
             this.searchClaim.setSearchWhere("SubmitElectronicClaims");
             this.searchClaim.setClaimTranModeType("EDI");
             this.totalSize = searchTotals.getTotalSize();
             // The following lines gives the error
             this.activePage = 4;
         }

     }
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More