I believe I have said some time ago that I think the way the _decorator template works is a bit strange. You example with an xml file is another case of how the current setup is not ideal.

I think a better approach would be to add a property of a template called applyDecorator and give users a chance to toggle that on/off manually on their templates. This way a user can simply apply the decorator only to the templates they want to, rather than just have it happen automatically if a _decorator template exists.

-- Allen


Miguel A Paraz wrote:
On 5/23/06, James M Snell <[EMAIL PROTECTED]> wrote:
I'm not sure what you mean by adding a decorator.

If PageServlet finds a _decorator.vm, it displays this and wraps the
page content inside.

So, we need a way to disable this for XML "pages."

Reply via email to