Mail Archive Home | exoplatform List | December 2006 Index
| <-- Date Index --> | <-- Thread Index --> |
|
Hello Alexey, Here are the actions I took: * I made a checkout from svn yesterday * I rebuild the jar exo-portlet-container.services.wsrp.impl-1.4.jar * I replaced this jar in my portlet-container.ear archive located in $JONAS_ROOT/apps/autoload
Server starts fine and portlets deploy as usual. But I still don't see my image. In fact, the image tag is recognized but never displayed.
Here is what is generated in the html page of the wsrp consumer portlet: <img src='/TestTotoPortlet_bis/FR/toto.gif'><br/>
Hence, the url is never rewritten.
Did I miss something in the configuration (I replaced only exo-portlet-container.services.wsrp.impl-1.4.jar)?
Fyi, I use Jonas 4_7_4 with a portlet container archive which was build From the portlet container 1.4 archive I downloaded from the exo download page.
Do I have to replace any other jars to make this work?
Regards, Alexandre ----------------------- Alexandre Neubert Edifixio
-----Message d'origine-----
Hi, Alexandre
This probem was fixed. Update "v2.x\exo-portlet-container\services\wsrp\impl\" and build "exo-portlet-container.services.wsrp.impl-1.4.jar".
HTH Alexey
On 12/20/06, Alexandre-Michael Neubert <alexandre-michael.neubert@xxxxxxxxxxxx> wrote: > > > > > Hello List, > > I have a problem concerning WSRP and images. > > > > Here is my architecture: > > Jonas 4.7.4 with a Portlet Container 1.4 deployed (works fine) > A simple JSR 168 portlet archive which contains an image > > This portlet only displays a jsp file which diplays the image contained in > the archive > > In the jsp, I use the line <img src=''font-size: 10.0pt'>> renderResponse.encodeURL(renderRequest.getContextPath()+ "/FR/toto.gif") > %>'> to display my image. > > > > When I call my portlet from the container (no WSRP), the image is well > displayed, but in WSRP mode (using another portlet container and the WSRP > Consumer portlet), no image is displayed. I looked at the page's source code > and indeed, the url is not rewritten by the Consumer (so the consumer > searches the image under > > "/Context/FR/toto.gif"). > > > > Is there another way to deal with images when using WSRP or is this a bug in > the Consumer Portlet? > > > > Thanks > > > > Alexandre > > > > ----------------------- > > Alexandre Neubert > > Edifixio > > > > -- > You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx > mailing list. > To unsubscribe: > mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx > For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > >
|
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.