Alternative approaches for Portlet backing File

Hi All,
What would be the best alternate approach if i need to replace all the portlet backing files?
Thanks in Advance,
Mohan

Hello Mohan,
Can you describe your issue in more detail? Why would you need to replace the backing files, and what would you be replacing them with?
Kevin

Similar Messages

  • 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

  • Is it possible to use a portlet backing file on the dvt_enabler portlet?

    We currently have a 9.2 portal with a simple login form portlet that uses a backing file to do much security checking, authentication against ActiveDir, etc. Our requirement is to convert to WLP 10.3 using the DVT enabler portlet or something like it for login (because DVT/DISC is to be turned on for the portal). will it be possible to specify that backing file against the DVT enabler portlet?

    I'm not sure using the DVT enabler portlet will do what you want. It basically just specifies the render dependencies to bring in the dojo and dvt javascript libraries. It doesn't provide any login support itself; the javascript it brings responds to the logged-in state of the user (accessed via DISC), so something else is required to login the user.
    Greg

  • Calling Portlet Backing File

    Hi,
    Is it possible to call a method from a backing file during the portlet render phase? That is, call it from within the JSP.
    thanks,
    Ricardo Seabra

    so not sure what your use case is...
    you can't call the backing file directly but you can put something in the request and then during the dispose() lifecycle of the backing file you could look for that thing in the request and then call some method.
    Chris Jolley
    Portal Architect

  • 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

  • Best approach for storing XML files long term

    We have a legal requirement to store the XML files that relate to SAP billing documents for 10 years. (This is a "digital seal" requirement in Mexico.) The files will be sent to SAP server by the third party software. We'll attach them as GOS objects to the billing documents, but we need another option for safekeeping the files for 10 years. Files need to be accessible somewhat easily if there is an audit down the road. We expect to have about 500 files per month, 5k each.
    The simplest solution that comes to mind is just to copy the files to a designated folder (or rather several folders by year or month) and backing it up regularly, but I'm wondering if there could be another solution.
    Has anyone had a similar requirement and what approach would you recommend? I'm also checking with our Basis support, but thought I'd ask here as well.
    Thank you.

    You may also check here: http://help.sap.com/saphelp_nw70/helpdata/en/26/72a1376f6cd903e10000009b38f8cf/content.htm

  • Detection portlet backing file under weblogic portal

    Hi all
    I am try to work out a interportlet communication example under instruction listed below
    http://download.oracle.com/docs/cd/E13218_01/wlp/docs92/portlets/ipc.html#wp1025202
    Everything works fine until add action to a backing file. I cannot find such option under event handler wizard. From the documentation, it mentions that
    "The Invoke BackingFile selection will not appear unless a backing file is detected by WebLogic Portal. "
    Is any way that can trigger weblogic portal to detect particular backing file? or any example that I can refer to setup such action manually?
    Any help would be apprectiate, thanks.
    wayne

    Hello Wayne,
    The WebLogic Portal forum is a better place to ask WLP questions:
    WebLogic Portal
    However, to answer your question, you can add a backing file to the portlet in Workshop, or manually in the .portlet file as described (at the bottom of the section) here:
    http://download.oracle.com/docs/cd/E13218_01/wlp/docs92/portlets/building.html#wp1077130
    Kevin

  • How to use portlet backing file if I choose book properties edit table true

    I don't know how to use the property,please tell me!
    thank you

    If you want a backing file to be run while rendering a book, you should specify your file in Backing property of the book. Is that what you are trying to do?

  • Alternative APIs for reading Zip files?

    Hi all.
    At the moment, our application handles zip files by copying the zip file to the temp directory and then creating a new ZipFile. However, the larger the zip file we encounter, the slower this copy becomes. We also need random access to the Zip file, so the usual workaround of using ZipInputStream is also slow, although slightly faster for random access than copying the entire file.
    I raised a bug requesting a better constructor for ZipFile, but it was turned down as they seemed to think I didn't want random access.
    But does anyone know of any alternative APIs which can access Zip files in a more random access fashion? I've discovered a few other alternative implementations of ZipFile, but all of them so far have had this issue of requiring a File.

    intensive. I am basically searching through zip
    files to find a file and then taking that inputstream
    for processing. I am basically looping through the
    zip file until i match the filename....pretty crazy.I think it is pretty I/O intensive...hence slower
    to see what I can do to increase performance. I am
    using the following parameters:
    -Xms512m -Xmx1024M -Xss16M -XX:ThreadStackSize=256
    -XX:MaxPermSize=256m
    Parameters look ok. I am not sure what -XX:ThreadStackSize will do as -Xss also sets the stack size? you can also try to pass -server and keep both Xms and Xmx to 1024 and see if it brings any improvement.
    -BJ

  • Import Manager Usage : Approaches for developing Import file structure and text validations

    Hi Experts,
    We are having 50+ import maps. We have provided option to users to drop the files for data import. Currently Import Manager(7.1 Sp08) does not have capability of pre-import validation of file data such as
    a. file structure - number of columns specific to import map
    b. file text validations - special characters, empty lines, empty cells
    c. Uniqueness of the records in the file
    For this, we are planning to build temporary folder(port specific) in which user drops in the file. We use the custom development to do above mentioned validations and then move the files to actual import ports.
    Please let us know if you have worked on similar requirements and how you have fulfilled such requirements.
    Regards,
    Ganga

    Hi Ganga,
    Assuming you have a well defined xsd and are getting valid xmls from source in the Inbound Port of MDM. Also,you have a Primary key in form of External ID (say).
    So just by making and defining a XSD you get most of what you want in your questions a and b.
    Now if you wish to use PI to drop files in the inbound port then you can build all the validations in PI itself and you would not need Staging table.
    Otherwise,you can have another table (preferably Main table) in the same repository or other dummy repository where records are created on import based on External ID.
    Here you can launch an MDM workflow on import of these records and run assignments to replace unwanted characters and Validations to give error for rejecting some records based on the data quality level desired.Once unwanted characters are removed and data is validated it can be syndicated using a syndication step in the Workflow.So records which fail are not sent and which pass are sent to a outbound port.
    From the outbound port PI or some other job can pick the file from this outbound folder and drop to Inbound folder of the same repository which imports to the required Primary Main table.Here again you have the option to leverage validations in PI and further check if data is fine.
    Once this activity is done you can delete the records from the staging table.
    Thanks,
    Ravi

  • Backing file???

    Hi,
    Is their any place where i can found more detailed documentation of the "Backing
    File"? Specifically the significance of the methods of the Backing file.
    I know that the backing file is called before the JSP is called but in my case
    the method "isRequestTargeted(request)" always returns false when i tried using
    the backing file from the Portlet tutorial (portlet/login/LoginBacking.java).
    When is the "handlePostbackData" method called? Why is it called more than once?
    My JSP has 2 fields username and password.
    Any help/info will be appreciated.
    Raghu

    Correction:
    Put the class name for the Backing File:
    backing.test
    So, the class name is test and the filename is test.java. However, it is recommended that uppercase letter should be used for a class name. Like it should be Test.java instead.
    I hope this makes sense.
    Mansoor

  • Inside WSRP- backing file

    Hello,
    I have problems with remote portlets, events and page flow.
    I have a remote portlet in the consumer. This portlet is generate from a pageflow. The portlet have a backing file with a customer method & the methods associated with the life cycle of the baking file.
    Also the portlet have an event that it is thrown when a specific action in the page flow is executed.
    The process is:
    1- In the form the action is thrown
    2- The Page Flow event is executed and it invoke a specific customer method on the backing file
    3- This method is executed
    4- The portlet goes to the next page.
    In local mode this process is sucess but when I make a remote portlet the specific customer method in the backing file is never called.
    I am looking for inside wsrp:
    http://dev2dev.bea.com/pub/a/2005/03/inside_wsrp.html?page=5
    However I have got others portlets that are not generated from page Flow with its associate backing file, specific customer method and it is sucess process.
    I suppose the problem is I can´t asociate correctly the method of the backing file with the portlet in the producer.
    Can someone help me with this problem?

    Correction:
    Put the class name for the Backing File:
    backing.test
    So, the class name is test and the filename is test.java. However, it is recommended that uppercase letter should be used for a class name. Like it should be Test.java instead.
    I hope this makes sense.
    Mansoor

  • Portal Backing file -- ClassNotFoundException

    I am using weblogic8.1 SP3. I try to give a backing file for .portal desktop. I put this backing file, PortalBacking.java in the portal project root directory which is the same directory as .portal file. And give PortalBacking.java in Backing File properties. When I run, I got "ClassNotFoundException" for my backing file.
    I put backing file under a directory and give a full path(basically package name to Backing File Properties) and got "ClassNotFoundException" too.
    Can someone tell me what I missing ? Thank you very much for help.

    Find your sampleportal application under weblogic81\samples\portal\portalApp\sampleportal\ .
    You can find some sample backing files under WEB-INF\src\examples\login
    Hope this helps...
    --stefan                                                                                                                                                                                                                                                                                                                                                                                                       

  • Setting Portlet Preference in Backing File for Clipper Portlet

    Hi All,
    I have a clipper portlet, and I am setting the preferences(for form based authentication & passing application data dynamically) in the backing file which is then associated to the Clipper portlet. I looked up at the clipper constants that are available; and the example they have given is
    portlet.setPreference(LOGIN_FORM_EXTRA_PARAMS, "name1=value2&name3=value4")
    My question is what is this "portlet"?? is it an instance?? then whose instance/object it is?? how am I suppose to declare it in my Backing File??
    Any input on this would be appreciated.
    Thanks,
    G

    Hi,
    I'm guessing here... but I think that the example is referring to a PortletPreferences object, which can be obtained through a PortletBackingContext with the getPortletPreferences() method. To obtain a PortletBackingContext you just use the static method PortletBackingContext.getPortletBackingContext() and pass in the request in the backing file. See also: Using the Preferences API to Access or Modify Preferences
    Hope this helps,
    Petri

  • Backing file init method always called for proxy portlets

    Hello,
    We are currently using Weblogic Portal 10 MP1. Deployed within our Portal EAR is a local proxy portlet and attached to this proxy portlet is a backing file, which currently implements the init() and prerender() methods from the backing interface.
    When this is placed in a page that is within a desktop, the init() method is always invoked no matter which page you access within the desktop. As I understand it from the documentation, if you have "tree optimization" turned on, then the init() method will only be called when rendering the actual page the proxy portlet is in. But this doesn't seem to be the case. However, if I define a standard Java portlet within the EAR and attach a backing file, then the init() follows the rules when tree optimization is turned on or off.
    Does anyone know if this is a defect within the portal framework, or is this expected and proxy portlets do not follow this rule?
    And I guess, if it is a defect or known limitation, is there a possible workaround? I assume the simplest workaround will be to move the logic into the prerender() method.
    Regards,
    Jonathan

    Hello Jonathan,
    Tree optimization is a tricky thing- some portlets may still be initialized even when the page they are on isn't visible. The rules for which get initialized and which don't are very complicated and depend on a number of things, so it is just best to not rely on the init() method not getting called.
    By far the best option for your use-case is to have the proxy portlet listen to the "onRefresh" event, and move the logic from the backing file's init() method into an event-handling method in the backing file, then have this method called when the refresh event is received. Here's a sample portion of the .portlet file for doing this:
    <netuix:handlePortalEvent event="onRefresh" eventLabel="onRefreshEvent">
        <netuix:invokeBackingFileMethod method="handleRefreshEvent"/>
    </netuix:handlePortalEvent>The "onRefresh" event is sent to the portlet only when it is visible on the page, so it should work perfectly for your use-case.
    Kevin

Maybe you are looking for

  • Can you share large files on iCloud drive like dropbox?

    I am exploring how to use iCloud drive now...and had a basic question.  Can you share large files from it in a similar way as you can with dropbox?  This is a great feature of dropbox...or google drive when mailing large files just doesn't work.  I h

  • ECC 6.0 - EHP4 - Client Import

    Dear Experts, This is a reimplementation project. Previous company has installed & configured ECC 6.0 - DEV/QAS systems (ABAP stack only). Now, we want a fresh installation of DEV/QAS servers with ECC 6.0 - EHP4. The management wants to restore all t

  • Get rid of automatic hyphenation?

    RH8 inserts a magic hyphen into some words, and this hyphen is not visible in the RH8 editing window nor on the final output UNLESS I happen to scale the window to such a size that the words needs to split itself. I can see the hypen in HTML Editing

  • Project won't Open in iMovie

    I was working on my iMovie project, and I shut down the Macbook Pro with iMovie and the project still open.  When I went to go open it today, the project did not show in iMovie, and would not open. However, previous projects are there and will open. 

  • Post Installation Issues- Critical

    I have a PowerBook G4 12'' with 10.5.1 installed. I need to update to 10.5.3 for stability and security, and soon 10.5.4 for .Mac/MobileMe. The install goes fine. However, once I turn the computer on, all of my applications crash, won't open, or free