문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top