Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Component Id For YES and NO Buttons on Confirmation Dialog

$
0
0
Hi,
I am using SmartGwt-4.0p.
I wants to set an unique component id for YES and NO Buttons on Confirmation Dialog.

Dialog :

SC.ask(resourceString.getLocalizedString("Please Confirm...!",
new BooleanCallback() {

@Override
public void execute(Boolean value) {
if (null != value && value) {
//Code
} });

I used the following code to set the id.
It is not affecting the Ids to the corresponding buttons.
Example :
Dialog.YES.setID("page_QuestionDialog_Confirmation _YES_11");
Dialog.NO.setID("page_QuestionDialog_Conforirmatio n_NO_12");
Is this correct approach what I used ?
If not, Please give me solution for achieving this.

Thanks.

Viewing all articles
Browse latest Browse all 4756

Trending Articles