On Thu, Apr 30, 2009 at 5:36 AM, Lukas Renggli <renggli(a)gmail.com> wrote:
Which is the
easy way to do this with Pier/Magritte ? I thought to
subclass
PUReportWidget. Should this be a good idea ?
Yeah, or even PUStructuresWidget a subclass of PUReportWidget, then
you already get the basic functionality to report on structures.
Nice. It worked perfect. I just subclass and redefine rows like this:
rows
^ (self context enumeratorFor: self context root)
everything contents select: [ :each | (each class =
PBPostWithAuthorization) and: [ each notPublished ] ]
I would like to put isPostWithAuthorization in PBStructure instead of using
class comparisson as there is also isPost but this will requiere a method
extension with *-package :(
Thanks for the help!
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki