You should probably just dispatch an event that bubbles from within the
renderer when the button is clicked... you can then send the button (or
just the label) in the event payload. Your code that needs it can
register as a listener for the event on the component that holds your
items (list or whatever) and get data from the event when notified.
Note: if you dispatch the event from the button itself the currentTarget
will probably be a ref to your button object and you may not need a
custom event.
hth
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
flexawesome wrote:
any suggestions?
Thanks
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, flexawesome [EMAIL PROTECTED]
wrote:
Hey there,
Is there a way to retrieve the button label name once user click the
button? ( the button label name is CLICK HERE and in itemRenderer )
Main Application:
http://ted.adobe.privatepaste.com/661uYqmygR
http://ted.adobe.privatepaste.com/661uYqmygR
Components:
http://ted.adobe.privatepaste.com/d70RBUknYg
http://ted.adobe.privatepaste.com/d70RBUknYg
SNOW today, stay warm