How can i open the popup from java class

Hi,
Please tell me how can i open the popup from java class.
I am using jdev 11.1.1.7.0
I have used the below code which works fine in jdev 2.1 but it will have some errors in 11.1.1.7.0.
Please tell me some way to do this in all jdev versions.
Bean obj = (Bean)RequestContext.getCurrentInstance.getExternalContext.getPageFlowScope(“obj”);
Code for hide pop-up
FacesContext context = FacesContext.getCurrentInstance();
String popupId = obj.getPopUpBind().getClientId()
ExtendedRenderKitService service = Service.getRenderKitService(FacesContext.getCurrentInstance(),
ExtendedRenderKitService.class);
String hidePopup = "var popupObj=AdfPage.PAGE.findComponent('" + popupId +
"'); popupObj.hide();";
service.addScript(FacesContext.getCurrentInstance(), hidePopup);
Code to Show pop-up
StringBuffer showPopup = new StringBuffer();
showPopup.append("var hints = new Object();");
showPopup.append("var popupObj=AdfPage.PAGE.findComponent('" +
obj.getPopUpBind().getClientId() + "');popupObj.show(hints);");
service.addScript(FacesContext.getCurrentInstance(), showPopup.toString());
Code need to be added in jsff pop tag
binding="#{pageFlowScope.bean.popUpBind}
Variable need to be added in Bean.java
private RichPopup popUpBind;

Hari,
Since you're using a non-public build of JDeveloper, you should be using a non-public forum.
John

Similar Messages

  • How can i open the plugins from the channel strip. I can't open it

    How can i open the plugins from the channel strip. I can't open it. Here's the vid detailing it www.youtube.com/watch?v=NkR04dHjUiI
    www.youtube.com/watch?v=GW9AwMITcoM
    Thanks for your help.

    From the online Help menu search on     Opening Plug
    Chose the help that starts with:   Opening, Closing, Resizing
    Read it.

  • How can i display the result of java class in InputText ?

    Hi all,
    How can i get the result of java class to InputText Or OutputText ???
    also can every one in the forum give me road map for dealing with java in oracle adf because i'm beginner in oracle adf
    i saw some samples in oracle adf corner but it's difficult for me.

    User,
    Always mention your JDev version, technologies used and clear usecase description (read through this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56)
    How can i get the result of java class to InputText Or OutputText ???Can you elaborate on your requirement? Do you mean the return value of a method in a class as output text? Or an attribute in your class (bean?) as text field?
    -Arun

  • How can I use JVM  instructions from Java classes?

    Hello,
    I want to use JVM instructions in my Java classes. How can I achieve this?
    Should I include a library to my project or something else?

    What on earth are you talking about?

  • I'm using "window.open()" to show one Calendar in a popup window. I can see that the popup is re-sizable. How can I prevent the user from re-sizing the popup?

    I'm using "window.open()" to show one Calendar in a popup window. I can see that the popup is re-sizable. How can I prevent the user from re-sizing the popup? I have tried "resizable=yes|no|1|0" and that seems to be not working.

    You can't prevent users from resizing a pop-up.
    *https://developer.mozilla.org/en-US/docs/Web/API/window.open

  • I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to

    I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to do that?

    kahjot wrote:
    Snow Leopard's Startup Disk pref can’t see Yosemite volumes. So the only way to switch from Snow Leopard to Yosemite is to do what Niel mentioned. Doesn't matter whether it's connected by USB or Firewire, although performance via FW would be faster.
    Are you saying that Yos/10.10, as a volume located in a mounted external drive won't appear as an option in Snow Leopard's Startup Disc, in Sys Prefs? I've never heard this one before. AFAIK any mounted volume, regardless of OS, should appear there. I would think that, if it appears in the Boot Picker/Startup Manager it would also appear and could be booted to from Snow's Startup Disk. I can't test this myself, since I don't have Yos. Is what you are saying documented somewhere?

  • How can I get the events from a java program?

    I want to make a monitor to watch a java program.How can I get the events from the GUI of this program some as mouse cliking, keyinput. So I can watch these in my monitor.
    Thanks

    Hi,
    To put a monitor to the events occuring in the GHUI u need to register required components with the appropriate EventListeners.
    Liek if u want to get notified when a mouse is clicked, then u need to add The MouseListener to the component which u want to be monitored.
    Say
    myFrame which is the JFrame object which shuld be monitored for the events.
    Then in ur program u have to add following code
    myFrame.addMouseListener( someObectReference );
    Here the someObjectReference should be an instance to a concrete class ..i.e. U write a class like the following
    public class MyMouseListener implements MouseListener {
    // override the followig methods
    public void mouseClicked(MouseEvent me){ sop("MOUSE CLICKED ON THE FRAME");}
    public void mousePressed(MouseEvent me){}
    public void mouseReleased(MouseEvent me){}
    If u dont want to use another class for listening to the events. Then u can make teh current class monitor the events. To do so ur class should implement the appropriate listener and should override the required methods.
    and u should say myFrame.addMouseListenet( this );
    thats it

  • My document.numbers can not be opened how can i recover the version from yesterday i was not using time machine and it was not in icloud. is there an app i can buy that might help

    my document.numbers can not be opened how can i recover the version from yesterday? i was not using time machine and it was not in icloud. is there an app i can buy that might help

    Thanks Andy,
    I wish I could have told my sister about this as she could not open my homepage back before my new iWeb site. She now can open my site without the yet in case denial window does appear = I thank you.
    I think my iWeb site works as Noone has said otherwise from any platform etc...
    Alex L
    I do agree that should not have to be a consideration for any users so i agree that it would be great if Apple could allow simplicity to run seemlessly.
    I have had this problem since Homepage, and here is
    what has worked for me. I send out the link, and
    then for PC users I send the link with "<" after the address (without quotation
    marks. e.g., <http://site.com>).
    I also put a note that if that doesn't work, to just
    copy and paste the link into a browser. With that I
    have only had 1 person say they still can't open.
    Everyone else gets it to work.
    It's a lot to do and seems like a hassle, but you get
    used to it.
    Hope this helps!
    Andy Martini
    PS - APPLE! When are you going to fix this??! It
    seems like such a small thing yet you guys have been
    stumped for YEARS on this!

  • The whatspp massenger icon has disappeard from my screen i can only open the whatspp from search or find,How can i fix it?.

    the whatspp massenger icon has disappeard from my screen i can only open the whatspp from search or find,How can i fix it?.

    The app is not gone, it is impossible to remove it from the device.
    Check all home screens and folders.
    If you are unable to find it, Settings > General > Reset > Reset Home Screen Layout.
    As a last resort, restore from backup.

  • HT3775 how can i open the file MPEG-2 Video, AC3 on my mac, when its coming from a sony camcorder?

    how can i open the file MPEG-2 Video, AC3 on my mac, when its coming from a sony camcorder?

    I think those files are Samsung's proprietary format, so only the Samsung software can open and display them.  If they do not make their software for OS X, then you are stuck requiring windows.
    I thought the DVR itself lets you save as standard avi as the backup file format?

  • Can anybody tell me how to send/receive  the sms from java application

    Hi All,
    Can any body tell me, how to send/receive the sms from java application to mobile phones.
    I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
    the following error.
    Cannot connect to GSM Device, error : -11

    Which jsms? Google finds several.
    Try the website where you downloaded it.

  • Clicking on Microsoft Update opened Firefox, but couldn't run from Firefox; when I closed Firefox I lost all my tabs and couldn't restore anything but the Microsoft page; how can I restore the tabs from an earlier session?

    Clicking on Microsoft Update opened Firefox, but Microsoft Update couldn't run from Firefox; when I closed Firefox I lost all my tabs and couldn't restore anything but the Microsoft page; how can I restore the tabs from an earlier session?

    Hi Diovizor,
    Make sure that you do not use [http://support.mozilla.org/en-US/kb/Clear%20Recent%20History Clear Recent History] to clear the 'Browsing History' when you close Firefox.
    Also please make sure that you not run Firefox in (permanent) Private Browsing mode.
    You enter Private Browsing mode if you select: Preferences > Privacy > History: Firefox will: "Never Remember History"
    To see all History and Cookie settings, choose: Preferences > Privacy > History: Firefox will: Use custome settings for history. Uncheck "Always use permanent Private Browsing mode"
    Hope that helps!

  • Can any body tell me, how to send/receive the sms from java application

    Hi All,
    Can any body tell me, how to send/receive the sms from java application to mobile phones.
    I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
    the following error.
    Cannot connect to GSM Device, error : -11

    The best place to ask your question is at the JSMS website, forum or mailing list since this is no error that directly comes from a class belonging to the core Java classes.

  • How can I open a program using Java and then perform certain tasks with it?

    For example, and this is just an example, I want to write a Java program that opens MS Paint and then manipulates that program. This can be useful to automate certain tasks.
    My question is whether this can be done writing Java code and if so how? If not possible, would I need to use a scripting language instead?

    write a Java program that opens MS Paint and then
    manipulates that program. This can be useful to
    automate certain tasks."manipulates" is a too wide term. Let me narrow down:
    1. If you want to open (run) the program and then shut (kill) it down it is possible and fairly trivial to do in java. Look up Runtime and Process classes in java.lang package
    2. If you want to open the program and edit some image/document in the opened program. It is very difficult in java. May be possible... using some Java/COM bridge, assuming your native program is COM/Active-x compliant. Note: these things go beyond the boundary of JVM and needs to interact with host OS and involves shared memory, ipc and all "low level" stuffs.
    If you want to be able to play around with these COM/Activex apps- choose .NET instead :-)
    3) You can open the program from java and pass it some command line arg as in (1) above and then the program will load that document/image at startup automatically. You may then edit the doc/image thru that program itself. However, Java is not doing anything for you here, other than just starting off your native mspaint.exe ot notepad.exe.
    -BJ
    Message was edited by:
    Bimalesh

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

Maybe you are looking for

  • Install Oracle 8i on RH6.2

    Hi, All I am installing "Macmillan Presents Oracle 8i for Linux", but the installer just does not working: following the instruction, I down loaded JRE1.1.6 v5 and installed when I try to run the OUI I got : bash$ ./runinstaller Initializing Java Vir

  • HT1694 my hotmail emails are not saving on my iphone

    my hotmail mails do not saved in my iphone 5

  • Popup for new features of an own developed ABAP

    Hi, from time to time new features are integrated into existing ABAPs and I want to inform the users of these ABAPs about the new features. I would like to have a general mechanism where a screen with some documentation pops up when the user runs the

  • CJ40 plan cost values not appearing in KKA2 screen

    HI Controllers, I am configuring for Result analysis (POC). Here I need to plan for the WBS element, based on this I will calculate RA POC values. Here my problem is I can see the values from Revenue planning (CJ42)  but i can not see the values from

  • Unable to backup/delete/change encryption key after SSRS 2008 R2 installation

    Hi, I am having issue with SSRS 2008 R2 Std installation with Sharepoint integration. hope may get some help from here. During the SSRS configuration in the SSRS Config Mgr the following error message come up when access web service URL/backup/delete