Open a view twice does not work

Hello,
I have a problem with bsp-views:
I open a new window via the JavaScript command
<script type="text/javascript" language="javascript">
  open( "<%= controller->mv_srch_url%>",
        "searchTask", "resizable=no, scrollbars=no,
         status=yes, menubar=no, width=320, height=522,
         top=50, left=50" );
</script>
If I close this window via the 'X' on the upper right corner of the window and want to open the popup again it doesn't work. This JavaScript command passes correctly but no window is opened.
If I close the popup via a button where a submit is made to the calling (parent) document and open it again, everything works fine.
Now I have two questions:
1. Does anybody have an idea why the popup cannot be opened again?
2. If not, I would like to make a submit if the popup is closed by the 'X'. I tried this in my bsp-view:
<script language="javascript">
        function do_submit(){
        var theForm = window.opener.document.getElementById("theForm");
           theForm.submit();}
        window.onUnload = do_submit
</script>
but it did not work.
I would be very grateful for any help.
Best regards,
Ralph
Message was edited by: Ralph Rillig
Catching the 'X' does not work, but opening the popup twice is working. I used the following coding:
open( "<%= controller->mv_srch_url%>",
        "searchTask<%=sy-uzeit>", "resizable=no, scrollbars=no,
         status=yes, menubar=no, width=320, height=522,
         top=50, left=50" );

Ralph
try the following...
1) create a new parameter or variable named callPopup (type CHAR01) with a default value 'N'.
2) then in your view put the following;
<% IF callPopup = 'S'. callPopup = 'N'. %>
<script type="text/javascript" language="javascript">
open( "<%= controller->mv_srch_url%>",
"searchTask", "resizable=no, scrollbars=no,
status=yes, menubar=no, width=320, height=522,
top=50, left=50" );
</script>
<% ENDIF. %>
3) Then when the user press the button to search (or the event to call the popup) just put the value of this variable to 'S'.
Try it...
Ariel

Similar Messages

  • When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • Why does right clinking on link and selecting open in new tab does not work?

    Why does right clinking on link and selecting open in new tab does not work?
    It opens up a blank page. The only way to make the link work is to click on the navigation bar in the new tab and press enter to reload the link.

    Do you have that problem when running in the Firefox SafeMode?<br/> ''A troubleshooting mode.''<br />
    1.You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut. <br />
    2. Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut to open it again.''
    If not, see this: <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • How come the current view button does not work?

    How come the current view button does not work?

    Sorry, I have no idea what you are asking; please provide some details, and/or a screenshot if possible: https://forums.adobe.com/thread/1070933

  • Right click on a link and selecting "open in new window" does not work. How do I gewt this feature to work? PS Right click on a link and selecting open in new tab does.

    No matter where the link is - in an e-mail or on a web page - the "Open in new window" feature does not work. Very annoying. Also I close Firefox in a session, but then cannot re-open it. When I shut my PC down I get a prompt to End Task -[ Firefox ] and a window opens asking if I want to save tabs and quit; quit; or cancel. After closing Firefox it does not show as an application running in Task Manager
    == This happened ==
    Every time Firefox opened
    == I recently re-installed Firefox.

    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.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • HT204022 Flash player required to open a e card does not work?

    Flash player required to open e card does not work?

    iOS devices do not support flash.  There is no flash available, nor will there ever be.  Adobe has announced that it is discontinuing development of flash on mobile devices.

  • *BUG* Open Parameters Partial Search Does Not Work

    Similar question: http://forums.adobe.com/message/1773556
    Quite simply, using the open parameter #search=<keyword list> does not work at all if the search terms are partial matches.
    For example, if a document contains:
    abcdefg
    abcdef
    abcde
    abcd
    If I use the open parameter #search="abc", this will return ZERO results.
    If I use the open parameter #search="abcd", this will return ONE result.
    Is this intended? Is this a bug? Is Adobe going to respond to this?

    It isn't a bug. Read the documentation:
    http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf

  • Crystal Report Viewer Print does not work for IE7

    Post Author: ssdudeveloper
    CA Forum: .NET
    When I view a report in IE7, and click the Print button in the Crystal Reports Viewer toolbar, an empty dialog window opens and no print dialog appears. The print functionality works correctly when viewing the same report using an IE6 browser.
    I have tried changing the browser security settings (as per http://technicalsupport.businessobjects.com/cs/forums/thread/3171.aspx) - with Automatic prompting for file downloads set to Enable, but this does not resolve my problem.
    Is this a known compatability issue with IE7? Are there any workarounds/solutions to this?

    Hello,
    Please search before posting.
    Visual Studio 2010 is not meant to work with Crystal Reports 10.2.
    Download CR4VS2010 here:
    [/people/blair.wheadon/blog/2010/07/29/crystal-reports-for-visual-studio-2010-beta-2-and-runtimes-now-available|/people/blair.wheadon/blog/2010/07/29/crystal-reports-for-visual-studio-2010-beta-2-and-runtimes-now-available]
    Thanks,
    Bhushan.

  • Discoverer Viewer/Plus does not work with Custom EUL owned by APPS user

    I am facing a unique issue with one of my customers. They have a custom EUL named XX_EUL_US and this does not allow connecting through discoverer viewer or discoverer plus.
    I have worked with custom EULS before at other customers and this was never the case. I am being told that this issue is happening as the EUL owner is APPS instead of some other user. Is this the case? Can discoverer viewer not be used with EULs owned by apps user?
    Please not that the Default EUL in ICX profiles is set to this EUL and no other EUL profiles are set.
    Appreciate any thoughts on this.

    Hi,
    I am not sure what you mean when you say you have a "custom EUL named XX_EUL_US". The EUL table should be created in a schema named XX_EUL_US. This will then be the EUL owner. You will then need to connect to Discoverer Administrator as the EUL owner and grant privileges to Apps users and/or responsibilities.
    The user should then be able to connect to Discoverer Plus/View using their apps username, responsibility and password.
    To be able to connect directly from an apps menu you need to have the ICX parameters set correctly. The ICX: Discoverer Default End User Layer Schema Prefix should be set to XX_EUL (without the _US). The ICX: Discoverer End User Layer Language Override should be set to US or not set at all.
    Rod West

  • "Open with" in Windows does not work for Bridge CS5

    When I right click on a picture to open it with Bridge CS5 nothing happens. Does anybody know how to fix this?
    It worked with older version of Bridge and it stopped once I installed the CS5.
    I have Windows Vista.

    salwaph wrote:
    I found out that you can "Browse with Adobe Bridge CS5" when you right click on a folder. However this option is not available for single files. So problem is kind of solved. But if anyone knows how to open single file in Bridge please let me know.
    So have you opened the fly out menu that lists the open wiht programs?  It has a option down on the bottom to set other "open with" options such as open with Bridge.  Does this not work? 
    It works one single files on my machine.

  • The "Open a new tab" does not work

    I've just updated to Firefox 3.6.17. When I try to open up a new tab by pressing the button on the right of the existing tab, nothing happens.

    Un-install the '''''Ask Toolbar''''', which has been reported to cause this problem. It is the responsibility of Ask to fix the problem with their toolbar. Click on "More system info..." to the right of your original question to see your User-agent which indicates that you have the Ask '''''Toolbar''''' installed.
    *Your User-agent: ''Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110420 '''AskTbX-SD'''/3.11.3.15590 Firefox/3.6.17''
    See:
    *http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on
    <br />
    <br />
    '''You need to update the following:'''
    *Adobe PDF Plug-In For Firefox and Netscape
    *Shockwave Flash 10.2 r152
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • "Open with Photoshop Elements" does not work

    My picture does not open in Photoshop Elemtens when I use "open with" for a JPEG. The programm starts but no picture opens. What can I do?

    Any JPEG?
    How about other file types?
    See here:
    Files won't open in Photoshop Elements 11
    Re: jpeg files won't open in elements 10

  • Opening link in Chrome does not work, instead file is downloaded

    Hello,
    After publishing a Captivate 8 project, viewing it with IE works perfect. But if I use Chrome (version 35.0.1916.153 m) the html file is downloaded instead of being opened.
    http://bnet2.nec-unified.com/training/BCT/INST/index.html
    Is this a Captivate issue, do I have to make some setting to get this working, or is it a Web Server or Chrome setting?
    Any help is appreciated.

    http://kb.mozillazine.org/Unable_to_save_or_download_files
    Separate Issue;
    Your System Details shows;
    Installed Plug-ins
    Shockwave Flash 16.0 r0
    Shockwave Flash 11.9 r900
    Having more than one version of a program may cause issues.
    Grab the uninstaller from here:
    '''[http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html Uninstall Flash Player | Windows]'''
    '''[http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html Uninstall Flash Player | Mac]'''
    Then reinstall the latest version.
    Flash Player '''v16.0.0.257<br>https://www.adobe.com/products/flashplayer/distribution3.html'''
    Shockwave Director '''v12.1.6.156 http://get.adobe.com/shockwave/'''

  • ECL Viewer Redlining does not work in cFolders for PDF

    Hi,
    I am using cFolders 4.5 with ECL viewer 6.0 patch level 4. Redlining functionality works for AutoCAD and graphics files such as JPG. However, when I try to use the redlining functionality on a PDF I get the message "This feature is currently not supported. Please contact your cFolders system administrator. The ECL viewer will shut down".
    Any ideas on why this is happening. Is there anything specific I need to do to enable redlining for PDF files on cFolders.
    Thanks,
    Lashan

    Hi Lashan,
    This can be only realized in form of a modification.
    To get the functionality, you have to change the code of BSP page
    'doc_de_redline.htm'. You can find this information at transaction SE80
    > BSP application 'CFX_RFC_UI' > Pages with Flow Logic
    Switch to Layout:
    <! object width="800px" height="500px" classid="clsid:E5B45843-BBE0-11D4-A7A4-0060087A7901" alt="Please wait....." >
    <PARAM name="DIM" value="<%= P_FORMAT %>"></PARAM>
    <PARAM name="DOWNBASEURL" value=""></PARAM>
    <PARAM name="BASEID" value="<%= P_BASEID %>"></PARAM>
    <PARAM name="BASENAME" value="<%= p_basename %>"></PARAM>
    <PARAM name="BASEDESC" value=""></PARAM>
    <PARAM name="BASETYPE" value="<%= p_fileext %>"></PARAM>
    <PARAM name="BASEMIME" value="<%= p_bmimetype %>"></PARAM>
    <PARAM name="LAYERCOUNT" value="<%=p_layercount%>"><(>
    <<)>/PARAM>
    > ENTER CODE HERE <
    <! Liste der Layers >
    <% l_index = 0.
    Add at the comment the following line:
    <PARAM name="PDFSUPPORT" value="1"></PARAM>
    Regarding redlining of pdf files:
    Please create a file" EAI Viewer.xml " and place the below xml code in the file. save it.
    Code is as follows:
    <?xml version="1.0" encoding="utf-8" ?>
    - <settings created="20050719120931" name="EAI Viewer">
      <Created>X</Created>
    - <Format>
    - <Description>
      <PDF>Adobe Acrobat (*.pdf)</PDF>
      <SAP_WFE>SAP cProject Suite start file (*.sap_wfe)</SAP_WFE>
      <PGP>PGP encrypted file (*.pgp)</PGP>
      <JT>EAI DirectModel (*.jt)</JT>
      <VRL>VRML (*.vrl)</VRL>
      <WRL>VRML (*.wrl)</WRL>
      <STL>Stereolithography (*.stl)</STL>
      <PS>PostScript I, II (*.ps)</PS>
      <EPS>Encapsulated PostScript (*.eps)</EPS>
      <DGN>Microstation (*.dgn)</DGN>
      <PCX>PC Paint (*.pcx)</PCX>
      <PICT>Macintosh Paint (*.pct)</PICT>
      <PCT>Macintosh Paint (*.pct)</PCT>
      <RAS>Sun Raster (*.ras)</RAS>
      <GIF>Graphic Interchange Format CompuServe (*.gif)</GIF>
      <C4>EDMICS C4 (*.c4)</C4>
      <PNG>Portable Network Graphics (*.png)</PNG>
      <JPG>JFIF Compliant (*.jpg)</JPG>
      <JPEG>JFIF Compliant (*.jpg)</JPEG>
      <BMP>Windows Bitmap (*.bmp)</BMP>
      <TIF>Tagged Image File Format (*.tif)</TIF>
      <TIFF>Tagged Image File Format (*.tif)</TIFF>
      <MLR>CALS MIL-R I,II (*.mlr)</MLR>
      <MIL>CALS MIL-R I,II (*.mi)</MIL>
      <_907>Calcomp (*.907)</_907>
      <_906>Calcomp (*.906)</_906>
      <cals>Calcomp (*.cals)</cals>
      <MI>HP ME 10/30 (*.mi)</MI>
      <HPG>HPGL/HPGL-2 (*.hpg)</HPG>
      <HPGL>HPGL/HPGL-2 (*.hpgl)</HPGL>
      <IGS>IGES (*.igs)</IGS>
      <CGM>Computer Graphic Metafile (*.cgm)</CGM>
      <DWF>AutoCAD (*.dwf)</DWF>
      <DXF>AutoCAD DXF R11-14 (*.dxf)</DXF>
      <DWG>AutoCAD DWG 2.5-14 (*.dwg)</DWG>
      <MDL>(*.mdl)</MDL>
      <MPC>(*.mpc)</MPC>
      </Description>
    - <Mimetype>
      <PDF>image/pdf</PDF>
      <SAP_WFE>application/sap_wfe</SAP_WFE>
      <PGP>application/x-pgp</PGP>
      <JT>application/x-jt</JT>
      <VRL>model/vrml</VRL>
      <WRL>model/vrml</WRL>
      <STL>application/stl</STL>
      <PS>application/postscript</PS>
      <EPS>application/postscript</EPS>
      <DGN>model/vnd.dgn</DGN>
      <PCX>image/pcx</PCX>
      <PICT>image/pict</PICT>
      <PCT>image/pct</PCT>
      <RAS>image/ras</RAS>
      <GIF>image/gif</GIF>
      <C4>image/c4</C4>
      <PNG>image/png</PNG>
      <JPG>image/jpeg</JPG>
      <JPEG>image/jpeg</JPEG>
      <BMP>image/bmp</BMP>
      <TIF>image/tiff</TIF>
      <TIFF>image/tiff</TIFF>
      <MLR>image/mlr</MLR>
      <MIL>image/mi</MIL>
      <_907>image/907</_907>
      <_906>image/906</_906>
      <cals>image/cals-1840</cals>
      <MI>image/mi</MI>
      <HPG>image/hpgl</HPG>
      <HPGL>image/hpgl</HPGL>
      <IGS>application/iges</IGS>
      <CGM>image/cgm</CGM>
      <DWF>model/vnd.dwf</DWF>
      <DXF>image/vnd.dxf</DXF>
      <DWG>image/vnd.dwg</DWG>
      <MDL>image/mdl</MDL>
      <MPC>image/mpc</MPC>
      </Mimetype>
    - <Redlineable>
      <PDF>2</PDF>
      <SAP_WFE>0</SAP_WFE>
      <PGP>0</PGP>
      <JT>3</JT>
      <VRL>3</VRL>
      <WRL>3</WRL>
      <STL>3</STL>
      <PS>2</PS>
      <EPS>2</EPS>
      <DGN>2</DGN>
      <PCX>2</PCX>
      <PICT>2</PICT>
      <PCT>2</PCT>
      <RAS>2</RAS>
      <GIF>2</GIF>
      <C4>2</C4>
      <PNG>2</PNG>
      <JPG>2</JPG>
      <JPEG>2</JPEG>
      <BMP>2</BMP>
      <TIF>2</TIF>
      <TIFF>2</TIFF>
      <MLR>2</MLR>
      <MIL>2</MIL>
      <_907>2</_907>
      <_906>2</_906>
      <cals>2</cals>
      <MI>2</MI>
      <HPG>2</HPG>
      <HPGL>2</HPGL>
      <IGS>2</IGS>
      <CGM>2</CGM>
      <DWF>2</DWF>
      <DXF>2</DXF>
      <DWG>2</DWG>
      <MDL>2</MDL>
      <MPC>2</MPC>
      </Redlineable>
      </Format>
      </settings>
    please upload this to your WebDAV (replace the old one and save this under a different name as
    backup). The way to access WebDAV is explained in the cFolders configuration guide, chapter 'Creating the Settings URL for WebDAV Access' (the guide is attached to note 973764).
    I hope that this information help you to solve the issue.
    Thanks and Regards
    Bhaskar

  • I just upgraded to FF 4.0 on Win7 and I noticed that "Open in new tab" does not work

    I just upgraded to FF 4.0 on Win7 and I noticed that when you click a link and select 'open in new tab' it copies over the correct link to the address bar but doesn't open it.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

Maybe you are looking for

  • Disc image too large

    Hi all, new to fourm.it is a great service.my question is that i am having some problems with skipping/freezing dvd discs. a few have come back from clients, not very good!! i understand about burn speeds and discs. so i am trying to burn a disc imag

  • ITunes quits when I see the "terms of service changes" screen

    I recently added two music files to my cart at the iTunes music store. When I tried to purchase them, I clicked on "Buy Now" at the cart screen. After a few seconds, iTunes presented me with a screen which detailed new changes in the terms of service

  • Windows user name question -- can I change it?

    My daughter opened my laptop and initialized it with her name thinking it was her Thinkpad that was delivered (we ordered at same time from different places).  So, I was able to change the account name on the welcome screen and the start menu via the

  • N97 trying to connect to the internet *wasting my ...

    I've been using this phone for atleast a month now. and i've noticed in the log my phone keeps on trying to connect to my home wi-fi, and if that isnt available it tries to connect to Vodafone AU Internet (one of the accesss points). now this costs m

  • Synchronize Business Partner from SAP CRM - SAP ERP

    Hi experts, I would like to synchronize our BPs from the CRM into our SAP ERP System. What Ive done until now: 1. start initial load "bupa_main" from "CRM" to "OTLP" 2. check if everything is correct with R3AM1 - after ~ 1 hour -> done (green) 3. I c