[Zope] Programatically setting advanced settings in zsql methods

Chris Withers chris at simplistix.co.uk
Tue Apr 5 19:07:04 EDT 2005


J Cameron Cooper wrote:
> Of course. You can do anything the ZMI does. If you look at how it's 
> done there, you will eventually come to the method manage_advanced. You 
> can see it online:
> 
> http://svn.zope.org/Zope/trunk/lib/python/Shared/DC/ZRDB/DA.py?rev=24751&view=auto 
> 
> I suppose you could also just set the property 'max_rows_' if that's all 
> you're interested in.

Check out how it's implemented in the CMF's FSZSQLMethods

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list