pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duto <olivier.dutri...@pasteur.fr>
Subject Re: capture first event selectedIndexChanged on Accordion when the application is display
Date Mon, 23 Aug 2010 09:09:54 GMT

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.

Mime
View raw message