[Seaside] How to have two views of the same object

Mark Aufflick mark-st at aufflick.com
Thu Jun 22 02:58:59 UTC 2006


Hi all,

I'm wondering what is the best way to have multiple views of the same
object. Lets say I have an object to represent a weblog entry. I want
a display only view, and a display/edit view that are totally
different.

Is there a smart way to do this with something like a visitor instead
of just a big nasty if/else block based on who is viewing?

/Mark

-- 
Mark Aufflick
 e: mark at pumptheory.com
 w: mark.aufflick.com
 p: +61 438 700 647
 f: +61 2 9436 4737


More information about the Seaside mailing list