Help: How do I get to the current desktop?

I've tried to dynamically load a new Shell, Look and Feel, Navigation Menu but it requires access to the current Desktop. Is there any methods I can use to get to that desktop (DesktopView, DesktopInstanceId, DesktopInstance) via the request object?
Thanks.
Vu

From a JSP you should use the DesktopPresentationContext:
DesktopPresentationContext dpc = DesktopPresentationContext.getDesktopPresentationContext(request);
From a backing file you should use the DesktopBackingContext:
DesktopBackingContext dbc = BackingPresentationContext(request);
Or are you trying to do something else? There is an EJB manager that provides access to definitions, views, etc.:
AppContext ac = AppContext.getAppContext(request);
InitialContext ic = new InitialContext();
DesktopDefinitionManagerHome home = (DesktopDefinitionManagerHome) PortableRemoteObject.narrow(ic.lookup("java:comp/env/ejb/DesktopDefinitionManager"), DesktopDefinitionManagerHome.class);
DesktopDefinitionManager mgr = home.create();
CustomizationContext cc = new CustomizationContext(request);
DesktopDefinition[] dd = mgr.getDesktopDefinitions(cc, ac.getWebAppName());
Or is there something else you're trying to do?
Cheers,
Skip

Similar Messages

  • Please Help,how do i get my iphone 4 to play all my songs from icloud, it is currently only playing just a smal number of songs from my library which is stored in icloud.

    Please Help,how do i get my iphone 4 to play all my songs from icloud, it is currently only playing just a smal number of songs from my library which is stored in icloud.

    There are a number of OS X apps, many free, that will save your messages, allowing to view and print them. 
    http://www.softwarebbs.com/wiki/How_to_transfer_SMS_from_iPhone_to_Mac,_backup_i Phone_SMS_message_on_Mac
    Google, for other options
    Your "other" of 6 GB may include corrupted data or file sytem errors. If after removing the messages there is still >2GB, you will need to restore the phone in iTunes, first using a backup (made after deleting the messages) and if needed as a new iPhone.
    iTunes: Restoring iOS software

  • How do I get all the songs from an album to show in the album view?  Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod.  How do I get all the songs on that album togeth

    How do I get all the songs from an album to show in the album view?  Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod.  How do I get all the songs on that album together on my iPod?  If the album is a collaboration wtih many artists, each sond may appear as a separate album.

    I used to have this problem.
    First, you need to go back on iTunes
    you need to go to each of the songs that are having this problem
    Click the album so all the songs drop down
    Right click the songs that have this problem
    Click ' Get info '
    Click the tab that says " info '
    The box that says ' album artist ' should probably be empty (correct me if I'm wrong)
    Click it and type the artist of the entire album, NOT the songs guest artist
    as such,
    ARTIST
    JAY-Z Feat. Justin Timberlake
    ALBUM ARTIST
    JAY-Z
    These should be separate for each artist
    If you write the same album artists for each song by that artist, all the songs should be on 1 album

  • How do I get to the start page when I'm not on it currently? there used to be a buttom for it

    I recently updated to version 6.0.2 of Firefox. This version doesn't seem to have a "home page" button. How do I get to the home page when I'm currently not on it? I shouldn't have to press the "backpage" button until I get there or type it in to get there.

    You can find the toolbar Home button at the far right end of the Navigation Toolbar.
    You can drag the Home button from its current position at the right to the previous position at the left of the location bar if you do not like that new position.
    * http://kb.mozillazine.org/Toolbar_customization

  • How do I get to the screen in Mail that allows you to delete multiple "Previous Recipients"  from the list? I have seen it but cannot find it again. Help.

    How do I get to the screen in Mail that allows you to delete multiple "Previous Recipients"  from the list? I have seen this screen but cannot find it again. It shows all of the "Previous Recipients" in a long list. You can edit the list by selecting multiple names or all names with the command key and delete. Help.

    Launch the Mail app on your Mac and go to Window>Previous Recipients.

  • I have lost the bar at the top of the screen , tools, edit, view, history, bookmarks, tools, help, how do i get it back ,

    hi, i have lost the bar at the top of the screen, which has file, edit, view, history, bookmarks, tools, help, how do i get it back please, will br gratefull fo any answers.

    Hit the '''Alt''' key ''(Cmd for Mac)'' to show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark.

  • How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    Try asking at ifixit.com. The iPhone is not considered user servicable. You're not going to get much help on an Apple sponsored forum.

  • How do I get back the File Edit View History Bookmarks Yahoo! Tools Help that used to be at the top of the browser window above the taps

    how do I get back the "File Edit View History Bookmarks Yahoo! Tools Help" line of text that I could click on for options that used to be at the top of the browser window above the taps

    I did that (I think I did) however the confusion is that I get only part of the menu and not the most important menu items like "file" "edit" etc. with all the drop downs. It is so freaky - my other computers have no problem like this and I and show the menu bar or not just like you described. I really doubt anyone really understands my problem with it. I took some screen shots of the good computer version and the bad one so someone can "see" exactly what I am seeing. This may be a one of a kind gremlin issue, LOL. Anyway, without those menu items, I am very limited on the usefulness of FireFox on that computer so I have to rely more on Chrome for those features and use the FireFox with Billeo and other tools that still work. Someday it may magically fix itself, LOL.
    Of the two images, one is the good computer and the other is the bad. The bad one shows the only way to see the menu items however they disappear after I am done with the custom menu and no other time can I get the items to "appear" it is like they are there but cannot get them to show when in the normal menu bar mode.

  • I have Mac OSX maxmini; Safari states "can't open server since starting with 'open-help-anchor'.  How do I get into the web site this is blocking?

    I have Mac Mini OSX 10.6.2; Safari states "can't open server since url starting with 'open-help-anchor'.  I didn't type this but possibly I was hijacked but it only occurs on the specific banking site I'm trying to get into.  How do I get into the web site I've always been able to get but now this is blocking it?   Is this related to cookies?

    https://discussions.apple.com/message/25085868#25085868
    I started a thread in safari maverics, I ment to put it in iOS Safari.  New Thread lists all the steps I've taken.  No I haven't tried another browser.  I've only ever used Safari on my iDevices.

  • The new ios7 is horrible how can i downgrade? my messages keeps freezing im frustrated im very close to going ANDROID any one can help how do i get in touch with apple directly?

    the new ios7 is horrible how can i downgrade? my messages keeps freezing im frustrated im very close to going ANDROID any one can help how do i get in touch with apple directly?

    gorxxx83 wrote:
    the new ios7 is horrible how can i downgrade? my messages keeps freezing im frustrated im very close to going ANDROID any one can help how do i get in touch with apple directly?
    Downgrading is not supported.
    Here are some basic troubloeshooting tips:
    - Quit the App by opening multi-tasking bar, and swiping the App upward to make it disappear.  (For iOS 6, holding down the icon for the App for about 3-5 seconds, and then tap the red circle with the white minus sign.)
    - Relaunch the App and try again.
      - Restart the device. http://support.apple.com/kb/ht1430
    - Reset the device. (Same article as above.)
    - Reset All Settings (Settings > General > Reset > Reset All Settings)
    - Restore from backup. http://support.apple.com/kb/ht1766 (If you don't have a backup, make one now, then skip to the next step.)
    - Restore as new device. http://support.apple.com/kb/HT4137  For this step, do not re-download ANYTHING, and do not sign into your Apple ID.
    - Test the issue after each step.  If the last one does not resolve the issue, it is likely a hardware problem.
    If you want to contact Apple directly, call 1-800-MYAPPLE (1-800-692-7753), or go to getsupport.apple.com. 
    Don't waste your time asking for a downgrade of the iOS.  That's not an option.

  • TS3988 How do I get ICLOUD the verification email resent. I can't find any informationon this. Step by step instructions would really be a big help.

    How do I get ICLOUD the verification email resent. I can't find any informationon this. Step by step instructions would really be a big help.

    etresoft  a long time contributer to Apple Support Communities wrote a very useful app he called etrecheck which helps in diagnosing many problems caused by third party installs etc.. Go to his website, read his information and from there download and run the program according to his instructions
    http://www.etresoft.com/etrecheck
    Post the results back here
    Pete

  • Hi. I clicked some snaps from my iphone and post that without copying it i restored the iphone with all apps etc available from the backup taken. How do i get back the photos which were clicked earlier. Is there a way to get it back?? Please help

    Hi. I clicked some snaps from my iphone and post that without copying it i restored the iphone with all apps etc available from the backup taken. How do i get back the photos which were clicked earlier. Is there a way to get it back?? Please help

    Yes i had not taken back up before restoring it. However i was just going through some links on the net and there is a software available for MAC to retrieve such lost data. But the point is will the said software work on iphone as the OS is not MAC..
    Will have to give a try to this. If successful will share it with all. Anyone else has any idea about this please so share.

  • Downloaded 3.6 version of firefox and it changed my favorites, quicken, other files back to 1.5 yrs ago. How do I get back the info it has erased or hidden from me???

    Question
    Today downloaded 3.6 version of firefox and it changed my favorites, quicken, other files back to 1.5 yrs ago. How do I get back the info it has erased or hidden from me???

    What do you mean by '''''"changed my favorites, quicken, other files back to 1.5 yrs ago"'''''? More detail please.
    <br />
    You have an item installed that is considered malware/spyware/adware. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Ask Toolbar Plugin Stub for 32-bit Windows
    Unfortunately, it is becoming more and more common for these kinds of "extras" (toolbars, security scanners, etc.) to be added to your browser/system/desktop when adding or updating other software, some from very well-know software vendors. You must carefully read information before downloading any "free" software and be very alert during the install process for any opportunity to opt-out of "extras" being installed.
    '''<u>If you have the Ask Toolbar</u>'''<br />
    * First try to disable or uninstall the Ask Toolbar in Firefox via "Tools -> Add-ons -> Extensions". See: [[Uninstalling add-ons]]<br />
    *In some cases, you may need to uninstall the Ask Toolbar using Windows Control Panel .
    **See [http://support.mozilla.com/en-US/kb/Cannot+uninstall+an+add-on#Uninstall_from_Windows_Control_Panel Cannot uninstall an add-on - Uninstall from Windows Add/Remove Programs].
    '''<u>You '''MAY''' need to reset your homepage</u>''' if an Ask search page opens when first starting Firefox. Firefox can open multiple home pages. Home pages are separated by the "|" symbol.
    *See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    '''<u>You ''MAY'' need to reset a preference</u>''' if searches from the URL/location bar take you to an Ask search page.<br />
    To reset the preference related to Ask search from the URL/location bar via about:config, specifically the keyword.URL preference -<br />
    *Open a new tab or window.
    *Type '''''about:config''''' in the URL/address bar and press the Enter key
    *If you see a warning, accept it (promise to be careful)
    *Filter = keyword.url
    *Right-click on the preference below the Filter, and choose Reset
    *Restart Firefox (File > Restart Firefox)
    *See: http://kb.mozillazine.org/Keyword.URL for details.
    Also see:<br />
    * http://kb.mozillazine.org/Problematic_extensions#Ask_Toolbar
    * http://kb.mozillazine.org/Uninstalling_toolbars
    <br />
    '''Other issues that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.3"
    **New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Shockwave Flash 10.1 r82
    *Next Generation Java Plug-in 1.6.0_19 for Mozilla browsers
    **4 updates behind
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''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'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*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'''. 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://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: 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
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • I erased my recipes from my Ipad.Help how do I get them back_

    I erased my recipes form my notes on my Ipad.Help how do I get them back_

    Welcome to the Apple Community.
    The difficulty in restoring iCloud data from a back up is that the back up is older than the current version on iCloud and anything that is restored gets removed again when an iCloud sync occurs. I have previously suggested ways to recover contacts, calendars etc, and other users have confirmed that they work, as such I am making the following suggestions to recover lost notes, but please note, as yet success is unconfirmed.
    Recovering your notes is quite time consuming, you may wish not to save all your notes to save some time, if they are not of importance.
        1.    Ensure the device is connected to your local network.
        2.    Start the restore from iCloud back up.
        3.    Allow the devices settings to restore (watch for the confirmation of completion).
        4.    As the apps begin to restore pull the connection to your router WAN port (the one that goes to the telephone point).
        5.    Wait for the time out confirmation.
        6.    Open the 'Notes' app, and open your first note (assuming your deleted notes have now been restored).
        7.    Select the share option at the foot of the screen (rectangle with arrow) and choose mail.
        8.    Send the email to yourself (If they won't send, save them to draft)
        9.    Repeat steps 7 & 8, until you have copied all the notes you wish to save to email.
        10.    Reconnect the router to the internet and let the restore process complete.
        11.    Navigate to settings > iCloud and make sure 'Notes' syncing is enabled.
        12.    Open the 'Notes' app, check that iCloud notes have reverted to how they were before starting the restore.
        13.    Open the 'Mail' app and open the first email you sent yourself and copy the text you want in the note.
        14.    Open the 'Notes' app and create a new note in the iCloud, paste the text you copied.
        15.    Go to iCloud.com on a computer and check that the note has synced to iCloud.
        16.    Repeat steps 12, 13 & 14 until you have recovered all your notes.
    May I suggest that you carry out a back up to iTunes before you try anything, that way should things become even worse, you can at least restore back to where you are now.

  • How can I get just the text to resize, rather than the entire web page?

    I used to be able to re-size just text on a webpage by typing Ctrl + +. Today, the entire webpage re-sizes, and when I move to another page it reverts. (I see this mostly in Facebook.). Why did this change, and can I go back to having just the text re-size?

    ''How can I get just the text to resize -- zoom text only''
    steps
    #"Alt" if no menu bar, then
    # View > Zoom > Zoom Text Only
    Zoom text of web pages - MozillaZine Knowledge Base
    :http://kb.mozillazine.org/Zoom_text_of_web_pages
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

Maybe you are looking for

  • Print Button on Customer Fact Sheet

    Hello guys, we are using Fact Sheet in Portal out of CRM. On Top of this there has to be an iView Account-Selector (com.sap.pct.crm.fct.account.selector). In this iView is an Button Print, which makes it possible to Print Fact Sheet in IE. This butto

  • Windows 7 and Arch linux dual boot problem

    hey guys I had an issue with windows 7 dual booted with arch and i was just wondering my windows 7 crashed. I had Reinstalled windows OS and all my partitions are set up but now when I try to boot up arch I cant at all cause windows Boot took over an

  • ACPI Ethernet driver for Win 7?

    Hello I've no idea if I am even near the correct place to be. Would love to find out from someone who knows where I can find on Microsoft's web-site, the  ethernet driver for acpi. It turns out I haven't one on my computer and how I lost it is anyone

  • White light, no display or startup

    So I'm deep into the trail of tears with my MBP 2.4 a1229. I very cleverly spilled some hot tea on my display which essentially killed it. 2/3 dead but everything else worked. I hooked it up to an external monitor and used it for a few days while wai

  • How does tagging work?

    I see there is a show by tags feature in the ios app. How does tagging work?