Without going into too much detail on what I am trying to do, the basic idea is this. I need to populate several buttons in a template that I use as a navigation bar. The details on the buttons and options available are based on a station configuration stored in the database. To improve performance, I would like the windows to only do this once when the window is first loaded.
What I found is that template parameters on the outer most template retain their values just fine as I move between windows. Nested templates within that template, however, lose their values when I navigate away from a window and then back to it.
The attached simple project illustrates what I am seeing. The Populate flag on the outer template triggers a property change event script which sets the values in the templates. The property change is triggered by the internalFrameOpened event on Window 2 which sets the Populate flag on the template. I have found for whatever reason (another bug maybe?) that by clearing the Populate flag on the internalFrameActived event, the property change is only triggered the first time the window is loaded. If i don’t do this, the property change will fire every time the window is shown or gains focus.
Testing (2013-04-12).proj (17.6 KB)