Jim Reesman wrote:
>
> I have found that #parse works as advertised unless it is _after_
> a $navigation.setTemplate(), at which point it will
> fail to find the same template that it found _before_ the
> $naviation.setTemplate(). In the following, the first #parse
> works and the second fails to find the template!
>
> <tr>
> <td colspan="3"> #parse ("breadcrumbs.vm") </td>
> </tr>
> <tr>
> <td colspan="3">$navigation.setTemplate("banner.vm")</td>
> </tr>
> <tr>
> <td colspan="3"> #parse ("breadcrumbs.vm") </td>
> </tr>
>
> Suggestions are most welcome at this point... :-)
Hm. I think I will resume lurking - there is something Turbine related
going on here because the above code is 100% fine WRT Velocity. ( I
would remove the space between #parse and (, but that's just me...)
what does $nav.setTemplate() do?
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
System and Software Consulting
Developing for the web? See http://jakarta.apache.org/velocity/
Well done is better than well said - New England Proverb
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]