problem with combobox Countrylist display using webservice

Hi, I am very new to flex, I am trying to display countrylist in ComboBox but it does not, Pls guide me with your ideas, I give request Web service thorugh my service works correctly I tested, 100%

Flex Code:

[Bindable]
private var Country_arrlst:Array;
public function creationComplete (): void
{
userRequest.getCountries ();
}

private void remotingCountryHandler(event:ResultEvent):void {}

Country_arrlst = new Array (event.result as Array);
Country_arr = new ArrayCollection (Country_arrlst);
}
[]] >

< / mx:Script >
" < mx:WebService id ="userRequest"wsdl =" http://localhost: 8080/axis/services/flexdemo1? wsdl ">

"< name mx:operation ="getCountries' fault = "mx.controls.Alert.show (event.fault.faultString)" result = "remotingCountryHandler (event)" / >

< / mx:WebService >
< mx:ArrayCollection id = "Country_arr".
source = "MX.utils.ArrayUtil.ToArray (userRequest.GetList)" / >
<! - user interface - >
< mx:VBox id = "hb1" borderStyle = "solid" width = "100%" height = "100%" backgroundColor = "white" >
< mx:Panel title = "Transaction search form" fontSize = "12" color = "black" fontWeight = "bold" fontFamily = "Arial" width = "100%" height = "100%" >
< mx:Canvas borderStyle = "solid" width = "100%" height = "100%" >
< mx:Label text = "' country: ' x '20' = y ="110"/ >"
< mx:ComboBox id = 'countrylist"dataProvider ="{Country_arr}"x ="94"y ="107"height ="24"width ="202"/ >
< / mx:Canvas >
< / mx:Panel >
< / mx:VBox >
< / mx:Application >

Hello

FIX: you array collection:

private var Country_arr:ArrayCollecion = new ArrayCollection collection;

private void remotingCountryHandler(event:ResultEvent):void {}
Country_arr = ArrayCollection (event.result);
}

Set the label to drop-down list with the name of the data field.

Let me know

Johnny

Please rate answers

Tags: Flex

Similar Questions

  • I had a problem with slow, so I used "reset". The popup ran forever so I stopped it. Now I can not remove or add the program.

    I had a problem with slow, so I used "reset". The popup ran forever so I stopped it. Now I can not use, remove or add the program. How should I proceed?

    TIA,
    BWSwede

    Try to create a new profile.

    See "create a profile":

    If the new profile works then you can transfer files from a profile in the new profile, but make sure not to copy corrupted files.

    What problems do you have that you want to reset Firefox?

    Firefox creates a new folder of old data of Firefox on the desktop?

    If reset you Firefox and a new profile is created and some of your data (bookmarks, passwords, cookies, form data) is automatically imported and your current profile will be moved on the desktop (old data of Firefox).

  • Problem with pole-zero analysis using multisim

    Problem with pole-zero analysis using multisim

    Party a pole / zero analysis is linearizing circuit using an operational RODC analysis, in which a driver acts as a short circuit. The problem is that in your circuit, the inductor in parallel with a source of internal tension unit.

    Use a small resistor (1mOhm will do in your case) in series with the generator output functions to break the loop short-circuit.

  • Problem with external monitor when used with the Satellite P100-434

    I'm trying to use a Vizitron L - 151 monitor flat screen connected to the VGA port on the back of my Satellite P100 - 434 (PSPADE)

    I find that the screens seem to periodically - feeding cycle windows resize themselves and then the screens settle down again. This happens with the laptop and the external monitor.

    I've updated the latest available BIOS V4.20 (November 2, 2007) I use 7.15.11.6369 NVIDIA GeForce Go 7600 driver version. I'm under the edition of Vista Home Premium to standard build.

    I even resorted to the use of the dvd system recovery to rebuild completely the laptop and the problem persists. In Device Manager I have generic Non - PnP monitor and below that I have a generic PnP monitor I tried and it is not possible to get specific drivers for the monitor Vizitron L-151. * NOTE * I saw dxdiag that the external display is identified the Non - PnP device

    The display configuration that I'm trying to use is to have my laptop as the main screen with the external display on my left as an extension to the desktop. In display config my computer screen appears as number 2 with the additional display in the poster as a device 1

    While typing this my screens have made this three times and the last time, this IE7 window installs itself to the external display in restored down to size.

    If anyone has a glimpse of it, I would be very grateful. There are no problems when the external display is deleted.

    _I can reproduce this problem on demand_ by uninstalling the monitor Non - PnP Device Manager.

    Sorry, mate, but you ad confuses me a little and be hones I m not 100% sure what you take on
    You have some problems with the resolution of the external display or what?

    I've found another thread on the setting of the external screen as main screen:
    http://forums.computers.Toshiba-Europe.com/forums/message.jspa?MessageID=96263#96263

    According to this statement:
    > In display config my computer screen appears as number 2 with the additional display in the poster as a device 1
    It seems that the external monitor has been on the main screen and display books internal as external.

    I recommend you change this settings and to use books appear as 1 and the external display form 2.

  • Pavilion dv4-2170-us has problem with connection light display

    The cover on my laptop seems to have a bad connection, because I have to play with the angle to get the screen to

    show anything.  Sound very, very delicate.

    Is this something that can be fixed by a tech or should I get a new laptop?  I'm asking because there is another nother

    problem with function of my computer.

    HI @compugirl ,

    I understand this thing you display may have a bad connection that you have to play with, then fish on the screen to show the line.

    Want to know if this could be fixed by a tech.  The short answer is Yes.  Here is a link to 2009decembre 17 December 17, 2009 HP Pavilion dv4 Entertainment PC Maintenance and Service of Guide. Please note Chapter 3 page 3 for a list of the replacement screens supported by number of the part.

    It may just be a connections loose as you said, either a bad connection cable...  The cable may have become defective through the opening and closing of notebook, during normal use.  Please note Chapter 4 page 27 for the removal of the screen procedure.  Before considering the replacement of the screen, I would try a new cable first to exclude it.  You should be able to buy the cable to any computer supply store.

    I hope this has helped.

  • Re: Problems with Microphone when I use Skype

    Could anyone help with the problems I am experiencing with the microphone when using Skype?
    I also tried to use an external, but still problems with the other person can't hear me, y at - it a setting I can adjust its been to Toshiba and they said that there is no fault.

    Any help would be appreciated.

    In fact internal mic works well with Skype.
    All you need to do is enter the sound options of Skype and check the settings there especially if you use the headset.
    Play around with these settings.

  • Laptop G60-549DX (with OS Windows7-problem with the microphone when using Skype)

    Just bought a laptop G-60-549DX. His mic is BAD. Voice of cuts to when using Skype. Help!

    I was able to solve the problem with the microphone on the G60-549DX when using Skype.  I spend up to 6-8 hours, talk with convenience stores of HP.  They were very friendly and helpful.  The same help a friend.  My friend downloaded updated bios and micro drivers.  HP technician asked me to turn off the laptop, then remove the battery, unplug the power cord. With battery removed and stop, I pressed the market / off power button for a good minute evacuate remaining power into the computer. When I restarted the laptop I micro worked. I did a little more fine-tuning of the installation of the microphone.  Now, it works well on Skype and sound recorder. I won't take this back within the 14 days return policy.  It's a good computer I can say.  The technicians were all very friendly and helpful.  They called me several times to check to see if it still works OK! They are HUGE!  They want to help with any other question, I have perhaps with the computer.  Thank you very much for the help. Everyone was SO helpful.

  • HP Photosmart 6520 and problems with the air IPAD using IOS 8.0.2

    Used APPLE IOS 7. No problem with printing to the 6520. Now, I've updated to version 8.0.2. now, to get a message on the IPAD, saying: 'no printer not found '. No printing from laptop to printer and no problem shows on laptop as the printer selected in the folder devices and printers. Y at - it an update of software of HP to run version 8.0.2. .

    JERENDS, thanks for your response. I had already tried the "hard restart" at the suggestion of the Apple Tech Help, but that doesn't seem to help. But late last night after posting my question Imtried print again and IPAD are my printer without problem. Why he couldn't find yesterday morning but has been able to find it later in the day is one of the mysteries of life, I guess.

  • Problems with CDM - Tracert displaying a line and connection with FTP problems

    I am currently in a class of networking and server, so am pretty new to this.  I'm running a virtual PC with Windows 7 Professional 32-bit and a few problems with my command prompt.  When I use the tracert command, any URL that I use, it returns only a single line.  It also does not matter whether I run it as administrator.  Here is an example of what it returns:

    I also have problems to connect to a server by using FTP.  The mission was to connect to the FTP server of NASA and practice to transfer images on.  I am able to connect, but as soon as I use the 'ls' command that I am, it will expire or say "connection closed by remote host". I encountered this same problem on my PC at home on a regular basis as well.  I used a computer friend, followed the exact same steps and it worked very well on his own. Here's what I saw:

    Any help would be appreciated.  Thank you!

    Hello

    Thanks for posting your question in the Microsoft Community.

    The question you posted would be better suited in the TechNet Forums.

    I would recommend posting your query in the link below.

    Windows 7 networking:

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

    I hope that the information above helps you.

    In the future if you fall on any question relating to Windows, please do not hesitate to post your request here on Microsoft Community, we will be more than happy to help you.

  • Problem with lines in Illustrator using the Wacom Tablet

    Hi all

    I have no idea why I'm having this problem in Illustrator. I use the small Intuos Pen Tablet (CTL-480), and my lines in illustrator is really strange. Even when I turn off the pressure in the brush settings, there is a gap in the line (it takes just one line of the same thickness). The Tablet works perfectly in Photoshop, but because I use the tablet to create art using plates (typography), it is easier and better for me to use illustrator. You are not sure that someone else had a similar problem or know maybe a setting I could change or try to fix it?

    I have attached a picture of the problem.

    Screen Shot 2016-05-06 at 7.58.21 PM.png

    Screen Shot 2016-05-06 at 6.46.21 AM.png

    Thank you for your help.

    This is a known issue.

    If all you want is a line single width, do not use brushes. Use the pencil tool and a simple blow

    If you apply a calligraphy brush, apply the effect zig - zag to it with a value of 0, then a setting of about 100 (turn on the preview to adjust)

  • Seeking help with a problem with the LR I use LR CC on a laptop, when you try to export a picture to an external hard drive, I am now without apparent reason to get the following message, "could not create a JPEG sponsor limit you 92 k Bytes.Plea.

    Seeking help with a problem with the LR


    I use LR CC on a laptop, when you try to export a picture to an external hard drive, I am now without apparent reason to get the following message.

    "Could not create a respondent JPEG limit you 92 k Bytes.Please increase the size limit files
    . (1).

    .....

    I tried to increase the size of the file several times,

    I left LR

    I restarted the computer.


    Any help or advice for this problem will be greatly appreciated


    Thanks in advance


    @stu

    Not because of the number of pixels, in this photo and the chosen level of quality there is no possible way to create a JPG file to the size of file you requested. You must change your export settings.

    Show us a copy of the export dialog box, so we can see clearly the part file setting and the size of the Image.

    Also indicate the number of this image (width and height) pixels after cropping (as appropriate) and prior to export.

  • Problem with the compilation by using the new compiler (Compilation failed during execution: compilation-abc)

    Hello

    Since the release of the fast compiler, I experienced problems with the compilation of the version release with it.

    As it was still in beta, and since it was still possible to use the legacy compiler, I chose to use the legacy compiler each time (especially since it was more stable).

    With this 64-bit iOS requirement came into play on February 1, the legacy compiler is no longer available because it has been completely removed from AIR 16 (and all future versions).

    Now, I can no longer compile release versions (debug versions are works well) because I have the following error every time:

    Error occurred during the application of packaging:

    Stack dump:

    0 program arguments: C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\aot/bin/compile-abc / compile - abc.exe - mtriple = armv7-apple-ios - filetype = obj - sdk C:\Program Files\Adobe\Adobe Flash Builder 4.7 (Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\aot/lib/avmglue.abc 64-fields C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\aot/lib/air-fields.)) arm-air.txt-O3-ane-symbol = MmgCmApiExtInitializer - ane-symbol = MmgCmApiExtFinalizer - ane-symbol = MmgRbApiExtInitializer - ane-symbol = MmgRbApiExtFinalizer - ane-symbol = MmgStoreKitApiExtInitializer-ane symbol = MmgStoreKitApiExtFinalizer-ane symbol = MmgGoViralApiExtInitializer-ane symbol = MmgGoViralApiExtFinalizer-ane symbol = MmgGaApiExtInitializer - ane-symbol = MmgGaApiExtFinalizer - ane-symbol = MmgGAIDFAAccessApiExtInitializer - ane-symbol = MmgGAIDFAAccessApiExtFinalizer - ane-symbol = AFExtensionInitializer - ane-symbol = PushwooshExtInitializer - ane-symbol = PushwooshExtFinalizer elease-temp\AOT\AOTBuildOutput4982262150932522887.tmp\ABCFilesList.txt-abc-file-list=C:\BingoIslandWeb\Client-branch-1.06.05\BingoIslanMobile\BingoIsland\bin-r

    Compilation failed during execution: compilation-abc


    I tried to pin-point the source of the problem leaving specific things in the code, while removing all the rest,

    But so far, all I could find is that he has a problem with the classes that extend EventDispatcher.

    Anyone encounter this problem and knows how to work around it?

    Thank you!



    I had this problem also with other things. It was difficult to solve. Remove all const and var conversion in the Document class solve my problems

  • Calc problem with fact table measure used in the bridge table model

    Hi all

    I have problems with the calculation of a measure of table done since I used it as part of a calculation in a bridge table relation.

    A table of facts, PROJECT_FACT, I had a column (PROJECT_COST) whose default aggregate is SUM. Whenever PROJECT_COST was used with any dimension, the appropriate aggregation was made at appropriate levels. But, no more. One of the relationships that project_fact is a dimension, called PROJECT.

    PROJECT_FACT contains details of employees, and every day they worked on a project. So for one day, employee, Joe, could have a PROJECT_COST $ 80 to 123 project, the next day, Joe might have $40 PROJECT_COST for the same project.

    Dimension table, PROJECT, contains details of the project.

    A new feature has been added to the software - several customers can now be charged to a PROJECT, where as before, that a single client has been charged.
    This fresh percentage collapse is in a new table - PROJECT_BRIDGE. PROJECT_BRIDGE has the project, CUSTOMER_ID, will BILL_PCT. BILL_PCT always add up to 1.

    Thus, the bridge table might look like...
    CUSTOMER_ID BILL_PCT PROJECT
    123 100.20
    123 200.30
    123 300.50
    456 400 1.00
    678 400 1.00

    Where to project 123, is a breakdown for multiple clients (. 20,.30.50.)

    Let's say in PROJECT_FACT, if you had to sum up all the PROJECT_COST for project = 123, you get $1000.


    Here are the steps I followed:

    -In the physical layer, PROJECT_FACT has a 1:M with PROJECT_BRIDGE and PROJECT_BRIDGE (a 1:M) PROJECT.
    PROJECT_FACT = > PROJECT_BRIDGE < = PROJECT

    -In the logical layer, PROJECT has a 1:M with PROJECT_FACT.
    PROJECT = > PROJECT_FACT

    -Logical fact table source is mapped to the bridge table, PROJECT_BRIDGE, so now he has several tables, it is mapped (PROJECT_FACT & PROJECT_BRIDGE). They are defined for an INTERNAL join.
    -J' created a measure of calculation, MULT_CUST_COST, using physical columns, which calculates the sum of the PROJECT_COST X the amount of the percentage in the bridge table. It looks like: $ (PROJECT_FACT. PROJECT_COST * PROJECT_BRIDGE. BILL_PCT)
    -J' put MULT_CUST_COST in the presentation layer.

    We still want the old PROJECT_COST autour until it happened gradually, it is therefore in the presentation layer as well.


    Well, I had a request with only project, MULT_CUST_COST (the new calculation) and PROJECT_COST (the original). I expect:

    PROJECT_COST MULT_CUST_COST PROJECT
    123. $1000 $1000

    I'm getting this for MULT_CUST_COST, however, for PROJECT_COST, it's triple the value (perhaps because there are quantities of 3 percent?)...

    PROJECT_COST MULT_CUST_COST PROJECT
    123 $1000 (correct) $3000 (incorrect, it's been tripled)

    If I had to watch the SQL, you should:
    SELECT SUM (PROJECT_COST),
    SUM (PROJECT_FACT. PROJECT_COST * PROJECT_BRIDGE. BILL_PCT),
    PROJECT
    Of...
    PROJECT GROUP


    PROJECT_COST used to work properly at a table of bridge of modeling.
    Any ideas on what I got wrong?

    Thank you!

    Hello

    Phew, what a long question!

    If I understand correctly, I think the problem is with your old measure of cost, or rather that combines with you a new one in the same request. If you think about it, your request as explained above will bring back 3 rows from the database, that's why your old measure of cost is multiplied. I think that if you took it out of the query, your bridge table would work properly for the only new measure?

    I would consider the migration of your historical data in the bridge table model so that you have one type of query. For historical data, each would have a single row in the bridge with a 1.0 BILL_PCT.

    Good luck

    Paul
    http://total-bi.com

  • Problem with Textfield autocomplete--&gt; only use the INSTR function

    Hello team dev,

    I use the new "textfield autocomplete" item type APEX and you have a crazy problem with it.

    I have a table with an index on the same column I want to search with AutoComplete field.

    Index:
    CREATE BITMAP INDEX TEST.GEO_DATA_IDX1 ON TEST.GEO_DATA (postcode)
    NOLOGGING TABLESPACE TS_INDEX;
    Select which is automatically generated by APEX 4:
    SELECT   a.*
      FROM   (  SELECT   DISTINCT postcode AS RV
                  FROM   TEST.GEO_DATA
                 WHERE   country_id = :P1_COUNTRY
              ORDER BY   1) a
     WHERE   INSTR ("RV", :p$_search_string) > 0 AND ROWNUM <= :p$_max_rows;
    
    -- plan
    Plan
    SELECT STATEMENT  ALL_ROWSCost: 4,308  Bytes: 45,31  Cardinality: 1,97            
         2 SORT UNIQUE  Cost: 4,307  Bytes: 45,31  Cardinality: 1,97       
              1 TABLE ACCESS FULL TABLE #TABLE# Cost: 4,306  Bytes: 47,311  Cardinality: 2,057  
    The APEX 3, I used the addon of Tyler Muth with my own Select:
    SELECT   DISTINCT
                postcode AS DV,
                postcode AS RV
         FROM   TEST.GEO_DATA
         WHERE   country_id = L_COUNTRY
         AND    postcode like l_search||'%'
         ORDER BY 1
    
    -- Plan
    SELECT STATEMENT  ALL_ROWSCost: 840  Bytes: 152,867  Cardinality: 13,897                                
         8 SORT ORDER BY  Cost: 840  Bytes: 152,867  Cardinality: 13,897                           
              7 HASH UNIQUE  Cost: 838  Bytes: 152,867  Cardinality: 13,897                      
                   6 VIEW VIEW index$_join$_001 Cost: 836  Bytes: 232,111  Cardinality: 21,101                 
                        5 HASH JOIN            
                             2 BITMAP CONVERSION TO ROWIDS  Cost: 31  Bytes: 232,111  Cardinality: 21,101       
                                  1 BITMAP INDEX RANGE SCAN INDEX (BITMAP) #INDEX#
                             4 BITMAP CONVERSION TO ROWIDS  Cost: 45  Bytes: 232,111  Cardinality: 21,101       
                                  3 BITMAP INDEX SINGLE VALUE INDEX (BITMAP) #INDEX#
    Is there a chance to get my INDEX used by the new element of the APEX? I do not. But I still want to ask before I just rebuild. :)

    Best regards

    Tobias

    Hi Tobias,.

    I guess that you are currently using "contains and case sensitivity ' to the attribute of"search ". Have you ever tried out "Exact and case sensitivity? Because that internally uses the LIKE operator as does your original query and the % is at the end, she must allow the use of an index. But it might still work, because ORDER BY can be run at a different time in your original example, but it's worth a try.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Problem with the site display in IE

    I'm trying to put together a site (www.4keys.ca).  Everything works well in Firefox, Safari, and Chrome, but when I try to see things from IE to jumble.  I've set up my Mac computer's site. Anyone know what could cause this problem with IE and how it can possibly be solved?  Thanks for your time.

    See no difference, it comes out the same in Explorer, probably a version pb... but you should really try and use div instead of table and have your css in a separate file, it will be much simpler and to highlight the issues less browser

Maybe you are looking for