Hi,
I'm setting RPCManager.setShowPrompt(false) in my onModuleLoad() but doing a form.getDataSource().performCustomOperation(id, record, callback, properties) still shows the prompt. Does it not work for custom operations?
The properties object is not an RPCRequest, but a DSRequest.
I set the properties.setShowPrompt(false) manually to test, and then it's gone. The method's javadoc does mention that it overrides the default RPCManager.setShowPrompt.
tia
SmartGWT EE 2010-10-17
I'm setting RPCManager.setShowPrompt(false) in my onModuleLoad() but doing a form.getDataSource().performCustomOperation(id, record, callback, properties) still shows the prompt. Does it not work for custom operations?
The properties object is not an RPCRequest, but a DSRequest.
I set the properties.setShowPrompt(false) manually to test, and then it's gone. The method's javadoc does mention that it overrides the default RPCManager.setShowPrompt.
tia
SmartGWT EE 2010-10-17
Comment