Using jar to change functionality of forms text item: possible?

Hii..I'm using Oracle Forms 10g Rel 1 and DB 10g with AS 10g. The requirement is to have a text field that is able to format text like word processor (e.g. MS Word) and must support image drag drop facility. To facilitate all these, I have written a executable jar. It works fine when run standalone, but I cannot implement it in the forms.
I am successfully using oracle rollover button, getclientinfo, and other jars. But none of them have a main method. Can anybody give me any clue how can i implement this in the form?

Hii..I'm using Oracle Forms 10g Rel 1 and DB 10g with AS 10g. The requirement is to have a text field that is able to format text like word processor (e.g. MS Word) and must support image drag drop facility. To facilitate all these, I have written a executable jar. It works fine when run standalone, but I cannot implement it in the forms.
I am successfully using oracle rollover button, getclientinfo, and other jars. But none of them have a main method. Can anybody give me any clue how can i implement this in the form?
My another question is that is it possible or not to initialise my jar file in the orcale form without packaging my class file ? E.g.
//Not available packag in my java code
//package oracle.demos.......
class
that means i have no package.

Similar Messages

  • Change the color of text item after execute query

    Dear friends
    I would like to know how can I make a tabular form like grid and chang the color of text item when (for exp in emp table) the value of sal column between 2000$ and 4000$.
    I used the SE_IEM_PROPERTY command but it change all of the text items of sal column.
    please help me
    thanks a lot

    Highlight the Existing Record in Forms
    (Compatible with 4.x, 5.x, 6.x & 9i)
    Step 1: Create a New Visual Attribute(BLUE_VA) (Color of highlighted record)
              Font – Arial
              Size – 8
              Style – Plain
              Font width - Normal
              Font Weight - Bold
              Foreground Color – Black
              Background Color – Blue
              Fill Pattern – Transparent
    Step 2: Create another Visual Attribute (WHITE_VA) (Default Color of the record)
              Font – Arial
              Size – 8
              Style – Plain
              Font width - Normal
              Font Weight - Bold
    Foreground Color – Black
              Background Color – White
              Fill Pattern – Transparent
    Step 3: Add Following code to Block-level Trigger WHEN-NEW-RECORD- INSTANCE, POST-BLOCK
    (Add to the block, which has these records)
    -- Following code will only highlight an item
    DISPLAY_ITEM(<block_name>.<item_name>,'BLUE_VA');
    -- Following code will highlight complete Record (ref: DISPLAY_ITEM example)
    DECLARE
              cur_itm VARCHAR2(80);
              cur_block VARCHAR2(80) := :System.Cursor_Block;
    BEGIN
    cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
    WHILE ( cur_itm IS NOT NULL ) LOOP
    cur_itm := cur_block||'.'||cur_itm;
    Display_Item( cur_itm, 'BLUE_VA');
    cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
    END LOOP;
    END;
    Step 4: Add Following code to Block-level Trigger PRE-RECORD, PRE-BLOCK
    (Add to the block, which has these records)
    -- Following code will only highlight an item
    DISPLAY_ITEM(<block_name>.<item_name>,'WHITE_VA');
    -- Following code will highlight complete Record (ref: DISPLAY_ITEM example)
    DECLARE
              cur_itm VARCHAR2(80);
              cur_block VARCHAR2(80) := :System.Cursor_Block;
    BEGIN
    cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
    WHILE ( cur_itm IS NOT NULL ) LOOP
    cur_itm := cur_block||'.'||cur_itm;
    Display_Item( cur_itm, 'WHITE_VA');
    cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
    END LOOP;
    END;
    I am using the above code in one of my forms and I so far haven't seen any problem

  • Copy a Forms text item? [Solved]

    In Forms 10g is there any way for a user to highlight a text item and do a Windows copy to clipboard function without navigating to the text item?
    Turns out that the form in question had the mouse disabled and only the keyboard was allowed.
    Message was edited by:
    [email protected]

    When you highlight text you have to use the mouse or keyboard cursor to select the desired text in the item. If you don't navigate to the item to select the text, how is Forms suppose to know what item to use to get the text? You can't select text from an item unless you make it the current item.
    What are you trying to do that wants you to highlight text without navigating to the item containing the text?

  • How to make form text item nullable?

    I created an Apex form using wizard.
    It had a text item which was not null column in database. Now I made the column nullable in database.
    However, in Apex form, it still refuses to accept any null value in that text item.
    Where do I need to change in form to make it nullable?
    Thanx

    Hi,
    Has the wizard created a not null validation for the column that was originally not null. Check validations and remove the entry.
    Regards
    Paul

  • Form text item truncate

    Hi,
    My form emp has to show the employee names in a single text field, using this
    select query
    SELECT dept,
    RTRIM
    (XMLAGG (XMLELEMENT (e, emp_name || ',')).EXTRACT ('//text()'),
    ) emp_name
    FROM emp
    GROUP BY dept;
    multiple records are now coming in single text field but my "emp_name" data type is varchar2(150) so in form
    in getting emp_name text field have records in this format
    " Andrew "Big gap",roger"Big gap" ,John"Big Gap",fletcher
    i guess this problem becoz of the data type length, how to truncate this length in forms text field?
    Edited by: Veekay on 07/02/2011 09:41 م

    Hi
    i believe u r using the right function as u can see here
    http://techonthenet.com/oracle/functions/rtrim.php
    rtrim('tech '); would return 'tech' if i got ur problem then may be ur data length property of ur the text item if u minimize the spaces of displasying ur data
    guess this problem becoz of the data type lengthyesss, i guess this too :)
    Hope this helps
    Regards,
    Abdetu...

  • Form text item initial value not taking effect

    Hello,
    Sorry for the simple question, but I'm at a loss.
    I'm trying to present a system date on my form using $$DATE$$ as the initial value of a text item. The form will not display it. Am I running up against a bug, or is there a block setting that might be getting in the way? Possibly an OAS issue? The item is in a control block, and the form is insanely simple. It makes use of menu as well.
    Any help is appreciated,
    Jim

    I tried setting the initial value to $$DATE$$ in a control block item in Forms 10g (9.0.4), and it worked fine. I think the online help is referring to creating a record in a block (not the database), which happens in a control block as well as a base table block.
    Not sure what version of Forms you are using, but in the unlikely chance that you're still on 6.0, there are some bugs (1046279, 2970983) filed on 6.0 about the initial value not displaying when the text item is subclassed from an object library. If that's what you're experiencing, you should be able to fix it by upgrading to 6i.

  • Change template for Form Checkbox Item?

    I would like to remove the <label> tag from the template for Form Checkbox items and replace this in the list with my own label tag
    E.g. something like this
    select '<label onmouseover...>'||reference||'</label>', table_id r
    from tabel
    order by 1
    Is this possible?
    Thanks & regards
    Edited by: rw on May 3, 2012 6:10 AM

    Checkbox is <input> HTML tag with type="checkbox"
    The Label that wraps this Input is generated by Apex while rendering and stores important information.
    It is not advisable to play with that area even if someone gives you a technically feasible solution like "use a jquery selector to change the tags" in onload event,etc.
    Please find a more elegant solution to your problem.
    E.g. look at APEX_ITEM API
    Regards,

  • How to properly change the content of text item object

    Working in CS3 here.
    I have a collection of text item objects from a grep search.
    I want to iterate through the items and possibly change the values depending on a conditional statement.
    So say I have a collection myTextObject that contains text item objects from a GREP search
    <code>
    for (var i = 0; i<myTextObject.length; i++) {
         if (myTextObject[i].content == "myCondition") {
              myTextObject[i].content = "My New Value";
    </code>
    Once I do that, all the other content values in my collection are one byte off. So I am guessing that when the collection is created, Indesign sets a byte limit on the collection and when content is replaced, it sets everything off.
    I understand that the collection is built from the beginning of the document so possibly iterating backward would solve the problem?
    Any other suggestions here?

    yep. iterating backwards shoud help.

  • Using WF_EXTSRV for changing PDF Interactive form

    Hai,
    I'am trying to use transaction WF_EXTSRV to generate a task which can be used within the UWL from the portal. The main purpose of this task is to show an exsisting PDF form in change mode. I allready found some nice information from SDN, but not enough to make it all work. I still have still these questions:
    1) How must I setup the required fields within transaction WF_EXTSRV when I want to generate for example this url:
    http://abc.abc.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm?SCENARIO=SPEG&MODE=CHANGE&NOTIF_NO=000600000003
    2) How must a then setup transaction SWFVISU? Which apllication and package name.
    I hope some can help me.
    Greetings,
    Remco

    Hi Patrick,
    Let me see if I understand your query properly first. Your requirement is that you have a PDF file which is pretty much fixed.
    Now you want to use the Template present in the PDF file to be shown to the user, but this should be pre-filled with data that you receive from a Web Service & RFC.
    Now firstly I will mention the easy way, which would require you extract the PDF Template statically, I am not sure if the API has now been released to do that programatically.
    Now, lets say you store it is some location the template file, you would also need to tweak the DataBinding properties in the Template to match to that of the Context Node you will use in the application.
    Now in the ModifyView method you should get a reference to the Interactive form element, use the setTemplateSource method to refer to your template.
    Now based on the response from your RFC/WebService create the appropriate attributes into the node, and your form should work fine.
    Regards,
    Pavan

  • Dynamic Page truncating html form text item

    I have created a dynamic page that displays the system date on a form. When the
    page displays, the date truncates after the space or comma. ie.
    instead of displaying "Monday, December 30" it displays "Monday". If i remove
    the comma or spaces from the format, it will display ok. Is there some type of
    URL encoding I need to to.
    <FORM action="stars3.star_portal.process_student_att" method="post">
    <TABLE border="0" cellspacing=0 cellpadding=2>
    <TR BGCOLOR="#000063">
    <ORACLE>
    BEGIN
    htp.p('<TD ALIGN="CENTER"><FONT COLOR="WHITE">' );
    htp.p('<input type="text" name="T1" size="30" value=' ||
    to_char(sysdate,'Day, Month DD') || '>' || '</FONT></TD>');
    END;
    </ORACLE>
    </TR>
    </TABLE>
    </FORM>

    Hi,
    Yes, it is an encoding problem. You can make use of htp.formText to overcome this. The spaces and commas are interpreted properly with formText.
    Here is an example.
    <ORACLE>
    declare
    l_date varchar2(100);
    BEGIN
    select to_char(sysdate,'Month, Day, DD') dt
    into l_date
    from dual;
    htp.p(l_date);
    htp.p('<TD ALIGN="CENTER"><FONT COLOR="WHITE">' );
    htp.formText(cname => 'T1',
    cvalue => l_date,
    csize => 30,
    cmaxlength => 30);
    END;
    </ORACLE>
    Thanks,
    Sharmila

  • Using Continuos Printing stationary with smart forms is that possible ?

    Hi All,
    there is an instance where we have to use continuo's stationary for printing Payment Advices for the vendors with bankers cheque attached to the payment advise is that possible in smartforms also i have know that is possible in scripts but the requirement is in smartforms and can we do that in Smartforms.
    If any one have seen the same instance earlier, take your time to guide me the process.
    Thanx all in advance..
    Raj

    With smart forms i have dropped the idea as it is not that flexible as script..
    if am not wrong~
    I have resolved it and have done the needful for printing the cheques and Payment Advices... in scripts with any kind of printer.. using Scripts.
    Any one dealing with FI ABAP having any kind of issues with the Payments advices and cheques can always ping me for any doubts...
    payment advices ,
    cheque printing,
    vendor aging,
    customer aging,
    brs upload program,
    Service tax reports,
    TDS reports,
    vendor master upload,
    customer master upload,
    gl balance upload,
    NCR Report,
    and some co Reports..
    these are some of the things where  i have masterd for now..
    any one i need of these can always get in touch...
    cheers and all the best.. to be a brilliant ABAPER...
    Raj ([email protected])

  • Tabular form for text item -save changes not working

    Hello,
    I have created a tabular form in which I have made one of the columns say deptno as an Text item using APEX_TEXT.ITEM package.
    In my tabular form by default I have created it with all the buttons like with ADD ROW,CANCEL,SUBMIT(SAVE).
    My problem is that whenever I make any changes to the text item for deptno column, and then try to save the changes by clicking SUBMIT - the changes are not taking place to the deptno text item column.
    Can anyone help me out with this.
    thanks.

    hi Denes Kubicek.
    the thing is that i have made it as text item because I have concatenated it with an popup image when clicked on it opens up an new popup window
    which is a report containing dept table details. So if need to make a change to the deptno text item column in the parent window for a particular record
    then i do through the popup window (like by selecting the deptno from the popup window - so that this value is returned to my parent window deptno text item column)
    for this reason i have made the column deptno as an text item.
    can you help me out with this issue.
    thanks.

  • Trying to make new text item in Pages 5.2 using Applescript

    I am trying to upgrade(?) from Pages 3 to Pages 5 and have a script that used to make a new document with text boxes. Previous line was:
      make text box with properties {object text:receiptDD, vertical position:6.9, horizontal position:2.7, height:0.5, width:1, extra space:0}
    Have the line changed to:
                                  make new text item with properties {object text:receiptDD, position:{6.9, 2.7}, height:0.5, width:1}
    but fails with error "Pages got an error: Don't know how to create TMAScriptInfoProxy" number -2763
    Not sure where to go from here,  searched various forums but cannot find a solution, any guidance gratefully received.

    Does your Photoshop menu bar have a 3D item? If not make sure you machine meets CC requirements and thatou GPU is enabled in you Photoshop preferences performance section

  • Fast Change function to change plants in sales order

    Hi All,
    Once the plant is determined in sales order, thru the option "edit fast change-->plants", one can change the plants at line item level.
    my issue is Iam using a BOM material in sales order. In the line item, the main material has plant 3019 and the component material has plant 3019..... now when  i use the fast change function to change plant 3019 to plant 4500 for main material and component material, the system changes the plant  to 4500 for component material but does not change the plant to 4500 for main material in sales order.
    why it is so. The bom material and its components are defined for both plants 3019 and 4500.
    Do the fast change of plant  function does not work for BOM main material
    regards
    sachin

    Hi
    As far as my understanding goes, the fast change of plants is there only for sales order line item. So it will not change at the BOM level.
    Regards
    Yatin Thakkar

  • Find/Change function

    I used the Find/Change function to change a particular word's format from "regular" to "bold" and within a numbered list where the Find/Change function applied, it changed the font of the number to a different font not used anywhere in the document.

    Please show us a screen capture of the Find/Change dialog and the Change Formatting screen you get by clicking on the magnifier icon next to "change formatting" at the bottom of the dialog.You can embed screen shots in a post by using the camera icon on the web page like this:

Maybe you are looking for

  • Export to interactive PDF with video

    Hello, i tried many times to create a simple white document with just a place of "flv" video in the middle. I set up the PDF export to interactive...but when i open the PDF i can't reproduce the video, just see the preview image. If i export to SWF i

  • IPad mirror shows up in 4:3 aspect

    why doesn't apple tv show ipad mirror in widescreen and only in 4:3 aspect ratio - the advertisements clearly show photos in full screen - am I missing something or is this misleading advertising

  • Table fields for Status of an equipment.

    Hi Experts, Can anyone tell me Tables and fields available for Status of an equipment. Which is shown in IE03. i.e. 'INST','AVLB'......etc. Thanks, Ashesh Chokhawala.

  • Price Determination Date

    Hi,   Client is creating PO w.r.t contract which is set as "5-GR date" for Price control and the same has been set in vendor master. There is no price control set in info record "No Update". But when i check PO in EKPO table, system shows price contr

  • HR IDOCS - Restrict IDOC Authorization

    Hi Gurus, I need some guidance and recomedations on how to secure IDOC authorization so users won't be able to view HR data. I have the parameters for  the LOGICAL MESSAGE  and PARTNER TYPE.  All need is some input on how to go about doing this. Than