简体   繁体   中英

Refresh data from oracle database on jsf page refresh in adf 12c

I am using jdeveloper 12c to build fusion web app with oracle 12c database. My project is running fine in browser and also can be accessible on other system's browser via static IP. When someone is accessing application in browser and enter some data in table, it saves in database but it doesn't reflects on my browser even after refreshing page until unless i rebuild my project. How can i get data without rebuilding my project (I want to fetch all updated data through page refresh). I don't want to create a method for this.

Browser page refresh doesn't call data querying. You need to call Execute on needed iterators. For instance you can start a taskflow with Execute method before showing user interface.

I am not sure but, use Execute of that particular VO after commiting the data.Before using Execute in java code you have to add Execute in page deinition or go to that particular table in page. use binding property under property inspector. create the binding as given #{backingBeanScope.popupBean.refresh} and call it in java as like this to refresh the data while saving in DB 'AdfFacesContext.getCurrentInstance().addPartialTarget(refresh);'

只需要在数据控制选项卡中从该特定表(其中要刷新数据)操作中添加EXECUTE按钮,您可以将其标记为REFRESH按钮。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM