[Zope] simple DTML question ...
Stephen Pitts
smpitts@midsouth.rr.com
Fri, 28 Jan 2000 21:13:15 +0000
On Fri, Jan 28, 2000 at 09:50:59PM +1100, Darran Edmundson wrote:
> It's 12:30 am and I've been Zoping for 15 hours without
> a break.
heh, I can relate to that. Its a pretty cool tool, isn't it?
I just ran into a problem that can be pared
> down to the following example ...
>
> Create a DTML method:
>
> <dtml-var standard_html_header>
> <dtml-var "foobar(year='chosen_year')">
> <dtml-var standard_html_footer>
This is a FAQ. To render a method inside an expression, you must use
weird syntax:
<dtml-var "foobar(_.None,_,year=chosen_year)">
This should do what you want.
--
Stephen Pitts
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org