What you may need to know about Target Data Source entry for your tree binding definition?

There are use cases where you may need to refresh different parts of the page when user navigates between table or tree components which uses tree binding. In most of the cases the UI bindings(Target Data Source or TargetIterator) which needs to refreshed may share same Key attributes as your tree or tree table bindings. In such cases you can leverage the declarative support from ADF model to refresh the target iterator through 'Target Data Source' property associated with the tree binding. This topic is documented in Fusion Developers Guide, please see 29.5.4 How to Use the TargetIterator Property

Note: If you have 'TargetIterator' set for tree binding, ADF binding layer will never try to execute the target iterator using the 'Key' attribute(s) of the selected row of the source iterator. Instead the binding layer may simply call setCurrentRowWithKey on the target iterator using the key from the currently selected tree node. It means that, to make this property(Target Data Source entry) working, your target iterator should contain all the elements(of course target can be a super set as well) from source iterator.

Comments

Brother said…
Hi, I need your urgent help. I am using JDeveloper 10.1.3 and I am trying to insert a table into the jsp page from Data Control Palette by dragging the respective Iterator but it does not show the resulting columns. It just makes an empty table with no columns. My VO Query is this:
SELECT FIRST_NAME||''||MIDDLE_NAME||''||LAST_NAME as
PARTY_NAME,PERSONAL_NUM as PARTY_CD,'EMPLOYEE' as PARTY_TYPE FROM
PER_EMPLOYEE_MST
WHERE FIRST_NAME||''||MIDDLE_NAME||''||LAST_NAME LIKE UPPER(:searchPARTYNAME)||'%' AND EMPLOYEE_STATUS ='ACT' AND DEPOT_CD IN decode(:DepotCode,0,DEPOT_CD,:DepotCode)
AND DESIGNATION_CD IN('SK I','SK II','SK III','LDC(S)','LDC(O)','UDC')

Disclaimer

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