Create pop up window and close

Hi Guys!
Is it possible to create following: pop-up window is appeared on click tha button? If so - could you please provide detailed steps or an example?
Many thanks for your help!

this is simple :
in your button submit put that
if ( (name.value == "") ) {
sym.$("popup").show();
you can build any popup with edge

Similar Messages

  • How to Create Pop up window and assign values to the table in it

    Hi All,
      I have a code which checks for duplicate value in the database and displays that duplicate record. I want to put the duplicate record value in a table of a popup window. Can you please tell me how do i acheive this?
    I tried the below code for creating a popup but most of the methods used here are deprecated. Please help
    IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows(
    "MyWindowName");
    // create the Window
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
    window.setWindowPosition(WDWindowPos.CENTER);
    window.setTitle("WindowTitle");
    // Save WindowInstance in Context
    wdContext.currentContextElement.setWindowInstance(window);
    // and show the window
    window.open();
    Regards
    Suresh

    Hi Suresh,
    "createModalWindow" is not a depricated method.
    Check this code.
    IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows(
              "SalesAreaWindow");
    //             create the Window
              IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
              window.setWindowPosition(WDWindowPos.CENTER);
              window.setTitle("Sales Window");
              window.setWindowSize(100,100);
    //             Save WindowInstance in Context
              wdContext.currentContextElement().setWindowInstance(window);
    //             and show the window
              window.show();
    "WindowInstance" is the context attribute of type "com.sap.tc.webdynpro.services.session.api.IWDWindow"
    Re: opening a new window on lead select in a table!!!
    Regards,
    Mithu

  • How to create pop-up window to search for items

    Hi,
    I want to create a pop-up window were the user will be able to search for an item and select it.
    How can I use a pop-up window in a portlet? Is there any api in the pdk for creating pop-up windows?
    Thanks

    Hi,
    Can you let me know why you are trying to use a popup window for searching?
    You can always add a search portlet - Basic,Advanced,Custom
    - which will give you the link to the respective searched items.
    I couldn't get a clear idea of your requirement.
    Thanks.

  • Problem with Pop up windows and struts

    Hi
    I have problem in working with pop-up windows and struts.
    I have parent page which basically lists some data and has a button for adding new record. when I press that button a child windndow will be opened for data entry. The child window has submit button to save data.
    when I press the button for save, It will go to action class and saves it in a database and forwards a new page.
    but I do not want to forward any new page. If any exception is raised during database saving, a message should be showed in child window otherwise the child window should close and the parent window should get refreshed.
    Can any one write me how we can handle this in struts.
    Thanks in Advance,
    SR

    This has nothing to do with struts, you can do the same with some plain JavaScript. Do the following...
    1) On error, forward to a error page
    2) On success, forward to a temp.html page.
    The code in temp.html would be like this
    <html>
    <head><script>
    window.opener.reload();
    self.close();
    </script></head>
    <body>Closing...</body>
    </html>Cheers
    -P

  • Is there a keyboard shortcut in OS 10.6 for "open folder window" and "close folder window"?

    Is there a keyboard shortcut in OS 10.6 for "open folder window" and "close folder window"?  I have a hand condition at the moment that makes it painful to mouse the cursor over to the arrow and click it (for instance, in the sidebars for Finder or iTunes) to open or close a folder.  If anyone knows a keyboard shortcut for this, I'd really appreciate it--thanks!

    OS X keyboard shortcuts

  • Pop up window, and window.opener function using workshop?

    hi,
    pop up window, and window.opener function using workshop?
    hi,
    i am having two folders.
    one folder having
    abc.jpf file,
    test1.jsp
    second folder having
    xyz.jpf
    test2.jsp
    i am using weblogic workshop8.1
    i need to call test2.jsp as pop up window
    from test1.jsp.
    i need to pass value from test1.jsp to test2.jsp
    again i need pass value from test2.jsp to test1.jap
    normal jsp programming we can use window opener
    javascipt function to do above.
    same thing how to us in weblogic workshop?
    any can help?
    thanks,
    jp reddy

    Hi,
    assuming action.do is the action method of ....../folder1/abc.jpf you can try out this in the test1.jsp,
    function openNameHistory(url) {
    var args = "<%= request.getContextPath() %>/folder1/"+url;
         window.showModalDialog(args,'','dialogHeight:320px;dialogWidth:600px;scroll:yes;status:no');
    <netui:anchor href="javascript:openNameHistory('action.do')">Name History</netui:anchor>
    u need not specify the abc.jpf in the url because , workshop allows only one jpf per folder
    hope this helps...
    regards
    shakan

  • Having trouble with pop-up windows and ads for MacKeeper

    I've been having trouble with pop-up windows and ads for MacKeeper and similar "services." Tried to download "MPlayerX" a week ago and it all started then. I thought I deleted the file but I'm still having trouble. I've been digging for solutions on here, but nothing I've found on here has worked yet--the VSearch stuff (I think) isn't on my hard drive. Any advice?

    You installed a variant of the "VSearch" trojan. Remove it as follows.
    This malware has many variants. Anyone else finding this comment should not expect it to be applicable.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.venus.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.venus.daemon.plist
    /Library/LaunchDaemons/com.venus.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/venus
    /System/Library/Frameworks/v.framework
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Help,how close pop-up window ,and open another view

    Hello,
    How click the pop-up window button ,then close the pop-up window .
    At the same time open another VIEW,and  transfer PO number to the VIEW.
    thanks

    Hi,
    First step is set the SCREEN TYPE as "Modal Dialog Box" in screen property tab.
    Then in PBO of the popup screen take a new GUI status and select DIALOG BOX as status type.
    Then assign some function code in 'X' button say 'CANCEL'.
    the put ur logic like below :
    PBO
    module gui_status.
    PAI.
    module user_command.
    module gui_status.
       set pf-status 'ZPOPUP'.
    endmodule.
    module user_command.
      if ok_popup = 'CANCEL'. " Where ok_popup is the ok_code variable in ur popup screen , also define it in TOP include
        leave to screen 0.
    endif.
    endmodule.
    Hope this will solve your problem and help you to put your logic.
    Thanks

  • Open Window and Close Window Commands

    I used to use Go Live and I could create buttons to enable the end user to open and or close a pop up window. Is there a way to do this in iWeb? Or is it possible to make a graphic appear on a page whenever you roll over a hot spot or graphic on that same page?
    Thanks,
    Mike Kroesen
    Final Cut Pro Eidtor, Seattle
    [email protected]

    hehe, the first thing i do if i set up a Windows box is to disable all the bleeps dings and whirrs.
    Wondered why i prefered Arch linux/xfce4

  • After upgrading to 3.6.12 my browser is not opening pop-up windows and while closing the browser giving a message that some tabs are open and shall the same be closed? I have not encountered this problem with eralier version. Is there any known issues?

    Some of my web pages open a new pop-up window for entering credentilas and display sensitive information. After upgrading t0 3.6.12 i found that firefos is not opening pop-up windows (earlier version allowed). When I close the browser, it gives a quit message saying there are unclosed tabs and windows of firefox. shall they be saved for next time start.
    Also observed that the memory usage (from Task manager)is very high compared to earlier ones and the process is not closed even if I close the browser.

    3.6.13 is also behaving similarly.

  • Maximize Windows and close applications

    After trying to find a person to speak to, i had to gave up and now try in this forum.
    Is there no way to ask a question to apple?!?
    I mean, sending an email?
    Even did everything to get into phone-contact, but only after i did everything, i learned that this is only available in the USA and canada
    OK, here are my questions:
    I am in dire need of two things:
    1)
    If i click on the "Zoom" Button on an application, it shall MAXIMIZE, taking up all room available beside the space needed for the upper menu bar and that was is needed for the dock (if it is visible).
    2)
    When i close the last windows on an application, it shall close the application!
    How can i accomplish that in Mac OS X?
    Does anybody know?
    Could anybody hint to be a mail-address, where i could ask this question?
    Thanx a bunch!

    1) If i click on the "Zoom" Button on an application, it shall MAXIMIZE, taking up all room available beside the space needed for the upper menu bar and that was is needed for the dock (if it is visible).
    That's not how Mac OS X works (at least by default), and isn't what most people want anyway, it's just what they are used to in Windows and stems from a time past where users typically did one thing (or at least only ran one application) at a time. It made sense for that application to use all the screen.
    That is no longer the case in modern operating systems where users may have many applications running at once, and benefit from being able to overlay applications.
    It's even more true when you look at modern applications with their myriad of toolbars, palettes, etc. - you need to be able to position the document windows independent of the user interface elements.
    And it's yet more true when you look at modern hardware options like a 30" display. There is no way it is practical to zoom a web page, for example, to fill a 30" screen.
    Instead Apple's model leaves it to the developer to determine what the optimal size is for their windows. For a page-creation application (e.g. word processing, desktop publishing, etc.) it makes sense for the document window to size relative to the page being created. For a graphics application such as Photoshop it makes sense for the window to size based on the image being edited, and for a web application such as Safari it makes sense for the document window to size based on the web page you're viewing. In most cases, none of these make sense to fill the screen.
    Now there are cases where it is valid to fill the screen such as presentations and kiosks, but for these you typically need applications designed for such purposes (e.g. Keynote or PowerPoint for presentations) but it is still the responsibility of the application to set its view accordingly.

  • Error while creating Pop-up window in SAP NetWeaver 7.1 CE  SP10 PAT0001

    Hi  All,
       I am trying to create a pop-up in the SAP NetWeaver 7.1 CE  SP10 PAT0001 and jdk1.6.0_21. I am trying to create a pop-up window using the "New Features of Web Dynpro Popup Window - SAP NetWeaver CE 7.11" Link:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a04870c5-749b-2b10-06ba-d25515ef39e3&overridelayout=true
    public void wdDoModifyView(com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
       if (firstTime)
            IWDWindowViewElement window = (IWDWindowViewElement) view.getRootElement();
    It shows the collowing error " IWDWindowViewElement cannot be resolved as type". I am using the latest version of NW CE and jdk but still i am unable to find the "IWDWindowViewElement".
    I have gone through a similar thread talking abt the same problem but it did not help. (Web Dynpro Popup Window Error in SAP Netweaver CE 7.11)
    Can anybody help me with this?

    Hi,
    I think the problem is rather the following:
    The guide says:
    "How to create a popup with the new feature mentioned above?
    Before starting you should check the version of your NWDS. This can be done in NWDS: u201CHelpu201D -> u201CAbout SAP NetWeaver Developer Studiou201D. The version information should look similar to the text below:
    SAP NetWeaver Developer Studio
    SAP NetWeaver 7.1 EhP 1 SP00 PAT0000"
    I tried the same guide on 720 and there the interface IWDWindowViewElement is available.
    So again, the problem is this:
      have the SAP NetWeaver 7.1 Composition Environment SP10 PAT0001 
    This means you have 710 (SP10 PAT1)
    The guide says you need EHP1 at least
    SAP NetWeaver 7.1 EhP 1 SP00 PAT0000
    This means 711 (SP00 PAT0)
    Best Regards,
    Ervin

  • Pop Up Window and Drop Down Menu Question PLSS Help

    Hi Guys,
    Ne help would be appreciated I am designing a website in
    Dreamweaver, I need to know how to create a custom drop down menu.
    Is there anyway that instead of using the standard drop down menu,
    you can customize them e.g use an image instead. For example, when
    you rollover lets say Home a drop down appears but the menu is
    customised e.g colour, text and any other small details.
    Even when using the standard drop down menu, how can you have
    a particular text, whenever I go to edit font list it does not show
    the typeface, although it is activated in suitcase.
    Secondly, how can I create a custom pop up window?
    I would really appreciate any help for either of these
    Many Thanks

    hi,
    Creator does not recognize (or whatever you say) characters like '<'. You can import js file which includes your script or change these characters for example put "<" instead of "<".
    regards...

  • Create pop-up windows in forms 10g

    I have an application in which several formal controls are made before insert/update a record. Some of them are blocking, some others arent.
    Actually, at every constraint violation, a message is displayed with an alert. So, the user may got one or more alerts before he succeed in inserting/updating a record. And it may be annoying to click on 'OK' a lot of times!
    So, I wish to collect all error message and display them in a window, which is to be displayed in a pop-up way (something like the alerts that appear at the bottom-right corner of our screen when we have new mail).
    The issue is that the pop-up window must not disturb the user, i.e it should be displayed and iconized after few seconds, leaving the focus on the main window.
    I tried several solutions, but each of them have some issues.
    External HTML page: maybe its the easiest solution. But bluring it, the focus doesnt return to the form application.
    New window: I can run and iconize it. But, as in the previous case, the main window lost the focus.
    New canvas: I put a text item LOG_ERRORS in a new canvas, in the same main window. But when I run it, the main canvas disappear.
    does anyone know how to create popup windows in forms 10g (if it is possible)?
    thank you

    You can use a new window and set "Window Style" to "Dialog" then you can show the window without the main-window loosing the focus

  • Create pop-up window before submitting the page under some condition

    I am a newbie on APEX. Anyone can help with the folowing scenario?
    After validation, in some condition (PL/SQL), I am trying to create a pop-up window with "save" and "cancel" button. If user select "save", it will go to process the page (save the record), if user chooses "cancel", it will stay on the original screen.
    Anyway I can do it?

    Hello,
    Do you mean you would like to have something like when you click on the delete button?
    A popup to confirm?
    Otherwise in APEX you've conditions, so you can select for the process for which button it needs to fire. Same for the branches (after the processes where the page is going to).
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

Maybe you are looking for

  • Is it possible to designate stapling when printing a PDF form?

    I am using Adobe Lifecycle Designer (ver. 10.0.1029120306.1.870331) to set up a new report for an SAP application.  I can certainly designate duplex printing from within the form by using Form Properties and the PDF Print Options, but no stapling opt

  • Error "The Connection Failed" in Time Machine, Migration Assistant and Restore From DVD

    I am receiving this error when trying to connect to my Time Machine Backup in my Time capsule. I input the proper password to access my Time Capsule and It returns me to the screen with the caption "The connection failed" under the Time Capsule name

  • Zinio and Office (probably all PowerPC Apps) Won't Open

    I've been using Zinio Reader to view an eBook for school for a month or so now. Yesterday, when I went to launch the app it bounced in the dock and then disappeared. I've contacted Zinio's support and they told me to uninstall and reinstall and try a

  • Change defaults for Desktop and Documents dirs

    I just installed Solaris10 and JDS3 on my standalone SPARC machine. I see that two new directories are created, ${HOME}/Desktop/ and ${HOME}/Documents/. I want to change these defaults to hidden directories, ${HOME}/.Desktop/ and ${HOME}/.Documents/,

  • HP Pavilion DV6 Notebook / Simple Pass Inactive

    I have a HP Pavilion DV6 notebook.  The Simple Pass program has been set up and was working for a year and all of a sudden I stopped getting the prompt to scan my finger as I accessed registered websites needing logins.  My fingerprint reader still w