Announcement
Collapse
No announcement yet.
X
-
We have fixed this issue. You will be able to test it starting with the June 13 builds.
Best Regards
Isomorphic Software
Leave a comment:
-
Hi there, that's a reasonable expectation, but in this case the dynamic message is not actually being performed by the dynamicContents feature, but by direct calls to the underlying functionality (due to needing some special context).
What we'll do is modify the code so that turning off dynamicContents also disables the message templating, making your code actually work.
We'll let you know when this is in. In the meantime, if you are trying to prevent erroneous evaluation of JavaScript, you could just have your app code scan the message and remove anything suspect.
Leave a comment:
-
Dialog Message messageLabel AutoChild dynamicContents
Hi Isomorphic,
Shouldn't the below code disable dynamic contents for the message on the Dialog?
It would appear to still be evaluating the JavaScript in this case.
Code:Dialog dialog = new Dialog(); dialog.setAutoSize(autoSize); Label messageProps = new Label(); messageProps.setDynamicContents(false); dialog.setAutoChildProperties("messageLabel", messageProps); dialog.setTitle("Some Title"); dialog.setIcon(IconConstants.CONFIRM); dialog.setMessage("${[JavaScript to evaluate]}");
Tags: None
Leave a comment: