Problem with images in content management portlet

Hi all,
I'm trying to use the content management portlet provided with Bea WLP 8.1 SP4, but I've a problem with the images (they're not displayed at all, only a lot of red "X"s). Some how it seems to be a problem with the Taglib render. It tries to get the resourceRootPath to post it in front of the src path in the image tag and it always includes the parameter that are in the URL.
I followed the instructions in the help of workshop, so I think I've imported every needed files. Moreover, the images are in the right folder tree. The wired thing is, that the My Content Portlet works fine.
Any help for a newbie???
Cheers,
Cord

Hi Cord,
I was having that same problem, and I couldn't find anything on this website either. I tried creating a new portal project and following the directions exactly again, but it didn't work there either. It works in the sample portal.
So I contacted BEA Support, and they were able to provide me with a solution:
The file url-template-config.xml (in the WEB-INF directory) has to be modified and have the {url:currentPage} parameter removed in order to get the images working for the content management portlet. For now, do this only in the section <!-- URL templates -->. Leave the other places like in WSRP etc as it is.
I actually took it out of the WSRP places too, by accident, but I don't use WSRP anyway, and everything else seems to be working fine. And the images show up!
Hope this works for you too,
Beth

Similar Messages

  • Content management portlet not showing images

    Hi all,
    sorry for asking a question maybe already answered, but I couldn't find a solution in the newsgroups.
    I'm trying to use the content management portlet provided with Bea WLP 8.1 SP4, but I've a problem with the images (they're not displayed at all, only a lot of red "X"s).
    I followed the instructions in the help of workshop, so I think I've imported every needed files. Moreover, the images are in the right folder tree.
    Any help for a completely newbie???
    Thx in advance,
    Mirko.

    Hi Mirko,
    I was having that same problem, and I couldn't find anything on this website either. I tried creating a new portal project and following the directions exactly again, but it didn't work there either. It works in the sample portal.
    So I contacted BEA Support, and they were able to provide me with a solution:
    The file url-template-config.xml (in the WEB-INF directory) has to be modified and have the {url:currentPage} parameter removed in order to get the images working for the content management portlet. For now, do this only in the section . Leave the other places like in WSRP etc as it is.
    I actually took it out of the WSRP places too, by accident, but I don't use WSRP anyway, and everything else seems to be working fine. And the images show up!
    Hope this works for you too,
    Beth

  • Error With Uploading Images for Content Manager

    Hi Guys
    I have tried to upload an image into Content Manager..... and on the concurrent request i get a failed error..+---------------------------------------------------------------------------+
    Content Manager: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    BULKUPLOADCP module: OCM BulkUpload Process
    Current system time is 04-AUG-2006 11:47:46
    java.lang.NullPointerException
         at oracle.apps.jtf.util.ErrorStackUtil.getErrorStack(ErrorStackUtil.java:82)
         at oracle.apps.jtf.util.ErrorStackUtil.fillDBErrorStack(ErrorStackUtil.java:163)
         at oracle.apps.jtf.util.ErrorStackUtil.fillDBErrorStack(ErrorStackUtil.java:151)
         at oracle.apps.ibc.admin.ContentItemManager.upsertContentItem(ContentItemManager.java:1776)
         at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.getItemsFromXMLFile(BulkUploadCP.java:518)
         at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.createItemsFolders(BulkUploadCP.java:269)
         at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.runProgram(BulkUploadCP.java:172)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-AUG-2006 11:47:50
    this ist hte log

    Bumb thread. Please follow-up here: http://forums.adobe.com/message/4851765

  • Content Management Portlet

    Hi,
    I have been a problem when I import the content management portlet (cmsTools) into my application... My application does not recognize the icons and images references... When I run sampleportal that comes with Weblogic it´s work. Anyone can help me? Thank´s
    Version: Weblogic Portal 8.1 SP5
    Regards
    Helder

    Hi
    I have exactly the same issue.
    This problem is due to the way URL s to static images are treated in the cmsTools Portlet.
    In fact, in the sampleportal, this tag
    <render:resourceUrl var="resourceRootPath" contextualPath='/' />cmsTools/images/cm_home.gifreturns :
    http://localhost:7011/PortalApp/cmsTools/images/cm_home.gifwhich is the correct path.
    But in another portal, the same tag returns :
    http://localhost:7011/PortalApp/?_nfpb=true&_pageLabel=page1cmsTools/images/cm_home.gifI don't know how to remove the params from the URL.
    Defining an url-template tag in the url-template-config.xml file does not work as the queryString parameter is mandatory.
    So I am looking for a solution too...

  • Problem with Image file

    Hi,
    Iam facing with one problem.I have one swing interface through which I can upload files(back end servlet programme).Now I can upload all types of file but problem with image file it uploading perfectly that means size of the uploaded file is ok but its format damaged.It can not be open.My backend servlet programme is ok coz i tested it with html form it is working perfectly.Problem with swing interface.Plz guide me where I done a mistake.Below r my codes:-
    ImageIcon Upload=new ImageIcon("images/Upload.gif");
         Button=new JButton(Upload);
         Button.setToolTipText("Upload");
    Button.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
              int returnVal = fc.showOpenDialog(ActionDemo4.this);
              if (returnVal == JFileChooser.APPROVE_OPTION) {
              File file = fc.getSelectedFile();
    String aa=file.getAbsolutePath();
              textArea3.append(aa);
                   textArea2.append("Local URL:");
    long l=file.length();
              try
              byte buff[]=new byte[(int)file.length()];
              InputStream fileIn=new FileInputStream(aa);
              int i=fileIn.read(buff);
              String conffile=new String(buff);
              String str1=textArea10.getText();
    url = new URL ("http://127.0.0.1:7001/servletUpload?x="+str1);
         urlConn = url.openConnection();
         urlConn.setDoInput (true);
         urlConn.setDoOutput (true);
         urlConn.setUseCaches (false);
         urlConn.setRequestProperty("Content-Type","multipart/form-data;boundry=-----------------------------7d11e410e500f2");
         printout = new DataOutputStream (urlConn.getOutputStream ());
    String content ="-----------------------------7d11e410e500f2\r\n"+"Content-Disposition: form-data;"+"name=\"upload\"; filename=\""+aa+"\"\r\n"+"Content-Type: application/octet-strem\r\n\r\n\r\n"+conffile+"-----------------------------7d11e410e500f2--\r\n";
    printout.writeBytes(content);
    printout.flush ();
    printout.close ();
    Best Regards
    Bikash

    The errors are here:
              byte buff[]=new byte[(int)file.length()];
              InputStream fileIn=new FileInputStream(aa);
              int i=fileIn.read(buff);
              String conffile=new String(buff); (conffile is a String object containing the image)
    and here:
    String content ="-----------------------------7d11e410e500f2\r\n"+"Con
    ent-Disposition: form-data;"+"name=\"upload\";
    filename=\""+aa+"\"\r\n"+"Content-Type:
    application/octet-strem\r\n\r\n\r\n"+conffile+"--------
    --------------------7d11e410e500f2--\r\n";
    printout.writeBytes(content);conffie is sent to the server but
    it's non possible to treat binary data as String!
    Image files must be sent as byte[] NOT as String ......

  • Problem with image url

    Hello,
    today I have a problem with image url. I wanted Image to change when mouse dragged over it. But nothing happened. Any ideas?
    def maxIco: ImageView = ImageView{
    image: Image{
    url: "{__DIR__}ikony/max.png"
    onMouseDragged: function(event: MouseEvent){
    maxIco.image = Image{
    url: "{__DIR__}ikony/max2.png"
    }

    This is working for me:
    src/main/Main.fx
    src/main/icon/image1.bmp
    src/main/icon/image2.bmp
    //Main.fx
    package main;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.input.MouseEvent;
    var changed = false;
    def imgView: ImageView = ImageView {
        image: Image {
            url: "{__DIR__}icon/image1.bmp"
        onMouseDragged: function (e: MouseEvent): Void {
            if (not changed) {
                imgView.image = Image {
                    url: "{__DIR__}icon/image2.bmp"
                changed = true;
                println(imgView.image.url);
        onMouseReleased: function (e: MouseEvent): Void {
            imgView.image = Image {
                url: "{__DIR__}icon/image1.bmp"
            changed = false;
            println(imgView.image.url);
    Stage {
        title: "ImageTest"
        scene: Scene {
            width: 700
            height: 600
            content: [
                imgView
    }I've changed few things to switch image only one time on mouseDragged event.
    It print the image URL.

  • After update 8.1.2 i had problem with sync my content from ITunes with IPod

    After update 8.1.2 i had problem with sync my content from ITunes with IPod. It stucks on moment when its waiting for implementing changes (step 5 of 5) Hours and hours i'm waiting but still the same. So i cant use my Ipod at all. I restarted Ipod and delete and download Itunes again. Still stuck in the same moment. Help please. Someone has some problems like that?

    I have an error message saying that "An unknown error occurred (-54)"

  • If I change the nation setting of my iTunes in order to buy a song from the American iTunes store, then change my setting back to the Korean store (where you cannot buy music) will that create any problems with my downloaded content?

    If I change the nation setting of my iTunes in order to buy a song from the American iTunes store, then change my setting back to the Korean store (where you cannot buy music) will that create any problems with my downloaded content? I want to buy an album that I cannot get hold of in Korea, but it is available in the US iTunes store. However since most of my apps are downloaded from the Korean store I'll need to switch back in order to update them. Does anyone know if there are any issues in doing this. I'd rather find out before I spend money, change my store setting back to Korea, and then get told I can't listen to the music because I bought it from the US store and my iTunes is set to the Korean store.
    Cheers.

    You canot easily change your country settings.  The iTunes Store in a country is intended only for use by that country's residents, and only while they are in the country. To use the iTunes Store in a country you need a credit card (or other card type if acceptable in a country) issued in that country, billed to an address in that country, and also be physically present in that country when using the store.  You are also restricted to waiting 90 days between country changes.
    E.g., "The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance." - http://www.apple.com/legal/itunes/us/terms.html#SERVICE

  • Problem with images opened in Photoshop CS 5

    Hi, I have a problem with images that I open in Photoshop CS 5. F. ex. I opened
    the following image:
    The image appears with a purple color in Photoshop. If I hover over the image
    with a tool like lasso, it temporarily regains it´s original color. The image mode is RGB Color, 8 Bits/Channel.
    I resetted the start settings of Photoshop with the CTRL-Shift-Alt-combination, which had no effect.

    The confusion arises from the imprecise error message in the Preferences > Performance dialog box, to wit:
    OK, that seems to be open to misunderstanding indeed.
    The video card: Citrix Systems Inc. Display Driver.
    Could not find a list for CS6 specifically, but the card may fall short.
    http://helpx.adobe.com/photoshop/kb/tested-video-cards-photoshop-cs5.html
    If I invoke View > Proof Colors, the only thing that changes is that the text in the brackets
    Also if you set View > Proof Setup to something different?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)?

  • Problem with Image.createImage()

    Hi all!
    I'm writing a simple midlet just to display an image on the screen and I'm having some problems with Image.createImage()
    Here is my code
    Image bg_img;
    ImageItem imageItem1;
    imageItem1 = new ImageItem("", null,ImageItem.LAYOUT_DEFAULT, "");
    try{
    bg_img = Image.createImage("/image.png");
    imageItem1.setImage(bg_img);
    catch(java.io.IOException e){
    e.printStackTrace();
    I'm getting an exception on bg_img = Image.createImage("/image.png");
    I can't understand what is it...:(
    I know for sure that the problem is not "file not found"
    Any one can help me???

    If you are catching IOException, then u may have problem with ur image path. "image not found on the specified path." if ur image is not in the current directiry then put it into current directory. otherwise, If u are using resouce folder and it is already included into the resouce path, then put ur image in that folder..try this..
    Still not get, then please give some detail about ur development toolkit. and ur apllication packaging scheem. are you using ANT?
    Pranav

  • Problem with image gallery

    Hi to all.
    With ios 5.01 I have a little problem with image gallery. As you can see I have only 1 image, but there is always this **** message "download 0 of 46) (sorry, but I'm Italian )
    I've removed my icloud account from settings, but there is nothing to do, this message don't goes away. What I can do? Thanks in advance

    Hello,
    Just adding a gallery I want to do the same slideshow WoodWing's, but in InDesign, if anyone knows of?
    Thank you
    Link video slideshow WoodWing's: http://www.youtube.com/watch?v=Xt6gNaEZ0-M&feature=relmfu
    The first slideshow shown

  • Problems with image scaling

    I'm facing a real problem with image scaling
    I've used several algorithms but it all has defects but the most common thing is the out of memory error after several enlargments...
    does any one know a solution...
    note:
    I've used several packages to do so,but I'm looking for a solution from the jdk itself
    JAlexscorpio

    Did you take into account that the getScaledInstance() -method creates a completly new Image?
    So if you use it like in
    ImageIcon icon1=new ImageIcon("Blah.gif");
    ImageIcon icon2=new ImageIcon(icon1.getImage().getScaledInstance(400,400,SCALE_FAST);
    you will end up with 2 different Images which have their own data and memory requirements.
    even if you use something like
    ImageIcon icon1=new ImageIcon("Blah.gif");
    Image i=icon1.getImage();
    icon1.setImage(i.getScaledInstance(200,200,SCALE_FAST));
    You will need enough memory to store the data for the original image, as well as the data for the scaled
    version of the image, at least for the time that it take the JRE to create the scaled version. You never know when the garbage collector kicks in to delete you old data so it could be that this takes some time and until
    that moment your memory is not available. If your now doing several of the scaling operations, and there is no chance for the garbage collector to do its work, you will run out of memory.
    I hope that might help, if not feel free to post again

  • Problems with Image Variants

    I got two problems with Image Variants:
    1. catalogCache.GetImagePath("Images", id) doesn’t work for some id. The error message is “GetImageVariant error”.
    2. catalogCache.Preload("Images", “Original”)
        catalogCache.Preload("Images", “Thumbnails”)
        catalogCache.Preload("Images", null)
       catalogCache.Preload("Images", "")
    get failed, the status code is -2147483647
    Anyone know how to setup  image variants?
    Thanks.
    Forrest

    status code: -2147483647 is RC_BADPARAM.

  • Copy and Paste Problems with Images

    I'm having the strangest problems with images. I copy an image off of the web for one of my art history classes and I go to paste into another program but, whether it's Keynote, Powerpoint, Photoshop, or Graphic Converter, something always goes wrong: the images definitely lose some of their quality, become brighter in appearance, and get jagged on the edges. This is starting to drive me nuts, especially since it never happened in 10.4 on my iBook G4. Any suggestions?

    Make it an 8-bit file (Image menu > mode).

  • Experiencing problem with image display in LR5

    I have an intermittent problem with images displaying and exporting in LR. It just began a couple of months ago and is totally random - will do it with RAW (CR2) or JPG. It displays this way in all modules - Library, Develop, Slideshow....The image displays fine in a non-Adobe image viewer (Faststone or Windows Viewer). I've reloaded LR5 and PSCC and is still persists. I know the image file is fine. It also has begun effecting older images that were showing up just fine a while ago. I just loaded about 200 images and maybe 3 or so have this viewing problem in LR & PS. Has anyone else experienced it and have a suggested fix? My graphics card has the latest drivers and shows no problems with other applications. Here is the same image - one a jpg export from Lighroom, the other a save as jpg from Faststone. HELP!

    This is almost always a hardware problem, causing corruption of the file. The difference you see between Lightroom and other software is that Lightroom is accessing the full RAW image, while the other software is trying to read the embedded JPG preview.
    To figure out exactly what hardware is the problem, you need to try different transmission paths and hardware ... different camera cards, different card readers or USB cables/USB ports, different hard disks, etc. Eventually you should be able to isolate the problem.

Maybe you are looking for

  • More than 512 rows - xcelsius cannot export a PDF

    I have a table of 2000 rows that excelsius needs to work on.  the combobox component needs to select data related to a vendor and put it in another sheet for display. my xcelsius is not connected to sap hence filtering of data is done through combobo

  • HT201077 It is not possible to select Photo Stream

    The selection box seems to be inactive. How can I make it active and select the box of Photo Stream?

  • Can we Install Peoplsoft on WIndows 7 Home Premium

    Hi, Just want to know can we install Peoplesoft on Windows 7 Home Premium. if yes then is there any version restriction like only peopletool 8.49 or 50 or HRMS 9 or 9.0; or any drivers or other solution requires to install it.

  • Break up of CKME revaluation amount...

    Hi Gurus, After the execution of CKME (release planned price changes) system gives the revaluation amount(total figure). Can any one please let me know, is there any report to see the break up of revalaution amount by material. Regards, Inayat A Khan

  • Get a remote interface from a local instance

    hi, I want to construct a bean locally on a server and then I want to pass the remote interface for that constructed bean back to a client. Is this possible? Thanks