Skip to Content

Iview not found images.default

I am getting this error for my iview.

I use an this image declaration

[code]

<hbj:image

id="Logo"

tooltip="center"

src="<%= componentRequest.getWebResourcePath() +\"/images/image.JPG\" %>" alt="a" />

and the error i get is

com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: images.default

at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1701)

at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:193)

at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:287)

at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:389)

at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:423)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:535)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)

at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)

at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)

at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)

at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)

at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)

at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)

at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)

at java.security.AccessController.doPrivileged(Native Method)

at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148

[/code][code][/code][code][/code][code][/code][code][/code]

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 22, 2005 at 02:38 PM

    Hi Sid,

    Rem's solution in Adding image HTMLB you've tried here at least is wrong concerning the "" before the """. Compare Problem finding image

    On the other hand, in the first thread given above, Praveen has showed a second way. Didn't it run?

    Anyhow, combine Praveen's way with your own, resulting in:

    <hbj:image
      id="Logo"
      tooltip="center"
      src="<%=componentRequest.getResource(IResource.IMAGE, "images/image.JPG").getResourceInformation().getURL(componentRequest)%>"
      alt="a"
    />
    

    Hope it helps

    Detlev

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 22, 2005 at 08:23 PM

    Yes it does run at times.

    The j2ee service seems to crash whenever I change the layout and the image is not displayed at times.

    I dont know the reason for this behaviour.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.