Reputation: 11201
I am using a Window.confirm() in my GWT application, the message I see is "Ok" and "Cancel"
Instead of "Ok" I want "Yes" and instead of "Cancel" I want "No", is it possible?
Can a user see "Yes", "No" instead of "OK", "Cancel" in a popup displayed after calling Window.confirm()
?
Upvotes: 0
Views: 1460
Reputation: 3048
You can't.
But you can use your own confirm-like widget. Just remember that it will never be blocking like window.confirm
.
Upvotes: 2