Send post to a new page...

I have a flex application that will calculate a price quote
and I want to place a button at the bottom that says "Order"...
However, I want this to post to a php page and actually
redirect to that page... (Not fetch the results within the
applications...)
I am new to Flex, Javascript, and Action Script so please be
very detailed in your response...
Thanks

Try navigateToURL(). Please find more details in the below
URL
navigateToUrL
Hope this helps.

Similar Messages

  • How do I post to a new page when the 1st page is full?

    How do you create a bul. board where the posts go on a 2nd
    page when the first page is filled ...and 3rd page when 2nd is
    full, etc ... Maybe I can stick a wordcount in a while loop before
    the CFOutPUT Tag? Is there such a variable that holds a word count
    or better still, a line count?
    thnx a billion, please, please help!

    Check out this code-Use a cfc which will be the same for you
    and then change my query for yours in the .cfm HTHs:
    functions.cfc:
    <cfcomponent output="yes">
    <!--- Next x record function --->
    <cffunction name="nextXpage" access="public"
    returntype="struct" hint="Next x page function" output="No">
    <cfargument name="recordcount" required="Yes" default="0"
    type="numeric" hint="The total numbers of records / values">
    <cfargument name="page" required="Yes" type="numeric"
    default="0" hint="The page number that you are currently on. (for
    example URL.page)">
    <cfargument name="maxrows" required="No" type="numeric"
    default="10" hint="The maximum records / values to be displayed per
    page">
    <!--- Define the return structure --->
    <cfset var nextXpage = structNew()>
    <!--- Calculate how much page are available according to
    the maxrows displayed --->
    <cfset nextXpage.pagecount =
    CEILING(arguments.recordcount / arguments.maxrows)>
    <!--- Set the maximum rows to be displayed --->
    <cfset nextXpage.maxrows = arguments.maxrows>
    <!--- Set the currentpage --->
    <cfset nextXpage.currentpage = arguments.page>
    <!--- Set the currentpage --->
    <cfset nextXpage.recordcount = arguments.recordcount>
    <!--- Set the startrow value --->
    <cfif arguments.page eq 1>
    <cfset nextXpage.startrow = 1>
    <cfelse>
    <cfset nextXpage.startrow = (arguments.page *
    arguments.maxrows) - (arguments.maxrows -1)>
    </cfif>
    <!--- Define the previous and next values. --->
    <!--- Next values --->
    <cfif arguments.page neq nextXpage.pagecount>
    <cfset nextXpage.next = true>
    <cfset nextXpage.nextpage = arguments.page + 1>
    <cfelse>
    <cfset nextXpage.next = false>
    <cfset nextXpage.nextpage = 1>
    </cfif>
    <!--- Previous values --->
    <cfif arguments.page eq 1>
    <cfset nextXpage.previous = false>
    <cfset nextXpage.previouspage = 1>
    <cfelse>
    <cfset nextXpage.previous = true>
    <cfset nextXpage.previouspage = arguments.page - 1>
    </cfif>
    <!--- Return the structure --->
    <cfreturn nextXpage>
    </cffunction>
    </cfcomponent>
    Then on your output page where you have the info:
    .cfm page:
    <cfquery name="qrysales"
    datasource="davanzo_villa.admindb" >
    SELECT DISTINCT
    clientinfo.Id, clientinfo.RemoteAddress, clientinfo.visit,
    clientinfo.country
    FROM clientinfo
    order by clientinfo.Id
    </cfquery>
    <!--- display hit counter --->
    <cfquery name="GetHits">
    SELECT * FROM hit_counter
    </cfquery>
    <cfparam name="URL.page" default="1">
    <!--- Determine the navigation parameters --->
    <cfset functions =
    createobject("component","functions")>
    <cfset nav =
    functions.nextXpage(qrysales.recordcount,URL.page,15)>
    <table width="792">
    <h4>Total Hits: <CFOUTPUT
    query="GetHits">#hit_count#</cfoutput></h4>
    <h4>Total Unique Visitors:
    <cfoutput>#qrySales.RecordCount#</cfoutput></h4>
    </table>
    <table width="792">
    <tr><td>
    <cfoutput>Unique Visitors: #nav.recordcount# (page
    #nav.currentpage# of #nav.pagecount#)
    <cfif nav.previous>
    <a
    href="hitcount.cfm?page=#nav.previouspage#">Previous</a>
    <cfelse>
    Previous
    </cfif>
    <cfif nav.next>
    <a
    href="hitcount.cfm?page=#nav.nextpage#">Next</a>
    <cfelse>
    Next
    </cfif>
    <ul>
    <cfloop From = "1" To = "#nav.pagecount#" index =
    "pagenumber">
    <cfoutput>
    <a
    href="hitcount.cfm?page=#pagenumber#">#pagenumber#</a></cfoutput>
    </cfloop>
    </ul>
    </cfoutput>
    </td></tr>
    </table>
    <table width="792">
    <tr>
    <td>Date</td>
    <td>Visitor Number</td>
    <td>Visitor`s IP Address</td>
    <td>Visitor`s Country</td>
    <td>Path Taken</td>
    </tr>
    <cfoutput query="qrysales" startrow="#nav.startrow#"
    maxrows="#nav.maxrows#">
    <tr>
    <td>#qrySales.visit#</td>
    <td>#qrySales.id#</td>
    <td>#qrySales.RemoteAddress#</td>
    <td><cfif qrysales.country neq ""><a
    href="country.cfm?Remote_Addr=#qrysales.RemoteAddress#">#qrySales.country#</a><cfelse><a
    href="country.cfm?Remote_Addr=#qrysales.RemoteAddress#">Find
    country</a></cfif></td>
    <td><a href="hitpathdetails.cfm?id=#id#">See path
    taken</a></td>
    </tr>
    </cfoutput>
    </table>

  • How can I mail merge in new Pages 5.2 and send it by Mail?

         How can I merge mail in the new Pages version 5.2  and send it by Mail?
         It seems that there is not  a mail merger available anymore for Pages. Although it is a powerfull mecanism to send a bunch of letters by Mail, Apple has  downgraded themselves by excluding this feature from this app.  What is the solution to this problem?
         Should i seek a Microsoft program to resolve this issue, because the new version of pages simply will not cut it without these necessary features.

    If you have the previous version of Number and Pages you can still use those applications to perform a mail merge.  Neither the previous version nor the latest version support mass emailing.  There are other applications that can do that.
    Using my favorite search engine I was able to identify several services that can perform a mass email campaign:
    I used the search term: "mass email service"

  • How do I set a new account as default in safari when I send emails from a web page

    how do I set a new account as default in safari when I send emails from a web page
    thanks in advance

    In the Composing pane of Mail's preferences window, look for the pop-up menu labeled "Send new messages from." Select the desired account there.
    Note, though, that this won't change the behavior when replying to a message... in that case, the reply will be sent from the account that received the message, unless you specify differently at that time.

  • In the new Pages, how does one send an image to the background (and make it selectable)?

    How does one send an image to the background in the new Pages and how does one make it selectable?

    Also why don't TEXT to Speech short cuts established in system preferences work in the new Pages?
    I am confused (and not completely happy)

  • Can't send news page

    I have both mail and gmail installed on my macbook.Yesterday I downloaded 'notifier' for gmail as I use it only now and then and this saves time, I think? Since then I cannot send 'contents of news page' anymore. That is gray in safari, can only send 'mail links to this page'Had one pop up saying I cannot do it in gmail, use something else.Before I could study it I pressed the wrong key, and whoosh.Must I get rid of notifier? If so how. any other signals available like the little red '1' on my dock for mail?Thanks, Duncan

    Why not just use the Mail application to get your Gmail?
    Mail preferences / Accounts tab to add the account info.

  • Send data to asp w/out opening new page

    I'm a Director developer learning Flash. So much is the same,
    so much is different! Anyway, I have a SWF in a web page that uses
    an XMLConnection component to get XML from ASP. I use the
    XMLConnection as the dataProvider for a two Trees. I have a button
    that lets users associate elements from each tree, and the
    requisite data is sent to another ASP page via getURL() so it can
    be stored in a database. All this works fine, but I don't want a
    new page to open, as it does with the "_blank" getURL() window
    argument, and I don't want the current page to change to the ASP
    results(nothing) as it does with "_top", "_parent", "_self" or no
    argument. I've tried using the send() method of a LoadVars object,
    but have the same problem with it. I'm thinking of an in-elegant
    workaround by setting the URL property of another XMLConnetion to
    the ASP page I need to call and then calling trigger(). The
    XMLConnetion component will end up not getting any data back from
    the ASP page but the page should still do the SQL command and
    update the database I think. Is there another function or object
    I’m unaware of that’ll let me do this in a more proper
    way? Thanx in advance for your suggestions.

    LoadVars.send() was opening a new window? That's strange.
    I've had problems with LoadVars.send() and know there used to be
    bugs with it, so I've always used LoadVars. sendAndLoad, and just
    ignore the return. You have to specify a return LoadVars object(or
    it won't always work) but you don't have to anything with it, of
    course.

  • HT5624 Got a new iphone 5 today, how do I get Facebook  to work on it?  It keeps taking me to the iphone store or itunes store, and I enter everything and there is still no FB icon.  Although when I use SIRI it posts to my FB page.  Any thoughts?

    I just bought an iphone 5 and am trying to put my facebook page on it, it keeps taking me back to the itune store, and all my passwords are correct, but there is no icon to touch on.  SIRI works and posts to my FB page, how do I get the FB page to the phone though?

    This is a user to user support forum.  We are all iphone users just like you.
    You are not addressing Apple here at all.
    This is an odd way to ask your fellow iphone users for help. Berating oterh users will not help you.
    "it's too fragile"
    No it is not.  i have never damaged one, nor has anyone I know.
    " U loose data when Ur phone is locked"
    No you don't.  Why do you think this?
    "and there is no customer support!!!  "
    Wrong yet again.  Apple has an 800 number and they have many retail stores and they have support articles that you can access using the search bar. Or you can contact them throgh express lane online
    "but I will go back with Blackberry "
    Please do.
    Good ridance

  • Passing values from applet using POST method to PHP page

    Hello there ;)
    I realy need a help here.. I`ve been working all day on sending mail from applet. I didn`t succeed bcs of the security restrictions.
    So I decided just to pass arguments into PHP page, which process them and send e-mail to me.
    So here is the problem.. I need to send String variables througth POST into my php page. Now I`m using GET method, but I need more than 4000 characters.
    My actual solution is:
      URL url = new URL("http://127.0.0.1/index.php?name=" + name + "&message=" + message);
    this.getAppletContext().showDocument(url,"_self");I really need to rewrite it into POST. Would you be so kind and write few lines example [applet + php code]? I`ve already searched, googled, etc.. Pls don`t copy links to other forums here, probably I`ve read it.
    Thanx in advance to all :)

    hi!
    i`ve got some news about my applet.. so take this applet code:
    public class Apletik extends JApplet {
        public void init() { }
        public void start()
        try
          String aLine; // only if reading response
          String  parametersAsString = "msg=ahoj&to=world";
          byte[] parameterAsBytes = parametersAsString.getBytes();
          // send parameters to server
          URL url = this.getCodeBase();
          url = new URL(url + "spracuj.php");
          URLConnection con = url.openConnection();
          con.setDoOutput(true);
          con.setDoInput(true); // only if reading response
          con.setUseCaches(false);
          con.setRequestProperty("Content=length", String.valueOf(parameterAsBytes.length));
          OutputStream oStream = con.getOutputStream();
          oStream.write(parameterAsBytes);
          oStream.flush();
          String line="";
          BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
          while ((aLine = in.readLine()) != null)
           JOptionPane.showMessageDialog(null, aLine);      
           if(aLine.equals("")) break;
          in.close();      
          oStream.close();
        catch (Exception ex)
          JOptionPane.showMessageDialog(null, ex.toString());
    }here is code of spracuj.php which is on server:
    <?php
      if(isset($_POST['msg']))
        echo('hurray!');
    ?>it has only 1 problem.. when i test it on my localhost, everything seems to be all right. but when i post it to my server, i got IOException HTTP 400 error code :( where is the problem? please help me, i`m so close :D thanx

  • Why is my I Web not allowing me to open a new page?

    I open the iWeb application and in the site organizer is one website (My Homepage.) I recently deleted all of the pages underneath this website and now when I open iweb the website it listed but I cant add a new page or a new website. Everything is greyed out. When I go to File-Close it closes out the whole application. I want to create a new website and get rid of this old one. Help! Thank you!

    Try opening iPhoto and, using the iWeb icon from the toolbar at the bottom of the iPhoto window, send some pics to iWeb. Many times this will "awaken" the greyed out menu options. If it doesn't work the first time, try it again, even a third time. We had a post recently from someone who fixed the problem this way on the third try with iPhoto.
    http://discussions.apple.com/thread.jspa?messageID=3839987&#3839987
    A summary of other solutions lies in some very good notes from Kabing, listed here.
    Mark

  • Cannot create new pages/sites in iWeb '08

    I know this has been brought up so many times before. I read ALL of the posts.
    I am unable to create any new pages or sites in iWeb'08. The plus sign is greyed out and command-N does nothing.
    Here's what I've done:
    Deleted all files associated with iWeb and re-installed from the original DVD.
    Tried using the iWeb icon in iPhoto and iMovie (total of 20 times each). Nothing happens. The photos do not show up in iPhoto and I still can't do anything.
    Can anyone please suggest something else to try. I have an existing website that I prefer to use iWeb for, but I cannot update it until I can use iWeb.
    I can't believe Apple would release something this bad.

    Email me at
    [email protected]
    and I'll send you a domain.sites2 file.
    When you get it, quit iWeb, put it into Home Folder/Library/Application Support/iWeb and double click it to see if iWeb will launch and let you build a site.

  • Front page opens works shortly freezes. only yellow green buttons work. I click yellow to minimize normal top bar menu appears I choose new page, opens works normally. The restart saved tabs does not work on that first page.

    front page opens works shortly freezes.
    only yellow green buttons work. I click yellow to minimize normal top bar menu appears I choose new page, opens works normally.
    The restart saved tabs does not work on that first page.

    Hi @prdstudio3 ,
    Thank you for visiting the HP Support Forums. The Serial Number needed to be removed from your Post. This is From our Rules of Participation:
    Protect privacy - yours and others'. Don't share anything about yourself that you would not want to see on a road-side billboard. Don't post contact or other personal information-your own or anyone else's-or any content that you receive in one-to-one communications without the author's consent. For example, don’t post your computer’s serial # or contact information publicly, and do not allow someone you don’t know to remotely take control of your computer.
    If you need people to contact you directly, either ask them to send you a private message or subscribe to the thread so you will be notified when there are replies. You may also click on your name anywhere in the forum and you will be taken to your profile page, where you can find a list of threads you have participated in.
    Sharing personal email addresses, telephone numbers, and last names is not allowed for your safety. If you have any questions feel free to send me a private message in reply.
    Thank you
    George
    I work for HP

  • Crashes when inserting new pages into Templates from CS6

    InDesign CS6 is crashing frequently when page numbers or blank pages are inserted into an InDesign Template file, The problem persists for many different users on several platforms and operating systems.

    I have continued to have the same problems since I originally posted, including after the 7.0.2 update, though I have not tested EVERY scenario I did the first time after updating. Has anyone else seen improvement after the update? (I got the 7.0.2 update download via the built-in Adobe updater, not from the website, so I'm not sure where to locate it there).
    I am sorry to hear others having similar or the same issue, but hopefully it is helpful to have a thread going where all those experiencing this can add to the list until it is recognized as a bug. And fixed! Though it does not resolve the actual problem, two work-arounds we are using to function in the meantime are to (1) always make a really long document to start with, with all the pages we think we'll need and more and (2) have a new, blank InDesign document with several pages open and drag pages from the blank document into your working document. This is a way to "add" blank pages when they are needed without inserting new pages in any of the traditional ways (which cause crashes). I also always send the crash report in to Adobe and encourage others to do the same.
    If you have not already, all of you also having this problem could post a "bug report" here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Can't create new page

    Hi, I havwe ilife 06 installed on my Mac Pro and the open new page is greyed out and there is no + sign at the bottom left of the iWeb window.
    Thoughts on what is happening?
    thanks

    Here's a few things to try, some have reported that they work, many times they do not:
    ~Try sending media to the application. Open iPhoto and try to send a pic or two to iWeb. Someone posted that this wakes up the menu, but I can't vouch for it.
    ~Delete the com.apple.iWeb.plist file found in your Home folder's Library>Preferences. Restart.
    The one thing that has always worked, as far as I know, is deleting the application entirely and reinstalling it from your recovery disks. You will have 1.0.1 at that point, and you should then update directly from the link provided earlier to 1.1.1.

  • Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount 28

    Post Author: tadj188#
    CA Forum: Formula
    Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
    Background:
    1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using  subreports.    A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report    with their respective detail lines).  I had multiple subreports and each subreport became one union.
    Created and tested, already:
    1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
    Issue:
    1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
    Other Ideas Appreciated:
    1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
    Thank you.
    Tadj

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

Maybe you are looking for

  • How to use a Submit Sentence with a transaction tha has 2 screens?

    Hi all, I want to use the SUBMIT sentence to call the WRP1 transaction, but how can I control the second screen after the SUBMIT to the 1000 screen??. This because the first screen of this transaction is returning me to the second one, and I need to

  • Labview pda module: how can I resize image dynamicall​y in an applicatio​n?

    Hello every one,  I am currently working on the development of an application on a PDA (brand Nomad) and whose OS is Windows Mobile. So I am using the PDA module of Labview 8.6.My problem is the following one: in my application I would like to be abl

  • Problem with Characteristic cell width

    Hi All, I'm struggling to get the characteristic cell width using the table interface to work correctly. I have coded the following in CHARACTERISTIC_CELL in the table interface : move 'style="width:230px"' to c_cell_td_extend. This appears to work i

  • Can see events in a subscribed calendar

    Both my wife and I have published out calendars to a server and then subscribed to each others calendar. There were no errors during the publish/subscribe process and each others calendar shows up in the calendar list under Subscribed. However, she s

  • Regarding explain plan

    hi all, i am using database 10g. i have explain as below SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY); PLAN_TABLE_OUTPUT Plan hash value: 2715695103 | Id  | Operation                     | Name                   | Rows  | Bytes | Cost (%CPU)| Time