My Oracle Support Banner

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 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>

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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.