dacat / sfapi

Automatically exported from code.google.com/p/sfapi
0 stars 0 forks source link

Expand support fo flexSelect command #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add support for the flexSelect command for the TabBar and LinkBar components.

Original issue reported on code.google.com by fergalha...@gmail.com on 20 Jan 2010 at 10:24

GoogleCodeExporter commented 9 years ago
FH,

Here is my first attempt at a patch file for this issue. Sorry I don't have a 
way to
test things yet as I'm still setting things up. I hope this is all that's 
needed for
this fix. It's all I saw that needed changed.

Original comment by johng.sst@gmail.com on 22 Jan 2010 at 4:38

Attachments:

GoogleCodeExporter commented 9 years ago
hi,

how do i use this patch?

thank you,

Original comment by charliet...@hotmail.com on 7 May 2011 at 6:40

GoogleCodeExporter commented 9 years ago
Hi,
I made change to support mx:tree object in this file based on the patch in 
comment 1. 
Please have a look at the new diff and merge it to next release. Thank you!

23a24
>       import flash.events.MouseEvent;
24a26
>       import mx.events.ItemClickEvent;
367a370,379
>                 case ReferenceData.LINKBAR_DESCRIPTION :
>                     return String(child.dispatchEvent(new 
Event(ItemClickEvent.ITEM_CLICK)));
>                     break;
>                 case ReferenceData.BUTTONBAR_DESCRIPTION :
>                     return String(child.dispatchEvent(new 
Event(ItemClickEvent.ITEM_CLICK)));
>                     break;^M
>                 case ReferenceData.TREE_DESCRIPTION :
>                     var itemrenderer:Object = 
child.indexToItemRenderer(child.selectedIndex);
>                     if (itemrenderer != null)
>                         return String(itemrenderer.dispatchEvent(new 
MouseEvent(MouseEvent.CLICK))); 

Original comment by sench...@gmail.com on 9 Feb 2012 at 2:43