PDA

View Full Version : Inconsistent Behavior while calling Directjngine method call.



rajoosho
14 Mar 2010, 6:47 AM
Hi ,
I am trying to call java method from java script using Directjngine with complex object as parameter .
It worked for me 3 times after that it is not working ..
Detail :
JS Code
Ext.app.REMOTING_API.enableBuffer = 0;
var remotingProvider = Ext.Direct.addProvider( Ext.app.REMOTING_API);
Djn.RemoteCallSupport.addCallValidation(remotingProvider);
Djn.RemoteCallSupport.validateCalls = true;
ClassName.FunctionGet ([ComplexObject, ComplexObject], function(result, e)
{ var t = e.getTransaction();

});
Java Code :

@DirectMethod
public String FunctionGet (ComplexObject [] identifier) {
return “true”;
}
Can anyone please help me out ..

Thanks in advance .