[Checkins] [zopefoundation/five.customerize] cbef70: merged intermediate changes from the plone-3.0 bra...

GitHub noreply at github.com
Sat Mar 2 02:08:34 UTC 2013


  Branch: refs/heads/plone-3.0-branch-with-viewlet-support
  Home:   https://github.com/zopefoundation/five.customerize
  Commit: cbef70d18d46d8a6ec76d3f8af385aef133bc903
      https://github.com/zopefoundation/five.customerize/commit/cbef70d18d46d8a6ec76d3f8af385aef133bc903
  Author: Andreas Zeidler <az at zitc.de>
  Date:   2007-08-16 (Thu, 16 Aug 2007)

  Changed paths:
    M CHANGES.txt
    M setup.py
    M src/five/customerize/browser.py
    M src/five/customerize/version.txt

  Log Message:
  -----------
  merged intermediate changes from the plone-3.0 branch


  Commit: 6f600728f5cc79f012c0c4b8acd0ffb2c9f440c1
      https://github.com/zopefoundation/five.customerize/commit/6f600728f5cc79f012c0c4b8acd0ffb2c9f440c1
  Author: Andreas Zeidler <az at zitc.de>
  Date:   2007-08-16 (Thu, 16 Aug 2007)

  Changed paths:
    M src/five/customerize/utils.py

  Log Message:
  -----------
  funnily it's not possible to `getattr` for some attributes listed by `dir(obj)`, `__provides__` in this case;  however, since that is unlikely to hold the template a default value for `getattr` will do...


  Commit: 20c8f6c9e6c97098674dbdd0715bef7db8e57501
      https://github.com/zopefoundation/five.customerize/commit/20c8f6c9e6c97098674dbdd0715bef7db8e57501
  Author: Andreas Zeidler <az at zitc.de>
  Date:   2007-08-16 (Thu, 16 Aug 2007)

  Changed paths:
    M src/five/customerize/zpt.py

  Log Message:
  -----------
  `update` should actually not do nothing, but call the viewlet's `update` function;  to avoid doing is in `render` the viewlet instance created by `_getViewlet` has to be reused, too...


  Commit: c230dc358ce7592e8de7d3668a0944483a63ccbf
      https://github.com/zopefoundation/five.customerize/commit/c230dc358ce7592e8de7d3668a0944483a63ccbf
  Author: Andreas Zeidler <az at zitc.de>
  Date:   2007-08-16 (Thu, 16 Aug 2007)

  Changed paths:
    M src/five/customerize/zpt.py

  Log Message:
  -----------
  with some viewlets the `viewlet` parameter passed in when filtering renderable viewlets in the manager contains not the viewlet instance, but its topmost parent (i.e. the plone site);  checking for `IViewlet` therefore prevented the customerized viewlet to be rendered at all


  Commit: a1b44e2bd05cc8dc9debaa87622fc5535a9d8f6d
      https://github.com/zopefoundation/five.customerize/commit/a1b44e2bd05cc8dc9debaa87622fc5535a9d8f6d
  Author: Andreas Zeidler <az at zitc.de>
  Date:   2007-08-16 (Thu, 16 Aug 2007)

  Changed paths:
    M src/five/customerize/zpt.py

  Log Message:
  -----------
  `findViewletTemplate` isn't used when rendering at the moment


  Commit: 467be5dbf14ca3ecca3305f19a433e2f181b26d4
      https://github.com/zopefoundation/five.customerize/commit/467be5dbf14ca3ecca3305f19a433e2f181b26d4
  Author: Andreas Zeidler <az at zitc.de>
  Date:   2007-08-16 (Thu, 16 Aug 2007)

  Changed paths:
    M src/five/customerize/zpt.py

  Log Message:
  -----------
  to have customized templates without a class rendered correctly, `TTWViewlet` must inherit from `zope.viewlet.viewlet.ViewletBase`, so that the `super(...)` call in `plone.app.layout.viewlets.ViewletBase` succeeds


Compare: https://github.com/zopefoundation/five.customerize/compare/cbef70d18d46^...467be5dbf14c


More information about the checkins mailing list