CFGRID posting data to action page

Is there a way to get an HTML CFGRID to post all its rows to
an action page rather than just the selected row?

Sheilia : Read this blog for Ben. Hope will help.
http://www.forta.com/blog/index.cfm/2007/6/25/ColdFusion-Ajax-Tutorial-6-Editable-Data-Gri ds
aaronmartinez : I believe there is away to do that, have ever
tried to apply same example for JAVA GRID in CF documentation to
CFGRID HTML?

Similar Messages

  • Post Data to ASP page

    Hi,
    I'm trying without success to write an AS3 script to post data to a server ASP page (which is scripted in ASP to insert the data into a DB. The ASP script does not return any data to Flash.). It is set up so that it only receives data and does not send any data back.
    I've written a script which follows, but I get back a trace of "error" (see script), and when I independently check the DB, no new data that I am trying to send, is received. So, not working.
    storeBtn.addEventListener(MouseEvent.CLICK,dbStore,false,0,true);
    function dbStore(event:MouseEvent):void{
    var g2:String;
    if (selectGm == true){
    g2 = "abc";
    if (selectGf == true){
    g2 = "xyz";
    var scriptPage6:String ="https://mysite.com/ASPpage.asp";
    var request6:URLRequest = new URLRequest(scriptPage6);
    request6.method = URLRequestMethod.POST;
    var variables6:URLVariables = new URLVariables();
    variables6.aaa = data88;
    variables6.bbb = data99;
    variables6.name = name6;//carried over in the script from text input in an earlier frame: var name6:String = username_txt.text;
    variables6.ggg = g2;
    var loader6:URLLoader = new URLLoader();
    loader6.dataFormat = URLLoaderDataFormat.VARIABLES;
    loader6.addEventListener(Event.COMPLETE, handleComplete6);
    loader6.load(request6);
    //request6.data = variables6;
    var msg:String;
    function handleComplete6 (event:Event):void{
    var msg = event.target.data;
    if(msg=="true"){
    trace("Done!");
    } else{
    trace("Error: "+msg);
    I must be doing something wrong and would appreciate any help. I'm not sure how to send data when no return data is needed or requested?
    The goal is simply to send 4 items to the ASP page (aaa, bbb, name and ggg) which can process and insert these into a DB.
    Regards,

    Hi esdebon,
    Thank you. The script executes OK. No error, traces OK.
    But, I am still not geting any new data into the DB.
    This is most likely a mistake I am still making with the variables I am sending. I've used this ASP page before and it works. So, I will check what I am sending.
    Hi kglad,
    I am trying to adapt another script that I am using in the same FLA, but that script does get a return of data. So, I renamed it from variables to variables6, to give it a unique (non-conflicting name), and in my experimenting to try tofind what would work, I probably commented it out.
    Is it needed?
    One other way to deal with the data, if the DB will not work:
    SMTP Mail from the SWF/APK, using ASP, that sends the data to me.

  • How to Post Data to Web Page

    I want to maintain a list on one of the pages on my website.
    How can that be done in iWeb? a spreadsheet, a text file? Would I ftp it, open iWeb every time and edit and repost?
    Any suggestions would be appreciated
    Thanks

    Dean wrote:
    Any suggestions would be appreciated
    Dean ~ Perhaps use a Google Gadget that you paste into iWeb's HTML Snippet window — then you can update the list directly in a web browser, rather than having to republish your site or re-upload a particular file. I haven't actually tried this first one as it requires that you register with them. And, assuming it's a working product ( ! ), perhaps you'll need to log in before you can update your list via a web browser:
    http://www.listaculous.com
    And this next one doesn't require log in, but the data doesn't appear to persist — so not too useful!:
    _Really Simple List_
    More useful & useless Google gadgets may be found by searching HERE. And this:
    http://tadalist.com
    ...was found by doing THIS.

  • How can I POST data within the same page if I have a A HREF -tag as input?

    How can I POST data within the same page if I have a <A HREF>-tag as input? I want the user to click on a line of text (from a database) and then some data should be posted.

    you can use like this or call javascript fuction and submit the form
    <form method=post action="/mypage">
    cnmsdesign.doc     
    </form>

  • To display posting date in alv top of page area for transaction KOB1

    I want to display posting date given on selection screen of transaction KOB1 to the alv top of page area on final alv output .
    what are the possible solutions ?

    I want to display posting date given on selection screen of transaction KOB1 to the alv top of page area on final alv output .
    what are the possible solutions ?

  • Why can't Max Size of Post Data be increased?

    We need to do a CFFILE upload of 1 – 3 GB videos and are having troubles.
    (I know this is crazy, but FTP, network mapped drives, etc. aren’t going to leave an audit trail like an HTML form will for when people have to upload/update/delete bus incident videos.)
    I can't increase the Max size of post data to even 2048MB without people getting "500" errors who are trying to upload small gifs or pdfs.  If I move it above 2047MB, no one can upload anything.
    Our setup:
    CF Enterprise 8.0.1 with Hot Fix 2
    2 - Win Servers 2003 R2 Enterprise x64 using replication, load balancing, and MS virtual machine.
    CF is clustered so the Java class paths begin with
    C:/JRun4/servers/HSWSD0C1O/cfusion.ear/cfusion.war/WEB-INF/...
    CF Admin settings:
    Max size of post data = 2047MB
    Request throttle threshold = 4MB
    Request Throttle Memory = 3072MB
    Setting of 10 simultaneous requests.
    Restarted CF services after Hotfix 2 install.
    On the Application.cfm page I put
      applicationtimeout="#CreateTimeSpan(0,4,0,0)#"
    Basic code for uploading:
    <!--- upload file and get results --->
       <cffile action="upload"
          filefield="file"
          destination="#fileDirectory#"
          nameconflict="error"
          result="uploadResult">
    This code works for small files IF I don't raise the max size of post data above 2047MB, which means we'll never get those videos up.
    I've been fighting with this for weeks.  Any ideas?
    Thanks!

    First thought is that Web Servers can impose their own upload throttles.  You should check the documentation of your web server as well.
    Secondly
    I know this is crazy, but FTP, network mapped drives, etc. aren’t going
    to leave an audit trail like an HTML form will for when people have to
    upload/update/delete bus incident videos
    What wouldn't FTP leave an audit trail?  FTP communication can leave just as much, if not more, of an audit trail as HTTP communications.
    Network mapped drives, I'm not so sure about, but I imagine there are ways to audit these as well.  But then if you can use network mapped drives, you must be working with a well defined set of users all of which belong to a well defined network domain.
    P.S.  Also make sure that the max post size limits fit inside the overall limits of jvm memory.  Trying to upload a file larger then the memory it can fit in sounds like a likely source of problems.

  • POST DATA TO ASP

    Please help me to send post data.
    I can send data to asp but i dont know how to send file atachment to asp web page.
    any help wellcome
    <form name="frmSend" method="POST" enctype="multipart/form-data" action="uploadForm.asp" onSubmit="return onSubmitForm();">
    <tr>
    <td><p> <b> Attach Your Previous Work: </b> </p>
    <p> <b>bbbbbbbbbbbbbbbbbb</b></p><p> (yyyyyyyyyyyyy) </p>
    Attach File: <input name="attach1" type="file" size=35><br>
    </td>
    </tr>
    <tr>
    <td width=100% align=right>
    <input type="Hidden" name=Uid value=16156>
    <input type ="Submit" value="Attach" id=Submit name=Submit> </td></tr>
    </form>
    </table>
    Message was edited by:
    samaraweera

    Read the HTTP/1.1 specs.
    Here's a hint - try learning for yourself by reading these things we call them books. Can you say that - B-O-O-K.
    To upload a file, is basically no different then any other form field data. You send your response with the field name "attach1=" and the data.
    Example:
    POST /uploadForm.asp HTTP/1.1
    formField1=something
    formField2=else
    attach1=5v75xc75xc75bx4bbn84x74bnx5n6mb756m4b975xb4mb5vm4
    5b4m5bvm45b6m468mmmmmmmmmm4c564v64c684mc4m4m684v
    8795c95675cxb6795xc967b5n67cb45x5c4xc6b3xc3848cb3nx8cn384m

  • Xsql:delete-request key-columns has to be form posted data?

    I am trying to link a hyperlink "delete" on a table to a page "jobs-list-delete.xsql?jobnumber={JOBNUMBER}". When I use:
    <form method="post" action="jobs-list-delete.xsql?jobnumber={JOBNUMBER}">
    <input type="submit" value="delete"/>
    </form>
    it worked fine. but I want to use "delete" as a hyperlink instead of a button, so I tried the following:
    Delete
    unfortunately, it didn't work with the above hyperlink.
    I would like to know if xsql:delete-request key-columns value has to be form posted data instead of a query string in an URL from a hyperlink. Is there any way to work around this?
    The code I used in jobs-list-delete.xsql is as follows:
    <xsql:delete-request key-columns="jobnumber" table="jobs" transform="request-to-InsertJob.xsl"/>
    Thanks...
    Wenqi Dwyer

    <xsql:delete-request> works with a posted XML request or a POST'ed HTML form.
    To delete things with a simple HTTP GET, you can use <xsql:dml> and a DELETE statement.

  • Run action page in new window

    Hi,
    I have a very complex report formular on which the default action page is the formular itself.
    I try to submit the page to a second action page in a seperate window.
    It works, but if I go back to my first (main) window and try to work on in this window , the actionpage is displayed in second window.
    What's wrong in my code? I think problem is form.target...
    Here's my code:
    <script type="text/javascript">  
    function popSubmit(form)  
    var popStyle = "width=900,height=800,location=yes,resizable=yes,scrollbars=yes,dependent=no;";  
    var popName = "formPopUp"; 
    form.action = "report2.cfm";  
    form.target = popName;
    return true;
    </script>
    <cfform  name="form1" action="report.cfm" enctype="multipart/form-data" method="post" >
    <cfinput name="view" type="submit" value="View3" onclick="popSubmit(this.form);">
    </cfform>
    regards
    Claudia

    If it is the pop up, I can open only one record at a time. Here I need to allow the user to open multiple records. And if any of the record is updated, then the employee id table should get refreshed.
    Please suggest.

  • Multiple buttons for same action page

    I have a cfform with an action page.
    I have two buttons at the bottom with different labels, like
    button 1 and button 2, that call this action page to insert data.
    After the insert, the page needs to be redirected page 1 if button
    1 was selected, and redirected to page 2 if button 2 was selected.
    How can I separate the two so that they go to different forms
    I tried passing a variable in the cfform action, but it
    applies to both buttons, thus both go to the same place, and I
    cannot seem to separate.

    trojnfn wrote:
    > <script language="javascript">
    >
    > function validateForm(pack_slip_form){
    >
    > var returnStatus = true;
    >
    >
    > if (pack_slip_form.supplier_name.value == ""){
    > alert("Please Enter The Supplier Name");
    > pack_slip_form.supplier_name.focus();
    > returnStatus(false);
    > }
    >
    >
    > if (returnStatus){
    > pack_slip_form.submit();
    > }
    >
    > returnStatus(true);
    > }
    >
    as far as i can see, returnStatus is not a function, so what
    is
    returnStatus(true) ???
    change that line instead to
    else {return false;
    > This is my form tag, from the other example :
    > <cfform action="pack_slip_action.cfm method="post"
    name="pack_slip_form"
    > onSubmit="return ValidateForm()">
    >
    > And here are my two buttons below :
    >
    > <input type="submit" name="button_1" value="SAVE AND
    ADD PACK SLIP"
    > onClick="validateForm(document.pack_slip_form)">
    >
    > <input type="submit" name="button_2" value="ASSIGN TO
    PROCUREMENT"
    > onClick="validateForm(document.pack_slip_form)">
    >
    >
    you only need to call your validateForm function either from
    the <from>
    tag OR your submit buttons, not both.
    and the function call in the form tag is incorrect - a) the
    function
    name is spelt wrong and b) it does not pass required argument
    to the
    function. change that to onSubmit="return
    validateForm(document.pack_slip_form)" and remove the onCLick
    events
    from your buttons
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Linking back to a query after action page

    Wondering if anyone knows the best way to add a link on an
    action page that will take a user back to a completed query page.
    What I have is a query results page that allows to edit or delete,
    after the action of either edit or deleting I need to bring the
    user back to the first query page so they can edit or delete more
    if they wish.
    This sounds easy but I can't figure out how to do it. I am
    assuming I will need to pass the completed query information
    through to my action page so I can link back to it? Below is my
    code:
    Query Page (finddate.cfm):
    <cfquery name="qstudents" datasource="ardexseminars">
    SELECT * FROM registrants WHERE seminardate = '#seminardate#'
    ORDER BY seminardate, seminar
    </cfquery>
    <form action="groupdelete.cfm" method="post">
    <cftable query = "qstudents"
    startRow = "1" colheaders colSpacing = "6" HTMLTable
    border="1" headerlines="2">
    <!--- each cfcol tag sets width of a column in table, and
    specifies header
    information and text/CFML with which to fill cell --->
    <cfcol header = "<c>Admin</c>"
    align = "Left"
    width = 25
    text = "<a href=editstudent.cfm?id=#id#>Edit</a>
    | <input type=checkbox name=remove value=#id#>Delete | <a
    href=viewsaved.cfm?letterid=#id#>View Saved</a>">
    <cfcol header = "<c>Seminar</c>"
    align = "Left"
    width = 25
    text = "#seminar#;#seminar_type#">
    <cfcol header = "<c>Seminar Date</c>"
    align = "Left"
    width = 25
    text = "#seminardate#">
    <cfcol header = "<c>Name</c>"
    align = "Left"
    width = 25
    text = "<a
    href=display.cfm?id=#id#>#name1#</a>">
    </cftable>
    <br>
    <center>
    <input type="submit" value="Delete Selected">
    </center>
    </form>
    Action Page (groupdelete.cfm)
    <cfquery name="delstudents" datasource="ardexseminars">
    DELETE FROM registrants WHERE id IN (#form.remove#)
    </cfquery>
    Registration info deleted
    <br><br>
    <A HREF="no idea what to put here..">Back</A>
    That back link is where I need to bring them back to the
    query page (finddate.cfm).
    Thanks in advance for any help.

    >> <A HREF="no idea what to put
    here..">Back</A>
    <A HREF="finddate.cfm">Return to the previous
    page.</A>
    If you need to send back a couple of variables, add them to
    your URL. For example, you mention returning to a "completed query
    page." You might want to send back
    finddate.cfm?seminardate=#seminardate# and requery the
    database.

  • Encrypyt POST data

    Hi i had a question with the following scenario.
    I had a textbox in the browser,the textbox is in a form, i use post action to post data from the current page to the server or any other page.
    And i had a button also.
    whenever i click the button the data will be posted to the sepcified url in the action element of form,and it is normal.
    My question is, whenever i click the button, the data in the textbox has to be encrypted (i had my own algorthim) and that encrypted data had to be posted, not the originial data in the textbox.
    How to achive this.
    If any one has solution, please post it here or send a mail to me at [email protected]
    Please,
    I want the solution.

    You have your own algorithm and you don't know how to work it? and you expect us to know?

  • 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)

  • MB5B stock on posting date

    Hi experts,
                            For a material XX which was  zero stock on 15/11/2008.Goods receipt(MIGO 101) done on 15/11/2008 of qty 100kg. So stock was 100kg. I have issued material XX of qty 75 kg to cost center and entered posting date 3/11/2008. My system allowing me to issue that material on 3/11/2008 without any warning or error msg. But at that there was no stock. So that if i check the report MB5B stock on posting date my closing stock showing in negative for 3/11/2008. Our requirement is how to stop this back dated posting? System should not allow me if i am posting on back date?
    Thank you
    SAP

    hi Rehan,
    I have checked all settings also enhancement  but there is no as such control to restrict backposting within current period
    I think its self disipline action not to post backdated GI when GR is done on later date
    Vishal...

  • Any Standard FM  for material stocks on posting date  using  Tcode  MB5B

    Hi,
    I  need   Standard  FM  to get  material stocks on posting date  using   Tcode   :   MB5B
    Stock type  i am using  is  : Storage Location/Batch Stock
    the  Input   i am  providing  is    Material, Plant , Storage Location, selection  date From , selecDate To.
    Then   i need  to get  data  that it  provides   header  and  document  item level.
    Can u please tel me  how do i get  that  material stock data  on posting date and in which tables
    it will be populated in the database.
    ITs required  can u take view and post info
    Thanks & Regards
    sivakumar kasa
    Edited by: siva kumar kasa on Dec 21, 2010 2:30 PM
    Edited by: siva kumar kasa on Dec 22, 2010 7:15 AM

    hi Rehan,
    I have checked all settings also enhancement  but there is no as such control to restrict backposting within current period
    I think its self disipline action not to post backdated GI when GR is done on later date
    Vishal...

Maybe you are looking for

  • Message bean does not start automatically during application server startup

    I have a message bean that does not start up during application server startup. I am able to successfully start the application manually using the visual admin tool.I searched the logs and found the following error. The error references the "QueueCon

  • Query rewrite don't work wor aggregate query but work for join query

    Dear experts, Let me know what's wrong for Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production I have two MATERIALIZED VIEW: A) -- Only join CREATE MATERIALIZED VIEW "SCOTT"."TST_MV" ENABLE QUERY REWRITE AS SELECT "T57410"."M

  • BDC not creating automatic delivery for consignment fill up in VA01

    Hi, I am doing BDC for consignment fill up in VA01. When munually run VA01, it automatically creating delivery. But when run BDC ( call transaction ) it's not creating automatic delivery. why ? I am giving below fields.. Sales org. distribution chann

  • Good IDE or plugin for any IDE for Swing

    Hi all, I want to create Swing GUI in my application, but i didn't find good IDE for it. Some IDE what i tried are not allow to freely drop the component on the frame. The Layout's(Flow,Border..etc) no one is good . I have used C# in one of my applic

  • Front Row slows when loading 'Artists' from USB Drive

    Just started using my Remote and Front Row, but when I select Artists, I get a blank screen for a couple of minutes, I'm assuming while it caches everything - the problem is pretty much the same as everyone posted about in http://discussions.apple.co