Skip to main content

Posts

Showing posts with the label refresh

ADF: Upgrade issues from 11.1.1.4 to 11.1.1.6

Firs thing I encountered was that our menu was not refreshing as it had been : as soon as we clicked on the custom menu the normal menu would no longer refresh. This is the code that was causing the problem:   So once we had done a code RichTreeTable.setValue on the tree the EL item would no longer be executed after this point. Makes sense so I just removed the setValue and perform everything through EL.

ADF A refreshing graph with a af:poll

I wanted to have my adf graph component refresh every 10 seconds or so to reflect the latest info. I wasn't really interested in Active data to push the info to me when it changed as it changed too often. So this is super simple and involved the following steps: 1) Drag on a poll component (Component pallet --> operations --> poll) 2) Add a partial trigger to your graph. ( partialTriggers="::poll1") where poll1 is the id of the poll component. 3) viola it just works. Poll Properties interval - How long in miliseconds between polls timeout - Amount of time before the poll stops due to inactivity this will make sure a users session can timeout on this page due to inactivity as a poll is seen as activity (-1 infinite). pollListener - Add some custom code to each poll event.   public void yourPoll(PollEvent pollEvent) {