1. #1
    Ext User
    Join Date
    Dec 2007
    Posts
    2
    Vote Rating
    0
    muneender is on a distinguished road

      0  

    Question Registry Problem

    Registry Problem


    Hi,

    I'm having single GWT module and multiple html pages. I'm loading GXT widgets in various HTML pages. Using JSNI for redirection from one page to other.

    The problem is if I put some data in the Registry using Registry.register() method and when I access the same in other widget, loaded from other html page, then I get null. However If I user single HTML page for my project then I'm able to retrieve the data from registry.

    Is there any Global Registry kind of thing where I can across data across pages.

    Please let me know the best practice for the same.

    Thanks

    -Muneender

  2. #2
    Sencha User
    Join Date
    Apr 2008
    Posts
    24
    Vote Rating
    0
    zsumore is on a distinguished road

      0  

    Default


    may be StateManager could help .

  3. #3
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    2
    gslender is on a distinguished road

      0  

    Default


    GWT has cookie support that you can use...

    http://google-web-toolkit-doc-1-5.go...t/Cookies.html

  4. #4
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default


    Quote Originally Posted by gslender View Post
    GWT has cookie support that you can use...

    http://google-web-toolkit-doc-1-5.go...t/Cookies.html
    +1. It is the only way to communicate between different pages (except server-side HTTP session). From the javascript client point of view, one page = one context.

  5. #5

    Default


    By Muneender
    The problem is if I put some data in the Registry using Registry.register() method and when I access the same in other widget, loaded from other html page, then I get null. However If I user single HTML page for my project then I'm able to retrieve the data from registry.
    Maybe Registry Editing is disabled in your computer, in this case you won’t be able to put data in the Registry.
    Ann,visit my site here

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar