My Oracle Support Banner

E-FLUID: When using Button Bar to implement Radio Buttons, by Applying the ps_button_bar Style Class to the Fields, Switching between the Button's values Does Not Highlight the Button to Reflect the Correct Context (Doc ID 2783008.1)

Last updated on JUNE 09, 2021

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.58 and later
Information in this document applies to any platform.

Symptoms

When using Button Bar to implement Radio Buttons (by applying the ps_button_bar style class to the fields), switching between the button's values does not highlight the button to reflect the correct context.
When applying the ps_button_bar sytle class to fields, to have them work as Yes/No fields, switching between the 'Yes' and 'No' buttons does not highlight the button to the correct context. It only does that if there's FieldChange PeopleCode for it.

The expected behavior is that clicking on the button should highlight and set the context to the selected button.

 

The issue can be reproduced at will with the following steps:

[Note: customization - custom definitions are used to describe the use case]

1- Create a fluid page using PSL_APPS_CONTENT (example: Page.Z_TEST_BUTTONS).

2- Add a group box.
   - Style Classes: ps_button_bar
   - Group Box Type: Layout Only
   
3- Add two buttons inside the box.
   - RecordName: Z_REC_WRK, FieldName: Z_YESNO_FLAG, Value N
   - RecordName: Z_REC_WRK, FieldName: Z_YESNO_FLAG, Value Y
   
4- Add a second group box.
   - Style Classes: ps_button_bar
   - Group Box Type: Layout Only
   
5- Add two buttons inside the box.
   - RecordName: Z_REC_TBL, FieldName: Z_YESNO_FLAG, Value N
   - RecordName: Z_REC_TBL, FieldName: Z_YESNO_FLAG, Value Y
   
6- Create a fluid component (Z_TEST_BUTTONS.GBL).
7- Add the page to the component.
8- Add FieldChange PeopleCode to Component RecordField PeopleCode in Z_TEST_BUTTONS.GBL.Z_REC_WRK.Z_YESNO_FLAG.FieldChange.
   
9- Create a new menu
10- Add the component to the menu
11- Register the component
12- Test the component
    - The group box with PeopleCode works fine (for Z_REC_WRK) - there's Component RecordField PeopleCode in Z_TEST_BUTTONS.GBL.Z_REC_WRK.Z_YESNO_FLAG.FieldChange.
    - The group box without PeopleCode (for Z_REC_TBL) does not work.


Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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