Flash Forms & CFGRID

I have flash form where I can transfer items between 2 grids.
The idea is to take items from grid1 and move to grid2 and on
submit it will take items from grid2 and instert them into the
database. This part works fine as long as grid2 is empty, but when
I go to edit these items so grid 2 already has items in it, any
item that I add from grid1 doesn't save. I even tried function
where all items in grid2 get edited and this way they would be set
to U as action, but it doesn't work. I use <cfif
isdefined("Form.grid2.rowstatus.action")> and then loop db
insert as Form.grid2.rowstatus.action index.
Is there a way to take all items from a grid regardless if
they are updated/inserted and submit them?

Did you ever find an answer to this question?

Similar Messages

  • Cfselect, cfinvoke, cfgrid in flash forms

    In an MX7.02 cfform format="flash"
    I would like a user to select an option in a cfselect. (e.g.
    name)
    The selected value would be passed to a cfinvokeargument
    the cfc returns the query results to a cfgrid
    get agent names....
    <CFINVOKE COMPONENT="agentQA"
    METHOD="getAgents"
    RETURNVARIABLE="aData">
    populate cfselect....
    <cfselect label="Agent" visable="yes" name="agent"
    query="aData" value="message_author" display="message_author">
    </cfselect>
    query messages posted by the selected agent...
    <CFINVOKE COMPONENT="agentQA"
    METHOD="getquery"
    RETURNVARIABLE="qData">
    <cfinvokeargument name="agent" value="??????????????">
    </cfinvoke>
    don't know how to bind the selected agent name to the
    argument????????
    output only the selected agent's messages to messagesgrid
    <cfgrid format="flash" width="100%" height="100%"
    name="messagegrid" query="qData" rowheaders="false">
    </cfgrid>
    Any suggestions? I'm open to a different approach since I'm
    just learning flash forms in CF.
    Thanks,
    Don

    Using the
    selected="[your value]" argument.
    This can be a value from a query.
    For instance, try the example in
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000331.htm
    but add
    selected="4" to the cfselect tag
    i.e.:
    <cfselect
    name = "employeeid"
    size = "1"
    multiple="yes"
    required = "No"
    query = "GetAllEmployees"
    display ="name"
    value ="emp_id"
    queryPosition="Below" width="100" selected="4">
    4 is the emp_id value of Aaron Smith.
    In your application, you would replace
    selected="4" with
    selected="[your database value]"

  • Submitting only part of a Flash form's data - possible?

    So, in this app that I'm building, it would be REALLY handy
    to be able to process select portions of the Flash form. It's
    essentially an app with a couple of smaller sub-apps contained
    within; think of something like a CRM app. Is it possible to only
    submit the data from, say, a cfgrid element?
    Thanks
    Pete

    One of the best resources is asfusion, heres alink
    introduction-to-flash-remoting
    Check out the other examples they have as well.
    Ken

  • Href in CF FLASH FORM

    I'm having some problems with my Rich Form using Flash Forms
    built into ColdFusion8. When I add the href and ran the site, when
    you click on the column and item under that column nothing happens.
    What is missing here?
    <cfform name="myForm" format="flash" width="400"
    height="300" skin="haloorange">
    <cfformgroup type="panel" label="Current Accounts">
    <cfformgroup type="horizontal">
    <cfinput type="text" name="forInput" width="120"
    onchange="#actionFilter#" label="Filter by:">
    <cfselect name="column" label="in:"
    onchange="forInput.text=''" width="90">
    <option value="Account_Type">Account
    Type</option>
    <option
    value="ID_Company_Community">Community</option>
    <option value="LastLogin">Last Login</option>
    </cfselect>
    </cfformgroup>
    <cfgrid name= "data" query="memberList" height="200"
    rowheaders="false" selectcolor="##FFFFCC">
    <cfgridcolumn name="Account_Type" header="Account Type"
    href="test.cfm">
    <cfgridcolumn name="ID_Company_Community"
    header="Community">
    <cfgridcolumn name="LastLogin" header="Last Login"
    mask="MMMMM-DD-YYYY">
    </cfgrid>
    </cfformgroup>
    </cfform>
    When you click on an item under that column shouldn't it take
    you to test.cfm????
    --------- UPDATE --------
    I see that the href IS NOT supported in the FLASH format. Is
    there way to accomplish the task without href? How can I make a
    column a href and redirect the user to a details page for that
    selected listing? Thanks
    Thanks for your anticipated response.
    Todd Warne

    Hi-
    I copied your form code and submitted the variables back to
    that page, and got no error, for what that's worth. My guess is
    that the prob. might be in the page you're submitting to rather
    than in the form itself?

  • Dreamweaver and visual editing of ColdFusion Flash Forms

    Does anyone nows how to
    Visual edit ColfFusion Flash Forms in Dreamweaver CS3
    ??

    The second part of your question doesn't make sense or you
    are not explaining correctly. You have a grid which spawns a popup,
    user selects company name and binds to text field. Ok. But you
    should then submit that info to a query, no?
    Also look into this:
    http://www.asfusion.com/blog/entry/filtering-a-cfgrid-as-you-type--revisited-

  • I Need Dire Help Making a Flash Form

    Hello, I need some serious help creating a Flash Form.
    I Have used a template from another site with the following
    input boxes:
    Name: __________
    Email: __________
    Comments: ____________
    However, i had the script working fine, along with its php
    script,
    when i was trying to add more "text" boxes, i must have
    messed the script up somhow.
    When I submit that form, the name is send and email, but the
    email is blank.. ie, there is no "comments"
    here is the code:
    on submit button:
    on (release) {
    // send variables in form movieclip (the textfields)
    // to email PHP page which will send the mail
    form.loadVariables("email.php", "POST");
    sent email messege
    onClipEvent(data){
    // show welcome screen
    _root.nextFrame();
    and the php script (mailer.php)
    php form email.pho
    <?php
    * PHP 4.1.0+ version of email script. For more
    * information on the mail() function for PHP, see
    http://www.php.net/manual/en/function.mail.php
    // First, set up some variables to serve you in
    // getting an email. This includes the email this is
    // sent to (yours) and what the subject of this email
    // should be. It's a good idea to choose your own
    // subject instead of allowing the user to. This will
    // help prevent spam filters from snatching this email
    // out from under your nose when something unusual is put.
    $sendTo = "[email protected]";
    $subject = "My Flash site reply";
    // variables are sent to this PHP page through
    // the POST method. $_POST is a global associative array
    // of variables passed through this method. From that, we
    // can get the values sent to this page from Flash and
    // assign them to appropriate variables which can be used
    // in the PHP mail() function.
    // header information not including sendTo and Subject
    // these all go in one variable. First, include From:
    $headers = "From: " . $_POST["firstName"] ." ".
    $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
    // next include a replyto
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    // often email servers won't allow emails to be sent to
    // domains other than their own. The return path here will
    // often lift that restriction so, for instance, you could
    send
    // email to a hotmail account. (hosting provider settings may
    vary)
    // technically bounced email is supposed to go to the
    return-path email
    $headers .= "Return-path: " . $_POST["email"];
    // now we can add the content of the message to a body
    variable
    $message = $_POST["message"];
    // once the variables have been defined, they can be included
    // in the mail function call which will send you an email
    mail($sendTo, $subject, $message, $headers);
    ?>
    If anyone can see why the "comments" section is not being
    sent?
    Also: My original problem was how do you add more text boxes.
    I want something like this:
    Name:
    Address:
    Phone:
    Mobile:
    Email:
    Website:
    Comments:
    Ive spent days and days trying to work out how to first make
    a form that actually works, then add more text fields
    Ive looked at many basic form tutorials, but they all seem to
    only have 3 or 4 text fields.. Name, Email, Comments... etc
    I haven't a clue how to edit the script both in action script
    and php to add more fields easy.
    I really need some help with this, its turning into a
    nightmare for me.
    I can provide someone with my .fla project file if they care
    to take a look at what im doing wrong.
    Thanks
    Pan
    ps. Please note: "$sendTo = "[email protected]";" =
    this line i know i must put in my own email.

    This is all about timelines. It seems there is a movieclip
    named 'form' (or possibly an actionscript object, can't tell). Any
    variables created on that timeline are sent.
    So you could have your new textfields on another timeline.
    Or you could have textfields with no instance name in the
    form timeline.
    Those are the first two things to look at. Post the FLA and
    we can tell you more specifically.

  • Flash form error, can't use the same name more than once? need workaround

    I've always written my forms to have multiple buttons, one
    for updating and one for deleting. so in html I would do this:
    <input type=submit name=action value=Update>
    <input type=submit name=action value=Delete>
    so I'm trying the same thing with flash forms in cold fusion:
    <cfinput label="Update" name="action" type="submit"
    value="Update">
    <cfinput label="Delete" name="action" type="submit"
    value="Delete">
    but now I get this message:
    2 Errors found.
    Error /index.cfm:334
    id 'action' was already defined on line 333
    Error /index.cfm:335
    id 'action' was already defined on line 333
    Is there a way to make this work or do I have to either
    create a special action_delete or a new form? I'd like to keep the
    logic the way I like.
    Any suggestions?
    Thanks,
    John

    I was hoping to do logic like this
    <cfparam name="action" default="list">
    <cfif action equal "list">
    <cfelseif action equal "update">
    <cfelseif action equal "detail">
    <cfelseif action equal "delete">
    </cfif>
    So I just converted everything to html and things work the
    way I like. thanks anyway. The forms don't really buy me anything.

  • Flash forms -- Not displaying in IE

    This is my first foray into flash forms, and I discovered
    yesterday that while they look/work beautifully in Firefox
    (2.0.0.4), they're not displaying at all in IE (6 or 7).
    I'm using it to force the user to input their date in a
    uniform format, so I'm sure there's a non-flash workaround. I'd
    like to get this sorted out though, so my future work with flash
    can be more involved.
    Code is attached. Please let me know if I can provide further
    clarification.

    Michael --
    Thanks for your help.
    I think I've narrowed the problem down -- it's not that it
    won't display my flash form in IE, it's that it won't display it in
    a Fusebox environment. I'm going to poke over at their site to see
    what they have to say -- I suspect I'll need to upgrade the version
    of Fusebox that I'm using. :)

  • How to validate date fields in the flash form

    i want to validate the date fields to make sure the values
    are not greater than today's date and from-date is less than or
    equal to to-date in the flash form. Does the actionscript have a CF
    DateDiff function for the validatation?
    Thanks

    I finally (after much reading up on actionscript) figured out
    my problem with date validation...which was similar to yours...
    I posted the solution I found for my AS date validation issue
    here:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=22&threadid=1232361
    I hope it helps!!!

  • Flash forms in Safari 3.0

    I just installed the new Apple Safari 3.0 for Windows. I
    wanted to see how our web site would work with the new browser. I
    found that flash forms do not load. All I get is a blue lego block
    with question marks. I checked the plugins and there is a listing
    for "Shockwave Flash" version 9.0 r45. Is there something else that
    needs to be installed to make this work?
    Thanks,
    Don

    Count me on with the problem. We are running CF 7. I have
    also not found anything. I did report it using the little bug in
    Safari 3 and have been looking for the latest releases of the
    browser. I love the browser overall (I am an apple fan) but we need
    this to work. I am wondering if the problem is in how CF renders
    and puts out the flash content. Some kind of meta data that is not
    up to date? Have no clue however.
    Marius Morosanu
    [email protected]
    www.goreve.com

  • How to get "Subject" & "Message" text from Flash form to default e-mail MS Outlook?

    Hi,
    I have the following code which is working fine except I can't get the user typed data from flash form to my default e-mail (MS Outlook) application. How to edit the following code?
    In the code:
    1) To  ---->  this field is okay since this email ID doesn't change
    2) Cc  ---->  this filed is also okay since no changes will be in email ID
    3) Subject  ----> this may not be always as "Feedback", user may like to change the subject
    Whant I would like to add more here is:
    1) From  ----> this text to be retrieved from "fromText.txt" input text box
    2) Message  ----> this text to be retrieved from "MessageText.txt" input text box
    //1.Button event listener
    SendMail.addEventListener(MouseEvent.CLICK, SendEMail);
    //2.The SendMail function open up email application to send email.
    function SendEMail(event:MouseEvent):void {
    var email:URLRequest = new URLRequest("mailto:[email protected]?CC=[email protected]&Subject=Feedback");
    navigateToURL(email, "_blank");
    Thanks in advance for any support.
    Regards.

    Thanks for the reply. I tried the code and result is like the following:
    To: [email protected]
    Cc: [email protected]
    Subject: [object TextField]?body=From: [object TextField]
    Body: Blank
    The problem exist in SUBJECT & BODY.
    Further help, please.
    Thanks.
    PS: I removed the ? before body and put & ------> the result is as follows:
    To: [email protected]
    Cc: [email protected]
    Subject: [object TextField]
    Body: From: [object TextField]
               [object TextField]
    One more thing that it opens an empty web page with the following text in adress bar:
    mailto:[email protected]?CC=poweruser@helpdesk&Subject=Feedback

  • Flash Forms do not work in Production

    My question is simple. I am unable to find server
    requirements for Flash forms anywhere on Adobe's website. It claims
    you can find more in the other technical documentation but I
    couldn't. What technologies need to be installed in order to
    utilize flash forms SERVER-WISE?
    I have a production server, a pre-production server (running
    full cfmx7), and a development server. The application works on the
    test machine, and on pre-production. The flash form simply does not
    render and no errors are displayed.
    If I convert it to a normal cfform it displays fine on the
    troubled machine. It will not display even the most simple of flash
    forms.
    Thanks for any help!

    Did you make sure that you have a virtual directory mapped to
    the CFIDE directory in IIS on your production server?
    Ron

  • International characters in flash forms

    Hello. Is there any way to put international (here: polish)
    characters into flash forms (like text input)? Thanks in
    advance.

    PIT_PIT wrote:
    > Hello. Is there any way to put international (here:
    polish) characters into
    > flash forms (like text input)? Thanks in advance.
    yes:
    http://www.sustainablegis.com/projects/flashforms/unicode.cfm
    <cfprocessingdirective pageencoding="utf-8">
    <cfquery name="getU" datasource="unicodeLab">
    SELECT uniText, uniLanguage
    FROM unicodeTest
    WHERE uniLanguage='russian'
    </cfquery>
    <cfsavecontent variable="inputStyle">
    borderStyle:none;
    disabledColor:#2e8b57;
    fontSize:11;
    backgroundColor:#EFF7DF;
    fontFamily:'Arial Unicode MS',Arial,Helvetica,sans-serif;
    </cfsavecontent>
    <cfparam name="form.unicodeTxt"
    default="#getU.uniText#">
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>flash and unicode</title>
    </head>
    <body>
    <cfform action="unicode.cfm" method="POST"
    format="Flash">
    <cfformgroup type="HORIZONTAL">
    <cfinput type="Text" name="unicodeTxt" width="120"
    required="No" visible="Yes"
    enabled="Yes" size="20" maxlength="20" style="#inputStyle#"
    value="#form.unicodeTxt#" label="unicode text:">
    <cfinput type="Submit" name="go" value="submit"
    visible="Yes" enabled="Yes">
    </cfformgroup>
    </cfform>
    </body>
    </html>

  • How to Use Captcha in Flash Forms

    Hi, does anyone knows how to use a captcha in flash forms
    I am using Coldfusion 7 not version 8.
    Please Guide Me
    Cheers

    > CF response
    You said you needed help with ActionScript. What I gave you
    is ActionScript.
    Coldfusion has no built-in method called
    match. You should use REMatch(reg_expression, string) or
    REMatchNoCase(reg_expression, string), assuming you're on CF 8, of
    course.

  • Flash Forms Not Rendering in IE7, Flash 9

    We're having a problem with flash forms in IE7 and Flash
    Player 9 not rendering the entire form. The form works fine in
    Firefox 2. It looks to be a problem with how the Flash player is
    able to pull back data in IE7. Likely this pertains to how IE7
    handles security of plug-ins.
    Oddly, we've noticed that uninstalling the Flash 9 player and
    then reinstalling results in the form rendering correctly the first
    time, but on subsequent views the form no longer renders correctly.
    Specifically, we're not seeing data that is being called via
    Flash remoting in cfselect tags (state and country information).
    And we're not seeing text rendered that is in cfformitem tags. Our
    dev url is:
    http://hopeequity.beaconfire.com/loggedout/index.cfm?event=StartInvesting_StartAGroupStep1
    If anyone has an idea of why IE7 might not be able to render
    the form correctly, or might have security-related issues with
    remoting and Flash 9, please reply.

    I was granted access to the manuals on our prod server (the
    site is set up where you have to log in to see the manuals). The
    manuals are behaving differently on the prod server than in our dev
    server. The following is happening on the prod server:
    - the flash menus are appearing on our prod server in FireFox
    only.
    - I had reported in our dev area that when I right clicked on
    the left hand side where the menus are to appear in IE that the
    Flash menu displayed. This is not the case in our production area.
    - I get the "This page contains both secure and nonsecure
    items" when viewing the site on our prod server through IE
    I've asked them what version of RoboHelp they are using and
    no one seems to know. It seems they don't regenerate their help
    files (manuals) very often.

Maybe you are looking for

  • Is there a way to combine the best of slideshow and tooltip widgets?

    I am trying to produce a sliding menu similar to the "Now Playing" movies listed on this website : http://themoviehouse.com/    where you can mouse over and a box pops up and stays up so that you can click links within the box. The catch is that I ne

  • BDC Session processing in SM35

    Hi, Please let me if a session in SM35 has lot of data to process, will it be timed out?? Thanks & Regards, Soumya.

  • Online Background job for Module pool program

    Hi,     I need to process the dialog program in background. Normally for any executable report programs by default we will have that functionality. But i need the same functionality for my module pool program. User needs 2 execute buttons - one is fo

  • WLC Not Monitoring AP Status Correctly?

    My 8510 HA pair running 8.0.110.0 doesn't seem to be monitoring the AP status properly. If an AP goes down or is otherwise taken off line, the total number of AP's on the Summary page drops by 1. It should show the same number of Total APs with the n

  • Activity Report iView

    Hello all, I have a question regarding Activity Report iView. We are using two portals. The support package level is SPS11 patch 6. The activity Report iView only works on one of the portals correctly. The data are displayed well. But the same iView