JPF and backing file

I have just started using BEA portal. JPF has controller that handles all the action processings. Backing file has callback handlers to perform the same. Is the backing file concept prior to JPF's were introduced or they still go hand in hand? When does a JPF based portlet need to have a backing file as well?
Any clarifications will be apprecieted.
Thanks
-SDD

No, you don't need backing files to write portlets. The primary purpose
of backing files is to let you interact with the portal's aggregation
framework directly. You can think of backing files as an intermediary
between the framework and your JPF.
Subbu
Shiv Dhondiyal wrote:
I have just started using BEA portal. JPF has controller that handles all the action processings. Backing file has callback handlers to perform the same. Is the backing file concept prior to JPF's were introduced or they still go hand in hand? When does a JPF based portlet need to have a backing file as well?
Any clarifications will be apprecieted.
Thanks
-SDD

Similar Messages

  • Controller Java Page Flow and Backing file

    Hello all,
    I am very confused with the controller and the backing file, for example, I have a login page, I would like to flow to another page after I successfully login, which method I should use.
    Thanks and best regards
    Spencer

    u can use the validation technique provided by the weblogic.

  • Portlet backing file and include

    If I have a backing file, is there way to include another page in the
    handlePostback() method or preRender() method? Don't want to change the
    whole page, just the contents of the portlet...

    According to the documentation, here is the difference:
    Scoping and Backing Files
    The difference between having a backing file as part of <netuix: portlet backingfile =some_value> or part of <netuix: jspContent backingfile=some_value> is related to scoping.
    For example, if you have the backing file on the portlet itself, you can actually stop the portlet from rendering. If the backing file is at the jspContent level, the portlet portion of the control tree has already run; you use this implementation to run processes that are specifically for the JSP in the portlet.
    See http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/building.html#wp1077130 for more info.
    Brad

  • Portlet backing file vs content backing file

    Hi,
    could someone explain the differences between a "portlet backing file" and a "content backing file". Both are properties available on a portlet.
    Thx
    Emmanuel

    According to the documentation, here is the difference:
    Scoping and Backing Files
    The difference between having a backing file as part of <netuix: portlet backingfile =some_value> or part of <netuix: jspContent backingfile=some_value> is related to scoping.
    For example, if you have the backing file on the portlet itself, you can actually stop the portlet from rendering. If the backing file is at the jspContent level, the portlet portion of the control tree has already run; you use this implementation to run processes that are specifically for the JSP in the portlet.
    See http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/building.html#wp1077130 for more info.
    Brad

  • Changing shell, look & feel dynamically in desktop backing file

    (I apologize if this post is showing up twice - I tried posting with
    google groups but it doesn't appear at forums.bea.com, so I wanted to
    post again using xnews to make sure it shows up.)
    I have a backing file that I am using with my desktop and I need to be
    able to change the shell and look & feel dynamically, based on the page
    that is currently active. I am doing the following in the preRender()
    method:
    String newLAF = "myLookAndFeel";
    String newShell = "myShell";
    // here is where I would determine the appropriate LAF and shell based on the current page
    customizationContext = new CustomizationContext(Locale.getDefault(), request);
    customizationContext.setVisitorMode(true);
    DesktopView desktopView =
    PortalBeanManager.getPortalCustomizationManager().getDesktopView(customizationContext, webAppName, new PortalPath(portalPath), new DesktopPath(desktopPath));
    DesktopInstanceId dii = desktopView.getDesktopInstanceId();
    DesktopInstance di = PortalBeanManager.getPortalCustomizationManager().getDesktopInstance(customizationContext, dii);
    LookAndFeelDefinitionId lookAndFeelId = null;
    for(int i = 0, n = lookAndFeelDefinitions.length; i < n; i++) {
    if(newLAF.equals(lookAndFeelDefinitions.getDefinitionLabel())) {
    lookAndFeelId = lookAndFeelDefinitions[i].getLookAndFeelDefinitionId();
    break;
    di.setLookAndFeelDefinitionId(lookAndFeelId);
    ShellDefinitionManager shellManager = PortalBeanManager.getShellDefinitionManager();
    ShellDefinitionId shellId = null;
    ShellDefinition[] shellDefinitions = getShellDefinitions(webAppName, request.getLocale(), request);
    for(int i = 0, n = shellDefinitions.length; i < n; i++) {
    String shellName = shellManager.getShellView(customizationContext, shellDefinitions[i].getShellDefinitionId()).getMarkupView().getMarkupDefinition().getName();
    if(newShell.equals(shellName)) {
    shellId = shellDefinitions[i].getShellDefinitionId();
    break;
    di.setShellDefinitionId(shellId);
    PortalBeanManager.getPortalCustomizationManager().updateDesktopInstance(customizationContext, di);
    This works just fine, but I once the portal renders itself in my
    browser, I usually have to refresh the page before the changes to the
    shell and look & feel are visible. I would like to do this in the
    init() method of the backing file but I do not know how to determine
    the current active page from within init.
    I would appreciate any help you all could give me in finding a solution
    so I do not have to refresh the page in order to see the shell and look
    & feel changes. Thanks in advance!
    Andy

    We essentially have 2 "portals" running inside 1 .portal file. We'd
    like to be able to use single sign on and entitlements to allow/restrict
    access to various parts of the 2 portals (where certain books are
    consider part of portal "A" and others part of portal "B"). If you are
    logged in as a super-user, you will be able to access everything. If
    you are logged in as user type "A" you can only access portal "A," and
    similarly for user type "B" and portal "B."
    Portals A and B have each have a distinct header, footer (i.e. shell),
    and look and feel (skeleton and skin). If a super-user is looking at
    portal A, the portal should have portal A's header, footer, and look and
    feel, and similarly for portal B.
    How would you recommend we accomplish this? Would it make more sense
    (and is it possible) to have the header and footer jsps determine what
    content to render based on the current book or page, and then use the
    code you suggested below to change the look and feel dynamically?
    Thanks,
    Andy
    jolleyc wrote:
    in order to pick up the changes for that request you will need to do a redirect back to the server (our login examples shwo you how to do this). this is because the control tree has already been retrieved from the database (so you need to go back and get a new version).
    I quick note: If you plan on doing this a lot this is quite a heavy process. if you just need to change the lookAndFeel on the fly you can look at the following ( i t think this is in the tutorial portal)
    A) Modify the shell to include a jsp and backing file
    <netuix:header>
    <netuix:jspContent backingFile="com.acme.DynamicLookAndFeelHeaderBacking" contentUri="/portlets/lookAndFeel/dynamicLookAndFeelHeader/dynamicLookAndFeelHeader.jsp"/>
    </netuix:header>
    B) backing file looks like
    public void init(HttpServletRequest request, HttpServletResponse response)
    // Get the session from the request
    HttpSession session = request.getSession();
    // Get the LookAndFeel object from the PrimaryTheme in the request
    LookAndFeel lookAndFeel = LookAndFeel.getLookAndFeel(request);
    if (request.getParameter("defaultButton") != null)
    session.setAttribute("skin", "default");
    if (request.getParameter("textButton") != null)
    session.setAttribute("skin", "text");
    if (request.getParameter("classicButton") != null)
    session.setAttribute("skin", "classic");
    String selectedSkin = (String) session.getAttribute("skin");
    if (selectedSkin != null)
    lookAndFeel.setSkin(selectedSkin);
    lookAndFeel.setSkeleton(selectedSkin);
    lookAndFeel.reinit();

  • My external hard drive is 'seen' by my iMac and I can go into the Finder and open files and folders. I am using the hard drive for Time Machine back up. However Time Machine says it can't find the drive. Same thing has happened with Final Cut Express.

    My new LaCie external hard drive is 'seen' by my iMac and I can go into the Finder and open files and folders. I am using the hard drive for Time Machine back up. However Time Machine says it can't find the drive.
    The same thing happened recently between Final Cut Express and my other LaCie external hard drive used as the Scratch disk. It fixed itself.
    I've run out of ideas. Help would be very much appreciated. Thanks.

    have you done some searches on FCPx and time machine? Is there a known issue with using a TM drive with FCPx? dunno but ...wait...I'll take 60 sec for you cause I'm just that kind of guy....   google...." fcpx time machine problem"  Frist page link 
    http://www.premiumbeat.com/blog/fcpx-bug-best-practices-for-using-external-hard- drives-and-final-cut-pro-x/
           You cannot have time machine backups on your hard drive if you intend to use it in FCPX.
    booya!

  • Does anyone know how I can copy photo and video files from the Photo's app on my Macbook, to a USB stick or other external back-up?

    I've updated the software on my Macbook to the most recent version; regretting it now; and iPhoto has now become the Photo's app.
    The problem is I can no longer back up my photo and video files taken on my phone, saved to my mac, by copying them and saving them on a USB stick or other external hard drive.
    I could easily do this with iPhoto, but now Photos app does not let me copy the files when I select them.
    Does anyone know if there's a way to save, copy or back-up my photo's and video files: prefreably one that doesn't involve iCloud, as I don't feel like paying for more storage; there must be some way to access those photos/videos from my iPhone to save on another source?

    The problem is I can no longer back up my photo and video files taken on my phone, saved to my mac, by copying them and saving them on a USB stick or other external hard drive.
    Select the photos and videos in Photos and use the command "File > Export"  and select a folder on your USB stick to save the photos to.

  • I was messing with the computer, not sure what i hit but now all my toolbars at the top of the screen are gone? (file, edit, history, tools and my forward and back button). Please help me get these settings back to the way they were?

    My file, edit, view, history, bookmarks, tools, and help buttons at the top of the screen are gone, along with my forward and back button.

    For details of how to restore it, see https://support.mozilla.com/kb/menu+bar+is+missing
    Once the menu bar is restored, you can use the Toolbars entry in the View menu to restore other toolbars such as the navigation toolbar.

  • My ipod nano was synced by itunes and removed all of my music and game files. I am in the process of adding my music back one cd at a time, but there is no history of tetris that I paid for from the itunes store. How can I get this game back for my ipod?

    My ipod nano was synced by itunes and removed all of my music and game files, and replaced my music with my kids music that they have put into the current itunes library. My music is nowhere to be found on my computer, so now  I am in the long, forever process of adding my music back one cd at a time, but there is no history of tetris that I paid for from the itunes store. How can I get this game back for my ipod?

    Contact iTunes support and explain your situation to them.  They may let you redownload it at no cost.
    http://www.apple.com/support/itunes/contact.html
    If they don't, I'm afraid you'll have to purchase it again.  Sorry.
    B-rock

  • I have uploaded raw and jpeg files directly from my camera to my iPad (latest version) I have processed them in snapseed and want now to transfer back to my pc for further processing. How can I do this will a flash drive work?

    I have processed my raw and jpeg files on my iPad using Snapseed . What format are they saved in on the iPad and how do I transfer them back to my pc where I use photoshop elements. Can I use just an ordinary flaws drive with the USB adaptor? Thanks any help would be appreciated.
    Lynne

    The camera connection kit can only be used to import photo/video files form a camera, SD card or USB flash drive. You can't import other types of files. You can't export any type of files using the camera connection kit.
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
     Cheers, Tom

  • Just updated to iOS8 and most of my music disappeared.  Attempted to sync with iTunes to get it back but iTunes now says I am 26GB over capacity and "Other" files are taking up just over 29GB!  What is going on and how do I fix this?

    iPhone 5 (64GB)
    iTunes 11.4.0.18 (64-bit Win7)
    Just updated my iPhone 5 to iOS8 and most of my music disappeared.  Attempted to sync with iTunes to get it back but iTunes now says I am 26GB over capacity and "Other" files are taking up just over 29GB!  What is going on and how do I fix this?

    I had restored my iPhone 5 to factory settings and that cleared the problematic "Other" problem.  Flash forward a couple weeks and the problem has once again resurfaced.
    I tried updating iTunes and iOS to the newest versions and the problem still persists.
    I'm officially ready to switch to Windows Phone or Android now...
    *edit*
    A Google search with results restricted to the last month shows that this problem seems to be becoming more and more common.
    https://www.google.com/webhp?sourceid=chrome-instant&rlz=1C1CHFX_enUS506US506&io n=1&espv=2&ie=UTF-8#q=itunes+other+space+iphone+site:discussions.apple.com&tbs=q dr:m

  • Cannot reinstate catalog after returning PC (Windows 7) to factory settings (because of worm infection). Catalog was backed up on external drive but not using PSE backup facility. Cannot find and *.tly file. Is this hopeless?

    Cannot reinstate catalog after returning PC (Windows 7) to factory settings (because of worm infection). Catalog was backed up on external drive but not using PSE backup facility. Cannot find and *.tly file. Is this hopeless?

    If you made backups of all of your photos and your catalog file using some third-party method (i.e. not using the PSE catalog backup command), then you should be able to restore everything.
    Step 1. Put the photos in the EXACT SAME LOCATION as before. For example, if they were in subfolders of C:\Users\<username>\Documents, then they must go into the exact same subfolders of C:\Users\<username>\Documents.
    Step 2. Move the catalog file to wherever you want it to be, and then double-click on it.

  • FAQ: Will my Elements 11 software be able to automatically sync and back up files to Revel?

    Q: Will my Elements software be able to automatically sync and back up files to Revel?
    A: Revel offers easy publishing from Elements to the iOS platform and the web. We look forward to adding more automated features in the future.
    Elements 11 is integrated with Revel, so you can share your photos to Revel for access on the web and across your mobile devices.
    You can also view "Working with Adobe Revel" on Adobe TV.
    With Photoshop Elements 11 you can import photos directly from Revel for editing and creating, and you can share photos from your Elements 11 Organizer to AdobeRevel.com. By Selecting from the File menu "Import from Adobe Revel" or "Export to Adobe Revel"
    Just as before, you can share via email or upload your media directly to Facebook, Flickr, YouTube™, and other popular sharing sites and now you can share photos to Adobe Revel. Just click the Adobe Revel icon at the bottom of the list to upload your photos.

    Yes all your files are in your Time Machine backup. If you never used Time Machine your files are probably gone for good. Especially if you can't get the system to boot up. It is very hard to retrieve files from a SSD.
    Once a Mac reports No Hardware Installed for some piece of built in hardware, like the WiFi card, usually that is caused by the failure of that piece of hardware. The only way to fix that is to replace that piece of hardware.

  • Move a file to another computer and back and keep links from breaking?

    I have a high school kid neighbor who is going to work on some pages that are on my site, but she does not have the site or access to the server.  I want to give her the page on a thumb drive to work on in Dreamweaver on her computer. The pages have links and graphics already in them that work.  After she updates the words on the page, I want to then get it back from her and put it back into my local disk version. 
    When I tried this, all the existing  links to the images were broken when I copied her page back into my local Dreamweaver site folder .  How should I move the page to her computer and back so that when I get it back the image and other links that were valid when I gave it to her are still valid?  Using the Mac's Operating system file manager isn't the answer it seems.
    Thanks
    Hank

    Hi Hank,
    one possibility would be your school kid neighbor generates by using a file manager a directory tree that is a mirror image of your tree. For example:
    So the respective links should be identical.
    Hans-G.

  • I Can't Play .MP4 and .mkv Files Backed up in Time Machine

    I backed up My Macbook to an external hard drive in my passport / Time Machine.  I am attempting to play both .mp4 and mkv files in quicktime and vlc respectively.  They worked when they were on my computer, but I they won't open now.  I even tried to copy them to my computer and play them that way.  When I click on info, it shows the file size, and it seems normal.  I updated both Quicktime and vlc, and it still doesn't work.  Please help.

    You wrote in your first post:
    I even tried to copy them to my computer and play them that way.  When I click on info, it shows the file size, and it seems normal.
    Then you wrote:
    when it restored it, the file size was zero
    Which of those statements is true?

Maybe you are looking for

  • Multiple database users, ORM, entity framework, best practices

    Hello everyone! You've already helped me several times, however I must ask for an advice once more. I was assigned to develop .NET application with Data Access Layer and I've decided to use Oracle Database Software to provide sample data. As I'm abso

  • Cannot attach multiple photos using the ' Message ' option iOS 5.0.1 in  ' Photos ' app.

    Since i have updated my iPhone 4 to iOS 5.0.1 i cannot attach multiple photos using the ' Message ' option in the  ' Photos ' app. i browse my photos and then select ' Message ' on a photo. i am then able to attach the first image to the message. Whe

  • Use of Project Coding Mask

    Hi, Could you please tell the usage of Project coding mask. Is it useful for creating for WBS elements with specific hierarchy or to search the WBS elements?

  • Combine 2 Answers and divide the results

    Hello, Is it possible to further calculations of results of two-generated queries. I created two queries. The results can I view in the dashboard. However, I am unable to carry out further calculations with the results. Now I wanted to divide a query

  • Function problems

    I am currently trying to learn AS3 after only really knowing basic AS2. Anyways, I am working within FlashCS3 using its integrated actionscript editor. So far I am having a problem that I can't seem to find an answer for. I make the Document class of