Ftree package in Forms 9i

In 6i you only have the ability to check if a tree element was selected or deselectd. You cannot check for right mouse click to set a popup menu. You cannot check fo BOTH selected/deselected and double mouse click. Very sad implementation.
Has the ftree package improved in 9i?
TIA,
Ed.

In forms 6i when you are in the WHEN-TREE-NODE-SELECTED trigger you cannot check if the mouse was double clicked because WHEN-TREE-NODE-SELECTED fires first (hence all you know is the node was selected). You can get to the WHEN-MOUSE-DOUBLE-CLICKED if you double click with the right mouse button but sadly WHEN-TREE-NODE-SELECTED require the left mouse button so a right mouse double click never fires the WHEN-TREE-NODE-SELECTED. Further, there is no event in 6i that allows you to fire the WHEN-TREE-NODE-SELECTED trigger (per Oracle documentation and many Metallink posts).
In 6i you can assign a pop-up menu to the entire tree object but not to a specific node.

Similar Messages

  • How to use DDE package in form 10g module

    Hi All,
    I am using DDE.package in form 10g for uploading excels data in oracle database at windows platform but it is showing non-oracle exception.
    Thanks

    hi
    mehwish............just do for attachment.......
    u can also use something like this...
    Execute send_mail;and also.
    try something like this..
    example:
    begin
    mahi.mail('email address','subject','message','attachment');
    end;Edited by: Sarah on Apr 18, 2011 10:25 AM

  • Exists Asynchronous mode in execution of package from Forms?

    Hi people
    Exist asynchronous mode in execution of package from Forms 6i? , the database is Oracle9i.
    Thanks
    regards
    Hector Ulloa Ligarius

    Hi...
    I will use, DBMS_JOB, call one time and delete Job from Forms6i or Forms9i...
    I use Oracle9ir2, the migration a Oracle10g, will not posible...
    Thanks
    Regards
    Hector Ulloa Ligarius
    Santiago of Chile...

  • Package of Forms 6 don't Work???

    Hi all,
    I have a serious problem concering the call of simple fuction of forms 6 like: Do_key, call_form and so on!!
    i explain the problem, i have moved my fmx form to the Intranet server, and i found out that my form could not call any function like Do_key('Enter_query'), but when i replace the instruction with just 'Enter_query it works'???? as if the forms Server don't find the package of forms 6??? is it normal?? or is the package of forms 6 created when we install for the first time the forms6 server side?? or maybe there is a path that i should specify in order to find these functions???
    Anyone can help me please???

    you may have had matching instance names, but not the same
    instances.
    for example, if you have an object with instance name name1
    on frame 1. then create a blank keyframe on frame 2 and then a
    keyframe on frame 3 and drag another object from the library (and
    it can be the same library object) and name it name1, the frame 1
    and frame3 objects will be different instances. code referencing
    the object in frame 1 will not reference the object in frame 3 (and
    vice-versa).
    if you create frame 1 and create name1 in that frame, then
    create keyframe 3 (so name 1 is in both frames) and finally create
    blank keyframe 2, the 2 instances will be the same. any code
    referencing name1 will reference both objects.

  • Running package within forms

    Does anybody know how to run a package within forms (in the background?)
    Example: I need to run a package to update some tables but I don't want the user to have to wait for that package to complete before making modifications to the form. It is less than a 10 second wait but it appears that the form is hung up.
    thank you.

    Before you start the process, your form could display a stacked canvas telling the user to wait, and then after the package returned control to the form, the form could hide the canvas.

  • OSB to SOA suite package not forming correctly

    Setup is as follows:
    AIX 5.3 on the box, 10 gigs ram, installation of the latest releases of OSB and SOA suite on top of weblogic. I've built out a couple of simple database queries in BPEL based off wsdls, dropped them on to the SOA suite server, used EM to open a test console and plugged in some search data. Search returns successfully.
    I then open up OSB's console, create a business service to the endpoint on the soa server, and a proxy based off the same wsdl used in the BPEL construction which I then route to the business service. Both service and proxy are made with basic http for the protocol (not sure how to use the sb protocol, and not sure if that will fix the problem). Load the test console on the proxy service, which displays an xml form similar to what is used in the SOA suite. Fill out the same information, but the invoke returns BEA-380000. Following the invocation trace in OSB everything looks good in terms of package content.
    Wondering if it might simply be a problem with how the OSB interprets XML from a wsdl, I piped the XML from the SOA suite into the OSB's xml field, but to no luck, same error. After some more testing and frustration,I put the SOA suite XML straight in to the form field in the OSB test console, and it worked. However, the package itself seems oddly formed, consisting of:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header/>
    Which I've been told is basically double wrapping the package, which shouldn't work, and more importantly wont be generated when someone uses say SOAPUI to access our service on the OSB.
    Now, on the SOA suite side of things. In EM console, I navigate to my BPEL process and can see the faults caused by the OSB. The same faults are also generated when binding to the OSB's endpoint with SOAPUI, but not when going directly to the SOA suite's endpoint. The error is the following:
    oracle.j2ee.ws.saaj.soap.SOAPVersionMismatchException: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/
    And the payload sent shows as empty.
    So to my best uneducated guess, it looks like the OSB wraps the payload in an envelope, and then unwraps it before handing it to the SOA suite, which expects the payload to be wrapped. Sadly, I'm still pretty new to the wsdl/webservice/oracle world, so I'm not even sure if that's an accurate representation. Any insight on what might be happening or how to get OSB to talk with SOA suite correctly would be greatly appreciated. Included below are the XML payloads I've used (minus a bit for confidentiality reasons). Apologies if the formatting doesn't work so nice for it.
    OSB Generated (fails):
    SOAP Header:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    Body:
    <ns2:SyncEmployeeIDRequest xmlns:ns="removed" xmlns:ns1="removed" xmlns:ns2="removed">
    <!--You have a CHOICE of the next 2 items at this level-->
    <ns:PersonIdentificationAssertion>
    <!--Optional:-->
    <ns1:PersonBirthDate>
    <ns1:Date>2008-09-28</ns1:Date>
    </ns1:PersonBirthDate>
    <!--Optional:-->
    <ns1:PersonGivenName>string</ns1:PersonGivenName>
    <ns1:PersonSurName>string</ns1:PersonSurName>
    </ns:PersonIdentificationAssertion>
    <ns1:DepartmentIDText>string</ns1:DepartmentIDText>
    </ns2:SyncEmployeeIDRequest>
    SOA Generated(works if plugged into OSB form field)
    SOAP Header:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header></soap:Header>
         <soap:Body xmlns:ns1="removed">
              <ns1:SyncEmployeeIDRequest xmlns:ns2="removed">
                   <ns2:PersonIdentificationAssertion xmlns:ns3="removed">
                        <ns3:PersonBirthDate>
                             <ns3:Date>2008-09-28</ns3:Date>
    </ns3:PersonBirthDate>
                        <ns3:PersonGivenName>string</ns3:PersonGivenName>
                        <ns3:PersonSurName>string</ns3:PersonSurName>
    </ns2:PersonIdentificationAssertion>
    </ns1:SyncEmployeeIDRequest>
    </soap:Body>
    </soap:Envelope>
    Working Request Document in OSB:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header/>
         <soap:Body      xmlns:ns1="removed">
         <ns1:SyncEmployeeIDRequest      xmlns:ns2="removed">
         <ns2:PersonIdentificationAssertion      xmlns:ns3="removed">
         <ns3:PersonBirthDate>
         <ns3:Date>2008-09-28</ns3:Date>
         </ns3:PersonBirthDate>
         <ns3:PersonGivenName/>
         <ns3:PersonSurName>ALastName</ns3:PersonSurName>
         </ns2:PersonIdentificationAssertion>
         </ns1:SyncEmployeeIDRequest>
         </soap:Body>
         </soap:Envelope>
         </soapenv:Body>
         </soapenv:Envelope>
    If I can provide anymore information that will help shed light on this issue please let me know.
    Thank you for your time.
    ~Nick

    Problem solved. When I originally created my business service inside of OSB, I created it based off an endpoint provided by the SOA server. Instead, I went and did a mass import from a url, pointed it at the SOA server wsdl, and then built the web service off of that wsdl resource in the OSB. Now it works like a charm.

  • How to use stored package in form.

    hi
    i created the following package but now i want to use the following code in form
    how could i use?.
    create or replace package body mahi
    is
    -- Write a MIME header
    procedure write_mime_header (
    p_conn in out nocopy utl_smtp.connection
    , p_name in varchar2
    , p_value in varchar2
    is
    begin
    utl_smtp.write_data ( p_conn
    , p_name || ': ' || p_value || utl_tcp.crlf
    end;
    procedure mail (
    p_sender in varchar2
    , p_recipient in varchar2
    , p_subject in varchar2
    , p_message in varchar2
    is
    v_nls_charset VARCHAR2(50);
    /*LOB operation related varriables */
    v_src_loc BFILE := BFILENAME('BACKUP', 'Logon.jpg');
    l_buffer RAW(54);
    l_amount BINARY_INTEGER := 54;
    l_pos INTEGER := 1;
    l_blob BLOB := EMPTY_BLOB;
    l_blob_len INTEGER;
    v_amount INTEGER;
    /*UTL_SMTP related varriavles. */
    v_connection_handle UTL_SMTP.CONNECTION;
    v_from_email_address VARCHAR2(30) := [email protected]';
    v_to_email_address VARCHAR2(30) := '[email protected]';
    I have used stunnel to send mail using smtp.gmail.com
    To get stunnel see http://stunnel.org/.
    The ORIGINAL idea is here :
    http://monkeyonoracle.blogspot.com/2009/11/plsql-and-gmail-or-utlsmtp-with-ssl.html
    v_smtp_host VARCHAR2(30) := 'localhost.localdomain';
    v_subject VARCHAR2(30) := 'Your Test Mail';
    l_message VARCHAR2(200) := 'This is test mail using UTL_SMTP';
    /* This send_header procedure is written in the documentation */
    PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
    BEGIN
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    pi_name || ': ' || pi_header || UTL_TCP.CRLF);
    END;
    BEGIN
    SELECT value
    INTO v_nls_charset
    FROM nls_database_parameters
    WHERE parameter = 'NLS_CHARACTERSET';
    /*Preparing the LOB from file for attachment. */
    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
    DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
    v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
    DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
    l_blob_len := DBMS_LOB.getlength(l_blob);
    /*UTL_SMTP related coding. */
    v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host,
    port => 1925);
    UTL_SMTP.EHLO(v_connection_handle, 'gmail.com');
    UTL_SMTP.COMMAND(v_connection_handle, 'auth login');
    UTL_SMTP.COMMAND(v_connection_handle,
    UTL_ENCODE.TEXT_ENCODE('[email protected]',
    v_nls_charset,
    1));
    UTL_SMTP.COMMAND(v_connection_handle,
    UTL_ENCODE.TEXT_ENCODE('xxxxx', v_nls_charset, 1));
    --UTL_SMTP.MAIL(v_connection_handle, v_from_email_address);
    --UTL_SMTP.RCPT(v_connection_handle, v_to_email_address);
    UTL_SMTP.COMMAND(v_connection_handle,
    'MAIL FROM: <'>');
    UTL_SMTP.COMMAND(v_connection_handle,
    'RCPT TO: <'>');
    UTL_SMTP.OPEN_DATA(v_connection_handle);
    send_header('From', '"Sender" <'>');
    send_header('To', '"Recipient" <'>');
    send_header('Subject', v_subject);
    --MIME header.
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'MIME-Version: 1.0' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' boundary= "' || 'BACKUP.SECBOUND' || '"' ||
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Mail Body
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'BACKUP.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: text/plain;' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' charset=US-ASCII' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, l_message || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Mail Attachment
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'BACKUP.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: application/octet-stream' ||
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' filename="' || 'Logon.jpg' || '"' || --My filename
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    /* Writing the BLOL in chunks */
    WHILE l_pos < l_blob_len LOOP
    DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
    UTL_SMTP.write_raw_data(v_connection_handle,
    UTL_ENCODE.BASE64_ENCODE(l_buffer));
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    l_buffer := NULL;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Close Email
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'BACKUP.SECBOUND' || '--' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
    UTL_SMTP.CLOSE_DATA(v_connection_handle);
    UTL_SMTP.QUIT(v_connection_handle);
    DBMS_LOB.FREETEMPORARY(l_blob);
    DBMS_LOB.FILECLOSE(v_src_loc);
    EXCEPTION
    WHEN OTHERS THEN
    UTL_SMTP.QUIT(v_connection_handle);
    DBMS_LOB.FREETEMPORARY(l_blob);
    DBMS_LOB.FILECLOSE(v_src_loc);
    RAISE;
    END;
    end;
    sarah helped me to create the above package but i am not able to use in form
    i sent email to her but no reply.

    hi
    mehwish............just do for attachment.......
    u can also use something like this...
    Execute send_mail;and also.
    try something like this..
    example:
    begin
    mahi.mail('email address','subject','message','attachment');
    end;Edited by: Sarah on Apr 18, 2011 10:25 AM

  • How to import java package in form 10g

    hello
    i have make a java package but its not looking so far possible to include it in java import list, how i can import it in form 10 g

    hi,
    if classpath does not work you can try to add your jar file at this registry key :
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_DevSuiteHome\FORMS_BUILDER_CLASSPATH
    Engin.

  • DDE Package in FORMS 4.5

    Does anyone now, in which version of Forms the DDE built-in-
    package did appear the first time and whether there is a
    differen related to this topic betwenn Forms on Windows nd Forms
    on Unix (i.e. HPUX).
    Michael

    Joel I think you'll have to use the short name for "program files" e.g. the version you'd get in a Dos "DIR /x" command - something like "progra~1"

  • Calling a funtion package from forms

    Hi All,
    I am trying to call a function package in the forms, but I get the below error. Any help Please..
    the code in the trigger :
    DECLARE
    CURSOR C1 IS SELECT ' Rule Id: ' || R.rule_id ||' R_SUPP: ' || ROUND(R.rule_support , 2) ||
    ' R_CONF: ' || ROUND(R.rule_confidence, 2)||' Ante_ATT: ' || ante.attribute_name ||
    ante.conditional_operator || NVL(ante.attribute_str_value,ante.attribute_num_value)||
    ' Conseq_ATT:' || cons.attribute_name || cons.conditional_operator ||
    NVL(cons.attribute_str_value,cons.attribute_num_value)
    FROM TABLE(DBMS_DATA_MINING.GET_ASSOCIATION_RULES(:MODEL_NAME)) R,
    TABLE(R.antecedent) ante,
    TABLE(R.consequent) cons
    --WHERE cons.attribute_name = 'INFLATED'
    ORDER BY rule_confidence, rule_support DESC ;
    BEGIN
         LOOP
              OPEN C1;
              FETCH C1 INTO :RESULT_TEXT;
              EXIT WHEN C1%NOTFOUND;
         END LOOP;
    END;
    ERROR:
    DBMS_DATA_MINING.GET_ASSOCIATION_RULES must be declared..

    Hello,
    It means that the user you are connected do not "see" this package.
    You'd probably have to connect as SYS or SYSTEM, then grant EXECUTE on this package to your user.
    Francois

  • Calling User written pl/sql Packages from forms 9ias

    I want to call Pl/sql package (my own) from forms 9ias.
    Actaully i am upgrading my application forms 6i to 9ias forms.
    Please suggest me a solution.

    Same way as 6i. What is the problem ?

  • Where are Javascript Handlers in PL/SLQ Package for Forms/Reports

    Where do i find javascript event handlers in pl/sql package for a report/form? I created some javascript code for onclick in my form button using portal form
    builder wizard. When i bring up the pl/sql code for that form, i can't find the javascript that added. Where can i find it? Also which package contains the following procedures used by forms:
    onINSERT
    onUPDATE
    onDELETE
    onQUERY
    The javascript i'm talking about is when i create a form using the forw wizard provided by Portal for DB providers. I would like access to the javascript code
    from the pl/sql side of the form, b/c there are some pl/sql variables p_arg_names, p_arg_values, p_session that i need to use w/ the javascript for the event handles for button clicks on the buttons on my forms. where can I access the javascript of this form? I can the pl/sql of most of the form, namely, the package of the form. but i do not see anywhere in the package the
    javascript that i add in the wizard for the onclick event.

    That's what i want to know too.
    You know what their response was to me? they fwd'd my tar to their internal dev group. been waiting for a week now for a response from them. will keep you posted..

  • Import packages to form

    Hi!
    Somebody know if i can import some packages to function javascript? something like "import libreria.*" and import the library to any folder, I try to make this as eclipse, but i don´t know if that is possible.
    And if i want to access to a function in src
    =https://prueba/webservice/js/WS.js
    which is the code i have to put in my javascript?
    Any idea? Is this possible?

    For security reasons the js file that you are importing has to go into a specific directory on each machine.
    Paul

  • How to get ear package name form a Stateless SB?

    Hi there,
    I deploy the same Timer based stateless session bean in the same EJB container. It is a mail relay EJB so I store pending mails in a JNDI Vector. I need to have different Vectors as I run several independent J2EE Apps in the container, so I want to give different JNDI names to each Vector.
    How can i know, from inside a Session Bean, which is the .ear file it was deployed from?
    Any other ideas on how to differenciate the same Session Bean deployed several times? (Without invoking a method from a client, of course)
    Thanks,
    Ignacio

    Hi Ignacio,
    EJB application code does not have access to meta-data about its own packaging structure.
    One way to solve your issue is to configure an env-entry containing your globally unique name.
    You can use the same source code for the bean, but have a different version of ejb-jar.xml for
    each incarnation of the timer bean.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • IPhone5s package stolen form front porch, how to find its serial and IMEI#'s

    I had my brand new iPhone5s stolen off my front porch still in its FedEx box. The police are asking me for the phones serial# and IMEI#. I do not have the phone or the box and it was never activated. I asked Verizon for these numbers and they said that the serial#, IMEI# and MEID# are all the same number. She also gave me an SIM# which I have no idea what that is. Is what Verizon is saying correct? Are the serial#, IMEI# and MEID# are all the same number? If not how can I get this information without the phone or box to reference?

    Thanks, this helps clear things up a bit. So if Verizon has no knowledge of the serial number how should I go about aquiering it? Is this something I will have to find by contacting Apple directly? I should note that I dont have insurace on the phone though Apple so I may not be able to even have that conversation with them without paying them a fee.

Maybe you are looking for

  • Conv. based on the month - Need to display the output in quarterly basis.

    Hi Gurus, I need to display the output quarterly based on the month. For example, If the year is 2012 and month is between 01 to 03 i need to display it as 2012Q1 likewise 04 to 06 as 2012q2 and 07 to 09 as 2012q3 and 10 to 12 as 2012q4. Please help

  • Video/audio Stuttering on Macbook 13

    Hi All I have a mid 2007 Macbook 13 running OS X Lion 10.7.4.  all up to date.  Initially I had 4G's of ram ( I know it only reads 3 ) now I have it running on only 2. Problem is video/audio stuttering when running movies. mostly netflix and or conne

  • Why doesn't Premiere handle variable frame rate video?

    Variable frame rate video comes from many places these days: phones, live streamed video recordings. Adobe Premiere is a supposedly production level piece of software that cost a good chunk of change. How is it 2012 and Adobe does not still have an a

  • ORA-01536: Tablespace Quota Error...

    Hi all, I am testing a SQL script to one of my databases. After several tests, I receive the ORA-01536: Tablespace quota has been reached for tablespace "USERS". This doesn't look reasonable since the user is SYSDBA with unlimited tablespace privileg

  • Connections from other applications.

    Hello, Is there any parameter we can set to control the number of connections from an external application. I am using J2EE application server connection pool to connect to Oracle from Java. In Applciation server setting we can configure the number o