I've noticed that the manage_editCataloger code in 2.1.3 (and later?) still requires a REQUEST variable just to change the default catalog. I want to set my default catalog from a DTMLMethod and I don't want to go to display some result screen after the change has been made. Currently I've modified the method to simply return after setting the default_catalog if REQUEST is None. However, I don't really like having custom Zope mods since the probability of losing them is high when upgrading. What is the process for making a request for a change to a particular Zope method? Thanks. James W. Howe mailto:jwh@allencreek.com Allen Creek Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann Arbor, MI 48103
"James W. Howe" wrote:
I've noticed that the manage_editCataloger code in 2.1.3 (and later?) still requires a REQUEST variable just to change the default catalog. I want to set my default catalog from a DTMLMethod and I don't want to go to display some result screen after the change has been made. Currently I've modified the method to simply return after setting the default_catalog if REQUEST is None. However, I don't really like having custom Zope mods since the probability of losing them is high when upgrading. What is the process for making a request for a change to a particular Zope method?
Quick question, are using something like this: <dtml-call "manage_editCataloger('zcat',REQUEST)"> <dtml-call index_object> Or are you using manage_editCataloger as the action of a form? Half the time you want zope to be different, you need to use it differently. regards, David
Thanks.
James W. Howe mailto:jwh@allencreek.com Allen Creek Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann Arbor, MI 48103
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
At 10:26 AM 3/6/00 -0800, David Kankiewicz wrote:
"James W. Howe" wrote:
I've noticed that the manage_editCataloger code in 2.1.3 (and later?) still requires a REQUEST variable just to change the default catalog. I want to set my default catalog from a DTMLMethod and I don't want to go to display some result screen after the change has been made. Currently I've modified the method to simply return after setting the default_catalog if REQUEST is None. However, I don't really like having custom Zope mods since the probability of losing them is high when upgrading. What is the process for making a request for a change to a particular Zope method?
Quick question, are using something like this:
<dtml-call "manage_editCataloger('zcat',REQUEST)"> <dtml-call index_object>
Something similar to what you have above. The major difference is that I'm calling manage_editCataloger from Python code. Basically I'm trying to bulk load some objects from an XML file and I need to change the cataloger but I don't want to give any feedback to the user until I'm all done. James W. Howe mailto:jwh@allencreek.com Allen Creek Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann Arbor, MI 48103
From the Collector:
1) ZCatalog Feature w/patch: call manage_EditCataloger w/o returning manageMain Submitted: 1999/10/28 * * * This item is under review * * * You not the first to ask for it to be changed! Anyone care to comment? regards, David "James W. Howe" wrote:
<snip>
Something similar to what you have above. The major difference is that I'm calling manage_editCataloger from Python code. Basically I'm trying to bulk load some objects from an XML file and I need to change the cataloger but I don't want to give any feedback to the user until I'm all done.
James W. Howe mailto:jwh@allencreek.com Allen Creek Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann Arbor, MI 48103
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (2)
-
David Kankiewicz -
James W. Howe