Popup menus in Forms 10g and Java Bean

Hi all.
What class in Java corresponds with popup menus(not in menu module) ?
I know that oracle.ewt.lwAWT.lwMenu.LWPopupMenu is corresponds with MenuBar's submenu. I can find Buttons, Text Fields, Menu and other components in my Form-Applet, but I don't know how to find popup menus in forms through Java Bean...

Hello François,
I have created a java bean that dynamically creates a popup by left-clicking on the bean.
          Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item' ) ;
          Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_SEPARATOR', '' ) ;
          Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item one' ) ;     
          Set_Custom_Property( 'BLOCK.BEAN', 1, 'ADD_ITEM', 'Item two' ) ;
My problem is the layout. I want to simulate a button. I can't put the bean transparent over a button and I can't simulate a button with the bean.
How can I add the popup functionality to a button and not only to the bean? Or any other workaround?
Regards Pedro.

Similar Messages

  • Forms 10g and Java 6 - Howto place the oracle .jars?

    Hi,
    I would like to compile a sample Forms Java Bean with standalone Java ( not with the JDeveloper IDE )
    and the source starts with a lot of import oracle classes in jars.
    My java install is like this:
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_11
    Could you indicate where I should place the Oracle jar files in order to have javac to recognize them?
    Many thanks in advance

    Hi again,
    I'm not advanced enough on these topics to clarify.
    Things have changed in the meantime here.
    At the moment we are looking into using 'web_show_document' with an html page containing javascript.
    There is a discussion on the 'talk2gerd.blogspot' that indicates what to set in formsweb.cfg and forms.conf in order to use javascript.
    Still getting a browser written as a Javabean to consult entreprise documents from a Forms client would be a nice bonus.
    Many thanks for your help.

  • Forms 6i and Java Bean

    Hi
    I need to establish communication between my forms and java code.
    i have made a java bean and set the implementation class path(i.e the package path (oracle.forms.demo for the bean class)) in the form item.
    I want to know where exactly should put the java code or do i have to make modification in any of the environment variables to allow the forms to acces the java code.
    what exactly is a java class and do i need to have a wrapper class also to implement the java bean.
    please respond fast as i need this info urgently...any small info might prove fruitful
    Thanks
    Message was edited by:
    user532526

    Hello,
    All you have to do is to copy the .jar file that contains the Java class(es) in the <devsuite>/forms/java/ directory, configur the <devsuite>/forms/server/formsweb.cfg file to add this jar file to the archive_jini tag to indicate where Forms have to load the classes:
    archive_jini=frmall_jinit.jar,...,my_jar_file.jar
    Then after, you have 2 possibilities:
    - the bean does not have any "screen" representation so you can just handle its functions with the Forms internal FBean package functions (no need to put implementation class on the bean area item property)
    - it has a screen representation, so you put its implementation class like you did, and you set its properties with the Set_Custom_Property() built-in and get its properties with the Get_Custom_Property() built-in.
    Francois

  • Popup Menus in Forms 10g

    I have a tool bar that I added within a Form that has few popup menus...
    When I Run form on Web layout I noticed I have to right click in order to see the popup menu... Before in client server it would only require left mouse click and the popup menu would display.. is there anyway of setting it so it would display if I hit the left button vs the right button. Reason being users who are used to Non Web based will not know to hit the right mouse button vs. Hit the left mouse button..
    Anyway to fix this

    I would like to respectfully suggest that windows standards are such that a left-click will select an item, and a right-click will display a pop-up context menu if applicable. I believe the action you describe is how it should be. I mean, even on the page that I use to enter this very note, if I click a link or a button, it will perform the action, and if I right-click in this text box I get editing command shortcuts, right-click on a link I get options for how it is to open, etc.
    I don't believe a left click should open a context menu. If your users use other Windows standard programs, this should not be an issue, as this is how they work already.
    Gary

  • Oracle Forms 10G and Java 7 ?

    So, as of 13 February 2013 (https://blogs.oracle.com/java/entry/end_of_public_updates_for) there will be no more updates for Java 6. So does that mean that Oracle Forms 10g (which as far as I know only supports Java 6) applications will have to upgraded to Forms 11g to keep up with the Java updates? So if you are running Forms 10g on OAS (Oracle Application Server) does that mean also an upgrade from OAS to Weblogic?

    Looks like there may be an update to fix this issue:
    Patch 14825718
    Description      ORACLE FORMS BUNDLE PATCH 10.1.2.3.2
    Product      Developer Forms
    Release      iAS 10.1.2.3
    Last Updated      07-JAN-2013
    From the README for 14825718
    # 11782681 - APPS6 FORMS DO NOT LAUNCH WITH BETA JRE 1.7I found the above information starting here:
    Re: Java 1.6 and 1.7 on same computer, which references this: FRM-92095: Oracle Jnitiator version too low
    Here's a workaround which is supposed to work without installing the patch, but I haven't had time to try it:
    The "Frm-92095" link above also mentions the -Djava.vendor fix but doesn't show the following steps.
    After installing Java 7, open file manager and go to the directory below, double-click on this file:
    C:\Program Files (x86)\Java\jre7\bin\javacpl.exeThis opens a "Java Control Panel" window.
    Click the Java tab, then the View... button.
    This should open a Java Runtime Environment Settings window with two tabs: User and System.
    On each tab, under Runtime Parameters, enter:
    -Djava.vendor="Sun Microsystems Inc."The place I saw these instructions claim it works in IE9, Firefox 18.0.2, and Chrome 24.0.1312.57
    I have not had time to try yet.

  • Doubt with Windows and Oracle Forms 10G and 11g

    Hi
    I have some doubts in installing Oracle Client on Windows.
    a)Can we install Oracle Forms 10g and Reports 10g client on Windows 7?
    b)Can we install Oracle Forms 11g and Reports 11g client on Windows XP?
    c)If we have an Oracle Forms 11g and Reports 11g, can it connect to a 10g Server?
    d)If we have an Oracle Forms 10g and Reports 10g Client, can it connect to an 11g Server?
    Please, Can any one help me in this????

    a)yes it can be installed on win7, may have some issues on 64bit systems but they're solvable
    b)11g had some problems with windows 2000, but didn't see mention of any problems on XP
    c)if you mean a database server then yes - i managed to connect 11g to an 8i database, so v10 should not be a problem. If you mean a forms/reports server..well newer forms/reports builder might not want to run old forms/reports and vice versa, but I don't see the point of operating on the same files from different versions. You can still load old form/report source files with a newer builder and recompile them to run on the new server.
    d) the "client" is effectively your web browser with a java plugin, unless I misunderstood your question. What version was a form/report compiled with should not be an issue.

  • Run oracle form 6i contain java bean in web?

    i have already made oracle form 6i contain java bean when i run it in client/server
    there is no errors but there is no bean to appear when i invoke it?
    and i'd like to put this form in the oracle application suite

    I think it is better for you to ask this question in Oracle Forms/Oracle Forms Server development forum.
    This issue would better addressed in Development forums.
    Just my 0.02£
    Yury

  • How to stablish a bidirectional conversation beetween forms 10g and servlet

    Hello I am investigating how to stablish a bidirectional conversation beetween forms 10g and a servlet. We want to make an application in Java that calls forms but we want that global variables send their values to forms and forms send values to java application.
    If any one can help me with a tutorial o guide.
    Best Regards,
    Paola

    It is possible to call out to Java from Forms starting with Forms 9i.
    It is not yet possible to call back into Forms from Java though. That will probably come in v11.
    You could potentially make a JavaBean that connects to your Java code thru sockets or some other method and place it in the form. That support also came in 9i.

  • Create XML dynamically from schema and Java bean

    Hi,
    I'm looking for suggestions on the best approach to create an XML file programatically from a schema and Java bean.
    The schema used is not fixed and may vary with each request so a dynamic way to create the XML is required.
    Is there an API available that allows me to achieve this easily? Any help would be appreciated to point me in the right direction.
    Thanks.

    XMLBeans or JAXB should work for you.
    - Saish

  • NLS_LANG value that suits Forms 10G and Database 11G wanted !

    I can't believe how bad is to install Oracle Database and Oracle Forms on the same Windows Vista machine!
    I had a problem in Oracle Forms 10g that prevents many items in the Form Builder menu from appearing in English Language and also prevents anything in the web-based forms runtime from appearing in English. I searched the forum for a solution and found that I have to set a NLS_LANG value in the environment variables equal to the following: AMERICAN_AMERICA.WE8MSWIN1256.
    I did this and my Forms builder looked great. Everything in english with no problems. But now what ?! The Oracle Database itself refused to connect from all clients! It refused to connect from Forms Builder, SQL Deeveloper, and even from SQL PLUS! The error given is: ORA-12705: Cannot access NLS data files or invalid environment specified.
    It seems that what I exactly need is a NLS_LANG value that will satisfy both Oracle Forms 10G and Oracle Database 11G that both are installed on the same Vista machine. The question is: What could this NLS_LANG value be?!
    Thank you in advance

    If you have connected to the database on which the form is based, prior to running the form from the Builder, the uname and password will automatically be passed in at startup and you will not be prompted.
    If you would rather hard code a username and password, enter it in formsweb.cfg. For example:
    SYNTAX:
    userid=<USERNAME>/<PASSWORD>@<DB NAME>
    EXAMPLE:
    userid=scott/tiger@orcl
    Remember that this change will only impact runtime and have no effect on the Builder.

  • What's the difference between using java directly in JSP and java bean

    What is the difference if I use java code directly in JSP or use java bean in JSP?
    Which class to use for receiving the passed parameter from html or java script? Any difference for java code and java bean in the way receiving the passed data?
    How can I pass string from jsp to html or java script?

    1 Cleaner pages
    2 you have to write the class and use set and get methods
    3 What do you mean when saying passing string from jsp to html??, do you mean the value you can use <%=variablename%>

  • How can i use jpg extension with forms 10g and webutil

    I have a form with webutil and i want to open imege jpg extension but thier are Bmp but my
    image jpg and image item has no jpg extension .
    How can i use jpg extension with forms 10g and webutil ?

    You can use the JFIF image format for jpg files.

  • Difference Betn EJB and Java Bean

    what is diference between EJB and Java Bean...???

    Is it really necessary to ask the same thing twice??
    MeTitus

  • Forms 10g R2 and Java Bean Interaction

    Hi,
    I need some help.
    I have a Forms app and a Java app that i need to communicate between them.
    The Java app send and receive events. How i send and receive events in Forms 10g.
    What you recommend to do that.
    Thank You. JP.

    There is a very good example in the otn in the forms-demo-section.
    Go: OTN - Sample Code - Oracle Forms - JavaBeans
    try it
    Gerd

  • How to include PJC and Java Beans in forms

    I have tried a lot to include java codes in my forms ..So I decide to start with ProgressBarPJC(cause it is tested and provided with demo) but I could not set implementation class of java bean object to
    oracle.forms.demos.ProgressBarPJC it does not accept it but it accept ProgressBar instead of ProgressBarPJC. I don't know why? I have made changes in Forms90_builder_classpath to access f90all.jar and progressbar.jar. I have Progressbar.class and progressbarpjc.classs both but i don't know how to set implementation class to ProgressBarPJC.
    don't you think there is lots of configuration and path setting to use any JPC or Jar in forms? I am totally confused with this integration.
    Please solve this matter
    Thanking you,
    Neeraj

    and even more information samples and step by step instructions are on the Java spotligh on the Forms Upgrade Center : http://otn.oracle.com/formsupgrade

Maybe you are looking for

  • Help! My MacBook Pro has turned on me!

    Hi! I was hoping you guys could help me out. I bought my beautiful Mac Book Pro the summer of 2012. It has been perfect and wonderful for quite sometime. I am a teacher and mainly use it for creating documents for school and my business. Yesterday mo

  • How do i load music from hard drive to my ipod?

    how do i load music from hard drive to my ipod? I had to reset my ipod and it blew away all my music. I have a ton of music on my computer hard drive but haven't figured out how to get it to my ipod. Thanks

  • Changing master images in aperture and iphoto

    hi am i right in thinking that there is no way of altering my original (master) images (located in my 'pictures' folder) in both aperture ans iphoto? I want to be able to see the changes in the original images in this folder, and have these altered i

  • Guys, need to replace a shattered screen on the iPhone 5.

    Hi guys, Any ideas on what replacement screens are, genuine on the iPhone 5 through the Apple stores? I'm struggling to find a price for this. Dave.

  • Smart Form for Service Desk

    Hey All I have a pretty simple question to ask to anyone who has configured Service Desk. Actually i want to send the End User an email whenever the status of the message he created is changed to User Feedback. Am doing it currently with the help of