Strange One - Smart Client Not Displaying Image

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Strange One - Smart Client Not Displaying Image

Postby bcusick » Fri Feb 08, 2019 11:42 pm

Hey Guys,

This is a really strange one....

I have a calculation that returns HTML to show a graphic of a radio button (one graphic is the "on" state, one is the "off" state).

I have a label - and use "Display Tags" (the text of the label is %%myField%%) to make the contents of the label the graphic.

This is working GREAT in WebClient, but not in Smart Client.

smart_2019-02-08_13-33-14.jpg
SMART Client
smart_2019-02-08_13-33-14.jpg (22.3 KiB) Viewed 230 times


web_2019-02-08_13-32-22.jpg
WebClient
web_2019-02-08_13-32-22.jpg (21.83 KiB) Viewed 230 times


In debugging I've tried making just plain HTML (no image) and it works FINE - but as soon as I make the html contain an image - it breaks.

I have multiple calcs in multiple tables that have been using the same technique for YEARS - and because it works perfectly in WebClient - I know that the calculations are correct, etc. It has been working for YEARS, and then just "stopped".

Servoy 7.4.10
JVM Information
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.version=1.8.0_171
java.vm.info=mixed mode
java.vm.vendor=Oracle Corporation

Operating System Information
os.name=Windows Server 2012
os.version=6.2
os.arch=amd64
Bob Cusick
bcusick
 
Posts: 1240
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Re: Strange One - Smart Client Not Displaying Image

Postby swingman » Sun Feb 10, 2019 2:30 pm

Not sure, but this may be related:

I have had a number of HTML-generating calculations when using Smart-Client, when converting to NG-Client I had to remove the outer HTML and BODY tags to get them to work, since the whole page is HTML....
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1254
Joined: Wed Oct 01, 2003 10:20 am
Location: London


Return to Programming with Servoy

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron