Skip to Main Content

Java SE (Java Platform, Standard Edition)

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!

Disable action area of SplitMenuButton, but not drop down menu

a_pabstJun 27 2014 — edited Jun 27 2014

Is there a way to achieve this?

Using setDisable(true) deactivates the entire control.

I want the drop down menu items to still be accessible, but the action area visibly inactive.

Comments

thatJeffSmith-Oracle

ORDS will always generate lowercase attributes. If you want to enforce case, you'll need to generate the JSON in your handler block and return that, and tell ORDS you're dealing with JSON so it doesn't try to turn your JSON...into JSON.

User_KYPIT

Can you please try to give some example.

Olafur T

Also,
Try creating a single item GET service with

select json_arrayagg(json_object('TYPE' :object_type, 'NAME' :object_name, 'STATUS' :status)) as "{}items"
  from all_objects o
where owner = 'ORDS_METADATA'
fetch next 20 rows only
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 25 2014
Added on Jun 27 2014
5 comments
2,349 views