servoy_blobloader only loads first image

Hello,

I am having a problem where the blobloader seems to only load the first image of a table where it should load more.

The HTML generated is used for a custom value list.

HTML looks like this

<html><table border="0" cellspacing="0" cellpadding="0"><tr><td width="25" valign="middle"><img src="media:///servoy_blobloader?servername=myServer&tablename=myTable&dataprovider=icon&rowid=6" border="0"></td><td valign="middle">Text1</td></tr></table></html>
<html><table border="0" cellspacing="0" cellpadding="0"><tr><td width="25" valign="middle"><img src="media:///servoy_blobloader?servername=myServer&tablename=myTable&dataprovider=icon&rowid=7" border="0"></td><td valign="middle">Text 2</td></tr></table></html>

I am seeing the right text in the value list but only the image of the first entry.
Do I do the wrong thing here?

Thanks
Patrick

do you see the image of the first entry repeated in the second ect once?

Yes, exactly.

No problems what so ever, see:
http://www.servoy.com/downloads/downloa … der.servoy
(import with sample data or add some images in the photo field yourself)

Hello Jan,

I know that something like that works. But it doesn’t seem to work if you use it in a value list as I do…

Thanks
Patrick

Its likly a caching issue on the element displaying the valuelist html items, in the sample we add a random id to prevent cache issues.
We cannot disable the cache from the HTML renderer.

Hello Jan,

I tried that technique. Now I have this HTML, that I set as display value for the value list:

<html><table border="0" cellspacing="0" cellpadding="0"><tr><td width="25" valign="middle"><img src="media:///servoy_blobloader?servername=spotlight&tablename=sys_email_ordnertypen&dataprovider=icon&rowid=1&rnd=0.44088727300681274" border="0"></td><td valign="middle">Posteingang</td></tr></table></html>
<html><table border="0" cellspacing="0" cellpadding="0"><tr><td width="25" valign="middle"><img src="media:///servoy_blobloader?servername=spotlight&tablename=sys_email_ordnertypen&dataprovider=icon&rowid=2&rnd=0.005460950778523488" border="0"></td><td valign="middle">Entwrfe</td></tr></table></html>
<html><table border="0" cellspacing="0" cellpadding="0"><tr><td width="25" valign="middle"><img src="media:///servoy_blobloader?servername=spotlight&tablename=sys_email_ordnertypen&dataprovider=icon&rowid=3&rnd=0.030027518878769865" border="0"></td><td valign="middle">Verschickt</td></tr></table></html>
<html><table border="0" cellspacing="0" cellpadding="0"><tr><td width="25" valign="middle"><img src="media:///servoy_blobloader?servername=spotlight&tablename=sys_email_ordnertypen&dataprovider=icon&rowid=4&rnd=0.12718393519847404" border="0"></td><td valign="middle">Gel￶scht</td></tr></table></html>
<html><table border="0" cellspacing="0" cellpadding="0"><tr><td width="25" valign="middle"><img src="media:///servoy_blobloader?servername=spotlight&tablename=sys_email_ordnertypen&dataprovider=icon&rowid=6&rnd=0.3095225369347836" border="0"></td><td valign="middle">Eigene Ordner</td></tr></table></html>
<html><table border="0" cellspacing="0" cellpadding="0"><tr><td width="25" valign="middle"><img src="media:///servoy_blobloader?servername=spotlight&tablename=sys_email_ordnertypen&dataprovider=icon&rowid=7&rnd=0.3957087965193604" border="0"></td><td valign="middle">Eigene Ordner (IMAP)</td></tr></table></html>

This still doesn’t solve the issue. I see the image from rowid=1 at every menu entry…

Have you tried the sample solution I posted?

Yes, that works fine, but you don’t create a value list there.

Where do you display the valuelist in?
(Its likly a caching issue on the element displaying the valuelist html items)

A comboxbox showing the HTML, returning IDs.

There is nothing we can do about caching of images from html in a combobox valuelist…

For my understanding: what is cached by who/what? I use value lists of that sort quite often, the only difference is that in this case I load the images dynamically. Fixed value lists with similar content always work correctly.

Thanks
Patrick

Images are cached by the browser component from Java/Sun

hmm. But then I wonder, why it does work if you use something like

media:///myImage01.gif

When doing this in a loop creating image names like myImage01.gif, myImage02.gif it does work without any problem. So it cannot be the cache, can it?