Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » qx.ui.basic.Image doesn't always show the image
qx.ui.basic.Image doesn't always show the image [message #108334] Tue, 07 October 2008 05:54 Go to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hello everybody,

1. I'm creating an image:

this._colorspace = new
qx.ui.basic.Image("/controls/colorpicker/hsv.jpg",256,256);

2. When I run my code in eclipse, it works and I can see the image.

3. However it fails in Tomcat. Then I opened firebug and got this:

---
<div style="margin: 5px; position: absolute; -moz-user-select: none;
width: 256px; height: 256px; left: 4px; right: 4px; top: 6px; bottom: 6px;">

<img width="0" height="0" style="border: 0pt none ; vertical-align:
top;" alt="" title="" src="./resource/static/image/blank.gif"/>

</div>
---

4. I acknowledged that the image was exported properly and I could
request it in a separate browser.

I guess there is something inside of client Image class that behaves
this way.

Thanks
Re: qx.ui.basic.Image doesn't always show the image [message #108534 is a reply to message #108334] Tue, 07 October 2008 10:15 Go to previous message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Sorry, I've had bad urls.

> Hello everybody,
>
> 1. I'm creating an image:
>
> this._colorspace = new
> qx.ui.basic.Image("/controls/colorpicker/hsv.jpg",256,256);
>
> 2. When I run my code in eclipse, it works and I can see the image.
>
> 3. However it fails in Tomcat. Then I opened firebug and got this:
>
> ---
> <div style="margin: 5px; position: absolute; -moz-user-select: none;
> width: 256px; height: 256px; left: 4px; right: 4px; top: 6px; bottom:
> 6px;">
>
> <img width="0" height="0" style="border: 0pt none ; vertical-align:
> top;" alt="" title="" src="./resource/static/image/blank.gif"/>
>
> </div>
> ---
>
> 4. I acknowledged that the image was exported properly and I could
> request it in a separate browser.
>
> I guess there is something inside of client Image class that behaves
> this way.
>
> Thanks
Previous Topic:Status of multiple browser tab support
Next Topic:Closing workbench: catching NPE
Goto Forum:
  


Current Time: Fri Mar 29 15:00:09 GMT 2024

Powered by FUDForum. Page generated in 0.03189 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top