Argh…missing something easy here but my time is worth more than my pride!
While upgrading to CB4 and swapping in the new cbmessagebox module instead of the old MessageBox plugin I am having a problem where messages aren’t seeming to persist after a setNextEvent(), but do survive an event.setView(). I might have changed too many things at once and something else causing this but let’s start here…
If I have a handler Main.cfc
`
component {
property name=“MessageBox” inject=“MessageBox@cbmessagebox”;
function index(event,rc,prc){
MessageBox.info(“Play Ball!”);
setNextEvent(‘Main/other’);
}
function other(event,rc,prc){
WriteDump(MessageBox.getMessage());abort;
}
}
`
If I make a call to the Main/index action I should still see that “Play Ball!” message from the other action, right? But…I don’t. I’m suspecting this revolves around Flash scope but not really sure why/how it was working before and what I need to tweak to make it (me) happy again.
Thanks!
Wes