1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    21
    Vote Rating
    0
    jakovdt is on a distinguished road

      0  

    Default change locale maintaining informations

    change locale maintaining informations


    Hi all,
    in my application, after a user has logged, I read in the database a language field to change the locale...
    the problem is that, when I change the locale adding ?locale=it in the address bar this implies the reload of the application . I have already discarded gwt dictionary method. I'm searching for a way to maintaining state of my app (keep the user logged)...I'm looking gwt history but it seems not suitable in this case...
    Any idea? Thanks,

    J

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    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


    You can safe the state in your database for example and if the user comes back to your page (which happens on a reload), you restore your state manually.

  3. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    21
    Vote Rating
    0
    jakovdt is on a distinguished road

      0  

    Default


    Yes, I think it's the right solution...but I thought of a cookie that stores user data.
    However, I mainly want to know if gwt history could be used or not...
    Thanks,

    J

Similar Threads

  1. Maintaining Component References
    By r_honey in forum Ext 3.x: User Extensions and Plugins
    Replies: 12
    Last Post: 8 Oct 2010, 10:21 AM
  2. Refresh your informations on Roadmap
    By Matthias_WB in forum Community Discussion
    Replies: 3
    Last Post: 2 Jan 2010, 4:05 AM
  3. Maintaining grid state
    By da_sweetp in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 Jun 2009, 9:31 AM
  4. Change locale at runtime
    By drenda81 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 4
    Last Post: 22 Jul 2008, 2:09 PM

Thread Participants: 1

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