I note that in OFBiz the <html-template-decorator> element is only used once. Its usage is discouraged in OFBiz, note this comment : "We don't really want to encourage the use of the html-template-decorator, should be done on the screen level. To include the sections in the decorator template just use the "render(sectionName)" method "sections" object, FTL example: ${sections.render("main")}. For more efficient use the sections.render(sectionName, writer) method should be used, in FTL this would be in a transform or something."


So I wonder why it still exists, should we not deprecate it and later even remove it ? It's weird to me to have an element that you discourage usage ...



Jacques

Reply via email to