qx.ui.basic.Image doesn't always show the image [message #108334] |
Tue, 07 October 2008 01:54  |
Eclipse User |
|
|
|
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 06:15  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03762 seconds