Question

I'm using JDeveloper 11.1.1.7.0

In my application, I have some popup with dialogs and its default Ok/Cancel buttons, with dialog and popup cancel listeners working fine.

Now, I have been requested to put icons in Ok/Cancel buttons. It's easy with normal command buttons (there is an icon attribute), but I don't know how to do it in dialog default buttons

I'm trying to avoid remove default buttons and insert custom command buttons to accept and cancel. Is there any easier/customizable way to do it?

Any idea would be very helpful. Regards

Was it helpful?

Solution

Use ADF Skinning. Extract the style class (which are applied by default by the framework) from the buttons (using Firebug, Google, ...) and 'override' the style class to include your desired icon.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top