How to have two views of the same object

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to have two views of the same object

Mark Aufflick-6
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: [hidden email]
 w: mark.aufflick.com
 p: +61 438 700 647
 f: +61 2 9436 4737
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside