Oki I fund a solution : I add the event directly on bxml file like this :
<Accordion>
<accordionSelectionListeners>
<![CDATA[
function selectedIndexChanged(accordion,
previousSelectedIndex) {
...
}
]]>
</accordionSelectionListeners>
<BoxPanel .../>
<BoxPanel .../>
</Accordion>
The event need to be add before the panels of Accordion if not it's like
than declare the event on class via initialize() of bindable parent
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/capture-first-event-selectedIndexChanged-on-Accordion-when-the-application-is-display-tp1286282p1286479.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.