Open portlet as popup and communication with opener

Hi,
I need open portlet as popup window from another portlet. After that when user select some data (id) I need close window and then set up hidden html input field on opener portlet according to selected data (id) on popup window. I suppose it via Javascript, right?. I didnt find any example or information about it so thanks for any info about it. Sure any code would be great.
Thanks for helping.

Hi
Use http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/com/bea/portlet/StandalonePortletURL.html to generate the url (or render:standAlonePortletUrl)
Use window.opener to reference the main window from the popped up window.
(e.g. http://www.webreference.com/js/tutorial1/opener.html)
regards
deepak

Similar Messages

  • Popup not communicating with parent/opener window

    I use an eCommerce system that when we are entering an item, a popup window will come up, asking us to choose the product. When I click the button that is supposed to link back to the parent/opener page with that product included, it does not link back and does not respond at all. Why is this a problem ONLY in Firefox? I have all the latest updated plug-ins (besides Google Earth and Yahoo! plug-ins). I even disabled pop-ups thinking that would help (not so much).

    Let's check something. In the opener (original tab), press Ctrl+Shift+k to open the Web Console. Paste the following line of code and press Enter:
    <br>alert(typeof self.iform);
    If you get something other than "undefined" then there appears to be a problem with the child window accessing the object in the opener. If you get "undefined", then the object reference is not valid in Firefox regardless of which window the code is in.

  • New Exchange setup and communication with current Firstclass email system

    So I have a very interesting scenario....We plan to move to MS Exchange 2013 from a open source email called Firstclass.....we have one domain (we'll call it contoso.com for this example), we had a previous domain setup of contoso-school.org as well......our
    current email system and acceptable addresses are both of those domain addresses....they are local DNS domains to us.....so for our Exchange we want these addresses to be acceptable in Exchange as well....but we also are going to add a new domain name to Exchange
    which would be main email address....which would be contososchool.com....however the domain is owned by 3rd party that runs our website with domain name....so was not going to add to our DNS.
    I have exchange setup and working as far as being able to send receive external emails and also have our current Firstclass email system able to send email to exchange users....but I cannot get exchange to email the firstclass account....anytime I try, it
    just immediately shows up under my exchange account (there servers are all apart of the contoso.com domain).....I tried without having the other domain names added in as Acceptable domains but it still does the same thing....I think because the Exchange server
    is part of the same domain as other email system its causing this...
    Has anyone dealt with this type of situation...I hope I explained it ok
    Thanks

    So I have a very interesting scenario....We plan to move to MS Exchange 2013 from a open source email called Firstclass.....we have one domain (we'll call it contoso.com for this example), we had a previous domain setup of contoso-school.org as well......our
    current email system and acceptable addresses are both of those domain addresses....they are local DNS domains to us.....so for our Exchange we want these addresses to be acceptable in Exchange as well....but we also are going to add a new domain name to Exchange
    which would be main email address....which would be contososchool.com....however the domain is owned by 3rd party that runs our website with domain name....so was not going to add to our DNS.
    I have exchange setup and working as far as being able to send receive external emails and also have our current Firstclass email system able to send email to exchange users....but I cannot get exchange to email the firstclass account....anytime I try, it
    just immediately shows up under my exchange account (there servers are all apart of the contoso.com domain).....I tried without having the other domain names added in as Acceptable domains but it still does the same thing....I think because the Exchange server
    is part of the same domain as other email system its causing this...
    Has anyone dealt with this type of situation...I hope I explained it ok
    Thanks

  • IPhone and communication with Mac

    Hello,
    my friend has Nokia and Windows XP. When somebody call him, send him message, the cell phone is connected to computer and it shows him message in screen. Even when battery is low, it also shows him it on computer. Now I'm working for few days in very noisy environment, so I can't hear the ringing. Is there any app for iPhone and Mac?
    It would be really great if somebody calls me and it will be shown in my screen or something like that...
    thx

    hmmm, that's pity...
    but thanks for quick replay

  • Commands to FTDI virtual COM port via NI VISA interfere with communication with FTDI chip using D2XX drivers

    Hello!  
    I am trying to communicate with a DLP Design module DLP-USB1232H which uses an FTDI chip.  My program uses the D2XX drivers.  It works, but...
    In another program that runs at the same time, I'm communicating with another instrument via a virtual COM port (VCP) that uses an FTDI UART.  In this program, I use the VISA Serial Port functions.  It works, too, but...
    The first program has the capability of listing all the FTDI devices in the system prior to choosing the right one to communicate with.  When the VCP is plugged in, it lists it (FT232R USB UART) along with the DLP-USB1232H and communication with the latter device works.   But as soon as the second program sends a command through the VCP, the first program no longer "sees" any FTDI device.  It stops working.
    I have tried 2 different FTDI VCPs; one a standalone cable and the other built in to the instrument.
    I’m using Windows 7 32-bit.  My programs are both LabVIEW 8.5 executables. 
    Is VISA "taking over" the channel to the DLP-USB1232H?  Does someone who understands NI's implementation of VISA have any ideas on why VISA is doing this?  Or if something else is going on?
    I'm also interested in workaround ideas.  I've tried a "Prolific" VCP, but most drivers don't work and the one that doesn't give an error in Device Manager doesn't communicate with the instrument.  
    Cheers
    Halden
    Solved!
    Go to Solution.

    Halden,
    It really sounds like you have a resource conflict. That occurs when two programs or parts of programs try to use the same device or port at the same time.  Your Get Device Function probably tries to open a session with each port (as you increment the index). When it hits a port which is being used by the other driver, it cannot open the session and stops working? Have you examined the errors returned by each program? The VISA drivers will return an error when the port is in use.  I do not know about your program or drivers, but I would expect some kind of error.  Automatic error handling in LabVIEW will not catch errors from a driver if it does not translate them to LV error clusters. So do not count on automatic error handling, if you use it, to display all possible errors.
    Lynn

  • Ethernet communication with NI9149

    Hi everyone,
    I would like to create a rugged system by interconnecting several units by means of Ethernet for a measurement and control application. My question is if I can connect NI9149 chassis over the ethernet directly for control and communication with the modules attached to the chasis and application or is required an additional ethernet controller for each unit. The application is created in Measurement Studio. The system diagram is presented in attached file. Thanks.
    Attachments:
    Untitled.png ‏26 KB

    The 9149 gives you direct access to I/O using a technology called shared variables, which should be accessible from measurement studio. Shared variables are a peer-to-peer protocol meaning you just need to connect the 9149 to your network and you should be able to get data.
    However, shared variables are lossy and have a maximum rate -- I've seen something on the order of about 50-100 Hz update rates mentioned in various locations, although performance will be application and network specific. If you need faster performance you will have to use a FIFO (allowing you to stream data) and you will have to program the FPGA using the LabVIEW FPGA module. I believe you should be able to interface with the FPGA but it will require using the LabVIEW FPGA C interface and you must be able to call the dll from measurement studio. There may be an easier mechanism I am unaware of.
    You may also consider ethercat for your application which does require a separate real-time host but is also a faster protocol. A good comparison of options is here: http://www.ni.com/white-paper/14151/en/

  • Issue in FF v 3.6.10: I have a page which have more than 20 link, clicking on these link opens up a popup using window.showModalDialog, for the first 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open.

    Issue in FF v 3.6.10: I have a web page which have more than 20 link, clicking on each of these link opens up a pop-up using window.showModalDialog, for the first consecutive 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open. This is m problem, the real user on the web page can click on more than 20 link in such a scenario it may create problem, please help

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • When I click the Safari app to open it, I keep getting this popup and I cannot close it without force quitting. I also cannot use Safari at all because this keeps poping up what do I do?

    I will get this popup and when I try to quit it, it will show another popup called MacKeeper.  I always get this ad however I have never downloaded. I am unable to use Safari because of this issue. I have tried restarting and shutting down my computer, but when I try and reopen Safari, I will get the same message and Mackeeper popup. Please help.    It's like these popup ads have taken over my Safari.  I have run multiple scans on my computer and it says no malware detected and no viruses.                                               

    Launch Safari with the Shift key held down. If that doesn’t work, disconnect your computer from the Internet and try again.
    Those popups are being opened directly from the web and not by any malware installed on the machine.
    (115214)

  • Safari cannot open the page ~ The error was: "There was a problem communicating with the web proxy server (HTTP)

    Help!  I was cruzing along just fine and went out tonight only to receive the message above:
    Cannot open Page
    Safari cannot open the page
    The error was: "There was a problem communicating with the web proxy server (HTTP)."
    I have had all the Apple iPhone phone.  Have never encountered anything like this. 
    All systems are GO as soon as I log on to wifi. 
    Can anyone help, please. 

    I am also fixed.  I also loaded Onavo, but that was the other day ... this is what I did with the help of online chat with AT&T ...
    I went to:
    Settings
    Wifi
    I selected the network I was working on by hitting the blue arrow located on right side
    At the detail page of that network I scolled down to the bottom to find HTTP Proxy boxes
    I was on Off and changed it to Auto and it worked! 
    I was soo jazzed!!
    Instructions said if it was already on AUTO, to change it to Manual and make your Port = 80 but I didn't have to do that!
    YIPPIE!!  I'm a new man!!
    Go to settings -----> WI-FI  -----> select the network you're using  ------> hit the blue arrow located on the right-side of the network name (ie: show details of that network), this takes you to another page.  
    --------> at the bottom of the page you'll see "HTTP Proxy" boxes (located below the "renew lease" button) ---------------> change the proxy to AUTO.   Note: if you're already at AUTO, change it to "Manual" and make your Port = 80.

  • Why can't i open pop up's i asked firefox to allow the popup and even went in and turned off pop up blocker but it still fails to let me see what i'm going for

    i need to see an item in the walker exhaust website . and when i click on the picture to have it go larger i get the drop down across the top that said popup blocked. i went in and asked for the popup and nothing. i then went in and turned it off and closed the option page and tried again and nothing still will not allow it. i have had this problem before and getting tired of it. i almost would rather close the popup's than to not get the ones i need to see.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • I can't install ADE on my PC, because as I try to open it a message of error appears to me: The application will be closed. I've already try with different browsers and also with the manual installation, but nothing..

    I can't install ADE on my PC, because as I try to open it a message of error appears to me: The application will be closed. I've already try with different browsers and also with the manual installation, but nothing..

    1
    Close all iWork applications
    2
    Uninstall Keynote; this must be done with an application remover tool to delete the installation properly. Appcleaner is known to work correctly for this purpose, it is free and can be downloaded from here: Appcleaner Download
    3
    empty the trash
    4
    shutdown the Mac and restart. After the start up chime, hold down the shift key until the apple logo appears
    let the Mac complete the start up procedure completely, it will take longer than usual as the hard drive is being repaired
    5
    Reinstall Keynote by logging into the Mac App Store using download / install

  • Bought my hubby an iphone4 and I registered it and opened an apple account for him.  I have an iphone 5 (under my own Apple account).  I use icloud to sync calender and contacts with outlook 2007.  How do I add my hubby's phone (account) to icloud ?

    Bought my hubby an iphone4 and I registered it and opened an apple account for him.  I have an iphone 5 (under my own Apple account).  I use icloud to sync calendar and contacts with outlook 2007.  How do I add my hubby's phone (account) to icloud so I can sync the same contacts and calendar?

    On his phone, sign in Settings>iCloud and enable Mail so that he can have his own email address. Then add your account in Settings>Mail, Contacts & Calendars and enable Contacts and Calendars. They will then appear on his phone alongside any syncing he has set up. This will keep your emails separate, or you can add Mail as well so that you can both access that if you want. You can add his account in the same way on your phone and enable any data types you want to sync.

  • TA25361 I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addres

    I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addresses.

    I tried Peggy's List > Select All > Copy > Paste into an AW spreadsheet suggestion.
    In my case, pasting into the spreadsheet lost all text formatting (mostly text set to bold). The results of formulas were pasted, and checkboxes were pasted as "on" or "off". The DB did not contain any pop-up menus or radio buttons, but I expect they would transfer as a number showing the list position of the chosen item.
    Pasting the copied List view data into a Numbers table gave a result similar to that with AppleWorks. I selected B2 as the target cell (for top left cell of the pasted data) to avoid any effects of posting into a header row or column. Bold and regular text formatting looked the same as it had in AW's List view.
    Based on that, I'd slip the 'paste into an AppleWorks Spreadsheet step, and paste directly into a Numbers Table.
    Regards,
    Barry

  • Not able to install Logic on mac with OSX.  10.8.2. Error message: Logic Studio.mpkg cannot be opened as the power pc programs are no longer supported. I have logic studio 8 software purchased in 2007 and upgraded with logic studio 9 (purchased in 2009)

    After an earlier attempt to move Logic from my other mac (OSX 10.6.8) with the migration assistant to my new mac with OSX 10.8.2. I've re-started the whole start up process by erasing the hard drive from the new machine and build it up from scratch. After a new "out of the box" start, I decided to install LOGIC from my disks : starting with my 2007 package Logic Studio 8 and upgrading with my Logic 9 package from 2009. When trying to start to install 2008 I got the error message : Logic Studio.mpkg cannot be opened as the power pc programs are no longer supported.
    What does this mean? HOw do I get this working under 10.8.2 as it works flawlessly under OSX 10.6.8. For sure I didn't buy a new machine to have OSX 10.8.2 but I suspect this is the roadblock to installing my logic package.
    Help!

    Mark,
    Sorry...
    I completely lost the thread (I actually got confused between you and another poster on a another forum that was asking the same basic question) and somehow ended up thinking you were trying to install on a PPC Mac
    My apologies and please ingnore those parts of my last post relating to the PPC Macs...
    You have an Intel Mac and therefore Logic Studio 2 Boxed Upgrade set should install/run on your Mac without issue. As I said earlier.. you do not need to try and install from the original Logic Studio 1 /Logic 8 Boxed set...(It won't work anyhow because you have an Intel Mac and that version had a PPC installer)  but just install from the Logic Studio 2 / Logic Pro 9 Upgrade Boxed setof DVDs instead...
    Have you tried the "Make Disk Image" solution I gave earlier? That normnally works under such circumstances as what you are describing can happen when your DVD drive cannot read the DVDs correctly... I have had this situation myself where one drive read them okay and another failed to do so for whatever reason. Making and then installing from Disk images of those exact same disks resolved the issue for me...
    You can try to reinstall directly from the DVDs of course though under some circumstances it may not allow you to reinstall Logic Pro itself if that part of the original installation attempt was successful... in which case you can also try this... (It's probably the easiest method if Logic 9 was already installed and present in your Apps Folder)
    If the Logic Pro App is in your applications folder..
    Run Software Updates to update Logic Pro to a version that will run under 10.8.2 (The initially installed version of Logic will not)
    Run Logic
    Go to the menu bar in Logic and select Logic Pro/Install Additional Content and select all content in there..
    This content is basically exactly the same as what is stored on the remaining DVDs of the boxed set so you might not need to use the rest of the DVDs to install from but download it all instead from Apple Servers...

  • I had 3 versions of FF and had to redo the HD and now no version will install says "Can't open output file" i have winddows 7 64 bit 8 GB memory and 1T HD but i have it on my other desktop and laptop with less memory and HD space and works fine

    I had 3 versions of FF and had to redo the HD and now no version will install says "Can't open output file" i have winddows 7 64 bit 8 GB memory and 1T HD but i have it on my other desktop and laptop with less memory and HD space and works fine laptop has windows 7 64 bit and other desktop hook to my 32" tv has win 7 32-bit i lso did clean removal of all versions of FF and did new DLs with screen shots of it DLing, complete of DL and after i got the error again.

    i am posting this as a reply due to it would not allow me to attach screen shots except for this way

Maybe you are looking for