I ran into a big issue recently. I've come to realize that preserveState is 
on by default. That means as our sales staff uses our intranet, using many 
tabs at once, their data from one form post is getting blasted into 
another. This leads to things like shipping an order to the wrong customer!

I have hundreds of events across many ModelGlue.xml files. So rather than 
add preserveState=false to every one, I'd like to change the default. I'm 
looking for good ways to do this. I could just modify 
gesture/eventhandler/Result.cfc, but I'd rather not change the core MG 
files of course. I am wondering if there is a way at application startup 
time that I could replace the instantiated Result component with one of my 
own?

I'll be upgrading to MG 3.1 as part of this change, since our current 
version only recognizes the preserveState attribute when the result is a 
named result. I tried 3.2 but was getting all kinds of errors.

Thanks,
Ryan

-- 
-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to