Solution for starting a mediator with the view being an itemrenderer from a list from a popUp
Hi,
I wanted to share and ask for opinions a solution that i created in
the problem of registering a mediator of an item renderer from a
popUp, in 2 easy stepts:
So:
STEP 1:
mapView with the mediator, but eliminate the autostart options,
like so:
mediatorMap.mapView(ItemRendererView, ItemRendererMediator, null,
false , false);
STEP 2:
In the mediator mapped with the List View i listen for the item
renderers that are being created:
---
view.dataGroup.addEventListener(RendererExistenceEvent.RENDERER_ADD,
onRendererAdd); the Handler:
--- mediatorMap.createMediator(e.renderer);
Thank you for reading, i hope it is useful :)
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
Stray closed this discussion on 29 Apr, 2011 06:18 PM.