+1

--- On Sat, 6/21/08, Jacques Le Roux <[EMAIL PROTECTED]> wrote:

> From: Jacques Le Roux <[EMAIL PROTECTED]>
> Subject: <html-template-decorator> element
> To: [email protected]
> Date: Saturday, June 21, 2008, 6:49 AM
> 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