msgbox plugin

So I have the below lines in one of my handlers. These are indeed consecutive lines.

getPlugin(“messagebox”).setMessage(“info”, “test”);

writedump(getPlugin(“messagebox”).isEmptyMessage());abort;

So one would expect that the dump would return false? However, it is always returning true for some reason. I’ve commented out anything in my code referencing flash (based on looking at the plugin) and I’m still having the issue. The plugin is working fine in some other parts of the application like after login and logout.

Any suggestions on how to troubleshoot this? I’ve tried 3.7 and 3.81 and get the same results. I am running CF11.

Thanks.

Jonathan

You are setting the message so why would it be false

Luis Majano
CEO
Ortus Solutions, Corp

P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org
ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Exactly. It’s crazy.

I’m using some jquery to load a modal and the view is inside a modal but from that modal I’m doing a normal form action that calls this handler. None of this stuff should really impact it because I’m clearly calling the plugin and then dumping the result.

It should be true.

Luis Majano
CEO
Ortus Solutions, Corp

P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org
ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

The method name is called isEmptyMessage so true would mean the message was empty, right? But if he’s setting a message why would it be empty?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com