Need to have a popup window from a link in a cfgrid

I've got a cfgrid that is displaying some program
information. I want the program number to have a link to a pop-up
window which contains an edit form for that program.
Here is the script for the popup window I used on my page
before I implemented a cfgrid:
<script type="text/javascript">
function loadEditForm(id) {
windowReference =
window.open('frmPrograms.cfm?CFGRIDKEY='+id,"editProgramWindow",'scrollbars=no,menubar=no ,height=500,width=750,resizable=no,toolbar=no,location=no,status=no');
</script>
I've already changed the url to use the CFGRIDKEY.
Here are my cfgridcolumns:
<cfgridcolumn name="program_id" display="no">
<cfgridcolumn name="program_name" header="Name"
bold="yes" href="?" hrefkey="program_id" width="300"
type="string_noCase">
<cfgridcolumn name="description" header="Description"
width="650" select="no">
I tried making the program_name cfgridcolumn have an
href="javascript:loadEditForm(#URLEncodedFormat(Trim(program_id))#)"
but this isn't working. I get an error message that the variable
program_id doesn't exist.
I've done a grid that links to an edit form in another
section, the difference is that wasn't using a pop-up window. And I
can send my form to a new window using target=_blank, but I really
would rather use a pop-up window for this.

This link may help.
http://www.danvega.org/blog/index.cfm/2008/3/4/ColdFusion-8-Grid-Context-Menu-Part-II

Similar Messages

  • How can I open new window from a link in another window?

    Hello everyone!
    Can anyone help me with my problem. I need to open a child window from a link in the mother/master window. Actually, the link that would open the child window is directed to a servlet that retrieves data from the database. The data will then be displayed in the child window. I don't how to open a new window with the data retrieve (thru the servlet) displayed in it. I'm using model 2 architecture (Servlet-JSP).
    Thank you in advance and more power!
    nicoleangelisdaddy
    [email protected]

    Or you can use something like this,
    Click and in your test()
    <script language="javascript">function test()
          document.form_name.target="_blank";
          document.form_name.action="/test/servlet/LoginServlet";
          document.form_name.method="post"
          document.form_name.submit();
    }</script>
    Here "/test" is your application context path.
    If you want to open the link in the named window then use,
    document.form_name.target="your_own_name";

  • Open popup window from non graphic window

    Hi All,
    i'm trying to open a popupwindow of one of my classes, but i
    have no parent reference in the current class that i'm working
    with, how can i refer to the main application window?

    If you have a model for your application state, use this:
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    applicationComplete="this.onApplicationComplete()">
    <mx:Script>
    <![CDATA[
    private function onApplicationComplete():void
    // Component map
    this.model.map["app"] = this;
    ]]>
    </mx:Script>
    </mx:Application>
    You will be able to refer to this.model.map["app"] as the
    parent of your popup window from anywhere in the application.

  • Reg: Internal popup window from multiple Views

    HI All,
        I have a Internal Popup window() from 5 views, I am able to open a window and close from view1(according to the docs from SDN).
    I tried using the same logic in remaining views(2,3,4,5).
    I am able to open but while closing the window event fired is going to CompController and return to the "Parent window" of the Popup. For view2,3,4,5 this not taken as a parent window. Please help me
    Thanks
    Nagaraju

    Hi Naga,
    Disable the parent iviews message area before calling the child(popup) window. Then you can get the message in the child(popup) window.
    According to documentation, oldest (parent) message area would be used if there are more than one windows (in a layout).
    see this thread also How to display messages in pop up windows?
    PradeeP

  • Open a Form in a popup window from a PL/SQL portlet

    Hi,
    I have a form that I want to open in a popup window from a URL in a PL/SQL portlet. What is the easiest way to do this? Are there any examples in here or on Metalink as to how to achieve this?
    Thanks,
    Steve West

    Is it a HTML page somewhere on a server with a HTML form on it? You can use javascript tags in ur link to do this maybe?
    javascript:window.open('http://<server name>/page.htm','mywindow','width=400,height=200')
    Obviously if this is a portal form you can also link directly to the show procedure no problems.

  • Web MDI needs to have an open window.

    Hello,
    I need to develop an app with an MDI interface.
    Since Form 6i always needs to have a document window open inside the MDI, in a c/s env my launch form for the app would have a window which has a hzontal toolbar canvas and its minimize, maximize, restore, close feature set to false.
    This creates a classic MDI look and feel in a client server env.
    Porting the same to the web, does not achieve the classic feel bcos, the default window now on maximize does not merge its title bar with the MDI title bar. Hence i have lost the look and feel of the classic MDI.
    Can u help me get the classic MDI look and feel back or someway i can get close to there?
    Regards
    Sena.

    Sena,
    I have the same problem with web forms and haven't been able to maximize the window like you can in c/s.
    However, you can solve the problem by positioning/sizing your window to replicate the 'classic' look.
    IF GET_APPLICATION_PROPERTY(USER_INTERFACE) = 'WEB' THEN
    SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_SIZE, 600, 400);
    SET_WINDOW_PROPERTY('BASE', POSITION, 0, -16);
    SET_WINDOW_PROPERTY('BASE', WINDOW_STATE, NORMAL);
    SET_WINDOW_PROPERTY('BASE', WIDTH, 595);
    SET_WINDOW_PROPERTY('BASE', HEIGHT, 385);
    ELSE
    SET_WINDOW_PROPERTY('BASE', WINDOW_STATE, MAXIMIZE);
    END IF;
    Regards,
    Pete

  • Opening a new fixed-size window from a link

    I'm primarily an illustrator, but am working on my own new
    web site and do a few for other folks as well.
    I'm by no means a guru so excuse my clueless questions... (I
    use Dreamweaver 8)
    I see many web pages that can do
    any or all of the following and I'm hoping without complex
    coding or js stuff...
    + Open a fixed-size window from a link on a page - as in a
    smaller window like 250x400 that would contain a photo or drawing
    + Opens a new page from a link with a fade-in (ie, from blank
    or dark background to an image) like what happens when you click
    the "view larger" link at this page =
    http://www.imagekind.com/showartwork.aspx?imid=e08f2a00-8925-4353-8c72-e0d1f4eb1879

    > I was going to post a screen capture but looks like that
    isn't
    > possible in this forum.
    There's a reason. Screen captures only demonstrate "what",
    without
    providing any useful "why" information. Show us your code,
    please - best
    way would be to post a link to the page. I suspect the reason
    you are
    seeing what you are seeing is that the container for the
    lightbox effect is
    not large enough, or the image being used as a background for
    that container
    is not large enough. We'll only know that by seeing the live
    page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Nate Owens" <[email protected]> wrote in
    message
    news:gqg0ch$2i4$[email protected]..
    > This is working well (Lightbox) but it does something
    that I haven't
    > figured
    > out how to fix.
    > It opens my image against the dark background as it
    should with the parent
    > page ghosted in back, but there is a margin at right
    side and bottom where
    > the
    > dark area abruptly ends and the parent page is visible
    in those areas
    > without
    > the dark image background extending to fill the window.
    > I've examined the html but see nothing I recognize that
    denotes the
    > extents of
    > the dark area. I was going to post a screen capture but
    looks like that
    > isn't
    > possible in this forum.
    > Any ideas would help.
    > Thanks,
    > Nate
    >

  • Need popup window from cfform to go to PayPal using their button

    I have a cfform page (ColdFusion 8) that is embedded in an iframe in my standard html webpage. (Embedded so that I still have the same outer "envelope" as the rest of the pages; nav bars, etc.) I have the form post back to itself in order to check for injection problems, validation beyond basic form validation, etc, then insert form entries into a database. I am trying to then pass the visitor on to PayPal for them to make the payment. This could be either by way of a popup window or a redirect. The problem is that if I just put the PayPal button in my .cfm page it doesn't work. Also, it seems I need to get it out of the iframe context. Of course it would be nice to go the other way (which I have also tried) and have the potential donor first go to PayPal, enter their info, and then have them redirected back to my page. I realize I could then get some of the info I need from them (name, email, etc) in the PayPal IPN return, but there are 2 problems with this. 1) I have to rely on them clicking the "go back to ....." link in PayPal and 2) I still need other info that PayPal doesn;t pick up, like what department category they want their donation to go to, etc. which I can get up front from them if I go the first route mentioned.
    I have looked into cfhttp and cflocation tags. I don't seem to be finding any clearcut answers!
    Thanks for any help in advance!

    This link may help.
    http://www.danvega.org/blog/index.cfm/2008/3/4/ColdFusion-8-Grid-Context-Menu-Part-II

  • Popup window from webview

    When the user clicks on a link, the link won't open because the creator made it so that it opens in a new window. (popup window)
    set somes to "http://openwebim.org/webim"
    try
    loadPage from somes
    on error
    return
    end try
    that code is what i have. It loads the website on the webview. Now i need to have it open those links... somehow.

    You need to start at the beginning. We can't see your application, the window, webview, or your AppleScript from here. It is difficult to determine your question without a little bit (OK, a lot) of background information.

  • Need help with a popup window problem

    I have this code within my certAppB.js page :
    function AppSubmit() {
         str1 = "Submitting this form will begin the approval process.";
         str2 = "You will not be able to come back to this form to edit it again.";
         str3 = "Do you want to continue submitting this form?";
         if((confirm(str1 + "\n" + str2 + "\n" + str3))){
              document.forms[0].status.value="Submitted";
              document.forms[0].submit();
    Which produces a popup windows that says:
    Submitting this form will begin the approval process
    You will not be able to come back to this form to edit it again
    Do you want to continue submitting this form?
    OK Cancel (these are 2 buttons)
    I want to change this to say:
    Submitting this form will begin the approval process. You will not be able to change this form once submitted. You also agree that the following statement is true and correct to the best of your knowledge and belief:
    "I, [User Name], hereby certify and state on behalf of [Company Name] that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.�6314, as applicable, including authorized waivers, as they currently exist on [Date]."
    Do you want to continue submitting this form?
    OK           Cancel
    So I have to pull the users [User Name], [Company Name], and the [Date].
    On the approverView.jsp login page ( which is the first login page users see after loggin) it shows
    the users full name, so I nabbed the code from that page:
    <body>
    <jsp:include page="logo.jsp" />
    <jsp:include page="unav-navigate.jsp" />
    <table width="100%" border="0" cellspacing="0" cellpadding="5" class="info">
    <tr>
    <td width="25%" valign="top">
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="welcome">Welcome
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <span class="sm">If you are not this person, please click <html:link styleClass="norm" href="/fake_name/logoff.do">here</html:link>.</span></td>
    <td width="2%"> </td>
    <td width="73%" valign="top"><jsp:include page="instruction.jsp" /></td>
    </tr>
    </table>
    and made this code out of it to pull the username,companyname:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="Company">Company
         <bean:write name="UserContainer" property="userView.companyName" scope="session"/>
    !</span><br>
    </logic:present>
    This is the userView.java page that is referanced :
    * Created on Mar 28, 2003
    * To change this generated comment go to
    * Window>Preferences>Java>Code Generation>Code Template
    package org.fake.name.view;
    import java.io.Serializable;
    import java.util.List;
    import org.gama.cafs.businessobjects.TorqueDb;
    * @author chris
    public class UserView implements Serializable {
         private int userId;
         private int memberId;
         private int companyId;
         private String role;
         private String firstName;
         private String lastName;
         private String companyTitle;
         private String emailAddress;
         private String phoneNumber;
         private String companyName;
         private String address1;
         private String address2;
         private String address3;
         private String city;
         private String state;
         private String province;
         private String postalCode;
         private String countryName;
         private List productTypes = null;
         private List productTypeAcronyms = null;
         private List productTypeIds = null;
         private List tradeNameIds = null;
         private List tradeNames = null;
         private TorqueDb torqueDb = null;
         public UserView() { }
         * @return String
         public String getAddress1() {
              return address1;
         * @return String
         public String getAddress2() {
              return address2;
         * @return String
         public String getAddress3() {
              return address3;
         * @return String
         public String getCity() {
              return city;
         * @return String
         public String getCompanyName() {
              return companyName;
         * @return String
         public String getCompanyTitle() {
              return companyTitle;
         * @return String
         public String getCountryName() {
              return countryName;
         * @return String
         public String getEmailAddress() {
              return emailAddress;
         * @return String
         public String getFirstName() {
              return firstName;
         * @return String
         public String getLastName() {
              return lastName;
         * @return int
         public int getMemberId() {
              return memberId;
         * @return String
         public String getPhoneNumber() {
              return phoneNumber;
         * @return String
         public String getPostalCode() {
              return postalCode;
         * @return Set
         public List getProductTypes() {
              return productTypes;
         * @return String
         public String getProvince() {
              return province;
         * @return String
         public String getRole() {
              return role;
         * @return String
         public String getState() {
              return state;
         * @return int
         public int getUserId() {
              return userId;
         * Sets the address1.
         * @param address1 The address1 to set
         public void setAddress1(String address1) {
              this.address1 = trimString(address1);
         * Sets the address2.
         * @param address2 The address2 to set
         public void setAddress2(String address2) {
              this.address2 = trimString(address2);
         * Sets the address3.
         * @param address3 The address3 to set
         public void setAddress3(String address3) {
              this.address3 = trimString(address3);
         * Sets the city.
         * @param city The city to set
         public void setCity(String city) {
              this.city = trimString(city);
         * Sets the companyName.
         * @param companyName The companyName to set
         public void setCompanyName(String companyName) {
              this.companyName = trimString(companyName);
         * Sets the companyTitle.
         * @param companyTitle The companyTitle to set
         public void setCompanyTitle(String companyTitle) {
              this.companyTitle = trimString(companyTitle);
         * Sets the countryName.
         * @param countryName The countryName to set
         public void setCountryName(String countryName) {
              this.countryName = trimString(countryName);
         * Sets the emailAddress.
         * @param emailAddress The emailAddress to set
         public void setEmailAddress(String emailAddress) {
              this.emailAddress = trimString(emailAddress);
         * Sets the firstName.
         * @param firstName The firstName to set
         public void setFirstName(String firstName) {
              this.firstName = trimString(firstName);
         * Sets the lastName.
         * @param lastName The lastName to set
         public void setLastName(String lastName) {
              this.lastName = trimString(lastName);
         * Sets the memberId.
         * @param memberId The memberId to set
         public void setMemberId(int memberId) {
              this.memberId = memberId;
         * Sets the phoneNumber.
         * @param phoneNumber The phoneNumber to set
         public void setPhoneNumber(String phoneNumber) {
              this.phoneNumber = trimString(phoneNumber);
         * Sets the postalCode.
         * @param postalCode The postalCode to set
         public void setPostalCode(String postalCode) {
              this.postalCode = trimString(postalCode);
         * Sets the productTypes.
         * @param productTypes The productTypes to set
         public void setProductTypes(List productTypes) {
              this.productTypes = productTypes;
         * Sets the province.
         * @param province The province to set
         public void setProvince(String province) {
              this.province = trimString(province);
         * Sets the role.
         * @param role The role to set
         public void setRole(String role) {
              this.role = trimString(role);
         * Sets the state.
         * @param state The state to set
         public void setState(String state) {
              this.state = trimString(state);
         * Sets the userId.
         * @param userId The userId to set
         public void setUserId(int userId) {
              this.userId = userId;
         * @return List
         public List getProductTypeAcronyms() {
              return productTypeAcronyms;
         * Sets the productTypeIds.
         * @param productTypeIds The productTypeIds to set
         public void setProductTypeAcronyms(List productTypeAcronyms) {
              this.productTypeAcronyms = productTypeAcronyms;
         public List getProductTypeIds() {
              return productTypeIds;
         public void setProductTypeIds(List productTypeIds) {
              this.productTypeIds = productTypeIds;
         private String trimString(String str) {
              String tmp = null;
              if (str != null)
                   tmp = str.trim();
              else
                   tmp = str;
              return tmp;
         public List getTradeNameIds() {
              return tradeNameIds;
         public List getTradeNames() {
              return tradeNames;
         public void setTradeNameIds(List list) {
              tradeNameIds = list;
         public void setTradeNames(List list) {
              tradeNames = list;
         public TorqueDb getTorqueDb() {
              return torqueDb;
         public void setTorqueDb(TorqueDb db) {
              torqueDb = db;
         public int getCompanyId() {
              return companyId;
         public void setCompanyId(int i) {
              companyId = i;
    Question:
    How do I insert the code I assembled:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="Company">Company
         <bean:write name="UserContainer" property="userView.companyName" scope="session"/>
    !</span><br>
    </logic:present>
    INTO the function:
    function AppSubmit() {
         str1 = "Submitting this form will begin the approval process.";
         str2 = "You will not be able to come back to this form to edit it again.";
         str3 = "Do you want to continue submitting this form?";
         if((confirm(str1 + "\n" + str2 + "\n" + str3))){
              document.forms[0].status.value="Submitted";
              document.forms[0].submit();
    So that the popup window will show the [username], [CompanyName], [Date]. I can�t find any doc�s on how to insert logic into a function with str�s.
    Any help would be very much appreciated. Thanks in advance.
    Applications used by me: Sun solaris 8 server, Tomcat 4.1.24, pulling from postgresql 7.3, and I edit in Eclipse 2.11.

    These two tags:
    <logic:present name="UserContainer" property="userView" scope="session">
    </logic:present>
    surround things you only want to happen if there is a userView object present.
    This tag:
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    is replaced with the value of userView.getFirstName().
    So:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    becomes:
    User Jim Steinberger !
    if the userView object is present and firstName == Jim and lastName == Steinberger.
    To insert those values into your JavaScript function:
    <logic:present name="UserContainer" property="userView" scope="session">
    function AppSubmit() {
    str1 = "Submitting this form will begin the approval process.";
    str2 = "You will not be able to come back to this form to edit it again.";
    str3 = "You also agree that the following statement is true and correct to the best of your knowledge and belief:";
    str4 = "";
    str5 = "I, <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>, hereby certify and state on behalf of <bean:write name="UserContainer" property="userView.companyName" scope="session"/> that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.?6314, as applicable, including authorized waivers, as they currently exist on " + new Date().getDate() + "/" + new Date().getMonth() + "/" + new Date().getFullYear() + ".";
    str6 = "Do you want to continue submitting this form?";
    if((confirm( str1 + "\n" + str2 + "\n" + str3 + "\n\n\n" + str4 + "\n" + str5 + "\n" + str6 ))){
    document.forms[0].status.value="Submitted";
    document.forms[0].submit();
    </logic:present>
    Should become:
    function AppSubmit() {
    str1 = "Submitting this form will begin the approval process.";
    str2 = "You will not be able to come back to this form to edit it again.";
    str3 = "You also agree that the following statement is true and correct to the best of your knowledge and belief:";
    str4 = "I, Jim Steinberger, hereby certify and state on behalf of Dynamic Edge, Inc. that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.?6314, as applicable, including authorized waivers, as they currently exist on " + new Date().getDate() + "/" + new Date().getMonth() + "/" + new Date().getFullYear() + ".";
    str6 = "Do you want to continue submitting this form?";
    if((confirm( str1 + "\n" + str2 + "\n" + str3 + "\n\n" + str4 + "\n" + str5 + "\n\n" + str6 ))){
    document.forms[0].status.value="Submitted";
    document.forms[0].submit();
    after being processed by Tomcat and Struts. (Note: the function will not appear if userView is missing)
    By the way, you might be missing the closing bracket to function AppSubmit() { which might throw a JavaScript error. Just FYI :)
    Good luck!
    Jim Steinberger
    [email protected]

  • Opening a popup window from flash

    Hi, I'm about to lose it--I've tried everything and nothing
    seems to work! What I'm trying to do is open a pop-up window from a
    swf that needs to have a certain height and width and no nav bar.
    I've tried several techniques including putting javascript in the
    containing html file and having nothing in the HTML file. If anyone
    has any idea please let me know, thanks!

    artboy_sf,
    > Hi, I'm about to lose it--I've tried everything and
    nothing seems
    > to work! What I'm trying to do is open a pop-up window
    from
    > a swf that needs to have a certain height and width and
    no nav bar.
    I wonder if you're testing your efforts from the Flash
    authoring tool.
    With the Flash Player security sandbox, lately, you'll have
    to upload to a
    server to test in a browser.
    > I've tried several techniques including putting
    javascript in the
    > containing html file and having nothing in the HTML
    file. If
    > anyone has any idea please let me know, thanks!
    I wrote a tutorial on this -- both AS2 and AS3 -- not long
    ago for
    CommunityMX.com. It's a subscription site, and some of the
    articles are
    free, but this one isn't ... BUT ... you can sign up for a
    free trial
    subscription, check it out, then cancel if you like.
    http://www.communitymx.com/abstract.cfm?cid=F0639
    If I reference an article in my forum replies, I normally
    try to answer
    with a tutorial from my blog (free), or one of the free CMX
    articles, but I
    imagine you've already Googled around a bit. The CMX tutorial
    includes
    sample files, and you really won't be out any money.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • 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 create POPUP windows (from ALV report)

    Hi there,
    I have a ALV report which has a field where the user can click and view more details of the selected data. I would like to have a popup and then display the selected data...is that possible? Any function module which I can use to pop up a window and display selected data?
    Thanks in advance!
    Cheers,
    MC

    Hi MC,
    Please follow the steps below for getting the result you desired.
    1. In your field catalogue, move 'X' to the slis_fieldcat_alv-hotspot field. This will enable the user to select it.
    2. Set slis_t_event_exit-ucomm = '&IC1' and slis_t_event_exit-before = 'X' and pass this internal table to the ALV function call. This will enable to code your own logic for that standard user command.
    3. Pass your 'User command' routine name to the appropriate paramter of the function module.
    4. Your 'User command' routine should have the following format.
    *       FORM USER_COMMAND                                             *
    *  -->  UCOMM                                                         *
    *  -->  SELFIELD                                                      *
    FORM user_command USING ucomm    LIKE sy-ucomm
                            selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          PERFORM display_pop_up USING selfield.
        WHEN OTHERS.
      ENDCASE.
      MOVE '&REFRESH' TO ucomm.
    ENDFORM.                                    " USER_COMMAND
    5. Write your code for the pop-up in the routine 'DISPLAY_POP_UP'. Look at 'POPUP*' function modules to pick up the best suitable one for you.
    Hope this helps,
    Srinivas

  • Close the ADF popup window from deployed JSP in other server

    I am attempting to open jsp page which one is deployed on tomcat server in adf pop up window from cmd button event.and this first jsp will forward to second jsp and i should able to close from pop window from second jsp close button.
    This is what i did:
    1) created pop-up window and run the delployed jsp on pop up page
    2) i used window.close script in second jsp but not popup window is not get closed .
    help me to achieve this pblm ....

    i was trying to open &close other server's jsp from ADF pop-up window ... so base is internal window (pop-up) only ,
    and already i used onclick="window.close();" in command button...but its not closeing the adf pop-up window ... how that jsp cmd button onclick event take control of adf pop-up to close ?
    help me ???

  • Identify selected popup window from others

    hi
    i have a problem with multiple popup windows.can't identify
    selected popup and closed pop up by code.does any one has any
    idea.i can remove popup that last created but can't remove
    previously created.

    i found the way to identify selected popup window form rest
    of others like
    //register event listener to the popup window u created
    login.addEventListener("close", removeForm)
    //function
    private function removeForm(event:CloseEvent):void {
    PopUpManager.removePopUp(IFlexDisplayObject(event.currentTarget));
    if this one not clear don't hesitate to send me private
    message
    cheers

Maybe you are looking for