Can't get back data

Hi!
I have a page named Checkout.mxml in witch I have the following form:
<mx:Form>
<mx:FormItem 
label="Nom" required="true">
<mx:TextInput id="cname" width="200"/>
</mx:FormItem>
<mx:FormItem label="Prénom" required="true">
<mx:TextInput id="cname2" width="200"/>
</mx:FormItem>
<mx:FormItem label="Bureau" required="true">
<mx:TextInput id="bureau" width="200"/>
</mx:FormItem>
<mx:FormItem label="Lieu" required="true">
<mx:ComboBox id="lieu" dataProvider="{dpValue}" width="130"/>
</mx:FormItem>
<mx:FormItem label="Email" required="true">
<mx:TextInput id="email" width="200"/>
</mx:FormItem>
</mx:Form>
In an other code named SendOrder.mxml I have a HTTPSerice witch call a an EmailServelt to send mail with the appropriate data entred in the form,
here is my SendOrder.mxml:
<mx:TitleWindow  xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" title="Confirmation de votre commande" width="600" height="600">
<mx:Script>
<![CDATA[
 import mx.controls.Alert; 
import mx.managers.PopUpManager; 
private function SendMail():void{
HttpSendMail.send();
PopUpManager.removePopUp(
this); 
]]>
</mx:Script>
 <mx:HTTPService id="HttpSendMail" url="http://localhost:8080/SupportWEBJ2EE/EmailServlet"
method="POST" resultFormat="e4x"
useProxy="false"
showBusyCursor="true">
 <mx:request xmlns="">  
<cname>{cname.text}</cname>
 <cname2>{cname2.text}</cname2>
 <bureau>{bureau.text}</bureau>
 <lieu>{lieu.text}</lieu>
 <email>{email.text}</email>
 <textCommentaire>{textCommentaire.text}</textCommentaire>
 </mx:request>
 </mx:HTTPService>
 <mx:TextArea id="textTA" width="100%" height="100%" />
 <mx:ControlBar>
 <mx:Spacer width="50%"/>
 <mx:Button label="OK" click= "SendMail();" /> 
<mx:Spacer width="50%"/>
 </mx:ControlBar>
</mx:TitleWindow>  
 <mx:request xmlns="">  
<cname>{cname.text}</cname>
 <cname2>{cname2.text}</cname2>
 <bureau>{bureau.text}</bureau>
 <lieu>{lieu.text}</lieu>
 <email>{email.text}</email>
 <textCommentaire>{textCommentaire.text}</textCommentaire>
 </mx:request>
 </mx:HTTPService>
 <mx:TextArea id="textTA" width="100%" height="100%" />
 <mx:ControlBar>
 <mx:Spacer width="50%"/>
 <mx:Button label="OK" click= "SendMail();" /> 
<mx:Spacer width="50%"/>
 </mx:ControlBar>
</mx:TitleWindow>
<mx:request xmlns="">  
<cname>{cname.text}</cname>
 <cname2>{cname2.text}</cname2>
 <bureau>{bureau.text}</bureau>
 <lieu>{lieu.text}</lieu>
 <email>{email.text}</email>
 <textCommentaire>{textCommentaire.text}</textCommentaire>
 </mx:request>
 </mx:HTTPService>
 <mx:TextArea id="textTA" width="100%" height="100%" />
 <mx:ControlBar>
 <mx:Spacer width="50%"/>
 <mx:Button label="OK" click= "SendMail();" /> 
<mx:Spacer width="50%"/>
 </mx:ControlBar>
</mx:TitleWindow>
  The probleme is that I can't get back my data entred int the form .Near the block of request there is an error saying that cname,cname2,bureau,lieu,email are not knowen. In my EmailServlet I worked with the followingg methodString cname = request.getParameter("cname");
but I have cname: Null as result.
Can you help me please 

I have an HTTPService with a request in aa.mxml and in an other bb.mxml I have a Form witch contain many FormItem.
I have to make a link between them because when i write my request like this I have an errror:
<mx:request 
xmlns=""> <cname>{cname.text}
</cname>
 <cname2>{cname2.text}</cname2>
 <bureau>{bureau.text}</bureau>
 <lieu>{lieu.text}</lieu>
 <email>{email.text}</email>
 <textCommentaire>{textCommentaire.text}</textCommentaire>
 </mx:request>

Similar Messages

  • Lost address book for iPod Touch. How can I get back data or app or both?

    I forget what is was called but the built-in Contacts/Address Book app jumped off my 2nd generation (bought 31 Dec 2009) iPod Touch one day.
    I connected to iTunes hoping to get it back with all my data from the back-up, but because iTunes was set to automatic sync it synced when I connected and over-rode the last back-up with a new one, so without any contact app or data.
    When I investigated back-up on iTunes I was only offered the back-up which had just been made, ie no contact app or data.
    Is there any way that I can reload at least the empty app without doing a re-set?
    I don't want to do a re-set because although I will get back the empty app I will lose all my 20+ other 3rd party apps and all the data that some of them contain,
    As well as that - since I cannot update the OS - the version of each that I can run (for OS 4) will almost certainly have vanished from iTunes because most apps have been developed now for OS 5 and finding the old version in iTunes is very cumbersome. As far as I can see I have to browse them all in the date order they were released, with no search facility.
    I have to have an address book. I have been unable to find a 3rd party one that will run under OS 4, so it looks as if I will have to use NoteMaster, with contacts in A/Z order by surname, with one or more lines for each depending on whether I have phone number, mobile number, email address, postal address etc.  It's possible, but a poor substitute for a proper address book.
    I would be very grateful for any help with this, and hope that the Apple address book app or a 3rd party address book app for 4.2.1 is available.
    Alan

    Try resetting your home screen layout, go to your setting>general>reset home screen layout. 

  • My battery died and then when i charged the phone it is asking me to connect to itunes and restore. if i restore how can i get my data back

    My iphone battery died and on charging the phone it asked me to connect to itunes and restore the phone.
    If i restore the phone how can i get my data back and how can i check when i last backed up my phone

    If you have been syncing regularly as the iphone is designed, then you can sync the data back.
    Regardless you will have to restore the iphone.

  • I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.

    I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.??

    You can find the backup files and then copy them to a safe place if you are worrying about this.
    iTunes places the backup files in these places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
    Windows Vista, Windows 7, and Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    To quickly access the AppData folder, click Start. In the search bar, type %appdata%, then press Return.
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    To quickly access the Application Data folder, click Start, then choose Run. In the search bar, type %appdata%, then click OK.

  • Got Firefox Sync but lost my Key how can i get my data back without delete everything ?

    My computer was deleted, i don't have any others devices ? How can i get back my information.
    Apparently, there is no solution, this is shame. Why in my account i can't get back my key https://account.services.mozilla.com/ ? This service is useless if when we have a problem (all devices stolen for example) we can't get back any information...
    I'm really disappointed, and so are others people as far as i can see. I have to start from the beginning all my bookmarks, so i will use Chrome from now. Thanks a lot Mozilla.

    Sorry, but you're using Sync incorrectly if you don't have any other devices connected to that Sync account.
    Sync wasn't intended to be a "cloud" storage device; it's intended to be used to "synchronize" a user's across multiple devices. Upon completion of the initial setup of Sync procedure, the user is shown the Recovery Key and is told to make a copy of that "key". There are buttons in the dialog window to "save" to disk or to "print" the Recovery Key. Unfortunately, too many users just ignored that message (or ignored it) and put themselves in the same position that you are now in - lost data and no way to recover that data.
    The Sync / Recovery Key is used to encrypt your data as it is being uploaded to the Sync server and then used to decrypt your data when it is downloaded to one of your devices. Without the exact Sync Key that the user's data was encrypted with, the user's data is useless scrambled bunch of 1's and zero's.
    Firefox 29 has a new version of Sync that eliminates the need for the user knowing their Recovery Key. The method that generates that "key" uses the user account name (email address) and the user password, so in the future user's shouldn't find themselves in the same position that you are now in.
    ''IMO, Mozilla provided too much security by having that 3rd security "key" (the Recovery Key), considering how many user's aren't using Sync as it was intended to be used.''

  • I am using iphone 3gs and have accidentally clicked "update" to software version 5. However, after I failed and all my data was lost. I manage to restore back to my previous situation. But all my apps has been gone. How can I get back all my aps?

    I am using iphone 3gs and have accidentally clicked "update" to software version 5. However, after I failed and all my data was lost. I manage to restore back to my previous situation. But all my apps has been gone. How can I get back all my aps? I know I can get it by itunes but there are a few problems as below:
    1. I have jailed break my iphone and I never purchased any apps from itunes
    2. I have some important infomation saved in one of the apps called "awesome notes". How can I get it back? Is it store inside my computer? if so, how can i restore?
    3. I am using window 7
    I sincerely hope you guys can help me.
    Regards,
    Stephen Hong

    alrite. I have made my mistake. I should not jail break my iphone. So if I purchase my apps again from itunes is that mean mean my data will be back?
    I hope you guys can giv me some support here since I am Apple genuine buyer. I could be wrong last time and now I turn over a new leaf and learn a lesson.
    Please noted that I can always create new account to ask for the same questions without mention about "jailbreak" if I want to but obviously I won't do that. Please provide me your support! Thank you!

  • How can I get the data back from my game

    How can I get the data back from minecraft if I deleted the app and bought with a different Apple ID

    No, they are tied to the ID that purchased them, and cannot be transferred to anyone else.

  • Lost all of my data on iphone and have no cloud back up how can i get my data back

    lost all of my data on iphone and have no cloud back up how can i get my data back

    iOS devices do backup automatically to iCloud providing:
    iCloud Backup is turned on
    It has a Wi-Fi connection
    It is connected to a power source
    The screen is off
    5GB is plenty of storage for me to backup to iCloud automatically.
    I have a 64GB iPhone & a 128GB iPad both backing up to the same iCloud account and I still have nearly 2GB free.
    This is mainly because media is not backed up and Photo Stream & iTunes purchases do not count against your iCloud storage.
    Here’s what iCloud backs up:
    Purchase history for music, movies, TV shows, apps, and booksYour iCloud backup includes information about the content you have purchased, but not the purchased content itself. When you restore from an iCloud backup, your purchased content is automatically downloaded from the iTunes Store, App Store, or iBooks Store. Some types of content aren’t downloaded automatically in all countries, and previous purchases may be unavailable if they have been refunded or are no longer available in the store. For more information, see the Apple Support article iTunes in the Cloud availability by country. Some types of content aren’t available in all countries. For more information, see the Apple Support article Which types of items can I buy in my country?.
    Photos and videos in your Camera Roll
    Device settings
    App data
    Home screen and app organization
    iMessage, text (SMS), and MMS messages
    Ringtones
    Visual Voicemail

  • HT1414 i backed up tha data on my iphone before i unlocked and restored as "new." how can i get the data back onto my iphone?i backed up tha data on my iphone before i unlocked and restored as "new." how can i get the data back onto my iphone?

    Hi,
    I wanted to unlock my at&t iphone 3gs that i had for 3  years.  i was told to back up the data on my phone and then restore it as new.  now i don't have any data i had before it was restored. how can i get that data back onto my iphone 3gs?  can i put that data on my ipad?

    Is it an iTunes backup or an iCloud backup? If iTunes, connect the iPhone, right click on the name of the iPhone under the DEVICES section in iTunes. Click on Restore from Backup.
    If iCloud, on the iPhone go to Settings > General > Reset > Erase All Content and Settings. When the device powers back on, you will see the original setup screens you saw when your iPhone was fresh out of the box. One of these screen asks you if you want to restore. Choose Restore from iCloud backup.

  • HT1766 i lost my i phone 5 how can i get my data back

    i lost my i phone 5 how can i get my data back

    Have you backed up your iPhone 5 with iTunes?
    If so, you may use an iTunes backup extractor to recover your data from the backup file.
    http://easy-iphone-recovery.blogspot.com/iphone-recovery-resource.html
    You can use 'Recover from iTunes backup' mode to have a try.

  • I have just installed the latest software for iphone4 - I have retained all data except my Contacts have disappeared - how can I get back ?

    I have just installed the latest software for the iphone4 - I have retained all the data EXCEPT the Contacts have all disappeared - can I get back ?

    Maybe on outlook application if you use it with  pc. If not try to restore your iPhone with a old backup from iTunes.
    http://support.apple.com/kb/ht1414

  • How can i get back my data after i restored my iphone and accidentally created a new iphone ac.

    how can i get back my data after i restored my iphone and accidentally created a new iphone ac.
    it did a back up when i started my restored iphone and i cant retrieve my previous backup while i didnt back up on icloud....
    the new ac is actually the same apple id as the one i used. I lost all my contact, photos and data of whatsapp...
    what can i do...help!

    I don't know if this is a similar problem but I wrote 2 notes yesterday on my iphone. I opened my mail to print them and they appeared as notes but wouldn't load. Then I looked at them on my iphone and I could see the notes but they quickly updated to blank with a time of the last edit the same time I tried opening them on my computer.
    Yesterday I updated to 4.3.4  I don't know if somehow that affected them. Are they stored somewhere else. Can I get them back?

  • Hi, may i know how can i get all data back after update ios 6

    Hi,
    May i know how can i get all data back after update ios 6 and all my data lost ?

    You can restore the phone and when prompted to restore choose from icloud account. BUT MAKE SURE there is 1.) an icloud backup for your phone. 2.) you are using the same apple id.
    apl

  • How can I get back the data I had before my itunes restored my new phone?

    Plot:
    I broke my iphone 5s.
    I bought a new iphone 5s.
    I started using the phone right away, without restoring it.
    I just connected the phone to my computer and I allowed my itunes to restore it, unknowingly clearing all the current data on it.
    SO~
    Question:
    I have all my OLD old data, but how can I get back all the contacts and photos I put on my new phone before I restored it. I mean it has to be somewhere, right?

    Read this: http://support.apple.com/kb/HT3702
    The money will not leave your account, it is just held temporarily for credit authorization. It will be released soon.

  • 10.9.1 used terminal with rm-rf and deleted my user data. Can I get back the deleted data? Help.

    10.9.1 used terminal with rm-rf and deleted my user data. Can I get back the deleted data? Help.  I really just need mail file and desktop files recovered.

    If data were on the SSD drive with TRIM - practically no chance. If HDD - use DIY recovery software such as DiskDrill or DataResue.
    As quickly as possible turn off the drive where deleted data.
    Use an external HDD with installed OSX for data recovery.
    Alex
    Apple Certified Support Professional

Maybe you are looking for