Spark ComboBox new item does not display in textInput?

I've been playing with s:ComboBox and generally like them a lot. One detail is driving me nuts though - most likely due to my lack of knowledge in the subject - is that if I try to add a new item to my dataprovider in a changeHandler (registered to the change event) the text for the ComboBox textInput disappears - although the item addition works perfectly. Interestingly enough the same operation works fine if it gets called by clicking on a button, i.e. post the change event has been processed, and the text does not disappear. To better understand what I'm talking about check out the code from http://help.adobe.com/en_US/flex/using/WS70f0d54f063b9b081aac8d1d1247252e4a0-8000.html#WS7 0f0d54f063b9b08626480d2124725f692c-7fff
and try to add a new item and hit enter. Taking the same code from myCB_changeHandler and using it as a button click event instead of a change event handler yields to the behavior I'm looking for, i.e. the new item appears in the CB textInput field and when clicking the button gets added to the data provider while not disappearing from the textInput. Is there a way to accomplish this same behavior in the change event handler?
thank you!
f

thank you!
that does the trick!
f

Similar Messages

  • "View Selected Item" does not display

    I'm using RoboHelp7 out of the Technical Communication Suite.
    When I'm working on a topic and select the
    View Selected Item button, the topic does not display. When
    I first tried yesterday, nothing happened (IE didn't open and there
    was nothing in my tray). I contacted Oversea's support and was
    informed that there wasn't an incident for this occurance. I was
    instructed to uninstall and reinstall RoboHelp.
    I uninstalled and reinstalled the applications and the button
    still doesn't work; however, this time there is an hourglass for an
    instant before not producing any results.
    The button doesn't work with anything that I've created or
    with the example projects (Clownfish School). Any help would be
    greatly appreciated. I'd hate to have to regenerate the project
    just to look at a quick change.
    Thanks,
    Matt

    Sounds like I need to add a note to that Snippet. Thanks.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Report deployed to new server does not display static image

    Hi,
    We have several web sites on a server running Windows Server 2008 R2 Standard, SP1, 64-bit.  It has installed .NET Framework 4 Client Profile and Extended, ver. 4.0.30319 (according to Control Panel->Programs, as well as c:\Windows\Microsoft.NET\Framework).  Two of the sites use many Crystal Reports, most of which include a static image as a logo. This image is embedded in each report; there is no stand-alone image file that gets deployed.
    Recently, we migrated to a new server, running the same version of Windows & .NET Framework.  As near as we can tell, the 2 servers are nearly identical, as far as configuration and permissions, etc. One notable exception is the DefaultAppPool, which is Classic on the original server and Integrated on the new. (When I changed the new server to Classic, the apps failed to run properly.)  The other exception is the old server is on a stand-alone box, while the new server is a virtual machine.
    For one of the apps on the new server, the embedded logo images are not displaying on the page.  Instead, there is a little red X with the word "Image".  For the other app on the new server, the reports display fine.  Furthermore, if I copy one of the "broken" rpt files from the "broken" app to the "good" app, the report displays correctly!  And of course, the same file displays correctly in all circumstances on the old server.
    This suggests to me that there is not a problem with the report file, per se', but rather with the environment to which it is deployed.  Permissions?  If so, where?
    Any suggestions would be much appreciated.
    Thanks.
    --d

    The search string 'crystal red x net' (search box in top right corner) should return a number of KBAs, docs, blogs, etc. See if any of those help.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Menu Items does not display after Making ARD file

    Hi Experts
    I have created a Addon Which has Five Menu Items. Three Items in Setup->Inventory and Two in Inventory->Inventory Transcation. It will woriking fine when I run my addon from Visual Studio directly But after created ARD file It does not show Menu items. There was no error during making ARD. I tried three times. But result is same it does not show any Menu Items. Plz suggest me Code is given below. I Use VB B1 AddOn Wizard for creating Menu Items This has a seprate addMenu.xml module.
    <Application>
      <Menus>
        <action type="add">
          <Menu Checked="0" Enabled="1" FatherUID="43540" Image="" Position="9" String="Bin-In" Type="1" UniqueID="AM_1" />
          <Menu Checked="0" Enabled="1" FatherUID="43540" Image="" Position="10" String="Bin-Out" Type="1" UniqueID="BINOUT" />
          <Menu Checked="0" Enabled="1" FatherUID="43540" Image="" Position="11" String="Intra-WH Movement" Type="1" UniqueID="INTRA_WH" />
          <Menu Checked="0" Enabled="1" FatherUID="11520" Image="" Position="12" String="Zones" Type="1" UniqueID="Zone" />
          <Menu Checked="0" Enabled="1" FatherUID="11520" Image="" Position="13" String="Bin AddOn Setup" Type="1" UniqueID="Setup" />
          </action>
      </Menus>
    </Application>
    Thanks
    Gorge

    Hi,
    Did you included the AddMenus.xml in the extra files when you generated the installer?
    The AddMenus.xml file needs to be in the same folder as the addon exe. If there is no AddMenus.xml file there is no error raised, B1DE thinks there are no menus to add.
    You have to include all extra files in the installer when you generate it.
    Hope it helps
    Trinidad.

  • Web Page composer : new layout does not display Page Header Links Manager

    Hello,
    I am currently working with Web Page Composer, and this is my issue :
    when using original layout, the header are displayed with "Add to favorites", "Print", "E-mail" etc... and all chosen links via the "Select Page links" link.
    But whith my custom developped layout, I can choose wich links to display but they did not show up.
    I think my layout miss a configuration point, but I did not manage to find out which one.
    Does anyone have an idea ?
    Thanks a lot.
    Fabien.

    Hi Fabien,
    Probably, you might have missed something in the configuration part.
    Please ensure, you check all these steps, mentioned in here.
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/d2970be57f4ebbe10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/d31ee7d4876f74e10000000a1553f6/frameset.htm
    Good Luck.
    Sandeep Tudumu

  • New iPad does not display sent messages

    i set up the mail, send mial happily. but when i go to sent mail folder, it displays sent e-mails form last year, and all the wya back to 2011, but not the ones i sent this week since getting the new iPad.  anybody have any ideas?

    The model number that you listed is a WiFi only iPad (original, not iPad 2) so it will not connect to 3G data as I think you already know. 
    Doesn't one have to have an AT&T account to connect to attwifi?  If they do have an AT&T account and are trying to connect do they ever get to a logon screen (best way to bring it up is to try and access any site over the web, you'll get redirected to a sign-in page).
    Other question is how strong is the signal, I have lots of issues with public WiFi being strong enough for my device to see it, but not strong enough to actually connect and do anything.

  • Opening new tab does not display my home page by default, what setting do I change to achieve this?

    When selecting the open new tab option, in the past, the tab opened displaying my designated home page. It now opens displaying a YAHOO! search page. My home page settings have not changed and continue to display the correct address, selecting 'home' brings up the correct home page, at any time during browsing. Is there another location where this 'invalid' new tab address might be listed, and removed or reset ?

    VC you are a genius! I solved my problem with your solution.
    Thanks a lot!

  • Item does not display in correct position with TileLayout

    Please take a look at below coding. If I choose Frank and click button “age<5", the damn Frank stays still rather than the first column.
    What else should I do after refreshing the data list?
    Best Regards,
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                                            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
              <fx:Script>
                        <![CDATA[
                                  import mx.collections.Sort;
                                  protected function button1_clickHandler(event:MouseEvent):void
                                            // TODO Auto-generated method stub
                                            list.filterFunction = f1;
                                            list.refresh();
                                  protected function button2_clickHandler(event:MouseEvent):void
                                            // TODO Auto-generated method stub
                                            list.filterFunction = f2;
                                            list.refresh();
                                  private function f1(item:Object):Boolean
                                            var i:int = int(item.age);
                                            return i<20;
                                  private function f2(item:Object):Boolean
                                            var i:int = int(item.age);
                                            return i>5;
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
                        <s:ArrayCollection id="list">
                                  <fx:Object name="April" age="1"  sex="male" />
                                  <fx:Object name="Brown" age="2"  sex="male" />
                                  <fx:Object name="Cindy" age="3"  sex="male" />
                                  <fx:Object name="Daren" age="4"  sex="male" />
                                  <fx:Object name="Emily" age="5"  sex="male" />
                                  <fx:Object name="Frank" age="6"  sex="male" />
                                  <fx:Object name="Green" age="7"  sex="male" />
                                  <fx:Object name="Helen" age="8"  sex="male" />
                                  <fx:Object name="Ice" age="9"  sex="male" />
                                  <fx:Object name="Jack" age="10"  sex="male" />
                                  <fx:Object name="Lance" age="11"  sex="male" />
                                  <fx:Object name="Mary" age="12"  sex="male" />
                                  <fx:Object name="Nancy" age="13"  sex="male" />
                                  <fx:Object name="Opera" age="14"  sex="male" />
                                  <fx:Object name="Quntas" age="15"  sex="male" />
                                  <fx:Object name="Ray" age="16"  sex="male" />
                                  <fx:Object name="Stone" age="17"  sex="male" />
                                  <fx:Object name="Tom" age="18"  sex="male" />
                        </s:ArrayCollection>
              </fx:Declarations>
              <s:List x="69" y="57" width="320" height="320" dataProvider="{list}" itemRenderer="spark.components.LabelItemRenderer"
                                                      labelField="name">
                        <s:layout>
                                  <s:TileLayout columnWidth="100" orientation="rows" requestedColumnCount="3"
                                                                                                        requestedRowCount="3" rowHeight="100"/>
                        </s:layout>
              </s:List>
              <s:Button x="63" y="9" label="age &lt; 20" click="button1_clickHandler(event)"/>
              <s:Button x="157" y="9" label="age &gt; 05" click="button2_clickHandler(event)"/>
    </s:View>

    Hi,
    It seems that is a problem with selectedIndex.
    Try:
    protected function button1_clickHandler(event:MouseEvent):void
        myList.selectedIndex = -1;
        list.filterFunction = f1;
        callLater(applySort);
    protected function button2_clickHandler(event:MouseEvent):void
        myList.selectedIndex = -1;
        list.filterFunction = f2;
        callLater(applySort);
    private function applySort():void
        list.refresh();
    <s:List id="myList" x="69" y="57"...
    Philippe

  • Mail RSS: Apple Hot News RRS does not display html page/images

    Hi, everyone who use Lion in my community has Apple Hot News RRS and it is perfectly displayed in Mail RSS feed. as an html letter with pctures and etc.
    I get only plain text with "read more" in the end.
    I tryed to find the solution in every preference, option or right click - but either I'm too dumb or it is too complicated to be changed?
    Please help.

    Something I didn't mention in my original post: when I view the messages in webmail using Safari (the latest), all the content is there; but when the same messages are brought into Mail the content disappears.
    Fortunately for me, the issue seems to reside only in content coming from this particular server; other html content comes through just fine. This is why I spent a week in server-side tech support. But because the content is viewable in ALL OTHER mail clients AND webmail, they think it's a problem with Mail.
    And yes, I've fiddled with my phplist config.php file, and compared it to other phplist config settings that I use successfully. Besides the things that must change, all other settings are identical.
    Apple tech? Any response?

  • In the older version of Firefox I could "view source" but the new version does not display it. What happened to it and where can I find it now?

    The new version of Firefox "View" tab only shows Toolbars, Sidebar, Zoom, Page Style, Character Encoding and Full Screen. Where can I find "source" in the new version?

    View Page Source; try any of these:
    *CTRL+U
    *right-click on the page, choose View Page Source
    *Firefox button > Web Developer > View Page Source
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • New update does not display appointments

    My calandar will not show appointments since I downloaded the new update. My alarm went off for a future appointment but can not see it. I would appreciate any help someone can offer.

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    *Firefox 9.0.x: http://www.mozilla.org/en-US/firefox/all.html
    *Trash the current Firefox application to do a clean (re-)install
    *Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • New itunes does not display different device

    On the new Itunes can you delete songs from one device but not the other.  I do not see where it shows the device we are deleting from in the songs.

    That's usually related to troubles with the Segoe_UI fonts on your system, tester. Unfortunately, dealing with the issue on a Windows 7 system is trickier than on XP or Vista. (There's a bunch of different possible issues relating to the fonts that could be in play, and so the treatment tends to depend on which issue in particular you've got with the Segoe_UI fonts.)
    For discussions of various Windows 7 variations of the "Missing text" thing, and possible treatments, see the following (unfortunately, rather long) topic:
    iTunes 10.1 Missing Text

  • On resize of report, some data does not display in full

    I have to modify a standard report, so I adjust the main section width from 11 t0 14, and the report width from 132 to 142. I compiled the report and run it. I noticed that some items does not display in full, even the text item header.
    ex:
    prev after modif
    1234.45 123
    Fname Fnam
    Account Accou
    At design mode, I can see that the space is enough for the item to display its full value. Anybody knows to deal with this?
    this report is run thru oracle apps.

    treehuggerinny wrote:
    > This the the search result screen:
    >
    http://67.199.64.241/consumers/srchresult.asp?gender=either&searchword=&zip=&fir
    > stname=&LastName=&go=Search
    >
    > If you choose Herrmann, there should be narratives.
    >
    > Any thoughts would be most appreciated!!!
    I see that you're using ASP, if the fields in question are
    memo fields in Access or nText fields in SQL server, then it's
    possible that the following tech note may help out:
    http://www.webassist.com/media/professional/support/technotes/10009.pdf
    Or you may need to specify all of your columns (not SELECT *
    ) and manually move the memo/ntext fields to the end of the list of
    fields.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Windows Phone 8.1 xaml, c# ComboBox does not display selection when first item is selected from full page list.

    I have 3 comboboxes on a xaml page and most of the time when I select the first item on the full page list displayed when the number of items are > 5, the screen returns to the combobox and the box is blank. The combobox.SelectedItem is valued but it
    does not display.  This does not happen every time and I have seen this using the emulator and my windows 8.1 phone.  If I select any other item in the list they always display but when I go back and select the first item the box is blank. 
    Does anyone know what I could be doing that is causing this?

    Thanks for your help.  When I run the code below and the page is displayed, I select an item from the page list and it displays fine and then I select the first item from the page list and I do not see that selected item in the box. 
    If I remove the SelectedIndex=0 it all works fine except I do not have an item selected for the initial display.  Below should show problem and should work copy/paste in universal blank app.
    ScrollViewer x:Name="scrollViewer1">
            <StackPanel x:Name="stackPanel1" Background="Transparent">
                <ComboBox x:Name="comboBoxTestTypes" Margin="20,117.75,0,465.25" SelectedValuePath="ItemDescription" Width="310" Height="Auto" FontSize="17"
           ItemsSource="{Binding}" HorizontalAlignment="Left" VerticalAlignment="Center">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding ItemDescription}" />
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>
     </StackPanel>
        </ScrollViewer>
    public sealed partial class MainPage : Page
            public ObservableCollection<ItemDetail> itemDetail;
            public MainPage()
                this.InitializeComponent();
                this.NavigationCacheMode = NavigationCacheMode.Required;
                this.itemDetail = new ObservableCollection<ItemDetail>();
            protected override void OnNavigatedTo(NavigationEventArgs e)
                PageLoad();
            public class ItemDetail
                public string ItemDescription { get; set; }
                public string ItemName { get; set; }
            private async void PageLoad()
                await initializeTypes();
                var comboBoxTestTypesItemsSource = await GetTestTypes();
                comboBoxTestTypes.ItemsSource = comboBoxTestTypesItemsSource;
                comboBoxTestTypes.SelectedIndex = 0;
            private async Task initializeTypes()
                await addTestType("Item1");
                await addTestType("Item2");
                await addTestType("Item3");
                await addTestType("Item4");
                await addTestType("Item5");
                await addTestType("Item6");
            private async Task<ObservableCollection<ItemDetail>> GetTestTypes()
                //ObservableCollection<ItemDetail> list = new ObservableCollection<ItemDetail>();
                //Random rnd = new Random();
                //for (int i = 0; i < 50; i++)
                //    list.Add(new ItemDetail() { ItemDescription = "hello" + rnd.Next(0, 1001), ItemName = rnd.Next(0, 101).ToString() });
                await getSaveDataFileDataAsync("get");
                return itemDetail;
            private async Task addTestType(string description)
                int newIdAdd = 0;
                if (itemDetail != null && itemDetail.Count > 0)
                    newIdAdd = itemDetail.Max(mT => Convert.ToInt32(mT.ItemName)) + 1;
                var addTestType = new ItemDetail();
                addTestType.ItemName = newIdAdd.ToString();
                addTestType.ItemDescription = description;
                itemDetail.Add(addTestType);
                await getSaveDataFileDataAsync("save");
            private async Task getSaveDataFileDataAsync(string getSave)
                try
                    DataContractJsonSerializer jsonSerializer1 = null;
                    string dataFileName1 = "testFileName";
                    jsonSerializer1 = new DataContractJsonSerializer(typeof(ObservableCollection<ItemDetail>));
                    if (jsonSerializer1 != null && getSave == "get")
                        using (var stream1 = await ApplicationData.Current.LocalFolder.OpenStreamForReadAsync(dataFileName1))
                            itemDetail = (ObservableCollection<ItemDetail>)jsonSerializer1.ReadObject(stream1);
                    if (jsonSerializer1 != null && getSave == "save")
                        using (var stream1 = await ApplicationData.Current.LocalFolder.OpenStreamForWriteAsync(dataFileName1, CreationCollisionOption.ReplaceExisting))
                                jsonSerializer1.WriteObject(stream1, itemDetail);
                catch

  • I installed the latest version of iTunes (10.6.3.25) on a new Windows 7 PC.  I can see ahred libraries on Shared but can't import as the line containing the Settings and Import buttons does not display.   Any suggestions?

    To move the iTunes library to this new computer I switched on Home Sharing and can see the other libraries on my home network.  If I select tracks from a Shared library I can't import them as the strip containing "Show: All Items" and the "Settings" and "Import" buttons, does not display at the bottom of the screen.  Goes straight from the list of tracks to the strip with Playlist icons and xxxx items, tttttt total time, yyyy GB. 
    Any suggestions for making the Import button appear?

    I hvae the EXACT same issue
    I built a new computer which is EXTREMELY fast overclocked i7 ect and.. ITUNES DOESNT WORK
    I click on itunes which ive uninstalled and reinstalled and reset the winsock AND seen if there were any errors AAAAAAND ive check the Hkey to make sure bonjur was the only one in there which it is and all that happens is my cpu goes to 25% and i cant do anything except go into the task manager and close it! ANYTHING with itunes (everything else is premium speed).
    what do i do
    windows 7 64 bit

Maybe you are looking for

  • MP135 - TAXBRJ - Condição "ICW3" não contida na fórmula de cálculo de impos

    Olá pessoal, bom dia! Estou realizando a implantação da MP135 na versão 4.6 TAXBRJ. E no momento que vou realizar o faturamento da a seguinte mensagem. Condição "ICW3" não contida na fórmula de cálculo de imposto Você já passaram por isso? Tem alguma

  • Please help with my incessant spinning wheel of death!

    I have almost always had the spinning circle of death…  Almost the whole life of this late 2011 15" 4 GB mbp.  I just can not easily use this computer anymore. It takes so long to do anything.  I need to exit all apps but the one I am using to make i

  • ITunes 10.1.1 quits unexpectedly upon opening

    This just started today, I can't remember if I've tried opening iTunes since it last updated, but I use it regularly so I probably have and I've never had this problem before. I've tried uninstalling iTunes and reinstalling it from Apple.com, and I'v

  • Change logs for Exchange profile

    Hi All, Recently we had a problem with parameter "Bufferinstance" which needs to be False and it was changed to true due to which we had a problem with SLD. Now i have to find out who changed this parameter along with user and date/time details. Can

  • Vol is low even though adj all the way up.

    I have set up and adjusted vol high and still is low how can I correct this problem ?