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

  1. HI,

    How do we bring bulleted layout in ADF.

    Suppose i want to display something like this,

    . sample 1
    . Sample 2
    . sample 3

    ReplyDelete
  2. 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

    ReplyDelete

Post a Comment