Am I doing something wrong (stupid typo or something?) or concern using PopupButton not PopupManager directly?

rickcr's Avatar

rickcr

Feb 18, 2010 @ 10:02 PM

I'm using a PopupButton control and I'm having trouble getting an event captured from the popup control. I've read this post http://knowledge.robotlegs.org/faqs/reference-mvcs-implementation/h... but I'm not sure that's referring to the same issue or how I'd even address if it were similar.

In the code snippets show here: I'll see the okClick message so the event fires on the view that comes up after popup button clicked, but the dispatch event of SELECTIONS_MADE doesn't seem to get hit in the backing mediator? (Hopefully it's just a stupid typo on my part or something?)

http://pastebin.com/m35a45738

  1. 1 Posted by rickcr on Feb 19, 2010 @ 02:54 AM

    rickcr's Avatar

    Ok, we can close this ticket i think:) I was being stupid. I won't really need a separate mediator for the popupButton panel i'm using. I'll handle the events on the parent calling the popup. All event handlers will be set there for the child. At least that's how I think it should work.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac