Impromptu with APEX integration problem

Hello

I tried to follow the example of Dan Mcghan "Popup in the report" to

http://www.danielmcghan.us/2008/12/popup-in-report.html

However, I get the following error:
$.prompt is not a function
[Break on this error] $.prompt(txt,{callback: mycallbackfo...uttons: { Ok: true, Cancel: false }}); 
In my page header, I have the following code:
<link rel="stylesheet" href="#WORKSPACE_IMAGES#adf_region.css" type="text/css" />
<link type="text/css" rel="stylesheet" href="/i/jquery/css/custom-theme/jquery-ui-1.7.custom.css" />

<link href="/i/jquery/impromptu/impromptu.css" type="text/css" rel="stylesheet">  

<script type="text/javascript" src="/i/jquery/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/i/jquery/development-bundle/ui/ui.core.js"></script>
<script type="text/javascript" src="/i/jquery/development-bundle/ui/ui.tabs.js"></script>
<script type="text/javascript" src="/i/jquery/development-bundle/ui/ui.datepicker.js"></script>  
<script type="text/javascript" src="/i/jquery/development-bundle/ui/jquery.color.js"></script>
<script type="text/javascript" src="/i/jquery/development-bundle/ui/jquery.validate.js"></script>


<script src="/i/jquery/impromptu/jquery.impromptu.js" type="text/javascript"></script>  


 <script type="text/javascript">  
 //<![CDATA[  
   
    var htmldb_delete_message = '"DELETE_CONFIRM_MSG"';  
    var empIDElmt;  
   
    $(document).ready(function(){   
       $('.dtlsEdit').click(function(){  
          empIDElmt = $(this).siblings('input[name="f02"]').get();  
          getDetails();  
       });  
    });  
      
 function getDetails() {  
    var txt = 'Please enter your comment...<br />'  
       + '<textarea id="empDetails" rows="5" cols="45" wrap="virtual">'  
       + $(empIDElmt).siblings('input[name="f06"]').val()  
       + '</textarea>';  
    $.prompt(txt,{callback: mycallbackform, buttons: { Ok: true, Cancel: false }});  
 }  
   
 function mycallbackform(v,m){  
    if (v) {  
       $(empIDElmt).siblings('input[name="f06"]').val(m.children('#empDetails').val());  
    }  
 }  
   
 //]]>  
 </script>  
I created a tabular presentation in a region named in table form.

Can anyone offer advice please?

Thank you very much

Paul

Paul,

We must adapt the code... Take a look at this demo - VERY COOL:
http://Apex.shellprompt.NET/pls/Apex/f?p=566:21

Here is the code for the HTML header:

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css" type="text/css" />

<script src="http://www.google.com/jsapi"></script>

<script type="text/javascript">
   google.load('jquery', '1.3.2');
   google.load('jqueryui', '1.7.2');
</script>

<script type="text/javascript">
//<![CDATA[
   var htmldb_delete_message = '"DELETE_CONFIRM_MSG"';
   var empIDElmt;

   $(document).ready(function(){
      $("#comment_dialog").dialog({
         autoOpen: false,
         bgiframe: true,
         resizable: false,
         modal: true,
         buttons: {
            'Cancel': function() {
               $(this).dialog('close');
            },
            'Ok': function() {
               $('.ui-dialog-buttonpane,#cancel_request_p1').hide();
               $(empIDElmt).siblings('input[name="f07"]').val($('#emp_details').val());
               $(this).dialog('close');
            }
         }
      });   

      $('.dtlsEdit').live('click', function(i) {
            var $elmt = $(this);
            empIDElmt = $elmt.siblings('input[name="f02"]').get();
            $('#emp_details').val($(empIDElmt).siblings('input[name="f07"]').val());

            $('#comment_dialog').dialog('open');
      });
   });

//]]>
</script>

<div id="comment_dialog" title="Enter Comment" style="display:none;">
   <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px;">
      <p>
         <span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
         Enter your comment below.
      </p>
      <textarea id="emp_details" rows="5" cols="40" wrap="virtual">
      </textarea>
   </div>
</div>

Kind regards
Dan

http://danielmcghan.us
http://sourceforge.NET/projects/tapigen
http://sourceforge.NET/projects/plrecur

You can reward this answer by marking as being useful or correct ;-)

Tags: Database

Similar Questions

  • HTML to XML with CVIXMLSetElementValue integration problems - unwanted &amp; lt and &amp; gt

    I use the CVI XML functions. When I try to insert pre-existing HTML as the value of the element with CVIXMLSetElementValue, he dutifuly converts all media to HTMLangle in & lt and & gt, that is NOT what I want.

    (I can protect the integrity of XML by wrapping it in [CDATA [...]], but this does not solve the problem of conversion here).

    Any suggestions?

    Thank you

    Ian

    The CVIXML code is simply a wrapper on the Microsoft XML (MSXML) DOM ActiveX library. You can see the source code for this in toolslib/toolbox/cvixml.c. The behavior you're seeing comes from MSXML. You may be able to find the solution more information, and to do this on Microsoft and MSDN forums.

  • Several Apex listeners on a single server with apex-config problems. XML

    I use 0C4J to deploy apex on a windows server. I want to be able to have multiple instances operating OC4J pointing to different databases. I read through the documents and messages of the forum and that seems simple enough.

    I have an instance running at E:\OC4J and works very well. I added a second OC4J instance at E:\OC4J2. I rebuilt and redeploy the apex.war file after editing the web.xml file to specify a new location for apex - config.Xml. I try to specify the directory config as E:\OC4J2\config but can't seem to get the right syntax, because it keeps picking up the default OC4J instance uses.

    < context-param >
    config.dir < param-name > < / param-name >
    E:\oc4j2\config < param-value > < / param-value >
    < / context-param >

    I tried several versions of the track E:\oc4j2\config, E:/oc4j2/config / oc4j2/config, \oc4j2\config, but none does not seem to work.

    Everyone could not confirm the proper syntax to specify the path to the Summit - config.xml in the Web.XML on a windows server?

    Thanks in advance

    Great to hear you found the solution yourself, and share it in any case.
    Please also consider your marker as replied, so others for similar problems will be able to recognize that it could contain a solution to the search.

    Thank you

    Udo

  • Apex integration with ebs 11i Cookie issue

    Hi all
    I've done integration (11i) EBiz with Apex. To do this, I followed the white paper by Rod West i.e. apex-ebs-wp-cabot-consulting-169064.pdf
    It was working fine. but once I got past the deadline as 3 (previously 60 sec) in the validate_hash function, it starts giving problem.
    The main problem is the only error in the first, when we try to identify of Ebiz. If I try again once or twice he started to work very well. I have no idea on whats going on.
    Please help as soon as POSSIBLE.


    Thanks in advance,
    Ananya

    Hello

    The generate_hash and validate_hash functions are used to generate a secondary password for the user of the EBS to connect at the Apex. To make sure there is a timeout built into the function so that the password cannot be reused. The first time that apex is used there is some overhead in loading the tables, packages etc. in memory and so time between production and the use of the password is longer than normal. That's why you get a timeout when you first try to connect to the EBS. Set the timeout high so that there is no time-out or save the password in a package variable so that it is available for the duration of the session.

    Rod West

  • APEX 5 - problem with computations in applications.

    Hi experts,

    I am facing some problems with calculations and expressions too.

    I have two EPS. Dev and Prod (4.2). I upgraded to 5.0 apex in the dev environment.

    After a few don't test with applications no DEV I have problem with computation - nothing is changed in both of the approx.

    For example: I use point computation to only display the sysdate value - 10 after a label. (some info default filtering).

    On prod ENV everything works OK - value appears when I reference by + ITEM.

    This same article on DEV invariably shows nothing. There is no error in the LOG.

    PROD:

    2015-05-26_131505.png

    2015-05-26_131613.png

    TEST

    2015-05-26_131541.png

    2015-05-26_131632.png

    Is there a difference any to save the session state for items? Before that the regions are displayed?

    I have same problem when I want to use certain conditions to show some ITEMS/REGIONS/DA... where some ITEM_VALUE is used.

    I tried the same thing on apex.oracle.com.

    For EXAMPLE:

    Some button should only appear if a page element value is not zero (: P_ITEM is not null). (I tried DA or simple condition - screenshot below)

    He worked in APEX 4.2 but not in 5.0 for me.

    If I use PL/SQL Expression and type "1 = 1", everything works. But I need the old feature where I can use the comparison of point values page.

    This does not work for me in the Page load DA. It has never triggered.

    2015-05-26_132610.png

    I work with APEX about 6 years, but I have never seen this.

    Concerning

    J

    Hello

    I don't know if I understand your DA it checks the P1_TEST "is not zero", but this element of the page is set anywhere on your page, then this condition DA won't be ever true. For your calculation, the calculated value is correctly displayed next to your agenda of the P1_DATE_FROM page. I'll have a look at what is happening with 'SQL Expression. But please be aware that this is just a warning in the Page Designer, you will still be able to use "SQL Expression".

    Concerning

    Patrick

  • All fortune we have Oracle integrated with APEX Social Network

    Hello friends,

    A fortune for us have Oracle Social Network integrated with APEX, or having any kind of cat for end users.

    Kind regards
    Fateh

    Chat in APEX tool: http://apextoday.blogspot.com/2008/05/adding-im-xmppjabber-messaging-to-apex.html

    Thank you

    Tony Miller
    Dallas, TX

  • GTT - Global temporary Table - problem with Apex

    Hello

    I'm having a problem using TWG with Apex. The data generated by a session can be selected by another user in another session. How can this happen?

    Thank you

    Márcio Goncalez

    Sounds like the connection pooling. You might want to try to change your TWG flush on the end of session to flush the commit.

  • 5.6.3 (EBS) editor XML can be integrated with APEX?

    On the following document, Publisher 5.6.2 XMP supports no integration with APEX. Can I know 5.6.3? What is the product being an add-on with EBS causing the supporting integration (i.e., 5.6.3 even is not taken in charge)?

    http://www.Oracle.com/technology/products/database/application_express/HTML/configure_printing.html

    Thank you
    Rownald

    APEX integrates with the standalone version of BI Publisher. It was not a component of server with the standalone 5.6.3. The integration is based on the editor providing a servlet for APEX contact, 5.6.3 do not have that.
    If you're talking 5.6.3 under EBS then I guess you could build a servlet on the mid-tier that calls the API conversion of BEEP - it would all be a custom job.

    The integration of the APEX needs 10.1.3.2 BEEP to work with out of the box.

    Concerning

    Tim

  • problem with apex

    I have installed oracle 10g and oracle application server 10g (http server)

    and I install apex and I use the guide as appendxed with apex intallation for intallation

    After you run the scripts

    I edited the file dads with the following information

    Alias is "g:/apex/images / '.
    AddType text/xml xbl
    AddType text/x-component htc

    < apex/pls/location >
    Order deny, allow
    Docs PlsqlDocumentPath
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_downloadd
    Apex of nasser: 7777:service_name PlsqlDatabaseConnectString
    PlsqlNLSLanguage AMERICAN_AMERICA. AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    Apex PlsqlDefaultPage
    PlsqlDatabasePassword pub
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow all the
    < / location >

    After that, I ask the url http://nasser:7777/pls/apex

    but I got "Internal Server Error"

    What is the problem

    If there is an error in the file of dads

    Help me please

    Published by: user3683976 on February 9, 2009 15:19

    If I understand correctly, you are using the Windows environment, right? So, your alias images should not be 'g:\apex\images/ '?
    Hope this helps.
    -------------------------
    Alias is-"g:/apex/images /"-"g:\apex\images/".
    AddType text/xml xbl
    AddType text/x-component htc


    Order deny, allow
    Docs PlsqlDocumentPath
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download - d-
    Apex of nasser: 7777:service_name PlsqlDatabaseConnectString
    PlsqlNLSLanguage AMERICAN_AMERICA. AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    Apex PlsqlDefaultPage
    PlsqlDatabasePassword pub
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow all the

  • Captivate 8 - video integration problems. Video won't play Web server when published under the title of HTML5. When to play the video it works not embedded.

    Captivate 8 - video integration problems. Video won't play Web server when published under the title of course HTML5 and video is selected to play in the same screen. Play video it works only in a new window. The problem is the customer's requested integrated video and it shows as an option in Captivate 8. In addition, the video screen is not at the same place on the screen, the image moves to the top of the browser window in Internet Explorer. Graphics problems appear ONLY in IE and Chrome for PC. We have updated browsers, installed all updates to Captivate 8 etc.

    The issue seems to be with internet explore. The url is *.mp4, if IE browser opens Media player in a new window to read the files.

    Workaround solution:

    Instead of using the interaction of the Web object, you can use a Web object (objects-> Web) site in the menu object.

    After insertion, select the code incorporated in the style of the real property section. (Screenshot below)

    Encapsulate the url in an HTML video tag and use it as input.

    Input samples:

    https://{website-Address}/VIDEO1. MP4 type = "video/mp4" >

  • White 4.2 APEX screen with APEX earphone using weblogic

    Hello

    There are several of this problem here, but none that I saw with weblogic. I have installed Apex 4.2 in our test instance, copied the images on our weblogic server to create the war file, but get a blank screen when you access the APEX development environment.
    I have configured the listener to our database without problem, but just can't get a screen
    http:// < our weblogic server >: 8790/apex_test/f? p = 4550:1

    4.2 images must be in the right place because it...
    http:// < our weblogic server >: 8790/i_test/apex_version.txt
    ... gives me this
    Application Express Version: 4.2


    Our production and pre-production are APEX 4.1 and have no problem.

    Production:
    http:// < our weblogic server >: 8888/i/apex_version.txt
    Application Express Version: 4.1.1

    pre - ESR:
    http:// < our weblogic server >: 8790/i_pprd/apex_version.txt
    Application Express Version: 4.1.1


    On our Linux weblogic server, I have the following for each instance dirctories:

    / u01/apex (no problem)
    apex_listener.1.1.4.195.00.12.zip
    Apex. War
    i.War


    apex_pprd/u01 / (no problem)
    apex_listener.1.1.4.195.00.12.zip
    apex_pprd. War
    i_pprd. War

    I created the i.war and i_pprd.war of/U01 files where the directory of images for APEX 4.1 are:
    In / U01
    for production:
    jar - cvf0 apex/i.war - C images.
    for pre-production
    jar - apex_pprd/i_pprd.war cvf0 - C images.



    apex_test/u01 / (white page problem)
    apex_listener.1.1.4.195.00.12.zip
    apex_test. War
    i_test. War
    images - 4.2 images directory

    I created i_test.war in the directory/u01/apex_test:
    jar - cvf0 i_test.war - C images.


    War files are deployments in Weblogic using the same managed server.

    In the web.xml file, I have the foillowing, just like I have for production and pre-production.
    < context-param >
    config.dir < param-name > < / param-name >
    < param-value >/u01/apex_test < / param-value >
    < / context-param >
    upward, which is compressed in the file apex_test.war.


    Environment:
    All instances of database 3 are:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    WebLogic:
    WebLogic Server Version: 10.3.5.0

    Linux where weblogic server is:
    Release of Red Hat Enterprise Linux Server 5.9

    Same version of Linux on the database server.

    If anyone sees where I'm wrong, certain direction would be appreciated.


    Thank you
    Wayne

    Published by: wyoungblood on 2 April 2013 15:20

    >

    There has got to be something with images, some conflict somewhere. But I separated and my orders of pot during the re-creation of apex_test.war and i_test.war used the names of absolute path on the last install. Of more the http://: 8790/i_test/apex_version.txt gives me: Application Express Version: 4.2

    You said your 4.2 instance that it is supposed to get his images, Javascript etc. of i_test rather than I?

  • FTP with data integrator

    Hello

    I want to take the file from a server to server ODI with data integrator.
    I use ftp jython in ODI procedure. I found an example in the Jython quick reference Guide
    I like it.

    import snpsftp
    FTP = snpsftp.SnpsFTP ('10.0.4.107', 'pdks', 'pdksmgr357')
    Try:
    FTP.setMode ('ASCII')
    ftp.mget ('/ pdks_data ','.txt', ' / OracleBI/log ') *.
    Finally:
    FTP.Close)

    but it gives an error like this


    * 7000: null: java.sql.SQLException: description of invalid format *.
    java.sql.SQLException: invalid format description
    to com.sunopsis.jdbc.driver.file.a.b.a.a (a.java)
    at com.sunopsis.jdbc.driver.file.w.a (w.java)
    to com.sunopsis.jdbc.driver.file.w. < init > (w.java)
    at com.sunopsis.jdbc.driver.file.u.prepareStatement (u.java)
    at com.sunopsis.sql.SnpsQuery.a (SnpsQuery.java)
    at com.sunopsis.sql.SnpsQuery.a (SnpsQuery.java)
    at com.sunopsis.sql.SnpsQuery.updateExecStatement (SnpsQuery.java)
    at com.sunopsis.sql.SnpsQuery.executeUpdate (SnpsQuery.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt (SnpSessTaskSqlS.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.h.y (h.java)
    at com.sunopsis.dwg.cmd.e.run (e.java)
    at java.lang.Thread.run(Thread.java:595)


    What is the problem with that?
    or is it possible to use ftp

    Thank you.

    Published by: ealtas on June 10, 2010 08:20

    Try again with this...

    import snpsftp
    FTP = snpsftp.SnpsFTP ('10.0.4.107', 'pdks', 'pdksmgr357')
    Try:
    FTP.setMode ('ASCII')
    FTP.mget ('/ pdks_data ',' * .txt ',' / OracleBI/log ')
    Finally:
    FTP.Close)

    The difference is:
    Replace "pdks" "pdks'
    '* .txt' replace '.txt '.
    and there is no ' *' at the end of the command ftp.mget

    Thank you
    Fati

  • Print with APEX and EBS

    Hi gurus
    I have sucessfully integrated APEX with EBS, do a lot of reports on data from BSE.
    These reports are visible on the screen, but now I need a paper printed some of them.
    After having read a lot of literature, I realized that I need a print as BI Publisher server.
    I'm not sure but I think that EBS uses a similar architecture for printing, with a print server actually generate output.
    Is this correct? If that is correct, can I use the EBS for APEX printing print server? How can I do?

    I use APEX 3.2 and EBS 11.5.10

    Thanks in advance
    Oscar

    EBS has a version of BI publisher, but previous assignments, it was noted that the version of bi publisher integrated with EBS is NOT a version that runs with the integration of the APEX...

    Thank you

    Tony Miller
    Webster, TX

  • Tecra S10 - e-SATA with WD MyBook problem

    I have Tecra S10-10 loaded with win 7/32 final. From the beginning, there is fixation e-sata WD MyBook problem - most of the time cannot be reached
    and Device Manager hangs up refreshing devices. Only restart after sometimes he can be attached, but only those by boot allows. All other devices works fine. Before win 7
    I worked with XP no problem also.

    I tried to update the drivers for the chipset for win 7 - but it failed with the message that this computer does not meet the minimum requirements.
    The BIOS is 2.0. Trying to upgrade the BIOS to 3.0, he replied that Intel TXT must be disabled, but it is set in the BIOS, option cannot be selected.

    No idea how to fix e-sata?

    Hi Damir

    As I see that you do have a general problem with e-SATA, but just when you want to use this device to some so I think that the solution is not so easy.
    This device is not known to me, but I suppose you guessed it with USB cable. You can use it with any other standard USB port?

  • My sister has problems on his laptop, how can I connect to the laptop with my labtop to help him with his computer problems? Thank you.

    My sister has problems on his laptop, how can I connect to laptop with my labtop to help her with her computer problems when I live several States away? Please help me if you know how to do this thank you.

    Suggest you use Team Viewer, free version.
    It is used here every day for several hours.

    Please see the links below for more details...
    http://www.TeamViewer.com/en/index.aspx
    http://www.TeamViewer.com/en/products/remotecontrol.aspx
    http://www.TeamViewer.com/en/help/cat15-remote-control.aspx

Maybe you are looking for

  • Docking station blocked bios NB

    After connecting NB HP Probook 6550 b, docking in NB display turns off. Once removed from the NB docking station only the LED turns on, but nothing more. I have to reset the bios (take-off of the battery on the motherboard about 2 hours) and then the

  • Lost password so can not access my email account

    I'm unable to access my email account I lost the password (don't know how I put it). How can I delete account so I can put upp new account without password. Thanks jackie

  • How can I disable windows messenger

    How to disable Windows Messenger?

  • Installed the new screen after updating system settings "Automatic" gray screen now get in XP

    When you connect a new monitor to my sisters unit, the resolution was wrong and could not be resolved. I changed the properties defining 'System' to 'automatic '. The change required a reboot. Now my screen is WHITE! No commissioning, the pointer of

  • Cannot log on to Windows XP

    I can no longer connect to Windows due to account restrictions. My regular account, nor my administrator account already have passwords. If I go to Mode without failure, I can connect on my normal account, but I don't have administrator privileges. I