Nova
LTLeaning Technologies
•Created by Nova on 2/6/2024 in #support
Stretch to Fit Height Issue
Running a basic application in the example html provided on the CheerpJ website. My html code is effectively identical to the 'basic HTML example ' with the exception of using my own JAR files.
Issue: I am attempting to fill the frame with
cheerpjCreateDisplay(-1, -1, document.body)
. This results in the CheerpJ work area compressing into a single line at the top of the screen, it is treating -1 Height as, well, negative 1 instead of filling available area.
-1 for Width works perfectly, no issue.
non-negative values for Height work perfectly, no issue.
This is occurring in Chrome and Edge browsers.
Known issue? Am I missing something basic? I surmise that since the Width is expanding correctly that my syntax is correct.3 replies
LTLeaning Technologies
•Created by Nova on 2/5/2024 in #support
Cache Results for Faster Startup?
Hello new user here. Performing initial research into potential commercial application usage.
1) Am I correct to assume that the Translation from Java to JScript is occurring on the Cheerpj server side when a webpage is loaded?
2) In a commercial environment in which a licensed local copy of CheerpJ is loaded, can the 'results' of the translation be cached, thereby serving up the JScript page much faster for subsequent users?
Thank you, I am having a lot of fun and initial success so far!
8 replies