Skip to main content

Oracle Open World Call for Proposals

Want to present your innovations and great achievements on Oracle ADF or Java in Oracle Open World 2013? Check this out https://blogs.oracle.com/oracleopenworld/entry/oracle_openworld_call_for_proposals

Comments

NR said…
Jobinesh,

Can you let me know is there any alternative other than using RowDisclosureEvents getAddedSet and getRemovedSet, to know about the row expanded or collapsed in the tree table. Usually we use to have DisclosureEvent's isExpanded, but the RowDisclosireEvent does not have any methods like the above one, so we are using the getAddedSet and getRemovedSet. Please let me know your inputs. Thanks.
NR said…
Jobinesh, Sorry to bump you again. I think i will check new PS6 for this type of requirement, please let me know if you have any alternate approach or can we raise a SR for this.

Thanks.
NR
Jobinesh said…
I don't think there exits any such methods on RowDisclosureEvent. The RowDisclosureEvent has an AddedSet and a RemovedSet. These sets contain the row keys for the newly expanded and collapsed nodes.
Normally you would iterate through these sets in your RowDisclosureEvent
listener and perform any application logic.
NR said…
Thanks Jobinesh.

Popular posts from this blog

Happy New Year 2018 !

We can't go back and change the beginning, but we always can start where we are and change the ending. Believe in yourself and you will be unstoppable!

Wishing you and your family a very happy new year 2018 !!!

How to set Bind Variable Values at runtime ?

In this post I'm sharing a couple of approaches for programmatically setting bind variables values at run time. This post is an attempt to explain 'When to use what ?'[ In case if you are familiar with 'Bind Variables' in ADF BC, please refer Section 5.10, Working with Bind Variables in Fusion Developer's Guide ]

1. Set the Bind Variable value using RowSet::setNamedWhereClauseParam(...)

You can use use the setNamedWhereClauseParam(...) method on the ViewObject interface (which extends oracle.jbo.RowSet) to set the value for bind variables. Please note this sets the value on default RowSet. In other words, this doesn't have any effect on the secondary RowSets that you/system generates.
ViewObject vo = am.findViewObject("EmployeesView1"); vo.setNamedWhereClauseParam("bindVarDeptId", new Number(10)); vo.executeQuery();
2. Set the Bind Variable value using ViewObject's VariableValueManager::setVariableValue(...)

VariableValueManager Ma…