We noticed some disturbing screen redraw problems that occur only when running the client. This did happen both in Linux and WinXP workstations. Below is a screen capture visualizing the problem; notice that in the tabpanel, two tabs are “active” and there is a blank grey block below the header. Occasionally the screen doesn’t redraw at all.
Version information:
Servoy Client
Version R2 2.2b2-build 317
Java version 1.4.2_06-b03 (same version in Linux & Windows)
I had similar problems a while back; turned out the problem
was one or more bugs in either a form method or a calculation.
when the calc or method got an error, screen drawing would stop.
since then, i always start server from a terminal session (i’m using
(mac os-10/unix), that way i’m aware of any calc or method
errors as soon as they occur.
RobertMeyer:
I had similar problems a while back; turned out the problem
was one or more bugs in either a form method or a calculation.
when the calc or method got an error, screen drawing would stop.
since then, i always start server from a terminal session (i’m using
(mac os-10/unix), that way i’m aware of any calc or method
errors as soon as they occur.
hope that helps.
rm.
Thanks for the ideas!
I looked at the Application server log (I redirect the console output to a log file), but there were no entries when the refresh problems appeared.
However, I found out that the problem indeed was caused by a calculation. We have nested calculations that create a HTML field. One calculation creates just the HTML header (with a style sheet, to render the fonts same size at different platforms), one calculation creates the data, another closes the tags.. OK, I stripped out all the CSS code and now it works.
I don’t know whether this is related to the calculations, or is it just a Sun HTML engine problem?
We need a way to set our HTML fields’ font sizes same on every platform. Now it is impossible to use HTML fields in a list view.
I use HTML all the time in my solutions! I have a global that is set at startup that has all the information in it, and then I use that global in the other calcs with no problems.
bcusick:
I use HTML all the time in my solutions! I have a global that is set at startup that has all the information in it, and then I use that global in the other calcs with no problems.
Thanks for the example. I tried that, but the font didn’t change…
I even did a test, made a simple calculation:
… and inserted the field in a list view - but didn’t get anything but the default font! This is weird, because I have actually been able to change the font some time ago, with CSS. Now I can’t get it to load any code. The only way it works is with the html tag, but CSS would be much nicer!