Error on Submitting Form, that is AJAX-loaded with $.post()

Hi guys!
On this Sample Page I am loading an APEX form from another page into an area with
function loadForm(){
    var url = 'f?p=&APP_ID.:271:&APP_SESSION.::::';
    url += 'P271_CITID:'+ $v('P270_SELCITY');
    url += ' .rc-body';
    $('#loaddiv .nice-region-body').load(url);
with click on the button.
I am getting an error then, because I am probably overriding some important APEX-functionalities. Is there a way to get around it? Should I change the page templates, so that the form-tags from the other page are loaded also, but then I should not have a form on the page, I am loading to.
(Apex-Version is 4.2)
Thanks for any help.
Best regards,
Tobi
Edit: What I am actually aiming for is having a report on that first page, and load different forms depending on a selection in a context menu, that shows up when the user right-clicks a record on the report. Each form should then appear in a modal dialog.
I could also load the form - not into a region on the first page - but into a seperate modal window, but that would make the whole app a but clumsy.
Nachricht geändert durch TobiP
Nachricht geändert durch TobiP
what the hell happened to the editor here? Formaly you could use {code}...{code}

Hi jrimblas!
Thanks for your suggestions and for the link!
I tried out that plugin, but it seem to me to be just too overloaded. I like to keep things simple. Also I would like (without too much of configuration) provide to the user the ability to open different dialogs simultaniously.
So I also tried just using a simple <iframe> tag - just by adding the html with that tag to a div.
But there I am getting an error while loading the page:
Load denied by X-Frame-Options: ......(url) does not permit framing.
... some security issue.
I can however load an apex-page into an iframe on another page, that is not hosted on apex server, also I can open a page from another server in an iframe in an APEX page. But not one into the other (apex into apex).
I have done some research and looked closely at the skybuilders documentation and example, but I coudn't figure it out. I also tried changing the security setting on the page, but it was all unrestricted and public anyway.
I read, that you must declare a http-option like: X-Frame-Options SAMEORIGIN, but I think, skybuilders did it some other way.
Is there still a way I can fix that?
Thanks very much,
best regards,
Tobi

Similar Messages

  • Symbol error when submitting form

    experiencing a symbol error when submitting form.

    Hi Gen,
    Unfortunately, the error came from a client who was submitting a form via Mac OS.  He stated that when he attempted to submit he received a symbol error.
    On another note, I did experience issues with periods (.) within another form such as 2009.01 and 2011.25.  When I downloaded the files corresponding to the numbers, it wouldn’t allow me to save it with the period (used an underscore instead).
    Warmest regards,
    Delia
    Delia Boyd
    Program Manager, Standards Development
    Executive Office
    AOAC INTERNATIONAL
    481 N. Frederick Avenue, Suite 500
    Gaithersburg, MD 20877-2417
    301-924-7077 x126
    301-924-7089 - Fax
    [email protected]<mailto:[email protected]>
    www.aoac.org<http://www.aoac.org/>
    cid:[email protected]
    127th AOAC Annual Meeting & Exposition
    Palmer House Hilton
    Chicago, Illinois
    August 25-28, 2013
    For more information visit our website
    at: http://www.aoac.org/meetings1/127th_annual_mtg/main_2.htm
    þ Please consider the environment before printing this email.
    ...you will see it when you believe it!

  • Error upon submitting form (SWF/Flex)

    I often get this error upon submitting a SWF(Flex) LC form.  The workflow proceeds just fine, but it acts like Workspace is having an issue cleaning up.  Does anyone have any experience with what this is?
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at MethodInfo-12904()
    at lc.core::DefaultResponder/fault()
    at lc.core::Token/callFaultHandlers()
    at lc.core::Manager/handleFault()
    at lc.core::Manager/handleFaultEvent()
    at MethodInfo-2828()
    at lc.core::DefaultResponder/fault()
    at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyFault()
    at mx.rpc.events::FaultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()
    at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at NetConnectionMessageResponder/statusHandler()
    at mx.messaging::MessageResponder/status()
    This is my method that submits the form.
    private function OnAllDocumentsUploaded(event:Event):void {
      status_box.Flash("The DCF is being submitted to the server for processing!");
      // remove any Rejections
      delete form_data.Role.Rejected;
      lcConnector.setSubmitData(form_data);

    No, I don't.  It's intermittent.  I thought it perhaps happened when I threw up a <mx:Box> just before data submission to let them know the data was being submitted, but that's not it.
    My fear is there is something I am leaving hanging, but there isn’t enough documentation on writing Flex forms for LC to really know what that might be.
    I can't imagine what would be trying to talk to the task after the form has been closed.

  • Creating forms that submit the info with AdobePro 11

    Can I make a form that will submit the form and will it work on Mac/Apple Computers

    Yes, you can create a PDF form in Acrobat and distribute it with FormsCentral, with certain limitations as discussed here: http://forums.adobe.com/docs/DOC-2533
    When a form is submitted, the form data is sent to the web server, as opposed to the entire PDF. Note that the Mac users should use Adobe Reader (or Acrobat) since they will not work with Preview. They will also work with Adobe Reader on iOS.

  • I need to install Mozella Firefox 2.0 to fill out a form that is not supported with the newer version that is installed on my PC. Do I need to delete the new version before using the older version?

    I need to install Mozella Firefox 2.0 to fill out a form that is not supported to input info from the newer version that is installed on my PC. Do I need to delete the newer version before using the older version? If so, how do I delete the new version and install the older version?

    If you just need it for one site you can use the portable version of Firefox 2 instead. You can install the portable version on a USB key, or if one is not available choose the custom install and install it somewhere on your hard drive. The portable version will not interfere with your current version of Firefox. You can get the portable version from http://portableapps.com/apps/internet/firefox_portable - the link for Firefox 2.0.0.20 is near the bottom of that page.

  • I have a ipod (20GB) which I purchased in 2005.  It is loaded w/tunes.  My problem is that is was loaded with a computer I no longer have.  With the lap top I have now if  I load more song onto my laptop and try to put them on my ipod will i lose all tune

    I have an ipod I purchased in 2005 (20GB).  It is loaded with tunes with a computer that I no longer have.  With the present computer I have can I load new tunes onto the ipod without losing the tunes presently on the ipod?   Thanx for your help

    See this older post from another forum member Zevoneer covering the different methods and software available for assist you with the task of copying contents on your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Recieve a PDF Form that cannot be tampered with and then sent to  a Database?

    Hi,
    I have created a PDF form in Designer 7 and sent it to myself as a test as a PDF attachment, which worked fine.
    Receiving the PDF form, I notice I can change the drop down fields etc which makes it possible to tamper with the sent information.
    Is there a way to fill out the form and when sending it back, it cannot be edited in any way?
    I also read in one of the Adobe Acrobat books, I think it was the Adobe Acrobat 7 in a Classroom book, that it was possible to import a returned PDF file into your own PDF Form that has a button than can update an Access Database file, but was "beyond the scope of this book".
    Is there a dedicated book I can purchase for Designer 7 which covers Database connectivity etc?
    Cheers.

    I too would like to know how to update a database microsoft access. I have forms that people fill out that has to be imported into access to update records. One update and one import.
    I also, need to automate the creat pdf/from scanner and save format.
    Thank you in advance for all your help.
    Coni

  • Delta update data error. Can we do a full load with bad records?

    Hello,
    We are working with SAP BW 7.0. And we had a problem with a delta update. It has made the delta update correctly, however, a register is loaded incorrectly, when this register was correct in the source system.
    We just made a load of that record and now we have it right in the master data. But we must now update the InfoCube. The data came up with a delta load, and now to load only this record we must make a full load (with only 1 register), then in the infocube make a delete selection of the wrong record.
    The problem is that we have doubts about how this would affect the load delta, because loads are scheduled for each day and then lost as the source of where to start the next load and we have problems with delta loads the next few days.
    Thank you.

    hi,
    What is your delta extractor (LIS or not LIS), What is you target (DSO or cube).
    depending on your soruce and target procedure is not the same but you can do it in every cases :
    in case of not LIS
    just reload with full IP to PSA
    in case of LIS
    delete setup tables
    do a restructuration for your record (if you can with selection condition)
    in case of cube in BW
    do a simple full upload
    in case of DSO
    do a full upload in repair mode (if dataflow is 3.x) else just use DTP.
    But if your target is DSO and DSO load other infocube after be sure that they are not corrupted
    Cyril

  • Numeric or value error when submitting form

    I have a form based of a stored procedure. The form has about 20 fields on it. For some reason the form only allows data entry on only about 10 of them. If I put data in any of the other 10, I get: "An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)"
    I have looked everywhere to see what's going on. I checked the procedure to make sure its parameters are good. It takes takes all VARCHAR2's, so thats OK. I checked the fields in the form editor for validation, and none are being validated, so thats OK. I made sure all the fields are updatable and they are. I even checked the table to make sure that the data can go into the fields, even though I know that the error returned there would be through the procedure, not Portal. I am stumped. What am I missing?
    Rich

    Follow Up: While troubleshooting this, I filled in all the fields with one character each and the form submitted. I added characters little by little to each field until I got the error. It seems like Portal has a problem when I pass X amount of characters from a form. I say "Portal" because I thought this might be an OS parameter, but I get the same error in both Win2000 and Solaris.
    Any ideas where this setting is? Or how to change it?
    Rich

  • Getting error when submitting form using IE but not when using FF

    Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.
        at Error$/throwError()
        at flash.net::URLVariables/decode()
        at flash.net::URLVariables()
        at flash.net::URLLoader/onComplete()
    Has anyone had this problem?

    I don't know how I would test that I don't know of any way to test it locally.
    here's the code for the form:
    import flash.net.*;
    import flash.events.*;
    import flash.text.TextField;
        var status_txt:TextField = new TextField();
        var myFormat:TextFormat = new TextFormat();
        myFormat.font = "Georga";
        myFormat.color = 0x00ff00;
        myFormat.size = 21;
        status_txt.autoSize = TextFieldAutoSize.LEFT;
        status_txt.x = -240;
        status_txt.y = -225;
        addChild(status_txt);
    submit_btn.addEventListener(MouseEvent.CLICK, ValidateAndSend);
    stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);
    //this.status_txt.mouseEnabled = false;
    //this.parent.mouseEnabled = true;
    function reportKeyDown(e:KeyboardEvent):void {
        var KeyCode:uint = e.charCode;
        if (KeyCode == 13){
            submit_btn.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
    function ValidateAndSend(e:MouseEvent):void {
    var variables:URLVariables = new URLVariables();
    var request:URLRequest = new URLRequest();
    // variables.recipient = "[email protected]";
    if(!name_input.length){    createStatus("please enter a name"); }
    else if(!email_input.length) {createStatus("please enter a email address");}
    else if(!validateEmail(email_input.text)){createStatus("enter valid email address");}
    else if(!message_input.length){createStatus("please enter a message");}
    else {
        variables.name = name_input.text;
        variables.email = email_input.text;
        variables.message = message_input.text;
    request.url = "gdform.php";
    request.method = URLRequestMethod.POST;
    request.data = variables;
    var loader:URLLoader = new URLLoader();
    loader.dataFormat = URLLoaderDataFormat.VARIABLES;
    loader.load(request);
    createStatus("Thanks " + name_input.text + ", your message has been sent!");
    function createStatus(msg:String):void {
        status_txt.text = msg;
        status_txt.setTextFormat(myFormat);   
    function validateEmail(str:String):Boolean {
        var pattern:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/;
        var result:Object = pattern.exec(str);
        if(result == null) {
            return false;
        return true;
    this is the php on the server that I submit to.
    <?php
        $request_method = $_SERVER["REQUEST_METHOD"];
        if($request_method == "GET"){
          $query_vars = $_GET;
        } elseif ($request_method == "POST"){
          $query_vars = $_POST;
        reset($query_vars);
        $t = date("U");
        $file = $_SERVER['DOCUMENT_ROOT'] . "/../data/gdform_" . $t;
        $fp = fopen($file,"w");
        while (list ($key, $val) = each ($query_vars)) {
         fputs($fp,"<GDFORM_VARIABLE NAME=$key START>\n");
         fputs($fp,"$val\n");
         fputs($fp,"<GDFORM_VARIABLE NAME=$key END>\n");
         if ($key == "redirect") { $landing_page = $val;}
        fclose($fp);
        if ($landing_page != ""){
        header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page");
        } else {
        header("Location: http://".$_SERVER["HTTP_HOST"]."/");
    ?>

  • Error when submitting form to PHP server

    Hi all,
    I'm trying to submit a PDF file (as a whole, not just the data) to a PHP server. It works as far as the file being delivered and saved, but in Acrobat I keep getting an error message at the end of the process, saying: "No Input File Page Data".
    I tried doing some research online and it seems to be related to the return value sent by the server to Acrobat, but I can't seem to get it to function properly.
    We've tried using header('HTTP/1.1 204 No Content'); as the response, but it doesn't seem to help, either.
    Any ideas would be much appreciated...

    The No Content approach should work. Can you show the exact code you're using to generate the response? Did you add "#FDF" to the end of the URL for the submit form action?
    If you haven't looked into it already, consider returning an FDF that causes a popup dialog to display as a way of providing feedback.

  • Getting "HTTP 400 Bad Request" error when submitting form

    I am using APEX 3.1.2. I have a form based on a table. The form contains check boxes, a multiple select item, some text items and some text boxes with HTML editors. It had been working properly but now is giving me the dreaded "The web page can not be found..." error page as soon as I click create when in create mode or the update or the delete button when editing a row of data. The URL in the address area of the browser is: "http://ndhoast.tsh.mis.mckesson.com:7778/pls/apex/wwv_flow.accept" and the tab says "HTTP 400 Bad Request".
    Any help would be greatly appreciated!

    Do you have any extra Javascript components added in? We've been doing work with ExtJS and Oracle Apex, and I've noticed that on one particular page there is a bad request thrown when a doSubmit() is called. When the Javascript is commented out, the page works fine.

  • When i plugged my iphone into itunes for the first time, it asked me if i wanted to sinc with my ipod that was already on itunes and i did. Now, it deleated all of the iphone applications that it came loaded with. How do i get these back?

    I clicked the button to sync with my ipod touch, because i thought it would give me all my picture and notes, which it did, but it also took away facetime and all the other software that the iphone 4s comes with. I also lost all my contacts. I dont care if i end up losing my pictures and notes, i just want my iphone back to the way it was when i bought it. I'm restoring it now, but it says its going to take 6 hours..I dont know if this is right or not.. help?

    It can't do that by itself. You had to click through several prompts telling it to restore it from a backup of an old phone for that to happen.
    If the phone was not backed up to iCloud before this happened, or to another computer, then the data is gone. There is no way to recover it.

  • How to install windows 7 when an error occurs: "Not Found returned from legacy loader" with refit?

    SOLUTION FOR THIS QUESTION :
    before you need to create a Windows partition ( boot camp assistant for example) and install rEFIt
    1-  download SLAX LIVE CD -->http://www.slax.org/
    2- burn cd with slax
    3- run slax live cd without reFIT ... press Option key ( ALT )
    4- when slax operative system is open, turn off the computer!
    5- donload UBuntu Live cd --> http://www.ubuntu.com/download/ubuntu/download
    6- burn cd with ubuntu.
    7- run ubuntu live cd and  open without installing
    8 - open administration --> partition and format the actual partition ( fat32 ) created on MAC OS X to NTFS.
    9 - Restart computer and run REFIT (  press Option key ( ALT ) ). run live cd or USB pen with windows 7, xp or VIsta.
    Note:
    I use a external DVD drive -Samsung SE-S084D
    Ubuntu version 9.04.

    .

  • Error Submitting form

    Anyone getting this error while submitting form.My process looks good . Same connection works for other form but not for this form.Any help please its urgent

    Here is something new i found.The process which worked i tried to attach the form (pdf form) from my other process which showed me error while submitting form and i get the same error when i use tht form in the process which worked...
    why is this so any thoughts???

Maybe you are looking for

  • Copying adjustments from one image in series to another

    I did a shoot where, under the same lighting conditions, all shots need basically the same adjustments in terms of color temp, saturation, etc. I know there's a way that after I get one to where I like it, I can copy those adjustments to all the othe

  • SQL Loader and Java

    Hi, I am using a Java Stored Procedure to invoke a SQL Loader process. The RDBMS Version is 8.1.7 on HP-UX 11. I invoke the procedure by calling: exec runcommand('sqlldr user=scott/tiger@orcl control=/home/mydir/ctlfile.ctl log=/home/mydir/logfile.lo

  • I previously purchase adobe pdf but a technician removed it. How do I reload it?

    I previously purchased adobe PDF, but a technician removed it. How do I reload it? I previously purchased adobe PDF, but a technician removed it. How do I reload it? How do I download the PDF program which was removed from my computer by a tech?

  • [REPORT] : Help to arrange the row & column.

    Dearest my Collegues. I'm facing difficult in arranging of report. Straight to the point: I've data in 1 ODS like this. Key1     Key2      Flag    Supplier    K1           1            C        Nike K1           2            C        Reebok K1       

  • JSP page to be printed - problem with layout of printable page

    I have a JSP that collects some information from a variety of tables in my DB(SQL Server) and displays the results on an HTML page that is created for printing an official document. At the end of the document there is space for people to sign for the