ADF BC run time now calls refreshCollection(...) on your shared ViewObject !

There is an interesting enhancement available on ViewObjectImpl::executeQuery() with 11.1.1.5.0 release. Now the executeQuery() will check for the View Object's parent Application Module configuration to see if its defined as 'shared AM' and may call refreshCollection(...) for shared View Objects. So you don't need to worry on calling the confusing refreshCollection(...) to access cached query collection without reexecuting the query. You are allowed to call ViewObjectImpl::executeQuery() always in a seamless way :)

If you really need to forcefully execute query on shared View Object, then please use ViewObjectImpl::forceExecuteQueryOfSharedVO() - API available since 11.1.1.5.0

Comments

Jeffry Roy said…
HI,

How do we bring bulleted layout in ADF.

Suppose i want to display something like this,

. sample 1
. Sample 2
. sample 3
Jobinesh said…
Jeffry,
You can use af:panelList

http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_panelList.html

Demo:

http://jdevadf.oracle.com/adf-richclient-demo/faces/components/index.jspx?_afrLoop=919394663046475#%2Fcomponents%2FpanelList.jspx%40

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of my employer.