On Tuesday 06 February 2007 15:01, Dennis Schulz wrote: > one question about views: > > I know that is is possible to register a default view for an object. > Is there a way to decide, at runtime, which view to call? > > Maybe a traversal adapter can do this,but is there an easier way?
Register a default view that implements the logic selecting a view dynamically. Then you can redirect to this view. The Selected Management View does something like that. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope3-users
