Saturday, 23 June 2018

Find view object in oaf

Find view object in oaf

 

View Object works behind the OAF Page layout which help to populate the data in the OAF page and helps to perform (insert/update/delete) operations in the Page. To find the view object working behind the OAF page, we need to go to the About This option of the OAF Page. Under this Option, We can find the VO (view Objects) working behind the OAF Page under different – different regions of the page. We all know that, One OAF page consists of Multiple regions and it could be possible one View Object(VO) working for all regions or Each region have their different deferent View Object(VO).


Here below is the code helps to find the View Object.

        OAApplicationModule appModule = pageContext.getApplicationModule(webBean);

        OAViewObject vo1 = (OAViewObject)appModule.findViewObject("POHeadersVO");

0 comments:

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *