Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • microp
    replied
    Hi

    Here are the full information:
    1)Browser:Firefox 4

    The sample code :
    Code:
    public void onModuleLoad() {
    		RPCRequest rpc = new RPCRequest();
    		//rpc.setData(data);
    		
    rpc.setActionURL("http://192.186.0.2:8888/school/students?count=2");
    		RPCManager.sendRequest(rpc, new RPCCallback() {
    			
    			@Override
    			public void execute(RPCResponse response, Object rawData, RPCRequest request) {
    
    				Window.alert(String.valueOf(response.getHttpResponseCode()));
    				Window.alert("Response is :" + rawData);
    				//DataSource ds = new DataSource((JavaScriptObject)rawData);
    			//	Window.alert("hi");
    			}
    		});
    	}
    [
    The first Alert return:0

    I hope now that i clarify the issue

    Thanks

    Leave a comment:


  • smartgwt.dev
    replied
    Be sure your post includes:
    1. the SmartGWT or SmartClient version and browser version(s) involved;

    2. for a server-side problem, the complete logs generated during processing of the request;

    3. for a client-side problem, the contents of the Developer Console (see FAQ for usage);

    4. if there is a JavaScript error, the stack trace logged in the Developer Console (from Internet Explorer if possible); and

    5. sample code.
    Posts with incomplete information are much more likely to be ignored.

    Leave a comment:


  • microp
    started a topic Cross domain

    Cross domain

    Hi

    I am using smartGWT 2.4 and i have a cross domain problem any solution for this issue?
Working...
X