Opening a new window by clicking icon on the tableview

I would like to open a new popup window to show data by clicking an icon on one tableview. This data is kept in an internal table passed by a parent controller. Is there any example provided? (I am not familiar with the javascript language)

You will not be able to get the index of the row which is being clicked by this method.  As the OnClientClick Event is processed on the client side, and the index is selected on the server side.
For this you need to do some changes.......
in the table tag populate this event <b>onSelect  = "<OnSelect>" </b> this event.
Now use a flag, let it be SHOW_POPUP.
Now in the event handling capture the selection event of the table.
IF EVENT->EVENT_NAME = 'tableView' AND
                   EVENT->EVENT_SERVER_NAME = 'onSelect'.
  TV ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = REQUEST
                                    NAME    = 'tableView'
                                  ID      = '<tableID' ).
  IF TV IS NOT INITIAL.
    TABLE_EVENT = TV->DATA.
    ROWINDEX = TABLE_EVENT->ROW_INDEX.
    READ TABLE <Table Name> INDEX ROWINDEX into WA.
    Key = WA-<VALUE>.
    clear SHOW_POPUP.
    IF Key IS NOT INITIAL.
    SHOW_POPUP = 'X'.
    ENDIF.
  ENDIF.
ENDIF.
Now in the LayOut Page Write This Script In Between Form Tag in the begning only.
<%
if SHOW_POPUP EQ 'X'.
%>
<script>
function call_help(name)
   var result = window.open(name,"helpWindow", "status=no, menubar=no width=730,height=550");
   result.moveTo(100,40);
</script>
<%
endif.
%>
And in between <FORM> Tag Call This Function Like
    <script>
call_help("<page Name.htm>?Key=<%= Key %>");
    </script>
Do not use these code as u were using earlier
onCellClick = "onCellClick"
<htmlb:link id = "link"
onClientClick = "return popitup('mat_move.do?key=11')">
</htmlb:link>
Do Remember to clear the SHOW_POPUP Flag on request of the page at each time.
I think This will definitely help you , If you find any problem do revert back....

Similar Messages

  • Open a new window by clicking on a HTMBL tableview row

    Hello
    I want to navigate to another BSP page in a new window by clicking on a row in a HTMLB TABLEVIEW.
    I also want to pass value for a tableview table field for the selected row index.
    This field is not defined by a tableviewcolumn tag for the tableview in the layout
    I want to do this stateless.
    Is this possible ?
    Thanks and regards
    Christian

    hi Christian
    For this you need to do .......
    in the table tag populate this event
    <b>onRowSelection = "<OnSelect>"</b> this event.
    Now use a flag, let it be SHOW_POPUP.
    Now in the event handling capture the selection event of the table.
    IF EVENT->EVENT_NAME = 'tableView' AND
    EVENT->EVENT_SERVER_NAME = 'onSelect'.
    TV ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = REQUEST
    NAME = 'tableView'
    ID = '<tableID' ).
    IF TV IS NOT INITIAL.
    TABLE_EVENT = TV->DATA.
    ROWINDEX = TABLE_EVENT->ROW_INDEX.
    READ TABLE <Table Name> INDEX ROWINDEX into WA.
    Key = WA-<VALUE>.
    clear SHOW_POPUP.
    IF Key IS NOT INITIAL.
    SHOW_POPUP = 'X'.
    ENDIF.
    ENDIF.
    ENDIF.
    Now in the LayOut Page Write This Script In Between Form Tag in the begning only.
    <%
    if SHOW_POPUP EQ 'X'.
    %>
    <script>
    function call_help(name)
    var result = window.open(name,"helpWindow", "status=no, menubar=no width=730,height=550");
    result.moveTo(100,40);
    </script>
    <%
    endif.
    %>
    And in between <FORM> Tag Call This Function Like
    <script>
    call_help("<page Name.htm>?Key=<%= Key %>");
    </script>
    Do not use these code as u were using earlier
    onCellClick = "onCellClick"
    <htmlb:link id = "link"
    onClientClick = "return popitup('mat_move.do?key=11')">
    </htmlb:link>
    Do Remember to clear the SHOW_POPUP Flag on request of the page at each time.
    <b>What I am trying to do is , On click of the table control i will trigger a server event.
    i the server event i will set the flag SHOW_POPUP and navigate the data that is required on the popup window through navigate->setparameter().
    now when the layout will be refreshed it will check the SHOW_popup Flag. If it is set, it will define the javascript fuction, otherwise skip that code.</b>
    I think This will definitely help you , If you find any problem do revert back....

  • I cannot open a new window form Safari icon in the dock

    iMAC 21.5, MId 2011
    While usign Safari for my paper researches I used to open new windows in order to browse more documents.
    A few days ago I realized that I do not have the option "open new window" when I click on Safari Icon in the dock.
    What happened?I did not change any preference
    thanks
    cinzia

    yes, I can. But in the past i could do from Safari Icon.
    Moreover,  until a few weeks  ago when I clcked on Safari Icon i could see all my windows open and choose which one to bring to the front. Now I cannot.

  • When I click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system" and I've tried to shut down and restart my computer but it keeps

    when i click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." and I've tried to shut down and restart my computer but it keeps showing the same message. I've even uninstalled Firefox and then reinstalled in the hopes that the problem would be solved but it this message is still popping up. What can I do to solve this problem?
    == This happened ==
    Just once or twice
    == I was on facebook trying to upload pictures yesterday. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; InfoPath.1)

    Do you have a profile lock file in your profile folder? If so, delete it and see if TB runs properly:
    http://kb.mozillazine.org/Profile_in_use#Remove_the_profile_lock_file

  • Firefox is OPEN and working fine, but when I click a link in Thunderbird I get 'Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.'

    If I click a link on my desktop or in any other program (while Firefox is open and running), I get this message: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." There's about a billion links for this if you Google it, but they all say that Firefox wasn't shut down properly. (OK, maybe not ALL of them, but if the needle is in that haystack, I haven't yet found it.) That's not the issue in my case since I haven't shut FF down at all.
    == This happened ==
    Every time Firefox opened
    == IDK

    This began to happen to me when I tried to run two separate profiles simultaneously on the same installation of firefox with -no-remote

  • I deleted the profile and firefox4 and then downloaded firefox4 again. But when i click firefox it says Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process,or restart your system.HELP!

    somehow i couldn't get rid of one website called www.searchqu.com/405 set as my homepage... I tried all solutions given to change the homepage but whenever i restarted firefox that homepage used to come automatically.. So, I deleted the profile (even from recycle bin!!) and deleted the firefox and downloaded it again hoping to get my problems fixed (which didn't happen!) because i'm getting dialog box saying- Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    You don't say which operating system you have installed?
    Assuming it's Windows, right click a blank part of the Windows Taskbar and go to Task Manager. Then click the ''Processes ''tab, find '''firefox.exe''' and then right click it and choose '''End Process'''.

  • I get this message box when I click on a link (in a document or email)"firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

    if Firefox is already running and click on any link in Word, Excel, Outlook, etc. A message box pops up and I have to hit OK to close it.
    "firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

    if Firefox is already running and click on any link in Word, Excel, Outlook, etc. A message box pops up and I have to hit OK to close it.
    "firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

  • I can not right click "open in new tab" nor open in new window, in my bookmark file.the bookmarks are all there, but I have to open a tab first then left click to open an item. Why can't I right click? The options are there, but not highlighted/clickable.

    I can not right click "open in new tab" nor open in new window, in my bookmark file.the bookmarks are all there, but I have to open a tab first then left click to open an item. Why can't I right click? The options are there, but not highlighted/clickable.

    now it is working?! Go figure. Yeah! Thanks anyway......

  • Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    Update firefox, it asked me to update flash, I tried to update flash but it said I had to close firefox. A box came up and said the Flash install would continue when I closed firefox. I closed all firefox windows and no update of flash occurred. I tried relaunching firefox but got the "Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." message. I rebooted the system, no improvement. I tried to run firefox as administrator and got the same message. Either I find a fix or I won't be able to use firefox and will have to go back to ie.

    -> press '''CTRL''' + '''SHIFT''' + '''ESC''' to Open Task Manager -> Processes tab -> right-click '''firefox.exe''' and click '''End Process Tree''' -> close Task Manager
    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Troubleshooting plugins
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
    Check and tell if its working.

  • When I try to start Firefox I get Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    I get this message when I try to start Firefox after first logging on after turning on the computer.
    Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
    Have rebooted. Works when Administrator logs in, just does this in my user profile. Have also re-intalled. Mo change in my User account.
    Firefox was working fine for the last 3 1/2 years. Any suggestions?

    Firefox is "hanging at exit" when you exit/quit Firefox.<br /><br />
    #Stop the Firefox process:
    #*[http://kb.mozillazine.org/Kill_application Mozillazine - Kill application]
    #*Windows 7 users click [http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576 here]
    #*Mac users: http://techheavy.com/2011/02/the-mac-task-manager/
    #Why Firefox may hang:
    #*[http://support.mozilla.com/en-US/kb/Firefox+hangs Firefox hangs] (see Hang at exit)
    #*[http://kb.mozillazine.org/Firefox_hangs Firefox hangs (Mozillazine)] (see Hang at exit and Closing Firefox properly)
    #*[https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding Firefox is already running but is not responding]
    #Use Firefox Safe Mode to find a problem with an Extension or Plugin:
    #*Don't check anything when entering Safe Mode, just continue
    #*If the problem does not occur in Safe Mode it is probably and Extension or Plugin causing the problem
    #*See:
    #**[[Safe Mode]] and [http://kb.mozillazine.org/Safe_Mode Safe Mode (Mozillazine)]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    #**[http://support.mozilla.com/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. I have a wndiws 7 system and use a Intel core processor. I have restarted several times and still ge this

    Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. I have a wndows 7 system and use a Intel core processor. I have restarted several times and still ge this error. I have also tried to reinstall firefox and get the same error
    == This happened ==
    Every time Firefox opened
    == today ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; InfoPath.2; .NET4.0C; AskTbUT2V5/5.8.0.12304)

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: [http://kb.mozillazine.org/Kill_application Kill Application]
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    [[Firefox hangs]]
    [http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit]
    [[Firefox is already running but is not responding]]
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.

  • I consistently get this messsage and have to restart the system - "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system". When I look at the Task Manager no Fire

    I consistently get this message and have to re'boot my system. "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system"
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.04506; InfoPath.2; Media Center PC 5.0; SLCC1)

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: [http://kb.mozillazine.org/Kill_application Kill Application]
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    [[Firefox hangs]]
    [http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit]
    [[Firefox is already running but is not responding]]
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.

  • I am connected to the internet and I close all tabs on the screen. Now I want to open a new tab, but Firefox opens a pop-up window stating"Firefox is already running, but not responding . To open a new window, you must first close the existing Firefox pr

    I am connected to the internet, but all tabs are closed. Now I want to open a new tab, But Firefox pops-up with "Firefox is already running, but not responding. To open a new window, you must first close the existing Firefox process, or restart your system". Does anyone here know how to fix this? Thank´s, BL.
    == This happened ==
    A few times a week

    Firefox is shutting down windows I want to remain open. Example: I am done viewing one window. I click the X to shut the window and it shuts two windows. Every single time, attempt to close one windows, two windows close. Lately, I have been opening several windows with nothing but google search, just so it will shut that window and not something else I want to remain open. I could understand this if I was using tabs, but I am not. This has been going on for over two weeks. I don't like going back to history to open a window, I did not want closed in the first place. Isn't that what 'Windows' is all about? Any ideas?

  • I try to launch firefox get the following message "firefox is already running, but is not resonding. to open a new window, you must first close the existing firefox process, or restart your system" firefox is not running and restart doesn't work

    when I launch firefox get the following message "firefox is already running, but is not resonding. to open a new window, you must first close the existing firefox process, or restart your system" firefox not running and a restart doesn't solve the problem

    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 12.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    See also:
    *https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding
    *http://kb.mozillazine.org/Profile_in_use
    *http://kb.mozillazine.org/Recovering_a_missing_profile

  • Iget this when I try to open a session....Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.task mngr shows no open firefox processes.

    I get this when I try to open a session....Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.The task manager shows no open Firefox processes.I had two users on this laptop running Firefox and I tried deleting the program on both users. I then downloaded the newest version, installed it and I still get the error message as before. HELP!!!! I loved the browser program when it was working before and would rather use it than other browsers.

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * https://support.mozilla.com/kb/Firefox+hangs

Maybe you are looking for

  • Withholding tax problum

    Hi experts, I have parked invoice through FB60 and after i have posted that invoice through FV60 , when update the internall chalan its not updating and showing the following message. No unpaid tax lines exist for the given selection criteria. Messag

  • Which iso is right one for Athlon XP 1.8G?

    I will have ethernet connection while installing but which  CD iso do I need?  Sorry about the real newbie question. A. archlinux-2009.08-netinstall-i686.iso               i686/32bit CD-ISO B. archlinux-2009.08-netinstall-x86_64.iso          x86_64/6

  • How to enable multipathing on Solaris 10

    I have a Sun SPARC T2000 connected to a 2540 array. Originally I only installed a single channel FC HBA and connected it to tray 1 of the array. Today I've installed another FC HBA and connected it to the 2nd tray of the array. When I run format on m

  • Setting & Retrieving Session Variables

    Hi, I'm new at session variables and having trouble understanding the basics. I have a form with two dropdowns. I want to store the selections from both in session variables. Then pass those to another page where I want to display the selected values

  • Reset ACS database password

    Hi, Just asking if you guys have idea how to reset the ACS database password? regards,