Derrell, I am tracking application state by user in a database, I just don't see how to interact with the qooxdoo objects (or widgets) that are not known in the event context without using something like the hash value. If for example I have a parent/child table structure and I am displaying the parent record in one qx.ui.window.Window and I am maintain child records in a separate qx.ui.window.Window. I would like to update a label containing a running total in the parent record window after the completion of each child record edit. At the completion of each child record entry I make a call back to update the child record but I don't see the application logic can update the running total widget in parent record window without knowing the hashcode or some indirect reference to it.
Thanks for your help and patience. -Chris On Mon, Mar 25, 2013 at 3:21 PM, Derrell Lipman <[email protected]> wrote: > On Mon, Mar 25, 2013 at 3:52 PM, Chris Bunn <[email protected]> wrote: >> >> Derrell, >> >> Thank you, that is what I am looking for. In my case the application >> logic is on the server and the the qooxdoo client is realizing the UI >> and catching events. When a call back event occurs and the application >> needs to reference an object that is outside of the event scope if >> does not know how to identify it. Is it common to maintain client side >> mappings of hash values to some type of application level object >> instance id? > > > There are a few problems with keeping object references. Firstly, if the > page is refreshed, all of those references become invalid. Secondly, you'll > have to maintain object references for each user. This seems like a lot of > overhead, whereas you're likely already keeping persistent state at the > server, via some database or something. Keeping track of program state and > communicating it with a data model is often a better plan. > > Derrell > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
