Friday, October 19, 2012

Get VO from JSF page to Backing Bean


        DCBindingContainer bindings =
            (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
     
        DCIteratorBinding iter =
            bindings.findIteratorBinding("CountryTRVOIterator");
     
        CountryTRVORowImpl countryRow= (CountryTRVORowImpl) iter.getCurrentRow();
     
       System.out.println(countryRow.getCountryId());

No comments: