I have the classic problem of wanting my method 'foo' to work like:
http://localhost/foo/a/b/c
where a,b,c are parameters passed to foo. I've found some info in the
mailing list archives, namely:
http://lists.zope.org/pipermail/zope-dev/2000-May/005197.html
Has the 'Traversal' interface been
What does it take to make an object publishable from an
ExternalMethod?
I.E., I have a class (see bottom of message) that does some url
traversal trickery, that works from a python product. Shouldn't I be
able to just stick it in an External method, and just return it, i.e.:
def returnme(self):
What can I do to maximize the peformance of a dtml-in statement?
When iterating over a 2000 row database query, it takes about 20
seconds - time mostly spent doing security checks, and calling
__getitem__ in DT_InSV.py. Is the performance of dtml-in just slow?
-Brett
I tried accessing keys off the 'data' object, and I just get an
'unathorized' error.
-Brett
"Dieter" == Dieter Maurer [EMAIL PROTECTED] writes:
Dieter Brett Carter writes:
I'm running Zope 2.2.2, and I'm trying to use the batching stuff for
the dtml-in tag, however, I
Does anybody have an example of how to use the supposed next-batches
mapping returned by dtml-in?
I'm trying to build a google-like pageing feature into my application,
so we just show the first 5 results, then have a link to each next
page, ie "1,2,3,4..."
Thanks,
-Brett
I've also discovered that setting overlap = 0 actually causes
everything to overlap by 1. I didn't see anything in the collector
about this either...
-Brett
"Brett" == Brett Carter [EMAIL PROTECTED] writes:
Brett I'm running Zope 2.2.2, and I'm trying to use the batc
I'm running Zope 2.2.2, and I'm trying to use the batching stuff for
the dtml-in tag, however, I can't seem to access any attributes off
the 'next-batches' or 'previous-batches' mapping object that's
supposed to be available, with the attributes 'batch-start-index',
'batch-end-index', and
Lee, I've been diddling around with the same stuff. It took me a lot
of introspection with printing of errors via MrCreosote/Spew. To
answer your question, 'section' is an object which contains an
attribute 'blocks'. If you want to render the dtml in there, you can
run the 'render_blocks'
Ok, I'll bite. Why doesn't the standard folder scale? Seems like a
design flaw to me - why doesn't the default folder use catalogs or BTrees?
-Brett
"Casey" == Casey Duncan [EMAIL PROTECTED] writes:
Casey Brett Carter wrote:
I have a folder with greater than 5000 ZClass
"Michel" == Michel Pelletier [EMAIL PROTECTED] writes:
Michel Because massive scale is not a requirment of folders, they
Michel are meant to organize content for humans, not to be
Michel large-collection containers. A folder with 5000 elements
Michel is not very useful to a
certainly doesnt seem to on a standard DTMLDocument / Method.
Andy - Original Message -
Andy From: "Brett Carter" [EMAIL PROTECTED]
Andy To: "Andy McKay" [EMAIL PROTECTED]
Andy Cc: [EMAIL PROTECTED]
Andy Sent: Tuesday, September 12, 2000 4:17 PM
Andy
"Andy" == Andy McKay [EMAIL PROTECTED] writes:
Andy - see the thread I started called 'Acqusition in a DTML tag'
I have a similar question.
-Brett
Andy Hmm well ive found i have TemplateDict object and of
Andy course my self. Perhaps there is a pythonism I have to
Andy research
"Shane" == Shane Hathaway [EMAIL PROTECTED] writes:
Shane Brett Carter wrote:
"Brett" == Brett Carter [EMAIL PROTECTED] writes:
Brett I've defined my own dtml tag (i.e. dtml-foo/dtml-foo)
Brett and I am trying to look up an object depending on the
Andy: here's what I've gleaned - in a dtml tag's render() method, you
get passed in self and a template dict, in my example let's call it
'md'. md is essentially a stack/dictionaryish object of the *current*
namespace - and one of the handy things that's always around in the
namespace is the
"Brett" == Brett Carter [EMAIL PROTECTED] writes:
Brett I've defined my own dtml tag (i.e. dtml-foo/dtml-foo)
Brett and I am trying to look up an object depending on the
Brett arguments passed to my tag. The python class that defines
Brett the tag inh
15 matches
Mail list logo