Skip to content
Bug Barometer
All issues
Solution Deployed

Commerce / B2C Commerce

Different processing approaches of dw.util.Template and dw.template.ISML result in inconsistent page rendering

Summary

By default dw.util.Template#render(...) performs the generation of markup strings and other elements prior to rendering elements. This differs from the default behavior of dw.template.ISML#renderTemplate(...) which immediately writes a response output stream without considering any other elements.
This can result in situations where any ISML.renderTemplate(...) based calls will have their output appear in the final output stream before any of their parent Template.render(...) results (IE: the order of render execution does not match the order of the generated output anymore)

This can be particularly relevant for custom hooks in the context of PageDesigner (which usually make use of dw.util.Template for the processing) resulting in output being written to the wrong place.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 4 reports

    Nov 30, 2026