Bean in forms 10g is not displaying

Hi All,
I have created a simple java class
package mypackage1;
public class MyClass
public String GetString(String a)
return a;
Make a jar myjar.jar out of it.
Copy this jar files in $ORACLE_HOME/forms/java directory
and set the archive.jini parameter in formsweb.cfg to
archive_jini=frmall_jinit.jar,Myjar.jar
Created a simple form having one button, one textbox
Set the implementation class property of text item to mypackage1.MyClass
on button pressed trigger, I wrote
set_custom_property('block2.text_item4',1,'GetString','Hello World');
Ideally, on button pressed, it should show the text "Hello World" in the text box. But on button pressed nothing is happening and in java console no error is appearing.
My java console output is
Loading http://asst104253:8889/forms/java/frmall_jinit.jar from JAR cache
Loading http://asst104253:8889/forms/java/Myjar.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
Could anyone please tell me what I am doing wrong?? And how do I achieve this functionality??
Please, any help appreciated !!

Please anybody help !!

Similar Messages

  • Oracle 10g Taskbar not displaying to see the error after running the form in explorer

    Hi
    1- When we compile and run the form in forms 10g output in Internet Explorer and Avant Browser. can not see teh taskbar to see the error message, how to check the error when you run the forms in explorer there is no taskbar under the forms
    2-  When we compile and run the form in forms 10g output is displayed. ... Background has an "Oracle logo" where is the location of this Logo
    Watiing for reply thanks.

    Leopard007 wrote:
    1- When we compile and run the form in forms 10g output in Internet Explorer and Avant Browser. can not see teh taskbar to see the error message, how to check the error when you run the forms in explorer there is no taskbar under the forms
    Check the Module property: Console Window.  If this property is null, then the Status Bar will not be displayed during runtime.  You have to set this property for each form.
    Leopard007 wrote:
    2-  When we compile and run the form in forms 10g output is displayed. ... Background has an "Oracle logo" where is the location of this Logo
    The "Splash.gif" is located in the frmall.jar file. What is it you want to do?  Do you want to use a different spash image during application startup?  If yes, you can display a different startup splash image by using the splachScreen= parameter in the formsweb.cfg file.  The replacement .gif file must be located in the directory specified in the imageBase= parameter.  Keep in mind that this file will need to be signed or you will get a security warning.
    Craig...

  • Integrating BI Beans into Forms 10g

    Hi all,
    <br><br>
    We have our application built using Oracle Forms and Reports 10g R2. I am thinking that BI Beans would highly inhance the reports in our application.
    <br><br>
    If my idea is true, <b>is it possible to use Oracle BI Beans in Forms 10g?</b> Any guideline or related link would be highly appreciated.
    <br><br>
    Thanks.

    hello,
    i use the formsgraph.jar into my test_forms,the data is display ok,but the Y axis scale i didn't solute it what i want to display.
    for example:
    7|
    6|
    5|
    4|
    3|
    2|
    1|
    0|_______________________________________________________________
    0 1 2 3 4 5 6
    my problem is that how i can define the Y axis what i want it to display.that only display 0-2-4-6-8-10-12 if recompile the java codes ,where i can modify???
    please help me !
    thanks!!

  • Forms 10G menu not showing submenus

    I have a forms 10G application that is showing the main menu items but wont display the submenu items. The application works correctly on both a Linux (OAS 10.1.2.0.1) and a Windows (OAS 10.1.2.3) testserver.
    After placing and compiling (without any errors) the application on a clients server the main screen is shown with the main menu items. However, clicking on the menu items won't open the submenus. The only menu item that works is the exit option which is not of command type "menu" but of command type "PL/SQL".
    The menu's use security property is set to no.
    Has anybody experienced this behaviour? What is going wrong?

    There is a solution in MetaLink. See Subject: "Drop Downs Don't Work With Dual Monitors (Extended Desktop)".
    Symptoms
    When Forms application is dragged from a monitor to another in a dual monitor system, the drop down lists stops working
    Cause
    This issue was caused both by the lack of Multi-screen Setup Support in Java versions prior to JDK1.2 and by Bug 2772796 - Apps6: Drop Down Menus Invisible When Using Dual Or Multiple Monitor Setup
    The bug is fixed in Forms 10.1.2.2 and beyond. It allowed the bounds to be calculated fine across the now available displays.
    Solution
    If using Forms version 9.0.4.3 then you can apply Patch 2772796 on top of it.
    If using Forms 10.1.2.0.2 then upgrade to Forms version 10.1.2.2 or beyond.
    Note: If using Oracle Applications 11i, please consult the solution rather in the Note 430179.1 - Drop Down Menus Invisible When Using Dual Or Multiple Monitors

  • Implementing java beans in forms 10g [Problem]

    Hi All,
    I am trying to implement the java bean in the forms 10g
    I performed the following steps, but no luck.. Could anybody please help me in this?
    I have created a simple java class
    package mypackage1;
    public class MyClass
    public String GetString(String a)
    return a;
    Make a jar myjar.jar out of it.
    Copy this jar files in $ORACLE_HOME/forms/java directory
    and set the archive.jini parameter in formsweb.cfg to
    archive_jini=frmall_jinit.jar,Myjar.jar
    Created a simple form having one button, one textbox
    Set the implementation class property of text item to mypackage1.MyClass
    on button pressed trigger, I wrote
    set_custom_property('block2.text_item4',1,'GetString','Hello World');
    Ideally, on button pressed, it should show the text "Hello World" in the etxt box. But on button pressed nothing is happening and in java console on error is appearing.
    My java console output is
    Loading http://asst104253:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://asst104253:8889/forms/java/Myjar.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Could anyone please tell me what I am doing wrong?? And how do I achieve this functionality??
    Please, any help appreciated !!

    Hi there
    The is plenty wrong with this code:
    1. MyClass is not extending VBean
    2. There is no public boolean setProperty(ID ID, Object args) method and no property IDs have been defined so set_custom_property('block2.text_item4',1,'GetString','Hello World'); will not execute anything
    3. If you're hoping to return values back from the bean, you need to define a custom event and associated ID.
    If you're just looking for some java code to return values in a similar manner as normal Oracle functions then you may want to consider using forms java stored procedures which are based on static java methods. Beans are really more for interaction type stuff with other applications.
    But any way if you want to do it this way (i.e. using beans) then at very least you class should look something like (Note, I have not compiled is so there may be a few errors):
    package mypackage1;
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    import oracle.forms.engine.Main;
    import oracle.forms.engine.*;
    import oracle.forms.handler.*;
    public class MyClass extends VBean
    // initiating event id
    protected static final ID pgetString = ID.registerProperty("GetString");
    // return value id
    private static final ID preturnValue = ID.registerProperty("returnValue");
    // return event id
    protected static final ID preturn = ID.registerProperty("returnEvent");
    static IHandler mHandler;
    public String GetString(String a)
    // may do some string manipulation here.
    return a;
    public boolean setProperty(ID ID, Object args)
    if (_ID== pgetString)
    if (_args instanceof String)
    String myArg = (String)_args;
    mHandler.setProperty(preturnValue,getString(myArg));
    CustomEvent ce = new CustomEvent(mHandler, preturn);
    dispatchCustomEvent(ce);
    Keep your button as is and then to return the value back into forms place a WHEN-CUSTOM-ITEM-EVENT trigger on the bean area with something like this:
    DECLARE
         BeanValListHd1 PARAMLIST;
         ParamType NUMBER;
         EvenName     Varchar2(20);
         CurrentValue Varchar2(2000);
    BEGIN
         BeanValListHd1 := get_parameter_list(:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
         IF :SYSTEM.Custom_Item_Event = 'returnEvent' THEN
              IF iD_NULL(BeanValListHd1) THEN
              MESSAGE('NO PARAMETER FOUND FOUND');     
              ELSE
              GET_PARAMETER_ATTR(BeanValListHd1,'returnValue',ParamType,CurrentValue);
              MESSAGE('IN CUSTOM EVENT THE STRING RETURNED IS '|| CurrentValue);
              END IF;
         ELSE
              MESSAGE('no value');
         END IF;          
    END;
    hope this helps
    Q

  • Aligned Form Fields Do Not Display Correctly Where Visible Borders Overlap?

    I'm on creating some forms & checklists for the company I work for to simplify our project workflow.  When adding text fields to the form I'd like to add borders to segregate the various fields & make the form more presentable.
    The problem I'm having, is that I'm unable to place fields immediately adjacent one another without leaving a gap.  If I do & use the snap to grid option, aligning the top of one field with bottom of another, it does not display correctly when printed.  The border lines appear to have differing thicknesses where they touch & this makes the form look terrible.  Currently I'm having to create the borders in an excel spreadsheet, convert to pdf & add borderless fields within the pre printed borders.  While this gives me the look i want, if I later want to add to or amend the form I have to start from scratch first modifying the initial excel layout which is too time consuming.  I'm using Acrobat X Pro.  Any assistance appreciated.
    Regards
    John

    There are at least two techniques to allow you to change the underlying layout and remake the static part of the PDF, without having to redo the form fields (except new ones, and moving as needed).
    That is replace pages and copy-paste of form fields.

  • Adobe(pdf form) Footer does not display on my form

    hi Masters,
    i have a adobe form and i want to create the footer to it.
    when i create and have some datea on footer the data...the footer does not display.
    the footer is not displayedd whether their is data or not no data.
    am bit new can i have some info pls.
    thank you,
    pasala.
    Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on May 26, 2011 10:07 AM

    Hi;
    FormsCentral does not support Digital Signatures.  The submission process does not handle a signature field in any way. 
    There isn't a method in our authoring environment creating a new form in FormsCentral to add a Signature field, and for an Imported PDF Form there is a warning if a signature field is discovered alerting the user that it will not be used.
    Thanks,
    Josh

  • Infopath created form for sharepoint not displaying attachments in one list

    One of the sharepoint list forms on o365 isnt displaying the attachment that are added.  It seems to attach them okay and they display until you save the form.  When the form is re-opened, there is nothing there.  It is working fine in another
    form so lost as to why it is not working on this one.  

    Go ahead and publish the form once again on the site you want to use it from InfoPath designer !

  • OC4J Instance included in Forms 10g R2 NOT Stable

    I am able to deploy a form for testing on WIndows 2003 Server.
    C:\Documents and Settings\Administrator>C:\oracle\product\Ora10gDSR2\jdk\bin\java -Doracle.security.jazn.config=C:\oracle\product\Ora10gDSR2\j2ee\DevSuite\config\jazn.xml -Doracle.home=C:\oracle\product\Ora10gDSR2 -DORACLE_HOME=C:\oracle\product\Ora10gDSR2 -jar C:\oracle\product\Ora10gDSR2\j2ee\home\oc4j.jar -userThreads -config C:\oracle\product\Ora10gDSR2\j2ee\DevSuite\config\server.xml
    06/10/25 00:00:06 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    initialized
    06/10/25 00:03:54 FormsServlet init():
    configFileName: C:\oracle\product\Ora10gDSR2/forms/server/formsweb.cfg
    testMode: false
    06/10/25 00:04:04 ListenerServlet init()
    06/10/25 07:56:50 Forms session <3> aborted: unable to communicate with runtime process.
    I can run the Form initially but not after it has been deployed for about 8 hours. Is it true that OC4J supplied in Forms 10g R2 is only for testing purpose. How could I deploy the form in a more stable environment?

    Yes it is true.
    OC4J included in your iDS 10g is only for test or develop envrionment.
    Its basic function is to make your builder tool ready to test your forms and module as well as your reports.
    Just because iDS 10g its a web tool and it needs a web server to execute. So OC4J emulate the iAS (Internet Application Server) and give you the opportunity to TEST your modules without having a iAS.
    Abdel Miranda
    Panama.

  • Adobe form Logo does not display

    hi Adobe masters,
    I  am trying to upload logo onto my adobe form.... I have inserted image but when i view from the output the logo is not displayed.
    when i right click the image i cannot see OBJECT to bind it.
    where have i gone wrong...how can i display the logo...
    thank you,
    pasala.

    Hi,
    Enable the check box 'Embed Image Data' property for Image field.
    Regards
    Srikanth KV

  • Message in forms AS10g does not display message

    We use the message command to display messages when debugging forms. In AS10g, the content of the message is not displayed. Has anyone found a workaround to this?
    Thanks,
    Jeff

    The console window is set to the proper window. If I duplicate the line of code, it works... twice. I.E.
    message('before commit');
    message('before commit');
    commit;
    message('after');
    message('after');
    This works but you get two messages. Code it once and you get only an acknowledge button on not the text. I've also tried all combinations of the acknowledge option and using a pause after the message.

  • Forms 6i help not displayed on Windows 7

    Hello to everyone!!
    A few days ago have installed Forms and Report 6i on my computer.
    Both Forms and Reports are working well, but the only problem I get is that the help (using the F1 key or accessing the help via the menu) is not displayed. The only thing I get to see is a Window error alert without any text.
    What must I do to get the "normal" Forms help screens?
    I hope that you can help me.
    Carlos

    HI,
    try to download windows help program from the following link
    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=91
    if you can open the forms 6i help but there is nothing display in it
    you should locate the file then right click to open it's properties, click Unblock button and try to open help again.
    if this reply is helpful please inform us.
    regards,

  • Flattened PDF Form and Barcode not displaying

    I see there are a lot of discussions that are not answered in this forum, so I am guessing this will go unanswered as well.  But I am looking for a solution for the issue in the subject. I have a simple PDF form built in LiveCycle that I am populating with Coldfusion. Once the form is populated I then flatten the form. The barcode appears up to the flattening point which is when it disappears. The characters that populated the barcode field ARE displaying but the image is not.
    Is there a solution?

    How are you flattening the forms?  I'm assuming PDFg or Output?
    Also, be sure your barcode looks something like this:
    <field name="PDF417BarCode1" y="50.8mm" w="66.7mm" h="25.4mm" access="readOnly">
    <
    ui><
    barcode type="pdf417" dataLength="10" moduleWidth="0.0133in" moduleHeight="0.02661in" errorCorrectionLevel="5"/></
    ui><
    value><
    text>1234567890</text></
    value></
    field>
    and not...
    <field name="PaperFormsBarcode1" w="82.55mm" h="44.45mm" access="readOnly"><
    ui><
    barcode type="pdf417" moduleWidth="0.338mm" moduleHeight="0.676mm" errorCorrectionLevel="5"> 
    <?templateDesigner decodeMethod 2?>
     <?templateDesigner delimiter '\t'?></barcode></
    ui><
    calculate><
    script contentType="application/x-javascript">
    ...completely void of script and the value in only the <text> element.

  • Forms values are not displayed correctly

    This is happening on the client view. I have a custom form and after some Windows updates on user's laptop, the text field values started stopping to display in the form. If I click on View mode then the text values shown and change back to Edit the form
    now text values show up in the text field.
    Another thing is when trying to print the view out, text values are not shown up at all. I tried to upgrade user to IE11 and same issue. Using Firefox then text values are shown in print preview but not in Editing. I don't want users to use different browser
    rather than IE.
    Any thoughts on this would be much appreciated.

    Hi,
    Since the issue happens after some Windows Updates, I would suggest the user log on another machine and see if the issue persists. If the issue only happens on this laptop, you can manually uninstall the update patch you doubt to test
    the issue. Go to Control Panel->Programs and Features->View installed Updates->”right click” and “uninstall”.
    Meanwhile, add the SharePoint sites to a trusted zone in IE settings.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • HTML form in iview not displaying correctly

    Hi
    I have made a KM document iView and in that I have called a HTML page.
    The problem is that the margins in the iView are too much and due to this the content is shrinked in between.
    When I open the page in new window then it is correctly displayed but shrinks in portal content area.
    Kindly suggest how to have the contents displayed in the same way as in the HTML file.
    Regards
    nitin

    Hi 
    Outlook 2007 or newer use Microsoft Word for their HTML engine.
    You can refer this page http://www.campaignmonitor.com/css/ shows
    many things that do not work in different clients.I think Someone needs to re-code
    the HTML form to make it work in the current versions of Outlook. You can try formatting with text and HTML and see the results.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

Maybe you are looking for

  • IMessage working on iPhone but not on MacBook Pro or iPad

    I've been working on this issue for several days to no avail. I've even worked through it with multiple technicians on AppleCare (and they actually made the problem worse). I cannot send any messages via iMessages on my Macbook and...in the process o

  • Dual Boot with Windows 7 (Yes, I'm sorry)

    I've just installed Arch Linux and have gotten my desktop environment working, and now I'm looking to be able to go back into my Windows 7 install, but this doesn't work. I've done several edits of my menu.lst in the grub bootloader in hopes of findi

  • Error Using Sequence in Weblogic

    I tried to use Sequence object in weblogic to generate auto-imcremental integers for my db insert keys. I first create a mydbsequece in oracle database. Then, I built a class in which I obtain a dataSource using jndi to look for my dataSource. And th

  • ORBO - Daily sales report includes Order Init Transaction?

    Hi All, Can you please any one guide me in ORBO application,the daily sales report includes the Order init transaction details? Appreciate your help. Hari.

  • SQL Server Linked Server Issues with MVC 5

    I have 2 linked servers Server A = MYOB  ( custom 32 it ODBC Driver )  Server B = SQL Server 64 Bit. They link fine using windows authentication - and I can run the following no problem in SQL Management tools ( as part of a stored proc ) .  DECLARE