Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Defaulting selectonechoice dropdown that is a component of an af:treetable

Roger MarquisJun 2 2022

Hello,
I am seeking a way to default the selectonechoice component's starting choice in a popup.
The use case is that if the dropdown only has 1 choice populated in the list, then the list will default to that choice in the selectonechoice dropdown.
If there is more than 1 choice in the list, then the dropdown should default to a null 'no selection' choice on the list by default.
Additionally, the selectonechoice component in mind is a part of a treetable structure, and I am attempting to get both parent and child selectonechoice dropdowns to default in the structure.
I have made a mockup using the HR schema that somewhat fits the design of the page I am trying to implement this feature on:

Comments

Processing

Post Details

Added on Jun 2 2022
8 comments
70 views