1. #1
    Ext Premium Member
    Join Date
    Jan 2010
    Posts
    5
    Vote Rating
    0
    tliu108 is on a distinguished road

      0  

    Default Asynctreegrid is empty, and migration from GXT 2.1.1(gwt 1.7) to GXT 2.2.5(gwt 2.4)

    Asynctreegrid is empty, and migration from GXT 2.1.1(gwt 1.7) to GXT 2.2.5(gwt 2.4)


    I'm trying to upgrade my code from gxt2.1.1 with gwt 1.7 to gxt 2.2.5 with gwt 2.4, but I run into a few problems, such as blank pages.

    To narrow down to the issue, I used only the sample code from gxt 2.2.5.zip to recreate the problem. It seems that Asynctreegrid is empty while other grids, such as Basic Grid, are fine.

    Asynctreegrid is using the remote data, so it might be related RPC call. But I don't know where the problem come from and how to fix it. Any suggestion to fix it?

    Thanks.

    The following is the URL and the screenshot for Asynctreegrid:
    http://localhost:8080/my/explorer.html#asynctreegrid

    asynctreegrid.jpg

  2. #2
    Ext Premium Member
    Join Date
    Jan 2010
    Posts
    5
    Vote Rating
    0
    tliu108 is on a distinguished road

      0  

    Default


    Sorry. Asynctreegrid is not working because I forgot to add the servlet/mapping in web.xml.

    My old project is still not working...but I'm getting closer. It looks I have to use GXT.getModuleBaseURL() for the remote service.

  3. #3
    Ext Premium Member
    Join Date
    Jan 2010
    Posts
    5
    Vote Rating
    0
    tliu108 is on a distinguished road

      0  

    Default remote service URL is empty

    remote service URL is empty


    The problem is from the remote service URL, which will be will be empty if I don't use "ServiceDefTarget" to set the service entry point. If I uncommented the three lines below, it works fine.

    In Explorer.java from GXT 2.2.5, I don't see any need to use ServiceDefTarget. Can you please explain what has happened? When should I use ServiceDefTarget? I must miss something importatnt.



    === Code sample from my customized Explorer.java ===

    FRMServiceAsync service = (FRMServiceAsync) GWT.create(FRMService.class);
    //ServiceDefTarget endpoint = (ServiceDefTarget) service;
    //String moduleRelativeURL = "service";
    //endpoint.setServiceEntryPoint(moduleRelativeURL);
    Registry.register(FRM.SERVICE, service);



    === Code sample from Explorer.java in GXT 2.2.5 ===

    ExampleServiceAsync service = (ExampleServiceAsync) GWT.create(ExampleService.class);
    Registry.register(Examples.
    SERVICE, service);



Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi