Skip to Main Content

APEX

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!

Apex how to refresh radio group without submit and how to use radio group as an LOV

ali alkhalifaAug 7 2025 — edited 5 days ago

if you want to use radio group similar to the way u use popup lov, u can follow these steps

lets make the radio group
P4_RADIO
shared component
im using an lov to get the values
//

//
create the report u need
sql

select * from PRODUCTS
where product_id= :P4_RADIO

under sql query page items to submit P4_RADIO

static id: IR
//

//
next u will create a dynamic action for P4_item (store from lov)
event: change
selection: item(s)
item(s): P4_item

true -> execute java

apex.region("IR").refresh(); //note: adding the refresh under the radio dynamic action will not make it work correctly
//

//
i also suggest adding a process to clear cache
//

//
how to use it as an lov
P4_LOV
shared comp, choose the same lov as radio

next u will create a dynamic action for P4_RADIO
event: change
selection: item(s)
item(s): P4_RADIO

true -> execute java

var selectedId = $v("P4_RADIO");
$s("P4_LOV", selectedId);

create new page item P4_PRICE (or more if needed)

go to P4_LOV -> additional output

UNIT_PRICE:P4_PRICE (just incase i will add the P4_PRICE in page items to submit under the sql query in the report)
//

//
HIDE the lov

page-> javascript -> execute when page loads

$("#P4_LOV").closest(".t-Form-fieldContainer").hide(); // hide popup LOV
//

Comments
Post Details
Added on Aug 7 2025
0 comments
162 views