[Zope-CMF] SVN: Products.CMFCalendar/trunk/Products/CMFCalendar/browser/templates/calendar_widgets.pt - made sure we don't call views inadvertently
Tres Seaver
tseaver at palladion.com
Thu Jun 17 08:04:26 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yvo Schubbe wrote:
> Log message for revision 113583:
> - made sure we don't call views inadvertently
>
> Changed:
> U Products.CMFCalendar/trunk/Products/CMFCalendar/browser/templates/calendar_widgets.pt
>
> -=-
> Modified: Products.CMFCalendar/trunk/Products/CMFCalendar/browser/templates/calendar_widgets.pt
> ===================================================================
> --- Products.CMFCalendar/trunk/Products/CMFCalendar/browser/templates/calendar_widgets.pt 2010-06-17 07:45:21 UTC (rev 113582)
> +++ Products.CMFCalendar/trunk/Products/CMFCalendar/browser/templates/calendar_widgets.pt 2010-06-17 07:50:44 UTC (rev 113583)
> @@ -4,7 +4,7 @@
> <metal:slot metal:fill-slot="body" i18n:domain="cmf_calendar">
> <div metal:define-macro="calendarBox"
> class="CalendarBox"
> - tal:define="calendar_box_view context/@@calendar_box_view;
> + tal:define="calendar_box_view nocall:context/@@calendar_box_view;
> yearmonth calendar_box_view/getMonthAndYear;
> year python:yearmonth[0];
> month python:yearmonth[1];
How was this template working at all before? If it was, do we have a
backwards-compatibility issue on these nocall; changes -- that is, will
this change break compatibility with a still-supported older version of
Zope?
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkwaD0oACgkQ+gerLs4ltQ71JwCgnU8sPtUH1trhZ7u+NBJe1TVa
GnEAn1Xj00rLSVpnix6UpdLcATDPyUKu
=eNgX
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list