PDA

View Full Version : [CLOSED] Common scope for multiple listeners of one component



matt
Nov 20, 2014, 12:46 PM
Hi,

I have multiple listeners of one component. For example GridPanel with BeforeRender, AfterRender listeners:


<Listeners>
<AfterRender Fn="my_scope.afterRender" Scope="my_scope" />
<BeforeRender Fn="my_scope.beforeRender" Scope="my_scope" />
</Listeners>

Is there a way (not only for GridPanel but other components too) to set the Scope="my_scope" globally? That would be nice not to repeat it in every Listener.

Thank you,

Daniil
Nov 20, 2014, 3:06 PM
Hi @matt,

Agree, it would be useful to have, but, unfortunately, there is no such a setting.