Alternative approach for rendering page headers

Keith Hodges keith_hodges at yahoo.co.uk
Tue Apr 7 00:03:52 MEST 2009


I have always found this to be a bit of a weakness of pier's.


Name: Beach-Pier-kph.5
Author: kph
Time: 6 April 2009, 11:02 pm
UUID: 554b045a-54d7-47e0-9f21-b94b06e381ac
Ancestors: Beach-Pier-kph.4

Finally the ViewRenderer (or custom subclass) can have complete control
over the display of the content AND the header

PRContentsWidget is knobbled so as to not display the header.

PRViewRenderer     now displays the "title", for standard Pages, or the
more interesting PRPageWithHeader.
           
PageWithHeader - Uses the above to render a "header document" *for more
interesting headers)

Hooks for providing custom subclasses of all renderers



More information about the smallwiki mailing list