PDK iview - launch JSP in the background?

Is there a way to launch the JSP <i>behind</i> the portal browser?
I have an iview which calls a jsp page. The jsp page simply holds javascript which calls a window.open() to a url.
(I am not just calling the URL directly through a url iview or the appintegrator because the url needs parameters whose values are pulled from the session object. I know there is supposed to be a way to do this with the AppIntegrator -- but I have not figured out how to do that yet and am having trouble getting help. But that is a whol other issue... )
Regards

Easiest is probably to load the jsp in an invisible iframe within the iview.
<iframe name="FRAMENAME" src=">relativeUrlToJSP>" width="0" height="0" frameborder="0" scrolling="no" ></iframe>

Similar Messages

  • Experiences developing iViews with JSP tags

    Hi,
    has anyone experiences in the development of iViews using JSPs and the JSP tags ? Especially the useBean tag... I think it should be no problem to store beans in the session. If I want to share the bean among iView is it enought to synchronized each method of the bean ?
    Thanks

    Hi O.,
    please, before going on guessing around what synchronization means, read some tutorial, that's what the link was thaught for. It is no problem at all not to know this topic, it's definitely some more advanced topic within the language, but it doesn't help if you don't know it to guess how it <i>could</i> work/behave.
    > if I declare all getters and setters of the bean with
    > synchronize I avoid the issue of inconsistent data
    Once again: For pure getters and setters this sentence is definitely wrong. As long as complex class members are not manipulated / accessed concurrently, there is no need for synchronization (within the class).
    > thread 1 sets a value a concurrent thread 2
    > could read the data and would get a not actual value...
    > if I synchronize the get and set, thread 2 will be
    > able to invoke the getter after thread 1 finished the
    > setter.
    Once again: You don't have it in your hands which thread comes first. And synchronizing a method only means that a thread calling this method will run through it as an atomic operation, no other thread will disturb. But getters and setters normally are atomic, you cannot reach more... If a thread calls two (synchronized) methods of the same object, between these two calls, "the race is open again...".
    A good example is http://www-106.ibm.com/developerworks/java/library/j-threads1.html
    See the example at the end of this link, that's somehow just what we are talking about. The solution would be to synchronize the <i>setFoo(getFoo() + 1)</i> itself (for example with the bean object as locker). Whereas the synchronization of the methods is superfluous (and time consuming).
    Hope it helps
    Detlev

  • New App Launcher Suite Bar in 365: what CSS styles affect the background color?

    There is a new suite bar in O365. What CSS styles affect the background color of the bar, app launcher button and the Office 365 text in SharePoint Online? I want to hide Office 365 text and add my logo there.

    Hi,
    Per my understanding, you might want to change the style of the suite bar and replace the “Office 365” text with your custom logo image.
    In Office 365 admin page, we can customize the theme of the suite bar for the whole :
    However, as there is no such option can replace the “Office 365” text with a custom icon there, a workaround is that we can use some custom JavaScript to modify the
    corresponding HTML source code to display the icon dynamically after the page loaded.
    After applying the code snippet below into the master page:
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("ready");
    function ready() {
    var logo = document.querySelector("#O365_MainLink_Logo");
    var s = '<img style="max-height: 27px" alt="logo" src="/_layouts/15/images/siteIcon.png?rev=38">';
    logo.innerHTML = s;
    </script>
    Every time when users open a page in this site, this custom code will be executed, the “Office 365” text will be replaced by a custom icon:
    More information about how to add custom code into master page(similar in SharePoint 2013):
    http://techtrainingnotes.blogspot.com/2012/05/adding-javascript-and-css-to-sharepoint.html
    What’s more, if doing in this way, we can only replace the “Office 365” text with a custom icon in Office 365 SharePoint Online sites, not the whole Office 365, this
    is a fact that you might want to know. For about how to replace that text for the whole organization, I suggest you open another thread in Office 365 forum, you will get more help and confirmed answers there.
    http://community.office365.com/en-us/forums/default.aspx
    Best regards      
    Patrick Liang
    TechNet Community Support

  • What does transaction iView do in the background?

    Hi,
    I see, it is based on the component "com.sap.portal.appintegrator.sap.Transaction".
    In essence I need to create a transaction iView from a portal component. What is the procedure to do that?
    Any examples on that would be helpful.
    Regards,
    Megha.

    Hi Megha,
    A Transaction iView is based on the Application Integrator component.
    For more information, see:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/the application integrator in ep 6.0
    (a zip file)
    And:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/de95e490-0201-0010-b390-f0f23a95e2b8
    (a pdf file)
    As for launching a Transaction via url, see:
    How to launch SAP transaction & pass parameters via URL
    Hope that helps,
    Yoav.

  • PDK iviews refresh the Portal's detailed navigation

    Hi All,
    When a postback occurs in my PDK iviews, both the iview and the detailed navigation are refreshed.
    Is it supposed to be like that?
    Is there a way to prevent it?
    (It doesn't happen with Web Dynpro iviews for example)
    Thanks,
    Omri

    Hi Omri,
    One of the properties of an iView is Isolation Method.
    If this property is set to URL the iView will be rendered into it's own iFrame and not to the page one.
    But this will disable the server side eventing between portal components, so take that into consideration.
    Regards,
    Tsachi

  • How do I find out what applications are running in the background

    I have a 2008 iMac with 2GB memory.  How do I find out what programs are running in the background?  I am going to buy a new iMac before the end of the year to replace this one.  When I looked at Activity Monitor it shows 1.8Gb used but doesn't tell all the programs running.

    open activity monitor [if it doesnt launch click winders>Activity Monitor]. then it'll show all proceses

  • Adobe Bridge not running in the background

    I have bridge setup to load and run in the background when I start windows.  However it doesn't run in the background but launches and runs as normal.the icon does not load in the control panel as does other programs that load and run in the background. Running a 64bit windows 7 machine

    Ashutosh.Nigam wrote:
    If you want to  start Br at login, Follow below mentioned steps:
    In Bridge , choose Edit > Preferences (for Windows) or Adobe Bridge > Preferences (for Mac OS).
    Choose Advanced.
    Select Start Bridge At Login.
    You can disable this option at any time, Hope this helps.
    I don't have CC but others say the standard option is not there.  Can you confirm it is?

  • New iCal no longer syncs in the background?

    Ever since I upgraded my iCal within MobileMe and iCal on Mac to that new CalDav thingy, iCal doesn't seem to sync in the background any more, like the old one did with the MobileMe sync throughout the day.
    I have mine set to sync every hour but it doesn't seem to sync unless iCal is actually running on the Mac - if I launch it and it hasn't synced in an hour, it starts syncing, so it's not like I'm missing syncs, as long as I make sure to fire it up every now and then.
    I used to have it set to "Push" sync, but that was annoying. Whenever I tried to create a new event, after writing a few words for the event, iCal would lose focus from it (due to the sync starting) and I'd have to double-click my event to bring up the box where I can edit event title again (to finish writing it). Frustrating.

    The Calendar is no longer 'syncing' as such and nothing you do in System Preferences>MobileMe>Sync will have any effect. You should turn Calendar syncing off there (the other data continues to be synced as before).
    The Calendar now lives on the MobileMe Server and iCal reads it from there when opened (like webmail) - it does maintain a cached copy (unless you turn that off) so that you still have a calendar when offline. Changes won't appear until iCal is running. If it's left running and you make changes elsewhere they should appear pretty quickly.
    I don't know why you're having the focus problem. I double-click in a day (when in month view) to open the pane for a new event, type the event title and make any necessary settings: I then click 'done' and immediately see the syncing icon appear. I do have the calendars set to Push. You can set the sync to various delays if you want, but as you've found iCal does have to be running.
    You don't say whether you are also using iOS4 devices: someone posted that his iPad only picked up changes when the Calendar was first opened, and not subsequent one while the calendar was still running - he had to close it and open it again. I don't know whether this is expected behaviour or whether he has got some setting incorrect (I don't have an iPad or iPhone to check).

  • How to run a server program in the background on Linux or Windows?

    I just finished writing a Java network application with multiple clients and one server.
    However, I am not sure how I can run the server (SomeServer.class) in the background on Windows. Also when I am running it on Linux, I don't want it to terminate when I logout of the Linux shell.
    To run the server on Linux, should I use a command like this?
    nohup java -cp . SomeServer.class > output.txt &
    Or is there another command, or perhaps some code that I can add to the program so that it would run in the background automatically and/or continues even when I logout of the Linux shell??
    Sometimes, I also like to run the program on a Windows XP machine for testing purpose. How can I do it so that it runs in the background without openning a Console/Command Prompt window??
    (redirecting the standard output to a file)
    And is there an easy way to create a EXE file that runs the program with the default JRE in windows?

    On many UNIX systems there's a utility called detach which will launch the following command in such a manner that killing the shell will not kill the process. On systems that lack this command, I'd find an open source implementation and install it.

  • Processing BDocs Errors in the background

    Hi,
    I was wondering whether the following is possible.
    We currently have BDocs errors in SMW01 on a regular basis.  This is because our users are opening the BP record in CRM and R/3.  There the BDoc error will have a message saying that the business partner is currently being processed by XXXX.  We can reprocess these BDocs and they are processed successfully.  What we would like to do is process these BUPA_MAIN BDoc errors in the background so we don't need to go into them manually.  I understand the program for transaction SMW01 is RSMW_SHOW_BDOC.  Has anyone ever taken a copy of this program and modified it so that it can process the above BDoc errors automatically in the background?  We are looking into this as our business process allows the user to launch a record in both CRM and R/3.  (Don't ask)
    Anyway if anyone has done anything similar - any tips would be much appreciated. 
    Thanks in advance.
    Regards
    JoJo

    Hi Jojo,
    I have not done anything similar but can point you in right direction.
    You can refer to class cl_smw_mflow which handles the middleware for messaging bdoc's.  You can write a bespoek program from scratch with some selection parameters and process the messaging bdocs by looking at the status of bdoc's. There is a function module 'SMW3_MFLOW_QPROCESSMBDOC' which allows to process the bdoc's by passing the header information.
    You can read the status of bdoc's & other header infromation from table SMW3_BDOC.
    Hope this helps.
    Surendar

  • How do you change the background color of a page in projects

    I'm making a new photo book in projects.  the theme I've selected has black pages.  I would prefer white pages but can not change the background or I would like to change the theme without having to start all over again.  I have no change theme button in the upper right hand corner.  Any suggestions?

    Don't know what version of iPhoto you're using but in iPhoto 8 (09) we have this to change the background in the Folio theme:
    Wereas in iPhoto 9 and later we have this:
    If you don't that in the version you're using try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Lion and Mt. Lion delete the contents the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder.
    3 - reboot, launch iPhoto and try again.
    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    If you're running Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.

  • Apps running in the background

    It seems to be if you have the app linked to a watch complication or you have it on your glances page, then those apps loads much faster.  I figure they are always running so the data can be displayed on the watch face or quickly at a glance.
    So if you have every possible app on your glances page, then your battery life would drain much faster than if you have fewer apps.
    I only have 3-4 apps on my glances page and I can easily get 20 hours of battery life, and this includes a 1 hour workout using GPS and HR monitoring.

    Tbh, the biggest battery drain is your email push settings. I'd look at those before worrying about terminating background apps.
    You can see everything that's running on your phone by using a "process monitor" app. I use one called "iStat". Unfortunately, iStat can only show you what's running, it can;t actually kill anything. It will definitely tell you which of the 1st party programs (browser, email, ipod) are running in the background.
    If you actually want to kill one of these, the procedure is:
    Open the app in question (e.g. launch the ipod app)
    Hold the power/sleep button until the red slider appears.
    Hold the sleep button for around 6 seconds (eventually the red slider will disappear and you will be returned to the home screen).
    Whichever app was running (e.g. ipod) will now be forced to close.
    ** note: To close safari, you can simply close all the "tabs" down, and then exit. If you close safari when there are no tabs in use, it will completely shut down.

  • Audio from flash sources is playing in the background, even though the sources of these have been closed.

    Audio from flash sources are still playing in the background after their sources have been closed; audio also starts playing when I start the browser. Closing plugin-container.exe in task manager solves this, but I do not want to do this every time I have audio in the background that should not be there. Not a good move to launch a browser where the kinks haven't been worked out. Have tried to inactivate addons etc. This problem is related to FF5, but have also happened earlier, with FF4. Solved that time by moving to Chrome instead.

    Sounds that the plugin-container process isn't closing properly.<br />
    See http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins
    There are other things that need attention.<br />
    You have a corrupted Firefox 3.6.13 user agent: Firefox/2.0.0.14;MEGAUPLOAD 1.0
    See:
    * [[Web sites or add-ons incorrectly report incompatible browser]]
    * http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • LabVIEW closes while VI's are still running in the background

    I have created a large application that is split between VB 6 and LV 6.1. The LabVIEW portion runs in the background, except that the VB portion can request that a LabVIEW user interface be presented on demand. Any time after this LabVIEW user interface has been opened and closed, opening and closing another application (or even just hiding a top-level window in another application) will cause LabVIEW to close, taking my background processing with it.
    If the LabVIEW code is running as source code, LabVIEW prompts me before closing. However, when the LabVIEW code is running as an executable (.exe), the executable closes without prompting in this circumstance.
    The scenario can be reproduced with a standard LabVIEW sample program. Proceed as follows:
    1) Open VBToLV.vbp (the example program distributed with LabVIEW 6.1).
    2) Start the VB program running.
    3) Press the Launch LabVIEW button on the user interface of the VB program.
    4) Enter an expression in the text box provided.
    5) Select Display VI Front Panel.
    6) Press the Run VI button.
    7) Close the VI front panel by clicking its "X" button.
    8) Open any handy application, such as Windows Explorer or Notepad.
    9) Close this most-recently-opened program.
    10) The LabVIEW Exit screen appears.
    11) Exit LabVIEW.
    12) Press the Run VI button.
    13) An error occurs because LabVIEW has closed.
    If the LabVIEW code had been built into an executable and called accordingly, there would have been no LabVIEW exit screen. The executable would have just exited silently.
    This is not the way a COM server is supposed to behave. The VB program is still holding a valid reference to the server and it should remain open.
    It appears that LabVIEW is monitoring the total number of top-level windows that are open. I suppose that this is how LabVIEW figures out when its own FP windows have been closed. In this case, it doesn't notice that all of its windows have been closed until some other window closes.
    I have a work-around, but it's ugly.
    Ron Martin
    Balance Technology Inc.

    Hi,
    Perhaps you use references to windows in LabVIEW. If you get those
    references with a full path (e.g. c:\code\subvis\vi1.vi), this will work
    while in LabVIEW environment. But when an application is build, this will
    fail, because the vi is no longer there. Try using the name in a string
    instead (the OpenVIReference is polymorphic) with only the name of the vi in
    it (e.g. vi1.vi).
    There are some other isues that change when building an application. Most of
    them are paths that change, and references that fail to open because of
    them.
    Regards,
    Wiebe.
    "cpuwzd" wrote in message
    news:[email protected]...
    > I have created a large application that is split between VB 6 and LV
    > 6.1. The LabVIEW portion runs in the background, except that the VB
    > portion can request that a LabVIEW user interface be presented on
    > demand. Any time after this LabVIEW user interface has been opened
    > and closed, opening and closing another application (or even just
    > hiding a top-level window in another application) will cause LabVIEW
    > to close, taking my background processing with it.
    >
    > If the LabVIEW code is running as source code, LabVIEW prompts me
    > before closing. However, when the LabVIEW code is running as an
    > executable (.exe), the executable closes without prompting in this
    > circumstance.
    >
    > The scenario can be reproduced with a standard LabVIEW sample program.
    > Proceed as follows:
    >
    > 1) Open VBToLV.vbp (the example program distributed with LabVIEW 6.1).
    > 2) Start the VB program running.
    > 3) Press the Launch LabVIEW button on the user interface of the VB
    > program.
    > 4) Enter an expression in the text box provided.
    > 5) Select Display VI Front Panel.
    > 6) Press the Run VI button.
    > 7) Close the VI front panel by clicking its "X" button.
    > 8) Open any handy application, such as Windows Explorer or Notepad.
    > 9) Close this most-recently-opened program.
    > 10) The LabVIEW Exit screen appears.
    > 11) Exit LabVIEW.
    > 12) Press the Run VI button.
    > 13) An error occurs because LabVIEW has closed.
    >
    > If the LabVIEW code had been built into an executable and called
    > accordingly, there would have been no LabVIEW exit screen. The
    > executable would have just exited silently.
    >
    > This is not the way a COM server is supposed to behave. The VB
    > program is still holding a valid reference to the server and it should
    > remain open.
    >
    > It appears that LabVIEW is monitoring the total number of top-level
    > windows that are open. I suppose that this is how LabVIEW figures out
    > when its own FP windows have been closed. In this case, it doesn't
    > notice that all of its windows have been closed until some other
    > window closes.
    >
    > I have a work-around, but it's ugly.
    >
    > Ron Martin
    > Balance Technology Inc.

  • Running AppleScript in the background

    Okay, yet another problem I'm having that I'm going to bug the community here with.
    Is it at all possible to run AppleScript while doing other things? For example, if I wanted my AppleScript to hop online every hour and send me back information from my site could I have it do this while I do other things? Or will I have to wait until it's completed?
    Say I wanted to create a script that hopped on my site and sent me the post number of the last post, could I have it do this while I do other things?
    Something like
    tell application "Safari" to activate
    tell application "System events"
    tell process "Safari"
    (enter code here to get post number and send it to me)
    end tell
    end tell
    I've tried doing it like this and it definitely doesn't work at all if I don't have the Safari window selected at all times, so is there any way in which I can run script in the background while I work on other things or does AppleScript require full control of my computer while it's working?

    Save this script just like the others I posted. The script will do exactly as you asked.
    <pre style="width:630px;height:auto;overflow-x:auto;overflow-y:hidden;"
    title="Copy this code and paste it into your Script Editor application.">property helloWorld : "Hello World "
    global numChars, charNum, x
    on run
    tell application "System Events" to set isRunning to exists process "TextEdit"
    if not isRunning then tell application "TextEdit" to launch
    tell application "TextEdit"
    if isRunning then make new document
    set name of window 1 to "Hello World"
    set numChars to number of characters in helloWorld
    set charNum to 0
    set x to 0
    end tell
    end run
    on idle
    try
    tell application "TextEdit"
    if x = numChars then
    set x to 1
    else
    set x to x + 1
    end if
    set charNum to charNum + 1
    set theChar to character x of helloWorld
    set character charNum of document 1 to theChar
    end tell
    on error
    quit
    end try
    return 0.1
    end idle
    on quit
    continue quit
    end quit</pre>

Maybe you are looking for

  • Difference in sharing between 2003, 2008 and 20012

    Hi, We have a Dell 3115cn printer. This printer is able to scan a doc to a share, SMB Port 139. When I create a share on a Windows 2003 or Windows 2008 server, there is no problem scanning to this share. But on a 2012 server the printer is not able t

  • Unable to view .wmf thumbnail pictures - Windows 8

    Hello, I am unable to view the thumbnail pictures of a Microsoft clipart image on my computer.  I have had this problem before and I can't remember where I found a quick little patch/download to fix this problem. Does any one know how to fix this pro

  • "publish" not making changes

    I've updated the site and click "publish" but the changes to not appear. I've saved it and such... what should I do? thanks! LP

  • Clone stamp acting different?

    I am just noticing my CS5 clone stamp seems to hold the area i sourced from as i move the brush around. Is this some new behavior or can i disable it? it is very annoying to see more than just my circular brush shape.

  • Pagefile gets deleted after reboot

    I have moved the pagefile to another partition and left a small piece on the system drive: C: (Windows) 200-500 MB B: (Temp) 4000-16000 MB When I set the pagefile size, the pagefile gets created immediately, but after reboot it gets deleted again and