On 8/31/06, Ted Husted <[EMAIL PROTECTED]> wrote:
On 8/30/06, Don Brown <[EMAIL PROTECTED]> wrote:
> Yeah, overriding themes is a big ticket that needs to be addressed.

What about individual tags?

I had understood that we could override an individual template by
including a replacement at the base of the classpath. But when I try
that with something like

<#if (actionErrors?exists && actionErrors?size > 0)>
  <table>
    <#list actionErrors as error>
      <strong><tr><td></strong><span
class="errorMessage">${error}</span><strong></td></tr></strong>
    </#list>
  </table>
</#if>

It seems to be ignored.

Is it suppose to be recognized?

I don't think it's at the base of the classpath, I believe it's in the
"template" directory.  I have this directory in my webapp, but it may
work at the classpath root as well.  For example:

src/main/webapp/template/xhtml/file.ftl

Matt

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to