In the same BSP, open  a htm from another

hello,
I search in the forum to open a htm page from another when I click a button.
I have only one bsp with 2 pages with flow logic.
I found something like that :
from my "first_page.htm", I use a flag in OnInputprocessing : w_open_page = 'X'.
In the layout, I test my flag
if w_open_flag = 'X'
windows.open(('secondpage.htm', 'width=100, height=200');
endif.
But it doesn't work.
If I put in Oninput processing of my firstpage.htm : navigation->goto_page('secondpage.htm')
it works but I can't manage the size, the toolbar...
Can someone help me please ?
Thanks
Regards
Véronique

Hi,
Here in you your case, you will have to do a bit of mixing between ABAP and JavaScript...
What you can do is write a openWindow function as follows :
function openWindow()
<% IF w_open_flag = 'X' %>
windows.open(('secondpage.htm', 'width=100, height=200');
<%ENDIF.%>
Then in your button, you'll have to call openWindow using onClientClick...but this will only take the previous stored value of w_open_flag, before the server round-trip...
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna.

Similar Messages

  • I used to open many tabs in the same page and i move from one to other by mouse but since3 two days the tabs open in the same page normaly but i can't move from one to other when i clik with mouse on any tab it don't open/ do u have any solve for this?

    i used to open many tabs in the same page and i move from one to other by mouse but since3 two days the tabs open in the same page normaly but i can't move from one to other when i clik with mouse on any tab it don't open/ do u have any solve for this

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I "save tabs and quit" in this new version of Firefox, as I did in the older version? I want to be able to see the same websites open from the last time I closed the computer.

    In an earlier version of Firefox, when I went to close it, I would get a prompt "save tabs and quit?" that allowed me to see the same websites open from the last time I closed the computer. Where is that feature on the new version of Firefox?

    Firefox 4 and later versions save the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows or otherwise have problems with restoring tabs.<br />
    You can use "History > Restore Previous Session" to get the previous session at any time.<br />
    You may need to click the orange/gray Firefox button to see History.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.<br />
    Using the "Show my windows and tabs from last time" setting is a more reliable way to restore session data.
    * [http://kb.mozillazine.org/Menu_differences Firefox/Tools > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • My folders take forever to open and then the docs within take a long time for the icon to pop up. the same thing with moving itmes from the desktop to a folder, and also emptying the trashh

    my folders take forever to open and then the docs within take a long time for the icon to pop up. the same thing with moving itmes from the desktop to a folder, and also emptying the trashh

    Don't know if that would be a failing hard drive, but it may be that you are out of available space. How much hard drive space do you have available? Please highlight the Macintosh HD icon and then press Command and I for a get info window. Once open, please copy and post the following:
    Capacity:
    Used:
    Available:
    Mac OS requires a minimum of 10 - 15% of total hard drive space available and empty at all times in order to operate properly.

  • My computer was rebuilt this week and I am in the process of setting up iTunes and have a weird setup issue. The music in my playlists plays but the same song doesn't play from the library. Initially, I opened ITunes while holding down Shift of control.

    My computer was rebuilt this week and I am in the process of setting up iTunes and have a weird setup issue. The music in my playlists plays but the same song doesn't play from the library. Initially, I opened ITunes while holding down Shift of control key.

    Scratch the post above - the musics that plays in the playlist also plays in the library and that is because i forgot that i imported from the cd yesterday. Basically, I see the rest of my music, but it doesnt' play and tells me it can't locate the file though the location in 'perferences' points to the correct location. Getting iTunes to play after a new computer or rebuild is a headache.

  • Multi-processes on the same machine open the same database

    I run into an issue where I have two processes, running on the same machine.
    Process-1 starts the replication as master and opens database for read-write.
    Process-2 only opens the same database for read-write, no replication is started,
    and process-2 will fail to open the database because of "Non-replication DB_ENV
    handle attempting to modify a replicated environment" error.
    Can you suggest a way to handle this scenario?
    Can two processes on the same machine open the same database for read-write?
    Thanks.

    Following are how I setup the database environment for Master side:
    DB_ENV->rep_set_priority(80)
    DB_ENV->repmgr_set_ack_policy(DB_REPMGR_ACKS_ALL)
    DB_ENV->repmgr_set_local_site()
    DB_ENV->rep_set_nsites(2)
    DB_ENV->set_cachesize(1MB)
    DB_ENV->set_data_dir()
    DB_ENV->set_lg_dir()
    DB_ENV->set_tmp_dir()
    DB_ENV->set_flags(DB_AUTO_COMMIT, 1)
    DB_ENV->set_lg_max(1MB)
    DB_ENV->log_set_config(DB_LOG_AUTO_REMOVE, 1)
    DB_ENV->set_lg_bsize(1MB)
    openFlags = DB_INIT_MPOOL | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN | DB_INIT_REP | DB_THREAD | DB_CREATE | DB_USE_ENVIRON;
    DB_ENV->open("/home/db", openFlags, 0644)
    DB_ENV->repmgr_start(3 threads, DB_REP_MASTER)
    Both processes using the same environment home directory.
    Now I'm able to get both process up and running, because now I check for DB_REP_IGNORE return value from repmgr_start() method on the second process.
    The first process starts the replication server, and the second process will not start the replication server at all.
    However, if the first process terminated and got restart, the replication server will not be restarted...
    I saw there's a check of "listener" in the repmgr_start function.
    How can I restart the replication server either upon restarting the first process or from the running second process?

  • I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps.  I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of A

    I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps.  I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of Adobe InDesign CC (10.1). You must use that version or later to open the file." AARRGGHH! So how do I access the file?

    Sounds like you opened and saved it in CC, so now you need to go back to CC and either complete the project there, or export to IDML to take it back into CS6.

  • All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default s

    I don't know what happened. All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default search engine. I click the box 'do not ask me again' and it comes up EVERY TIME. I change things like I don't want history remembered, and when I reload FireFox again, it's back to the way it was BEFORE. EVERY SINGLE TIME. I don't know why this is happening, or how to fix it. What do I do??

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?

    When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?  Thanks

    sandrafromsilver spring wrote:
    When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?  Thanks
    Go to the following link:
    http://jaxov.com/2010/11/how-to-enable-airprint-service-on-mac-os-x-10-6-5/

  • Is there a way I can have more than one tab of the same website open?

    It seems kind of silly that I'm not allowed to turn off the feature where it switches to the tab that is already open of that site, even if it is in a different window. Sometimes I need to have duplicates of a site open, like alarm clocks, or certain info sites.

    There's no reason why you shouldn't have multiple tabs of the same site open if you want to.
    Can you do the following first of all. Go to http://get.adobe.com/flashplayer/ and update Flash.
    If the problem persists in spite of the above, try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.

  • HT4437 I bought a brand new iPad 3 and an Apple TV, both connected to the same wpa protected wifi network from home. It worked for a day, but when I woke up, the Apple TV couldn't be found anymore by neither iPad, MacBook or iPhone. Any clue? Thanks!

    I bought a brand new iPad 3 and an Apple TV, both connected to the same wpa protected wifi network from home. It worked for a day, but when I woke up, the Apple TV couldn't be found anymore by either iPad, MacBook or iPhone. Anybody a solution for this?

    Thanks for the swift reply, I have been looking online and a loose plug seems to be somewhat of an issue with many, I hope mine is actually a problem and not what others are experiencing. It's taken me this long to even reach out for the simple fact I HATE being a complainer but this is just horrible.
    Do you have an iPad 3 as well? And is yours not experiencing any issues close to mine?
    Thanks again!

  • How do I separate audio channels to edit them seperatly ... they are both in the same clip when I record from two diffrent mics on two diffrent channels

    I have premier
    elements 12
    How do I separate audio channels to edit them seperatly ... they are both in the same clip when I record from two diffrent mics on two diffrent channels

    timc
    I do not see a way to separate audio channels to edit them separately in Premiere Elements (any version).
    Premiere Elements does have audio effects including Balance, Fill Right/Fill Left, and Swap channels, but that is not what you are seeking.
    I would refer you to an audio editor such as the free Audacity for what you want to do.
    Splitting and Joining Stereo Tracks - Audacity Manual
    I am not sure if this is close to what you seek
    https://forums.creativecow.net/thread/3/883383
    But, the opportunity seems to be in Premiere Pro, not Premiere Elements
    Please review and consider and then let me your thinking on the matter relating to your Premiere Elements 12 (what operating system).
    Thanks.
    ATR

  • I can not send my Note through email and it used to work. The same problem to send picture from iPhone message

    Can't send Notes through email and it used to work. The same problem of sending picture from iPhone message. Did the reset twice but still not working

    Try a reset:
    Hold the Sleep and Home button down for about 10 second until you see the Apple logo.

  • Can two java program write to the same port by fetching data from different

    can two java program write to the same port by fetching data from different ports, if yes is thing possible for a 3rd program to get all data (is there any data loss or collision)
    how is this possible

    can two java program write to the same port by fetching data from different portsTwo java clients can connect to the same server port and they can both write to it. However the server will see the connections as two separate accepted sockets.

  • Capabilities.language for variants of the same language (i.e: Portuguese from Portugal and Brazil)

    According to the documentation, Capabilities.language has a fixed list of possible values, as shown here:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabiliti es.html#language
    For Portuguese there's only one entry: "pt"
    So will Capabilites.language return the same "pt" value for people from Portugal and from Brazil?
    How can I tell the difference? How can i get the "pt-br" or "pt-pt" strings?
    Thanks!

    Check out the difference between Capabilities.language and Capabilities.languages
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabiliti es.html#language
    vs.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabiliti es.html#languages
    roymeo

Maybe you are looking for