I can't seem to figure out how to import multiple XML files in Flex

I can't figure out how to import multiple XML files in Flex and connect it to the DataGrids. Does anyone have ideas how to make this happen?

<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "
xmlns:s = "library://ns.adobe.com/flex/spark".
xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" minHeight >

< s:creationComplete >
<! [CDATA]
loader.addEventListener (Event.COMPLETE, getData);
loader.load (new URLRequest ("http://www.student.hint.no/~100471/mmt134/images/Reiseregning-Konradi_Kare_2011-01-30.xml"));   

[]] >
< / s:creationComplete >

< fx:Declarations >
<! - Place non-visual elements (e.g., services, items of value) here - >
< / fx:Declarations >

< fx:Script >
<! [CDATA]
var testData:XML;

var loader: URLLoader = new URLLoader();

public void getData(E:Event):void {}
testData = new XML (E.currentTarget.data);
grid.dataProvider = testData.descendants ('TravelSpecificationVO');
}

[]] >
< / fx:Script >

< mx:TabNavigator "22.7" = x y = '39.35' width = '536' height = "312" >
< s:NavigatorContent label = "Tab 1" width = "100%" height = "100%" >
< mx:DataGrid = "1.3" x = "-2.35" width = "507" height = "269" id = "grid" >
< mx:columns >
< mx:DataGridColumn dataField = "to_destinasion" headerText = "Til destinasjon" / >
< mx:DataGridColumn dataField = "from_date" headerText = "Klokkeslett" / >
< mx:DataGridColumn dataField = "from_destinasion" headerText = "Fra destinasjon" / >
< mx:DataGridColumn dataField = "to_date" headerText = "Klokkeslett" / >
< / mx:columns >
< / mx:DataGrid >
< / s:NavigatorContent >
< s:NavigatorContent label = "hkuhk" width = "100%" height = "100%" >
< / s:NavigatorContent >
< / mx:TabNavigator >
< / s:Application >

Hope this helps you:



 
  
 

 
  
   
   
   
   
  
 


Let me know if you need additional information.

Best regards

Pablo Souza

Tags: Flex

Similar Questions

  • How to import the XML file into an oracle table using a BPEL process

    Hi friends

    How can I import XML file in the db oracle table using a BPEL process

    (1) I have generated an XML file in my local system with a field
    (2) I created a temporary table in my oracledb with the same field in the XML file
    (3) that I want to import these XML files which is the local host to my db oracle using a BPEL process
    (4) for that what steps should I me fallow please suggest me if there is no document for this?

    Thanks in advance
    AT

    Hi to

    Here you go...

    http://blogs.Oracle.com/ajaysharma/2011/03/using_file_adapter_database_adapter_and_mediator_component_in_soa_11g.html

    I hope that helps!

    Thank you
    AJ

  • How to import the xml file into bcc?

    My input to atg file is xml containing assets of category or products.

    I want the Scheduler to run to auto create a project and send an e-mail to the customer for approval.

    When the client approves the xml file, and then run the Scheduler to get the data from the xml file into bcc.

    I use: SingletonSchedulableService for this

    Give me a direction for the same thing.

    Thanks in advance.

    I want to implement this in bcc.

    What listener will listen to the authorization of the client for email (that contains the XML to import) we sent to him?

    You will need to do a custom development to hang your workflow customized with incoming e-mail. To send notifications by mail electronic action is already there, and while creating his element within the ACC, you can specify a JSP page for the email template. You can view the rest of the relevant documents:

    Oracle, Web ATG Commerce - Workflows

    Oracle, ATG trade Web - action workflow items

    I recommend you to consult the existing source of DeploymentEmailer in \Publishing\samples\Java and see different types of DeploymentEvent and States can be used, based on your requirement in your custom component. See also these API javadocs for the process and the events of deployment available:

    DeploymentEvent (ATG Java API)

    DeploymentServer (ATG Java API)

    ATG has a component/atg/dynamo/service/POP3Service to retrieve messages from a POP3 e-mail server, but it is mainly used to detect the bounced email. Not too sure if it helps or adjustment in your case, but still you can go through all the details to know what is already there:

    Bounced from Oracle ATG Web Commerce - E-mail

    You can also check the event InboundEmail and API javadocs for InboundEmailMessage which are used in this function of rebound detection E-mail:

    Oracle, ATG trade Web - InboundEmail event

    InboundEmailMessage (ATG Java API)

    Now based on all this, if you extend and customize a lot of things, that it would be little complex and tedious detect mail incoming approval based on its content and then advance your workflow. Another approach may be to put a URL in the e-mail template of your notification by e-mail that the approver will click and on the landing page, you can authenticate and advance your workflow to the needs.

  • How to import multiple DNG files in first

    I want to import several files from a blackmagic 2.5 K camera raw DNG. Each clip is saved in a separate file:

    Screen Shot 2014-04-15 at 12.39.35 p.m..png

    I can import each clip separately by selecting the folder and clicking on a DNG file, but - for obvious practical reasons - I would import all planes at once. However, when I try to do, first does not matter the clips. Instead, it is important each folder and inside them, there is not a single element, but also many clips as files DNG aggravated this particular clip. In other words, if the clip had files DNG CENT ONE, first matter this clip ONE HUNDRED times, not once:

    Screen Shot 2014-04-15 at 12.51.29 p.m..png

    In this image, each file contains the INTEGER, not only a DNG file clip. Is there a solution for this? Otherwise, the DNG files must be imported one by one, which of course makes the workflow much more difficult.

    Hi @Softananda, I have the same problem as you, but I managed to find a more temporary solution which is perhaps useful for you or other users.

    You can go into the folder where all your rushes are and simply search for all files that subfolders ending with 00000.dng

    This way, you will have all the dng files first of each sequence, and you can move directly to your media in the first pool, where they appear as unique sequences of all your dng files.

    For me, it works like a charm.

    I hope it's useful for someone.

    Bye!

  • Cannot find out how to import photos

    I was watching YouTube videos but also read the tutorials and I can't figure out how to import a single photo.

    This is what my screen looks like at- http://i.imgur.com/kODcL9t.jpg

    Everything I watch or read, it seems that I need to click on import > select a folder containing image files > and then I'll see thumbnails contained in this folder.  But no matter what folder I selected, though there are JPEGs, RAW files, anything, there are no previews and the import button is grayed out.

    Activating/Deactivating the subfolders box does not help.  HARD drive is running.

    I'm probably just something wrong.  :/

    Maybe you can say?  Lightroom - YouTube

    EDIT: I deleted my preferences file and that seemed to fix it.  No idea what was wrong.  If anyone else needs it, it's at: C:\Users\[username]\AppData\Roaming\Adobe\Lightroom\Preferences\Lightroom 5 Preferences.agprefs

  • I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a

    I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a game on FaceBook called Farm Town at all, and I get a popup of AVG on the cookies that I can't get rid of. These issues are causing me to use Chrome quite often, although I like Fox better. I've searched and searched how to get help and find nothing. How can I get personalized technical help? These problems will not occur in Chrome at all. Thank you.

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • P1102w printer: have new router and can not figure out how to print wireless at P1102w printer - he sees old router

    I installed a new router (Netgear R6220) and cannot figure out how to get the P1102w printer to recognize the new router. It shows the former name of the router (Belkin.833) on the test page and displays the IP address configured by AutoIP rather than DHCP as the old router does. The computer is a desktop Dell Dimenstion about 3 years and use Windows 7. The router connects to the computer to the Internet.

    Help - How to make the printer recognize and communicate with the new router? (The original installation instructions don't seem to work for me.)

    I made an update of the firmware a few months ago and the currtent datecode is 20130703. Allowed to print from my Samsung S2 Tablet through the router.

    Here's what finally worked.

    1 had to withdraw from old installation CD but Uninstall selected, so I completely shut down the computer. Guy at Best Buy said to "remove the device" but it was not enough.

    2. download install the latest software from the HP download site and ran it. (http://ftp.hp.com/pub/softlib/software13/COL32431/bi-80329-11/hp_LJP1100_P1560_P1600_Full_Solution-v20120831-50157036_SMO.exe)

    3 downloaded another file and ran it. (Setup_IP4, [192_168_1_5], [NPI073E2D] _it) Not sure where I found this one, but the software prompted me to run.

    Finally, everything works and all devices are wireless printing

  • I would turn off the Yahoo toolbar; but can't figure out how.

    I have loaded down the latest version of Firefox, and now I have an AOL and Yahoo toolbar. I want to disable Yahoo; but can't figure out how. Thank you.

    You should be able to disable or remove the toolbar Yahoo here:

    Orange Firefox button or Tools menu > Modules

    On the left side, click on Extensions

    A little luck?

  • When you are looking for WeatherFox, I discovered that my bottom bar everything was gone. I can't figure out how to restore. The Add-ons are still installed.

    I just noticed this morning that the lower tool, including weatherfox, Hebrew calendar and several other modules, has completely disappeared. Maybe it's a matter of having inadvertently clicked on something one day when do not not paying attention. When I checked under Firefox preferences earlier, I went to < manage add-ons > and saw installed at all the modules have been installed yet. I can't find a way to restore the tool bar display lower.

    Having a back-up, I opened the time Machine to see if a previous Firefox homepage included the bottom bar. I don't know if I did not go far enough or if Firefox is somehow the opening to a new default value, involuntary without the lower bar, any distance back I go.

    During this time, writing this, I went back to Firefox preferences, and now the General Preferences dialog box is completely ruined, as if the size of the content of this dialog box had grown up, in two dimensions, so it is no longer within the area and parts of it are not available. It is truncated, in other words, as well on the side right and on the bottom. I can isn't even access the section modules. The last visible thing at the bottom of that box is the upper part of the line of text that is displayed as follows: 'Pick your add-ons Preferences.' It's as if someone came with an Exacto and sheared to the lower part of this line of text. And then there is in the lower left corner. Along the right side of the box, under the "Home Page", there are three buttons: use current Pages >, < use a bookmark > and < restore Dfau >, which is the point where the text ends.

    What the hell is happening? Now, it's not only a question of restoring the lower bar on my page of Firefox, with display modules, but apparently I need to figure out how to resize the preferences General dialog box, as well. I just checked: other preferences dialog boxes appear to be rising correctly.

    I use a Mac PowerBook G4 with Firefox version 3.6.13.

    See view > status bar [X]

  • I can't figure out how to open the port of CD.

    * Original title: CD player

    I can't figure out how to open the port of CD. There are no buttons, and online forums have not helped. Any suggestions?

    Of course - just go on this PC (or computer) and r / click on the DVD/CD drive - you should see "eject" as shown below. Usually there will be a button in the center of the disc too... but sometimes well hidden tray! -Ric.

  • I can't figure out how to get a reminder to pop about an event, I put on my calendar in windows live

    I'm used to using microsoft works calendar XP.  When I put a windows live event calendar it has an icon for reminder on top, but it is dimmed, and I can't figure out how to set a reminder.  I want more that just a moment email reminder a reminder pop-up when I boot in xp.

    Hi NancyEvans,

    The question you have posted is related to the Windows Live Calendar and would be best suited to the community of Windows live.

    Please visit the link below to find a community that will support what ask you:

    http://windowslivehelp.com/product.aspx?ProductID=1

  • How the bigger picture? Every time I hit something on the mouse, it goes smaller but I can't figure out how to make more.

    Like right now I'm on a website (Facebook) and something that I hit on the mouse, it is tiny and I can't figure out how to make more. When I finally grow it how I keep so it blocks and not keep coming back to small?

    http://www.SevenForums.com/tutorials/443-DPI-display-size-settings-change.html

  • I'm at school and only paid help for my adobe membership. I can't do the cloud to download to my new computer, I had only a front tray. Now, I need this software on my new computer and can't figure out how to download or if I have where it

    I'm at school and only paid help for my adobe membership. I can't do the cloud to download to my new computer, I had only a front tray. Now, I need this software on my new computer and cannot figure out how to download it, or if I where it is, or anything. I'm a person who needs to be talked through things so I can ask questions and get the responces immedent that I'm not good with typing and reading.

    Restart the computer and try again.

  • How can I contribute Adobe Stock photos? I tried through Fotolia, but I can't figure out how.

    How can I contribute Adobe Stock photos? I tried through Fotolia, but I can't figure out how.

    Hi Maximillian,

    Please click on the below to help Adobe Stock.

    Adobe Stock help | Frequently asked questions

    Let me know if it helps.

    ~ UL

  • I have a Verizon Tablet and trying to figure out how I can download the software on this subject?

    I have a Verizon Tablet and the invitation to the cloud of AdobeCreative through my school, University of Everest online. I was trying to figure out how I can get the same download to my Tablet?

    Hello

    Please see: -.

    Adobe mobile, iPhone, iPad, Android apps | Adobe Creative Cloud

    Also, you can read:-what tablet do you use with creative cloud / Apps?

Maybe you are looking for

  • I would like to enable sending ClientHello with an empty TLS SessionTicket Firefox extension. How can I do?

    I am using FireFox to connect to a webserver using TLS. I would like the ClientHello for the browser to include a TLS extension empty SessionTicket according to RFC 5077.A web search found "Web browsers which have implemented the TLS SessionTicket, f

  • Presario cq61 - 411wm

    Does anyone have an idea where I can find instructions for replaceing the LCD on my Presario CQ61? Compaq and HP Web sites is useless.

  • maximize the USB streaming throughput

    I am trying to speed up my task at hand. I need to send bursts of digital data, 83 bytes long each, at intermittent, but fast intervals. I use Port 0 on USB-6251 in USB mode high speed. Below some options, I tried 1 "software programmed" streaming -

  • Possibility of label/re-branded names of FM stations

    A new idea! I love fm, but when there are a lot of stations - it is difficult to navigate so I hear - just scan the FM frequencies, save predefined settings, connect the clip to the computer, go to the root of the element, the open configuration file

  • battery for Compaq laptop problem

    I just upgraded to windows 8 to 8.1 on a compaq CQ58 laptop. I've also updated to HP support assistant. On startup, I get a message telling me that the battery must be replaced because its capacity is very low... I have read suggestions on checking a