Can't open popup window in item renderer

I have a datagrid with two columns. Each column has it's own
itemRenderer. The itemRenderers have there own class. In one
itemrenderer I have a link button and it has a click event that is
associated with it in the script block of that class. Inside the
click event I have the following code to create a popup:
var popup_win:MyWindowType = MyWindowType
(PopUpManager.createPopUp (this, MyWindowType , true));
When I click the linbutton I will see a flash and a blur
affect as if the window is trying to open but never does. I've
traced "this" and it's the renderer... So I tryed to reference back
up the that class that has the datagrid control... which is
this.parent.parent.parent... but that doesn't work either. I'm
basically trying to open a window that allows the user to choose
some stuff from a radio button and then when they click ok on the
popup window it does some validation and then the contents get's
changed in the cell that it came from. I want the popup to open
upon clicking of the link button or else I would use the editor
functionality. Any ideas of how I could do this?

Good Day
I had the same idea for an itemrenderer....but I'm using the
mouse_over event.
A titlewindow pops up when moving over a row in the datagrid,
and closes when moving out.
The intent of the popup is to show some charts and additional
links.
However, when the popup shows, and I move my mouse into the
popup box, the mouse movements are still being registered by the
datagrid row below the popup box...hence making a new popup box
appear every time I move the mouse.
I tried to set focus on the popup alone...but still doesn't
work.
Here's the itemrenderer code:
<mx:Text xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="_OnCC()" mouseOut="_mOut()">
<mx:Script>
<![CDATA[
import mx.core.Application;
import flash.events.MouseEvent;
import mx.managers.PopUpManager;
//import mx.controls.Alert;
private var pop1:_popup_gridb;
public var currentColumn:String = "";
public function _OnCC():void{
var currentXml:XML = new
XML(data..field.(@columnname==currentColumn));
text = currentXml.@value;
text = text.toUpperCase();
addEventListener(MouseEvent.MOUSE_OVER, _mOver);
//addEventListener(MouseEvent.MOUSE_OUT, _mOut);
private function _mOver(event:MouseEvent):void{
//Alert.show("Hello World");
pop1 = _popup_gridb(
PopUpManager.createPopUp(DisplayObject(this.parentApplication),_popup_gridb,false));
//PopUpManager.createPopUp(Application.application as
Sprite,_popup_gridb,false));
//PopUpManager.createPopUp(this,_popup_gridb,false));
pop1.showCloseButton=true;
pop1.id = "_pu" + Math.random();
//pop1.dataView = dv;
pop1.title = pop1.id.toString();
PopUpManager.centerPopUp(pop1);
//removeEventListener(MouseEvent.ROLL_OVER,_mOver);
private function _mOut():void{
PopUpManager.removePopUp(pop1);
//addEventListener(MouseEvent.ROLL_OVER, _mOver);
]]>
</mx:Script>
</mx:Text>
Currently, the popup is just a titlewindow w/a datagrid
inside.
thx
j

Similar Messages

  • How can I open popup window

    Hi ,
    How can I create a new window such as the one that opens here when i click
    the "insert link" above, with fade out and one that looks as if it's in the same window ?
    Thanks.

    will this replace the current swf?  or open in the current swf?

  • Custom pushbutton in ME21N should display a popup window with item details

    Hello,,
    The requirement is to
    1. Add a custom pushbutton in ME21N screen at header level.
    2. The user will select some PO line items and will click on this push button.
        This inturn should trigger a popup window with item details only for those selected PO line items along with schedule line qty.
    I have created the custom push button in a custom tab using the BADI ME_GUI_PO_CUST.
    Now I am not able to retrieve item details and schedule line details inside the PAI of the custom tab..
    i.e., when i click on the custom push button, I am not able to retrive the item data and schedule line data.
    Please help me to retrive PO line item data and schedule line data.
    Regards,
    Sharah

    JSF is not so relevant in this question. It's all about how the generated client side code look like. Which is usually a bunch of HTML/CSS/JS (open page in browser, rightclick and view source). If you know HTML, you should know that using target="_blank" in a <form> or <a> element would open a new window. If you know JS, you should know that using window.open() would open a new window.
    Apply this so in the JSF source code so that the generated HTML/JS output is exactly what you want.

  • What happened to the "Block Popup Windows" menu item in Safari 6?

    What happened to the "Block Popup Windows" menu item in Safari 6?  Seems to be gone.

    Shheesh!  Loki is saying that this was a very useful tool/option.  Is there any way to BRING IT BACK TO THE SAFARI MENU?  Not how to do it in Preferences.
    What I am saying is: What incompetent is responsible for this build of Safari?  There was no reason to take that out... plenty of room in the Safari menu.  But if you REALLY want to know why I'm ******, Older people can no longer go into "Appearances" and change the Fonts and Size without knowing how to use terminal or how to make .css files.  (which doesn't work well anyway)
    This build is infuriating.

  • Open popup window and redirect user to home page in sandboxed solution

    i've created a sandboxed solution visual webpart and it has submit button so when user fills the information in the text boxes availble in webpart and clicks submit button so I want to open popup button containg success message and ok button so when user
    clicks ok button in popup window i want user to be redirected to the home page of the site.
    i tried to open popup and showed success message by below code
     string gotohomepage = "http://sp2013:1111/Pages/home.aspx";
                    ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('Your Record has been submitted successfully,you will be redirected to home Page shortly');location.href =
    '" + gotohomepage + "';", true);
    but it's not opening popup window can anyone help how do i open popup window and redirect user to home page in sandboxed solution

    Page class and script manager are not supported in sandbox solution
    You can create model popup to achieve this
    below are the reference links
    http://blogs.msdn.com/b/chaks/archive/2011/09/14/modal-dialog-box-in-sharepoint-sandbox.aspx
    http://social.msdn.microsoft.com/Forums/en-US/9427db4d-60f2-4b2a-8db6-b50d01ac4f23/how-to-create-modal-popup-using-sandboxed-solution

  • Open popup window and bring text to opener window jsp [help~]

    how to click a button then open popup window.
    and add somthing in the popup window, that can bring the text in the popup window to opener window in jsp.

    This is a javascript/html question, and has nothing to do with Java/JSP.
    You could do it with plain javascript/html using window.opener.
    I would recommend using something like a [YUI 2 Panel|http://developer.yahoo.com/yui/container/panel/] to do it.
    Opening new windows is a thing of the past.

  • I'm trying to export a raw image from lightroom 5.6 to Photoshop cc 2014 2.1.  I right click to export menu in lightroom as I've always done to export to Photoshop.  Photoshop opens, but it can't open file, window opens to find a file to open.  I'd like t

    I'm trying to export a raw image from lightroom 5.6 to Photoshop cc 2014 2.1.  I right click to export menu in lightroom as I've always done to export to Photoshop.  Photoshop opens, but it can't open file, window opens to find a file to open.  I'd like this to export my lightroom images to edit in photoshop as it has always been able to do for me.  What fix do you recommend?

    Hi Ashley Clavette,
    The Initial view setting works perfectly when the file is opened in Acrobat after setting the desired Initial View.
    When you upload the file onto Wordpress, and view it on that website in the browser...it might be using a different pdf handler program which might be causing this issue ( it would be helpful, if you could provide the screenshot) , however when you download the pdf again from wordpress server...and open in Acrobat/Reader...then what  exactly happens ?  Does the pdf opens in the desired Initial View setting?
    Rahul

  • Can't open any windows in Safari even after re-install

    I can't open any windows in Safari, even after installing Snow Leopard, not even the "About Safari" info window. I'm using Firefox to get online. I can open the program itself, but can't do anything else. I'm suspicious that it may be a virus, because I'm getting some weird messages on restart, such as asking me if I want to use some wireless network I never heard of, and if I want to give somebody access to my Twitter account - very strange. My son was using a website when this happened.
    Message was edited by: Alba17

    Greetings,
    I'm suspicious that it may be a virus
    Not possible, since there are no viruses for Mac OS X. You should ask your son what site he was one and whether or not he downloaded and installed anything. And you should turn off wireless networking and delete any networks that you didn't specifically setup. Use Ethernet to connect to your modem/router for Internet access.
    Are you sure that Twitter is asking to give somebody access to your account, or just authorize them to follow your tweets? I've never seen Twitter do the former for anyone, ever.

  • Error: Open popup window failed

    Hi,
    I'm opening a web page in an StageWebView and by trying to click a link that should open a window, I receive this error:
    [StageWebView] Error: Open popup window failed
    This is the link "Invite your friends" at Google:
    https://developers.google.com/+/web/share/interactive#myBtn
    How to fix that? I hope anybody got an idea!

    This is a javascript/html question, and has nothing to do with Java/JSP.
    You could do it with plain javascript/html using window.opener.
    I would recommend using something like a [YUI 2 Panel|http://developer.yahoo.com/yui/container/panel/] to do it.
    Opening new windows is a thing of the past.

  • Can't open new windows if clicking on a link!

    For some reason I can't open new windows if I clic on a link. It's alright if it opens in a new tab, but if it opens in a new window, the window that opens is just blank. I have no idea why it's doing so, it started a couple of weeks ago, and it's very annoying. I guess it has something to do with securityoptions, but I haven't been able to sort it out. Would be very glad if anyone should have an answear to this!

    Try These Possible Solutions:
    1. Restart Firefox and your computer.
    2. Use the keyboard shortcut CTRL+T to open a new tab.
    3. Run firefox in safemode (no add-ons) Go to start>all programs>Mozilla Firefox

  • How to create a button to get File Open popup window and select a file

    Hi,
    I have an applet that contains Browse button. When user clicks on that, a File Open popup window should be displayed to enable user to select the input file. This file path should be given back as parameter.
    How to do this? I have tried using LoadFileData but not able to get the desired result.
    Any pointers would be helpful.
    Thanks,
    Lalitha Dandibotla

    Do you need only the path or also the file back into Siebel?
    If you need both, the have a look at any attachment applet, that will give you a good start.
    Are you using Siebel in High Interactivity (HI) Mode or Standard Interactivity (SI) Mode?
    If you are in SI Mode have a look at the html type
    <input type="file">
    http://www.w3.org/TR/html401/interact/forms.html#h-17.4
    Axel

  • Compaq Laptop make noise and can't open the windows.. Noise at HardDisk part

    Why my sister's Compaq Laptop make noise and can't open the windows.. huhuhu.. the sound come from HardDisk in that laptop.. its sound like the HDD reader scratched the Disc insde.. how can it be?? my sister scold me already couze she wanna use for her work.. 

    Hi Hawaiian_Starman,
    Thank you for the suggestion.
    I ran the first aid in the Keychain both for verification and for repair and both immediately returned with "no problems found".
    As for the certificate, according the web administrator nothing had changed for the certificates.
    even on the windows laptop I also get the certificate as being expired, but by simply accepting that I still have access.
    I had a pop up every time that alerted me to the certificate issue, but whether I "continued" or not that still did not matter.
    Yesterday, in an effort to find a solution, I went into the "details" and entered to trust this website.
    Now that certificate issue does not pop up anymore. But I do not know how to reverse that either.
    I have the feeling indeed it has something to do with a certificate, but how is the question.

  • I can not open new windows

    When I´m on the internet I can not open new windows, not by ¨file new windows ¨ or by ctrl N. New tabs work but no new windows. It worls well with all other browsers.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Can't open Finder windows or Preferences

    I can't open Finder windows or Finder Preferences.
    When I click on the Finder icon in the dock, use File>New Finder Window, the Go menu, or Finder>Preferences, nothing happens. I even tried opening a folder from Spotlight and "Open in Finder" from a stack but still nothing. I ran a cleaner (Cocktail) but no change. It's like having a virus. (Safari Autocomplete and Facebook login also stopped working about a day before I noticed this).
    The only thing problematic that has happened recently was while I was on familyguyx.net, the page loaded without any trigger to one of those pop-ups that repeatedly appears until you reset your browser. Since then I haven't been on that site but these other issues have started.
    Any help is really appreciated!

    Do you possibly have the Applescript menu or even some text processor in your dock?
    If you have the Script menu, open the script editor from that menu and type this into the untitled window:
    tell application "Onyx"
    activate
    end tell
    Then run it.
    If you don't, open a text editor-if you can-and type the same thing into it. Select all of the text and look for Services>Script Editor>Run As Applescript. That should run the above script and open Onyx. Services is under the Application Name menu.
    If those don't work, let me know what you have in your dock, and maybe I can figure out another way.
    Jim
    Message was edited by: Barney-15E

  • Can't open any windows app...

    I can't open any windows app from yesterday in my windows 10  version 9879.
    all of the windows app(metro app)...
    It's urgent...
    can anyone help me?
    银光。。。。

    Are you having the same problem where either Email app won't open up or the PC Settings keeps blinking but refusing to stay up?
    I've tried a restart but nothing changed. So, I'll guess we'll have to wait patiently until they find a solution for the next big patch/Windows update.
    I get the feeling that recent update may have done a little harm than progress but guess that's why it's still in the Beta stages before release.

Maybe you are looking for

  • First shipment date of a particular material

    Hi all, I would like to know if there is a transaction or table where I could find the "First Date of Shipment"  based on Material Code. I need it to find whether that material is new or not. Also we can build the first arrival date by looking at "Fi

  • Has anyone managed to install aperture 2 with a 12" G4 laptop?

    Mine runs Leopard 10.5.2 with a 1.5 Ghz processor and 1.25GB of memory. The system checker says it's fine but it tells me my graphics card will not work it properly. My graphics card is the GeForce FX Go5200. Has anyone managed to get it installed, i

  • How to access SPECIFIC camera attributes tree (camera controls) located in MAX with Labview?

    How to access specific camera attributes tree (camera controls) located in MAX with Labview? I want to be able to access frame, trigger and grab properties. Does anyone know? Thanks. /Peter

  • Transactional Data Uploding

    Hi Experts, My project is go-live Stage, I need to Up load the Transactional Data Like G/L , AP. AR and Bank Data, How to map this data in Spred Sheet, what are the fields i need to maintain, Pls Help me out on this issu, thanks in advance Regards Sr

  • Replacing a router

    Hello, I have a question that until now, no one was able to give me a definite answer. In my home I have a computer network consisting of 2 computers linked by LAN and the main desktop computer situated in a concrete-built room. The computer is conne