SmartGWTPower 2.3
GWT 1.7
In my MainEntryPoint.java class:
LoginRequiredCallback lrc = new LoginRequiredCallback() {
public void loginRequired(int transactionNum, com.smartgwt.client.rpc.RPCRequest request, com.smartgwt.client.rpc.RPCResponse response) {
SC.say("TZ", "You have been logged out, do you want to proceed to login page?", new BooleanCallback() {
public void execute(Boolean value) {
if(value != null && value) {
Window.Location.replace(GWT.getHostPageBaseURL() + "login.jsp");
}
}
});
}
};
GWT.log("lrc:" + lrc.toString(), null);
Note the GWT.log() call at the end of the above code. What is the expected Class for the lrc.toString() call?
Because I’m seeing:
[INFO] lrc:com.ancerno.tz.client.MainEntryPoint$2@1f7e444
Should it be the LoginRequiredCallback class instead of MainEntryPoint?