I run or export my job normally with EJS_5.0_beta_140421. But with EJS_5.0_beta_140506, most of objects can't display when running. Is there anyone help me to check the error?
Hi Chi-Feng,
That was an interesting one!
In the last version, we changed EjsS to generate XHTML files, instead of HTML files. This forces the HTML code in HTMLArea elements to be more correctly formatted. See the code below.
One other thing I remembered, but never thought as possible cause of problems before, is that Label elements accept valid HTML code. This gives more freedom to write nice labels, But also forces you to use valid HTML code. One of your labels has this text as property:
( a < b )
which is not valid HTML because of the <. Change it to this:
( a < b )
and this will be fixed.
Now, again to the HTMLArea element. Your code reads now like this:
??
This is a different problem with ejss but I didn't think it worthy of a new thread.
I was porting one of my ejs apps and I've come across two things I've not been able to figure out.
The first was displaying values for the slider value on the slider itself. I couldn't seem to get formats I've used before (even mundane formats) to display any numerical value on the slider. I've gotten a work around but I'm wondering if this is a deprecated feature that won't carry into ejss.
The second is using the call _view.clearData() to clear data from a trace. The attached source file has that statement commented out in custom function rewinder(). The model runs fine. If that call is not commented out, the model hangs when rewinder is called (whenever any of the slider values are changed). This used to work in ejs, what do I do differently now? Is this documented somewhere in the wiki? I have to confess I couldn't find anything on it, and the original rewinder() was based on info from Wolfgang.