Transient Attribute In Tree Table Primary-Detail To Manage Selected Row Doesn't Work In Detail Part
(Doc ID 1308882.1)
Last updated on MAY 12, 2021
Applies to:Oracle JDeveloper - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
You are using a transient View Object attribute in a treeTable (Primary-Detail) to manage a
multi-selection with an af:selectBooleanCheckbox.
You defined an attribute for the Primary view "selectedDeptRow" and another for the Detail view
"selectedEmpRow", with the corresponding setters/getters in the <VO>ViewRowImpl.java
You created an ADF Faces page with the tree binding:
When you click on the Primary checkbox, the attribute value is correctly changed in the row
(If you add an af:outputText to view the attribute value, you see the value "true"/"false" changed
depending on the checkbox selection).
But when you click on the Detail checkbox the value stays unchanged ("false").
Debugging the application, you see that the setter of the transient attribute is correctly called
(and the value "true" set when you click the check box).
For some reasons, it seems that ADF resets the value to false (default).
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document