Design a template in flex and retrieve from AIR

hello,
sellers will design template by drag/drop controls in flex .how can we convert this template to AIR so that buyer can see this template in desktop(both online and offline).

Sounds like you are confused about what AIR is. Essentially, AIR is a desktop run-time environment for Flash/Flex applications. This is different from the standalone Flash Player in that AIR gives you the power to look, behave, and interact with the system (to some degree) like an independent desktop applicaiton.
As it pertains to Flex development, AIR is a build option and carries with it a library of classes specific to the target environment.
To answer your question, the effort required to move in to an AIR app is pretty minimal.

Similar Messages

  • Type in value and retrieve from database

    Hi,
    I have a database of clients and to keep it up to date, we will be sending out an email asking them to confirm if they're details are correct and up to date.
    In that email will be a link to a webpage where they can confirm their details are up to date. They will have to type in their email address which will then retrieve their information to update or confirm they are correct.
    I have no trouble updating. I usually list the data and then click on the one that needs updating.
    I'm having trouble retrieving the information after the user has typed in their email address.
    Here is my code so far - at the moment I have listed the data in a table with an "update" link next to each row that allows me to update.
    Where would I put the text field where the user can type in their email? I've tried different ways but was unsuccessful.
    Hope you can help
    Thanks
    <%
    strSQL = "SELECT * FROM emails"
    rsEmail.Open strSQL, conn
    %>
    <html>
    <head><title>All</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="layout.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="wrapper">
      <p>  </p>
      <div id="view">
      <div class="insert"><a href="insertform.html">Insert</a></div>
      </div>
      <table width="1100" cellpadding="5">
        <tr>
          <td width="53">ID</td>
          <td width="300">firstname</td>
          <td width="378">lastname</td>
          <td width="121">email</td>
          <td width="92">Update</td>
          <td width="92">Delete</td>
        </tr>
      </table>
      <table width="1100" cellpadding="5">
        <%
       Do While not rsEmail.EOF
    %>
        <tr><td width="53"><% Response.Write rsEmail("id") %></td>
          <td width="294"><% Response.Write rsEmail("firstname") %></td>
          <td width="374"><% Response.Write rsEmail("lastname") %></td>
          <td width="119"><% Response.Write rsEmail("email") %></td>
          <td width="91"><%  Response.Write ("<a href=""update_form.asp?ID=" & rsEmail("ID") & """>")%>Update<%Response.Write ("</a>") %></td>
        </tr>
        <%
    rsEmail.MoveNext
    Loop
    'Reset server objects
    rsEmail.Close
    Set rsEmail = Nothing
    Set conn = Nothing
    %>
      </table>
    </div>
    </body>
    </html>

    This 'tutorial' is flawed and needs work. Use with care.
    1 - Upload the file correctly. This is NOT an example of how to upload a file from a web page. You need method="post" and enctype="multipart/form-data". Then in the servlet doing the file retrieval you need to get the input stream from the request. Using a library like the jakarta commons File Upload is recommended.
    2 - Database connection should not be done in a JSP. 'nuff said.
    3 - In fact scriptlet code in a JSP is a bad approach in general. avoid.
    4 - A better approach would be to use an ImageServlet as exampled, and just have img tag reference that servlet directly.
    While I applaud the intentions behind wanting to share the code, the code shows several basic design flaws. I think it is a better example of what NOT to do rather than the intended how-to.
    Thats my 2 cents.
    evnafets

  • Where is the binary data of this icon stored and retrieved from Application server?

    Hello guys,
    Today I observed one phenomenon and could not explain it per my knowledge.
    I have one url which points to an icon in application server:
    https://<host name>:44301/sap/public/bc/ur/nw5/themes/sap_corbu/common/libs/Icon/SuccessMessage.gif
    I could successfully open it via chrome:
    and after that I could see an entry in ICM server cache. Everything works perfectly.
    Then I tried to check this icon in mime browser in SE80. To my surprise, the folder /sap/public/bc/ur/nw5/themes is empty.
    However, the ICM cache shows that there is a subfolder called "sap_corbu" under "themes" folder. But why I cannot find it in mime browser?
    Then I write a report to retrieve the binary data of icon via CL_HTTP_CLIENT, and clear the ICM buffer via tcode SMICM.
    I expect this time some database table will be queried to load the content of the icon, since now the buffer is not available.
    To my surprise again, in SAT no database table is involved.
    So now I am confused: since I have already cleared the ICM server cache, where does the icon binary data come from when I run the report to access the icon?
    Best regards,
    Jerry

    Hello guys,
    one colleague today told me that there is a zip file "ur_mimes_nw7.zip" in MIME repository /PUBLIC/BC/UR/ur_mines_nw7.zip. I download it locally and unzip it and indeed find many theme folders including sap_corbu folder and its resource files. So I guess there must be some logic done in web application server which will unzip this archive file and put each theme folder to the corresponding folders in application server. I would assume those logic are done outside ABAP stack side, this is the reason I cannot find any hint of them in ABAP backend via tcode SAT even I clear both client and server side cache.
    Best regards,
    Jerry

  • Saving to and retrieving from database

    Hi,
    How can I save my program's data in a database and how can I view the data?
    S.A.T

    You can save data to a database using the SqlCommand.ExecuteNonQuery method:
    https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.executenonquery(v=vs.110).aspx
    string query = "INSERT INTO TABLE (col1) VALUES (1)";
    using (SqlConnection connection = new SqlConnection(
    "your connection string...."))
    SqlCommand command = new SqlCommand(queryString, connection);
    command.Connection.Open();
    command.ExecuteNonQuery();
    You will have to supply a connection string to the database:
    http://www.connectionstrings.com/sql-server/
    ...and an SQL query (INSERT, UPDATE) to be executed against the database.
    You can retrieve data similarly using a SqlDataAdapter that fills a DataSet:
    http://www.dotnetperls.com/sqldataadapter
    DataTable t = new DataTable();
    using (SqlConnection c = new SqlConnection(
    "connection string..."))
    c.Open();
    // 2
    // Create new DataAdapter
    using (SqlDataAdapter a = new SqlDataAdapter(
    "SELECT * FROM EmployeeIDs", c))
    // 3
    // Use DataAdapter to fill DataTable
    a.Fill(t);
    Please remember to mark helpful posts as answer to close your threads and then start a new one if you have a new question.

  • Repair and retrieval from 40 GB GIGA One external drive

    My iMac doesn't recognise the external HD anymore. When connected by USB, it appears in disk utility but action to "verify and repair disc" results in following message:
    **/dev/disk 1s1
    ** Phase 1 - Read FAT
    ** Phase 2 - Check Cluster chains
    ** Phase 3 - Checking Directories
    Unable to read directory (input/output error)
    Error. The underlying task reported failure on exit
    1 non HFS volume checked
    1 volume could not be repaired because of error
    Can anyone give advice on how to retrieve the data from this portable HD which has always worked well in the past when connected to my iMac. It contains the only copies of the photographs from our recent visit to Japan. Very many thanks. Alan P

    Hey Alan,
    Try using Data Rescue 3:
    http://www.prosofteng.com/products/data_rescue.php
    There are other applications but this is the one I use. If the drive spins up I've always been able to retrieve data on corrupted hard drives.
    You can request a demo version then you can try to find your pictures and if you do you can download 5 MB for free. So if it works you can buy the full up version for $149 but I also see it online for as low as $81.
    Richard

  • Design of Cube for Year and Period from Posting Date

    Experts,
    In my report requirement one of the selection criteria is Year and Month (YY-MM) which needs to be got from the Posting Date.
    In my ODS I have a 0PSTING_DATE. What infobjects are needed in the cube to get the value of YY and Period and the mapping from the 0PSTING_DATE to these infoobjects.
    Thanks,
    Raj

    Hi Rajesh,
    Time Update:
    When performing a time update, automatic time conversion and time distribution are available.
    Direct Update: the system automatically performs a time conversion.
    Time Conversion:
    You can update source time characteristics to target time characteristics using automatic time conversion
                   Check here..........
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e5/f913426908ca7ee10000000a1550b0/content.htm
    Thanks,
    Vijay.

  • Problem: Flex and focus() from Javascript

    Hello,
    Here is my problem.
    I have 2 html pages.
    2nd - Flexwindow.html
    opener.html contains a javascript which is similar to this:
    var window2 = window.open("Flexwindow.html", "MyWindow");
    function focuswin()
       window2.setBrowserFocus();
    focuswin() function called by pressing a button.
    Flexwindow.html contains a flex swf and a java script:
    function setBrowserFocus(){ 
      document.getElementById("MyflexObject").focus();   
    So basicaly when im starting Opener.Html it will automaticaly run my flexwindow.html in front of Opener.html (opener will be under the flex page) (and this working perfectly).
    The problem that if i will bring opener.html in front by clicking on it, and then will click the button with focuswin(), it will bring back in front my flexwindow.html (thats what i actualy needed) but it WILL AUTOMATICALY REFRESH SWF to it initial state (and thats what i dont need).
    How i can stop refreshing this swf caused by javas focus() function?
    Thank You

    I've also tried this:
    a) changed "name=" to "id=" in the applet tag
    b) var theApplet = document.getElementById("html2xml");
    var pagexml = theApplet.getXml(pagehtml);but I still get the same error.
    Is my java code correct? Any ideas?
    TIA

  • I designed a template in Indesign but need to save it in a format that can be easily updated by my client. What are my options?

    I designed a template in Indesign and tried to save it in Word for my client but the formatting is all messed up. I'm not surprised since Word has quite a bit of formatting restrictions. I am now thinking about PowerPoint. Do I have any other options? Thank you!

    helencia wrote:
    Do I have any other options?
    Other options for your InDesign-built template? Not really. It's only of use to a user of InDesign. If your client's need was an MS-Office template, you really should have just built it properly in the appropriate MS-Office application. There is no reason you can't; and it's your only remaining, truly viable "other option."

  • Where are APEX images retrieved from in an n-tiered environmen?

    Oracle XE DB 11gR2
    Oracle APEX 4.1.1
    Glassfish 3.1.2
    Red Hat Linux 5.8
    ===========
    I notice when using Glassfish as part of my APEX environment I am required to copy the images to an /i directory on the Glassfish server under the Glassfish domain.
    The question arises --> When APEX needs to render an image, is the image retrieved from the database/database server or from the Glassfish web server?
    Thank you.

    >
    Please update your forum profile with a real handle instead of "user601798".
    Oracle XE DB 11gR2
    Oracle APEX 4.1.1
    Glassfish 3.1.2
    Red Hat Linux 5.8
    ===========
    I notice when using Glassfish as part of my APEX environment I am required to copy the images to an /i directory on the Glassfish server under the Glassfish domain.
    The question arises --> When APEX needs to render an image, is the image retrieved from the database/database server or from the Glassfish web server?The answer (as usual) is "It depends".
    If you're using Glassfish and the APEX Listener (or OHS) then images referenced using <tt>/i/</tt> / <tt>#IMAGE_PREFIX#</tt> are stored on and retrieved from the web server file system. If using EPG then they're stored on and retrieved from the database using the XMLDB repository.
    If the image is referenced using <tt>#WORKSPACE_IMAGES#</tt>, <tt>#APP_IMAGES#</tt>, or declarative BLOBs then they're stored on and retrieved from the database.

  • Store and retrieve datetime using mysql

    Hi
    Am first timer in JSP and having a problem with datetime field. My requirement is that I have to store the date and time a message is posted in mysql database.
    After the message is posted I have to retrieve the data and display it in a new page including the datetime field.
    Trying this for a long time but not able to get. Any suggestions.
    Thanks,
    Sridhar

    I am using the preparedStatement to insert into the database and retrieve from the database.
    My problem is when i am retreiving from the database datetime are not coming.
    my preparedSTatement looks like this.,
    PreparedStatement insert1ps=con.prepareStatement("insert into topic_category values(?,?,?,?,?,?,?,?,?)");
    insert1ps.setInt(1,topic_id);
    insert1ps.setInt(2,article_id);
    insert1ps.setInt(3,author_id);
    insert1ps.setString(4,heading);
    insert1ps.setString(5,article);
    insert1ps.setDate(6,sqldate);
    insert1ps.setInt(7,archives);
    insert1ps.setInt(8,verify);
    insert1ps.setInt(9,no_views);
    I am using the above statements for inserting into the database.
    PreparedStatement selectaa = con.prepareStatement("select tc.topic_description,tc.datetime,aa.fname,tc.topic_head,aa.lname,tc.no_views from topic_category tc,article_author aa where tc.author_id=aa.author_id and tc.topic_id="+topic_id);
    ResultSet rss=selectaa.executeQuery();
    <td style="{font-family:verdana;font-size:12;color:#03065f}">
    Posted on :<%=rss.getTimestamp(2)%></td>
    And using this statement for retrieving.
    Is there any error in the above

  • Excel insert/Retrieve from 10g forms

    Dear All,
    Kindly tell me the steps for xl inserting into table and retrieve from that table thro forms 10G
    Regards,
    Pradeep antony

    hi
    *:excel.file_name
    :block.item.
    if u see in the table we created table something like this.
    table name is excel and file_name is varchar2.
    Post-insert trigger.
    begin
    if                                                  -->table column    where clause
      webutil_file_transfer.client_to_db_with_progress ( :block.file_name, 'excel', 'image', ' id = ''' || :block.id || '''', 'Sarah''S Upload', 'uploading ...' )
    then
      message ( 'excel-File ' || :block.file_name || ' successfully saved to database.', acknowledge );
    else
         message ( 'excel-File ' || :excel.file_name || ' could not be saved to database: ' || sqlerrm );
         message ( ' ' );
         raise form_trigger_failure;
    end if;
    end;Note:- without webutil.pll will not work u have to attach library.
    sarah

  • Problems with Apple Mail retrieval from EarthLink

    I just bought a new computer (MacBook Pro 10.8.2 Mountain Lion) and when trying to set up Apple Mail v.6.2 I have a problem. It won't connect properly with my ISP email (EarthLink). I am unable to retrieve any POP mail on Apple Mail. It keeps saying "Logging in to the Earthlink POP server "pop.earthlink.net" failed. Make sure the user name and password you entered are correct....." However, I am able to send mail via Apple Mail because the outgoing mail server (smtpauth.earthlink.net) does work. It's strange because it's the same user and password. So I can send but not retrieve using Apple Mail.
    I also have Thunderbird, which I don't really like, and its POP setup both sends and retrieves from EarthLink without a problem. Plus I can always go to the EarthLink website if necessary. So this is not critical, but I prefer Apple Mail.
    Any ideas?
    (I'm also going to contact EarthLink to see if they can help.)

    I'm having this difficulty with my shared host provider as well.  hostpapa.ca keeps telling me to 'check my account settings.'  This is not difficult to do and the error code I keep getting tells me that there's a problem connecting to the mail server.
    While I argue with them, is it possible that there is a problem from within Apple Mail or with my wifi?  Mail works well when I'm not on my home network - at the office, on 3G, if I use webmail, if I connect directly to my DSL modem.  I tried to delete the account and add it in again - but it just won't connect when on wifi.
    I'm wondering if there's anyone who has an answer to this...?

  • How do I retrieve bookmarks and passwords from a Windows backup, after OS re-install?I have a full Windows backup of my machine, pre re-installl

    I had to reinstall Vista 7 OS. I have a full Windows backup of my machine, prior to the re-installation. How do I retrieve the bookmarks and passwords from the backup? I understand they're stored in various files a ".default" folder in C:\users\username\appdata\roaming\mozilla\firefox\profiles. When I try restoring the folder, the files get skipped... When I try browsing for the individual files, I don't see them!

    Many thanks for your responses... After a little scouting on the web, I have found THE solution... This is all due to the way Windows 7 Backup works, and will NOT let restore apps...
    ("File restore in Windows7 is not designed to restore back applications. This is because the application state is spread across potentially multiple folders, files & registry. Windows7 file backup is not aware of where all the state is spread to be able to restore the entire application accurately as such information is internal to the application. Restoring application partially might corrupt the application and render the application unusable. So we do not allow restoring applications from file backup.
    In case files under C:\Program Files etc. are chosen for restoring, we block restoring files from backup to such locations as it might cause the applications to not function.'')
    What one has to do when restoring is to NOT attempt to restore to the original location, but to select the radio button which allows you to type a path where you want the files restored and type in the path of the original location!!! Then select copy and replace...A little quirky (and tedious), but it works!

  • How can I login and retrieve my user file from the trash?

    I was trying to find out where all my HD had gone, which a did using ‘What Size’.
    I found what looked like an old backup file so I put the file in the trash.
    It turns out that the file was my user file. So now I can’t login to as the user.
    How can I login and retrieve my user file from the trash?

    The Digital Editions forum is here, in case this is what you are talking about:
    http://forums.adobe.com/community/adobe_digital_editions
    If you are not, I apologize for the misunderstanding.

  • Retrieve city and state from zip code that is entered by user

    I am trying to use AJAX to retrieve city and state from a table based on a zip code that is entered by the user. Two are text fields (zip code and city) and one is a SELECT field (state).
    1. I defined an application item called TEMPORARY_APPLICATION_ITEM.
    2. I defined an application process called SET_CITY_STATE as follows:
        a. Process point: on demand
        b. type: anonymous block
        c. process text:
    <pre>
    DECLARE
    v_city VARCHAR2 (100);
    v_state VARCHAR2 (2);
    CURSOR cur_c
    IS
    SELECT city, state
    FROM ZIP
    WHERE zip = v ('TEMPORARY_APPLICATION_ITEM');
    BEGIN
    FOR c IN cur_c
    LOOP
    v_city := c.city;
    v_state := c.state;
    END LOOP;
    apex_util.set_session_state('P2_CO_CITY',v_city);
    apex_util.set_session_state('P2_CO_STATE',v_state);
    EXCEPTION
    WHEN OTHERS
    THEN
    apex_util.set_session_state('P2_CITY','Unknown city');
    apex_util.set_session_state('P2_STATE',null);
    END;
    </pre>
    3. Javascript is defined in the region header:
    <pre>
    <script language="JavaScript" type="text/javascript">
    <!--
    function pull_city_state(pValue){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_City_State',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM',pValue)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    get = null;
    //-->
    </script>
    </pre>
    4. In the HTML Form Element Attributes of the P2_CO_ZIP text item: onchange="pull_city_state(this.value)";
    The city and state are not being populated. I checked the select statement and it is retreiving the city and state in SQL WORKSHOP > SQL COMMANDS.
    I would like to use it for the mailing address as well, so I would need to make the application process / javascript a bit more generic to be used in two places.
    I placed the application on apex.oracle.com:
    Workspace: RGWORK
    Application: Online Certification Application (28022)
    Can someone assists, please.
    Thank you,
    Robert
    Edited by: sect55 on Jun 2, 2009 4:11 PM

    Hi Robert,
    Try using XML instead of session state -
    Change the application on demand process with the following script -
    >
    DECLARE
    v_city VARCHAR2 (100);
    v_state VARCHAR2 (2);
    CURSOR cur_c
    IS
    SELECT city, state
    FROM ZIP
    WHERE zip = v ('TEMPORARY_APPLICATION_ITEM');
    BEGIN
    FOR c IN cur_c
    LOOP
    v_city := c.city;
    v_state := c.state;
    END LOOP;
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="P2_CO_CITY">' || v_city || '</item>');
    HTP.prn ('<item id="P2_CO_STATE">' || v_state || '</item>');
    HTP.prn ('</body>');
    EXCEPTION
    WHEN OTHERS
    THEN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="P2_CITY">' || 'Unknown city' || '</item>');
    HTP.prn ('<item id="P2_STATE">' || '' || '</item>');
    HTP.prn ('</body>');
    END;
    >
    in your javascript make sure you typing the application process name correctly as it is case sensitive.
    Hope this helps,
    Regards,
    M Tajuddin
    web: http://tajuddin.whitepagesbd.com

Maybe you are looking for

  • Unable to See Custom Intergrator in R12 in front End

    Hi , Did u had any luck . I am pretty much facing the same issue. I created a custom Integrator using the API . I can see the integrator in the tables but not from the fornt end. Can some one pleas eelborate what steps to be done to have it view in f

  • Display Non-English Text in JEditorPane in Linux

    I want to display chinese in JEditorPane under Linux OS. However, i just found that they all display as a square box. I have tried to use both big5, and unicode(utf8), but it doesn't seem work. Do anyone know how to solve it ? Any method that can mak

  • Finder doesn't display spanish file name correctly ...

    Hi all; I have a Mac mini which access a share on a Network Drive with all my media files. When I access the share from my daughter's account (she is set as a user with parental controls), I can see all the files with the correct names, i.e: FERNÁNDE

  • Distorted songs on burned DVD

    I created some movies in iMovie using still photos from iPhoto, and added songs from iTunes. Then I burned a DVD using iDVD. Playing this DVD on my Panasonic DVD player and TV, some, not all, of the songs are distorted. Everything sounds just fine on

  • Can not login into itunes store bummer

    CAn't connect to the itunes store either, lukely i am not the only one.