Hybrid View

  1. #1
    Ext User
    Join Date
    Oct 2008
    Posts
    28
    Vote Rating
    0
    samwells is on a distinguished road

      0  

    Default How to open a new browser with gxt components

    How to open a new browser with gxt components


    Is it possible to open a new browser window ( not in gxt window component ) from current application with gxt components like grid

    I know that com.google.gwt.user.client.Window.open() opens a new browser
    to which i can specify a URL . How can i add the new browser with gxt components

    For example i have a gxt client side file which shows grid which reads the data from the sever ( say file name as Showlogs)

    In my main application i have a button when i click that button I want to open
    this showlogs screen in new browser (not a gxt window component) .
    How do i link this Showlogs screen with a URL

    com.google.gwt.user.client.Window.open() need a URL

    If i use a jsp file or html file then how can i show that Showlogs screen inside that jsp or html page .

    In ext js i can point the URL to a jsp page and in that jsp page i can use
    Ext.onReady() after including the script in that jsp page and show a gird

    But how to do this in Ext gwt

    Thanks
    Sam

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This is nothing GXT specific. The URL has to point to an application entrypoint and there you handle the request.

  3. #3
    Ext User
    Join Date
    Oct 2008
    Posts
    28
    Vote Rating
    0
    samwells is on a distinguished road

      0  

    Default


    I guessed little on that
    U mean to say I should have 2 entry points in the gwt.xml file
    or i should have 2 gwt.xml file with each having a entry point
    Actually i tried both the ways ..
    I m getting error in that

    I created 2 modules main project module and another my log module
    my log module has log.html file
    If i include my log module in the project module gwt.xml file and if i run i get error saying
    not able to load the log module in the main module gwt xml even though i inherited my log module there .

    If i add two entry point in one main project xml file . which ever is first runs and then gets
    disappear and the second entry points starts running and if i again click my link to open
    new browser it gives me same error saying not able to load the module in the main gwt.xml file

    How to point the URL to another application entrypoint
    If u can give me proper steps to be followed to do that it will be helpful
    or some links or examples which has two entry points or i mean two html files
    I tried a lot in googling but not getting proper link

    I'll be really thankful to you

    Thanks
    Sam

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    2
    Vote Rating
    0
    eselis is on a distinguished road

      0  

    Default


    Hi Samwell I have the same issue, can you make it works? Thanks in advance

Thread Participants: 2

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