I'm trying to set the default properties of the Dialog class but I can't find the correct names of the available properties which I would like to change.
Eg I would like to change the text of the different buttons but using something like
	but this throws a JavaScriptException:
	
So, how do I get a list of/where do I find the correct property names which I can set/change?
I'm using GWT 2.2.0, SmartGWT 2.4, NetBeans 6.9.1, GWT4NB 2.10
Thomas
PS: no, using the i18n locale stuff is not an option for my app to change the button texts!
					Eg I would like to change the text of the different buttons but using something like
Code:
	
	Dialog d = new Dialog();
d.setProperty("YES_BUTTON_TITLE", Resources.getText("sguiedOptionYes"));
d.setProperty("NO_BUTTON_TITLE", Resources.getText("sguiedOptionNo"));
d.setProperty("CANCEL_BUTTON_TITLE", Resources.getText("sguiedOptionCancel"));
d.setProperty("OK_BUTTON_TITLE", Resources.getText("sguiedButnOk"));
Dialog.setDefaultProperties(d);
Code:
	
	00:28:38,704 [ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (TypeError): widget is null
  fileName: http://127.0.0.1:8888
  lineNumber: 141
  stack: ("YES_BUTTON_TITLE","Yes")@http://127.0.0.1:8888:141
@:0
([object GWTJavaObject],16384002,[object XMLHttpRequest])@http://127.0.0.1:8888/portal/hosted.html?portal:56
([object Event])@http://127.0.0.1:8888:34
((function () {__gwt_makeJavaInvoke(1)(handler, 16384002, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888:41
@:0
(null,65642,(function () {__gwt_makeJavaInvoke(1)(handler, 16384002, _this);}),[object XMLHttpRequest],[object Object])@http://127.0.0.1:8888/portal/hosted.html?portal:56
([object Event])@http://127.0.0.1:8888:54
  	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
 	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
         :
So, how do I get a list of/where do I find the correct property names which I can set/change?
I'm using GWT 2.2.0, SmartGWT 2.4, NetBeans 6.9.1, GWT4NB 2.10
Thomas
PS: no, using the i18n locale stuff is not an option for my app to change the button texts!

Comment