Action to open a popup windows?

Hi experts,
In a view I want to have a button which has an action 'search' to open a popup window. So how to write this action code?
Thanks!

hi,
pop up is a new window.
so make a new view for the pop-up.
make a window for this pop-up view.
you will be calling this window as a pop-up.
make a context element for your window of IWDWindow type.
write the following code in the action of the event when you want the popup...
//     IWDWindowInfo objWindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("<Window name here>");
//     IWDWindow objWindow = wdComponentAPI.getWindowManager().createModalWindow(objWindowInfo);
//     objWindow.setWindowPosition(300,150);
//     objWindow.setTitle("Choose Manufacturer");
//     objWindow.setWindowSize(300,400);
//     objWindow.show();
//     wdContext.currentPopupNodeElement().setCtxManuPopup(objWindow);
regards,
-Amol

Similar Messages

  • I am having trouble with my mac book air. I think I have a virus because everytime i click on a link it openes up popup windows and other things. How do I reset teh computer?

    I am having trouble with my mac book air. I think I have a virus because everytime i click on a link it openes up popup windows and other things. How do I reset teh computer?

    Please post a screenshot that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • How to open a popup window ?

    Hi,
    I try to open a popup window it does't throgh any exception but it will not show the popup window
    I want open popup window when i enter in url of the parent window.
    Thanks & Regards,
    Merlin Roshina

    Tested successfully with the following code ...
    <html>
    <head>
    <SCRIPT>
              function openindex()
              var OpenWindow=window.open("http://yahoo.com", "newwin","height=300,width=300");
              <%     System.out.println("inside the script"); %>
    </script>
    <%     System.out.println("outside script"); %>
    </head>
    <body onload="openindex()">
    <p>Hello,</p>
    </body>
    </html>NOTE:
    The System.outs will be printed during interpretation by browser during page load and not during javascript invokation.
    Cheers
    -Rohit

  • Table events lost after opening a popup window

    In an advanced table , I have a column which shows a link. If this link is clicked , a new window opens which displays a popup window.
    If the link is not clicked , I can traverse through the advanced table.
    If I click on the link, I cannot navigate through the Advanced Table, The show hide does not work.
    The new Window is being shown for the link using
    a. A OALinkBean
    b. The link bean Destination property is set using OA.jsp?xxx
    c. The target frame is set to _blank.
    Any suggestions on what could be the problem?

    The pop up page is a read only page or ur doing some action events on the pop up page?Are you simultaneuosly doing action on pop up and base page?
    --Mukul                                                                                                                                                                                                                                                                                                                                                       

  • When button press it should validate item and open another popup window

    apex 4.2.1
    I am having difficulties on it please help.
    I have a report and link and it open a page (popup window ) and it has items say, :p2_item_no and :p2_Final_Date (Date) and button submit and cancel.
    this page has process that is fetced the data for some hidden items. for example. :p2_Last_date (hidden).
    all above work ok but when hit the submit button then :p2_final_date item should be validated with :p2_last_date item
    so if :p2_final_date < :p2_last_date then error else accept the date value and same time go to the page 3 (another popup window).
    so from same submit button it must control both action. first validate and if success then open another page (popup window).
    thanks for help!
    RI.

    You can create an item level validation of type PL/SQL Expression on the popup page opened from the report.
    The item you would create the validation on would be P2_FINAL_DATE and the pl/sql expression you would use would be:
    :p2_final_date >= :p2_last_date;--Keith                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Open a popup window by clicking the icon on the datagrid

    I am using PopUpManager class to displayed the popup. While clicking the datagrid popup will display.
    Now i have a change in requirement that i need to open popup window when the user clicks the icon on the datagrid itemrenderer. Expecting valuable response to complete the requirement.

    Hi David,
    Thanks for the prompt response.
    In our application, while clicking the datagrid column, we have calculate
    some values based on the datagrid and show the results in the another
    datagrid placed below. Also if the user wants some info about the customer
    we have some it in a popup by
    private function custPopUp(event:ListEvent):void {
    if(event.columnIndex==3){
         hiddenActionpopup = "OpenPopUp";     
         requestPopUp.send();                    
    }else
              // when the user clicks the column other than columnIndex 3,
    we      //have show the calculate results in another datagrid.
    Now what we r going to do is, instead of protecting a column, we have an
    icon for customer details, other than that If an user clicks anywhere it
    will show the calculation.
    For that, I need to set action for the icon in the itemrenderer.
    Thanks in Advance.
    Jude Paul
    hi
    If you want have an action dependendant on a cell in the grid you can use
    itemclick rather than doing the operation from renderer.
    protected function dataGrid_itemClickHandler(event:ListEvent):void
       if (dg.columns[event.columnIndex].dataField =="whatever the datafieldname
    is") doPopup();
    <mx:DataGrid x=0" y="0" width="100%" height="100%" id="dg"
    itemClick="dataGrid_itemClickHandler(event)"/>
    David.

  • Message (of message manager) gets lost by opening a popup window

    Hi all,
    On behalf of a better error/exception handling, I would like to show the stacktrace in a popup window, that means, if the application reports an error message (through the message manager in the view controller), the user (administrator, developer) can optionally click a link (LinkToAction => opening a modal window) to see the stacktrace in a separat popup window.
    Unfortunately if the popup window now gets displayed, the error message on the main view (background of the popup window) will be cleared, so this - for the common user more readable - information is not anymore displayed, also when the popup will be cleared.
    Of course, I could backup the error message in a context value and redisplay it after closing the popup window, but I suppose that's not a very cool solution...
    Other any good ideas?
    Thanks,
    Stefan

    Hi Stefan
    Usually showing a stack-trace to the end-user of your application is not so helpful as might appear. My experience shows that the information is too technical for the end-user and does not help him/her to resolve the issue/problem. It's better to display error messages pointing him to some solution or directions that he might do in order to fix the error.
    If you still want to show a stack-trace I'd advise the following. You have to prepare the UI control with the stack-trace in the same server response (round trip) which shows the message manager's messages. The messages will not disappear until a client sends a new request to the server. When you open the popup such request definitely takes place.
    Maybe try to display the stack-trace in the bottom of the screen so user have to scroll down a little bit to show the trace.
    Or maybe Tray control will help in the case. Try to put the trace in a text view and put the view in a tray. Then user has to expand the tray to see the trace. But do not assign any event handlers to the tray to avoid additional request to the server while it's expanding.
    BR, Sergei

  • Opening a popup window from another popup

    Hi,
    I want to know if a popup window can be opened from another popup window??
    Iam trying to do this from a JSP page
    <td><a href="../common/help/Help_FAQ.html" onClick="return popup(this, 'FAQ','width=900,height=500,scrollbars=1')">FAQ.Now I have another link in FAQ page, which when clicked , rather than opening a separate full size window, overlays on the FAQ window with the FAQ window width and height.
    Any help is appreciated.

    Thanks.
    It was a mistake on my end.
    Instead of having <script type ="text/javascript"> I had only "javascript"
    and the page was not picking up the function .
    Now,, It is solved.

  • How to open a popup window through JSF

    Hi,
    I am new to JSF technology. I want to open a popup JSF page from home page. Is there any way to do that without using JS ? B'z i saw the link forum.exadel.com/viewtopic.php?t=559, In this he is using JS function to open the new window. I want to do that without using Script.
    Thanks in advance.
    Sudhakar

    assign a new frame name / window name to a form's target, when the form will be submitted, a new window will pop up
    But, AFAIK, you won't be able to set any of its properties (size, modal & so on), so JavaScript remains the best solution IMHO

  • HT4168 How to open a popup window in epub3

    I am trying to open a new popup window in epub3 but its not working.
    Is there any sample epub or files to test it?
    <Email Edited By Host>

    Tested successfully with the following code ...
    <html>
    <head>
    <SCRIPT>
              function openindex()
              var OpenWindow=window.open("http://yahoo.com", "newwin","height=300,width=300");
              <%     System.out.println("inside the script"); %>
    </script>
    <%     System.out.println("outside script"); %>
    </head>
    <body onload="openindex()">
    <p>Hello,</p>
    </body>
    </html>NOTE:
    The System.outs will be printed during interpretation by browser during page load and not during javascript invokation.
    Cheers
    -Rohit

  • Button Item to open a popup window  but not do a submit

    Hi,
    I want to open a popup using a button that is next to an item. I do not want a submit to occur.
    I've followed the directions in Want Button Item to call popup window and the popup displays correctly.
    However it also does a submit.
    How to do I prevent the submit when this button item is pressed?

    I copied the Button templates, called it "Javascript Button", and changed its code from:
    <table class="t15Button" cellspacing="0" cellpadding="0" border="0"  summary=""><tr>
    <td class="t15L"><img src="#IMAGE_PREFIX#themes/theme_15/button-l.gif" alt="" /></td>
    <td class="t15C"><a href="#LINK#">#LABEL#</a></td>
    <td class="t15R"><img src="#IMAGE_PREFIX#themes/theme_15/button-r.gif" alt="" /></td>
    </tr></table>to:
    <table class="t15Button" cellspacing="0" cellpadding="0" border="0"  summary=""><tr>
    <td class="t15L"><img src="#IMAGE_PREFIX#themes/theme_15/button-l.gif" alt="" /></td>
    <td class="t15C"><a href="AAAAA">#LABEL#</a></td>
    <td class="t15R"><img src="#IMAGE_PREFIX#themes/theme_15/button-r.gif" alt="" /></td>
    </tr></table>where "AAAAA" is "javascript:#BUTTON_ATTRIBUTES#" (the markup wasn't working so I had to describe it this way).
    I then put the script I want to execute in the Button Attributes and made the Request whatever. It's not very elegant but it does work.

  • Opening a popup window with fade effect

    Hi,
    I have a scenario where I want to open a pop up title window with some nice effect.
    Can you please suggest how do I achieve it?
    I have a repeater that repeats set of Text UI comps and I want to show a pop up window on MouseOver or MouseClick of each of these Text UI comps.
    Please help.
    Thank you,
    Amey

    if you want to open an title Window with a smooth fade effect there are more than one possible ways.
    1. Declare Fade Effect
         <s:Fade id="windowFade" target="{_titleWindow}" alphaFrom="0.0" alphaTo="1.0" />
    2. Execute the fade effect on openening
         2.1 start the effect after the PopUpManager.addPopUp
         PopUpManager.addPopUp(_titleWindow, this);
         windowFade.play();
         2.2 start the effect on added-Event
         protected function titlewindow1_addedHandler(event:Event):void
              windowFade.play();
    3. Make sure the effect is stopped before you start the animation with windowFade.stop()

  • Open a popup window in the maximaize mode

    Hi All,
    I want to open a pop-up window in maximize mode, so that it fitted to my application window
    properly.
    Is there any method for maximizing pop-up window available?
    Regards,
    Praveen

    IWDWindow externalWin = wdComponentAPI.getWindowManager().createNonModalExternalWindow("http://www.google.co.in/", "External");
    externalWin.setWindowPosition(WDWindowPos.CENTER);
        externalWin.setWindowSize(1280,850);
        externalWin.show();
    the dimension given above opens the external window in the maximum size

  • Need to Open a popup window after logon to EP 6.0

    Hi All,
    I need to do an enhancement in the portal logon for a particular role.
    I want to open a popup showing his/her profile details after login into the system.
    How it can be done?
    Thanks in anticipation
    Prashil

    Hi Robin,
    Thanks for the immediate reply!!!!
    I am confused with the loggin process.
    I read many blogs from SDN. Somewhere it is said that i should customize the com.sap.portal.runtime.logon.par. While in some it mention that it should be configured it from the portal. Somewhere it is mentioned in both(par and portal).
    Which is the correct way. i am good at programming but not very clear with the portal customization.
    Can you help me in this!!!
    Regards,
    Prashil

  • Send e-mail action sometimes opens new browser window w/error

    In a captivate 5 tutorial, to encourage feedback, I've added a click box with the action to send email. On Preview and Publish, this does open a new message in Outlook (if I have Outlook open) but sometimes it also opens a new browser window with the message "Navigation to the web page was canceled". Anyone have ideas on why this is occurring and how it can be avoided? Thank you.

    Hi there
    See if the link below helps
    click here
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for

  • I cal is not syncing whit iCloud

    my i cal is not going to my iphone it is also not showing up in the icloud on my account

  • Milestone Billing FI Configuration (Account Assignment)

    Dear All, I am configuring milestone billing is system. Upill i had defined a milestone billing type and all the configuration realted to milestone billing date and date categories is done I have also defined the condition type AZWR in my pricing prc

  • Return Damage order..

    HI, I have created sales order with 5qty for material A. Now , 3qty damage in transit, so we have to give another 3qty for material A to our customer. could you tell me where do I mantain this return damage material? I have tried to create return dam

  • Calling business object in report ?

    Hi, i want to call bussiness object method in my report as that method will give me the data which i need to display in my report. But i dont know how to call business object it's method in ABAP report  and how to pass parameters to it. Plz help me o

  • Not ABle to debug ?

    Hello All,       I'd set the dubug mode on and did the following :-       1.      Choose Run --> Debug... in the main menu.        2.      In the list of possible configurations, select Web Dynpro Application and then choose New.        3.      Under