2 Replies Latest reply on Jun 30, 2009 8:31 AM by andrewthorp

    History Manager creating more than 1 instance...

    andrewthorp

      #app=ca1a&b51e-module=HC&b51e-state=start&21f8-module=Gallery&21f8-state=start

       

      Notice module=HC, state=start - module=Gallery, state=start

       

      For some reason, it is adding to the string instead of replacing it.

       

      To explain what I am doing:

       

      I have a main app that loads in modules as I need them, I need a) the main app to know which module and b) the module to know what the state is.

       

      I thought I could have my main app implement IHistoryManagerClient, as well as my modules, and call HistoryManager.save() on both of their creationCompletes.

       

      Both saveStates return an object with .state and .module.

       

      Any help on how to fix this would be great~!