I have some general questions regarding coding in XML and in JavaScript.
It is indicated in the documentation that it is recommended to use JavaScript rather than XML.
a. Is it still the case in version 6.5?
b. Is it because it’s not completelty supported or tested?
c. We have to use the SmartClient JavaServer to transform the XML code, do you have an estimate of the time overhead it generates with respect to using direct JavaScript code?
a) Yes (although the recommendation is more nuanced than that)
b) No, it’s principally because XML is more verbose and in some cases requires extra steps. These are irreducible problems with XML, not SmartClient. See the Component XML topic to get an idea of the added declarations necessary with XML.
c) Generally negligible (a few ms for a large UI file, once per session or less), but it’s easy to switch to pre-preprocessing instead.