[Zope] Re: acl_users folder > 25000

2008-06-06 Thread Max M
read them from disk and save them in the ZODB. That is comparable. Perhaps you don't have a problem? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/lis

[Zope] Re: problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Max M
rg/Members/maxm/HowTo/minimal_01 So, where to start. Once we get some guidance, we could probably do it ourselves. Anyone willing to a$$$ist? We don't have a budget for it but could scrape something together to get started. You understand how to motivate ;-) -- hilsen/regards Max M

[Zope] Looks like a great tool for making web apis with minimal effort.

2008-02-13 Thread Max M
A web based tool for making any site into an api using xml, json etc. See the screencast: http://grid.orch8.net/extractions/grab -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org

[Zope] Re: Zope/plone behind ISS

2008-02-07 Thread Max M
TrashMan skrev: I can't. There is another service active with IIS . Oh yes. Just put apache in front of that and proxy it. No one will know the difference. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zop

[Zope] Re: urlparse equivalent

2007-12-15 Thread Max M
tely wrong about what I want to accomplish. You practically newer use urlparse like functionality when scripting and skinning zope. You sometimes do when developing special products, but then you got the entire python library to use. -- hilsen/regards Max M, Denmark http://www.mxm.dk

[Zope] Re: Groupmember in ATWorkgroups

2007-11-20 Thread Max M
r there si probably a few more place that needs a bit of changing for it to work. The main reason I have not changed it, is because it would change break the installed based. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science

[Zope] Re: Groupmember in ATWorkgroups

2007-11-20 Thread Max M
for being listed. But a great number of members of my plone site are without a member folder. How can I change the behaviour that all members of a workgoup will be listed? You cannot. Not without some recoding of the Products. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT

[Zope] Re: How to use Zope2 products in Zope3 ?

2007-10-10 Thread Max M
) I believe the cockbook is by Steven Rooster. A synonym for Charles Dickens. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross po

[Zope] Re: Zope is in trouble

2007-09-27 Thread Max M
many zope people. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.o

[Zope] Re: genealogy product?

2007-09-07 Thread Max M
some of the data and see how it pans out. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lis

[Zope] Re: Zope products that allows people to Add Commentsto publications

2007-06-29 Thread Max M
loper. You are too used to minor versions breaking stuff. The upshot of the dev team moving their time and efforts to zope 3 is that the zope 2 base stays very stable :-s I have some stuff from years ago that runs unchanged on recent zope 2's If it it aint broke ... :-) -- hilse

[Zope] Re: Urgent Help Required......

2007-01-15 Thread Max M
/~esr/faqs/smart-questions.html#urgent -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Re: a question about aq_base

2006-11-29 Thread Max M
name = getattr(obj, 'name') Is a lot different than name = getattr(obj.aq_base, 'name') In the first example you don't know if the name attribute is an aquired object or an attribute on the actual object. Which can make for uncontrollable results. -- hilsen/regard

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
e a new developer what I believe is good advice. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Relat

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
Max M skrev: Andreas Jung skrev: --On 6. November 2006 20:01:55 +0100 Max M <[EMAIL PROTECTED]> wrote: Well the problem is that Zope 2 was never easy for beginners either. And by now it is starting to get phased out for Zope 3. BS A case of bear says that in the next two years (

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
Andreas Jung skrev: --On 6. November 2006 20:01:55 +0100 Max M <[EMAIL PROTECTED]> wrote: Well the problem is that Zope 2 was never easy for beginners either. And by now it is starting to get phased out for Zope 3. BS A case of bear says that in the next two years (1. Jan. 200

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
releases. They are practially only about bugfixes and Z3 integration. Core Zope 2 development has practically grinded to a halt. New developments are taking place in Zope 3. How is that not an outphasing? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Sc

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
a *lot* more documentation of Z3 than there was of Z2 when I was a newbie in that... -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
jects I have heard about. They call it slowly migrating to Zope 3, but it really is the same goal! This will take years. But it is happening. Eg. any new development in Plone will be in Zope 3. At least afaik. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science __

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
work like Plone. I have done Zope for +6 years, and I would not dream of starting up a project from scratch in Zope 2 anymore. I did not say that Zope 2 was useless. I still spend most of my time working on Plone based projects. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ I

[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Max M
/2005-May/159291.html If your are using Zope 2 and is a newbie, do yourself the favour of starting with Zope 3. If you want to work in zope 2 you should use Plone as a base, and create products with Archgen XML (AGX) There are no advantages in using plain Zope 2 anymore. -- hilsen/regard

[Zope] Re: zope or python reading big or little Endian...

2006-08-28 Thread Max M
Allen Huang wrote: can anyone help me with this? I have a file that is written in a combination of big and little Endian bit-coding, can does anyone know how I can translate using python or zope? Check out Pythons struct module -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT'

[Zope] Re: Zope behind iis

2006-08-24 Thread Max M
nce bitten, twice shy!) Hmmm ... then try making a mistake in your apache httpd.conf and turn on proxy by mistake. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope ma

[Zope] Re: Using property() function in Zope 2.8

2006-07-06 Thread Max M
forgot all about ComputedAttribute. That's probably what you want if your class is an ExtensionClass. Yeah. I remember too now. I don't think I have used one of those since 2000 in plain Zope. Thanks. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phon

[Zope] Using property() function in Zope 2.8

2006-07-06 Thread Max M
p = PropTest() p.__ac_local_roles__ = 'working' print p.tester() -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http:

[Zope] Re: Improved Zope Org Proposal

2006-06-27 Thread Max M
g. Just in cases there is a nugget somewhere. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/z

[Zope] Re: Need prof. tool for conversion html->pdf

2006-06-22 Thread Max M
ne that can be automated. Then make sure that your Plone output can be converted via that tool. This turned up many interesting tools: http://www.google.dk/search?q=html+pdf+conversion -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mob

[Zope] Re: Render DTML inslide ZPT slot

2006-06-16 Thread Max M
thomas desvenain wrote: and how can we transfer the namespace of the current zpt doing : as we do in dtml writing : If it doesn't automatically you can most likely just write: -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 M

[Zope] Re: Questions on ZODB BTrees versus bsddb BTrees

2006-05-04 Thread Max M
ot; That date was when the site was migrated from the previous version. So the real creation date is lost somewhere in space-time. But ZCatalog has allways been part of Zope as long as I have developed in it. And that is since sometime in the nineties. -- hilsen/regards Max M, Denmark http:/

[Zope] Re: How to convert characters that have special meaning in HTML to HTML character entities

2006-04-06 Thread Max M
he characters, I tried this in my TAL: But it converted the '>' I replaced with a '>' back to a '>' upon rendering the string in a html page. Any ideas how I can achieve this? tal:content="structure d_stand_replaced_chars" -- hilsen/regar

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-16 Thread Max M
inity is locked down exactly as you'd like... With a 4 GB machine that is probably not a problem. You can usually run quite a few sites with that much memory. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile:

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-16 Thread Max M
arly it can be done. Hey... but thank you Jens for spending all that time writing an email that doesn't help any1 at all...!!! Sarkasm against a long time, and helpfull, list user will not help you any at all. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Scien

[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Max M
n assign 3 zeo clients on different processors that shares the zeo server. That should get you a lot of the way. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillis

[Zope] Re: display results from external source in zpt

2006-03-15 Thread Max M
;>view results Basically we would like to run above somehow but all results are returned within the same page. This might be what the doctor ordered? http://www.mxm.dk/products/public/mxmProxyTool/ -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 8

[Zope] Re: About Archetypes

2006-03-15 Thread Max M
ure it out, but very nice and really fast once you get to know it. http://plone.org/documentation/tutorial/archgenxml-getting-started http://gentleware.com/ (Poseidon) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile:

[Zope] Re: Problems with .po files

2006-03-13 Thread Max M
It probably doesn't like windows line endings. Try to use an editor that can convert to unix line endings. Eg. Crimson Editor is free, and ok. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile:

[Zope] Re: Upgrading to Zope 2.9.1

2006-03-10 Thread Max M
willing to fix it, I did it for myself by setting up my svn rules to linux line endings ... But it is clearly an annoying bug. Imagine if plain Python worked that way :-( -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile:

[Zope] Re: Need Urgent Help

2006-03-08 Thread Max M
and triple our rate d8) LOL! -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http:

[Zope] Re: Packing data.fs programmatically

2006-01-31 Thread Max M
hat is the better way then? ZEO and ordinary Python scripts? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] Re: Product refreshing in Zope 2.9

2006-01-31 Thread Max M
hout having to restart the server causing downtime and lost sessions. Oh, but it has. I just haven't moved to 2.9 yet. Not having refresh would be extremely annoying. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___

[Zope] Re: Zope vs Plone: performance issues!

2006-01-24 Thread Max M
Chris Withers wrote: Me? I couldn't _possibly_ comment ;-) Mr. Chris "FU" Withers, you might very will think so. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org

[Zope] Re: Can HTTP and WebDAV share port 80?

2005-12-08 Thread Max M
/VirtualHostBase/http/www.example.com:80/plone_instance/VirtualHostRoot/_vh_webdav/$1 [P,L] So that the webdav port can be gotten to at: http://www.example.com:80/webdav -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___

[Zope] Method cache (Memoize) for Zope

2005-10-09 Thread Max M
return 42 def some_function(self, *args, **kwargs): "Returns cached values" return self._cache_it(self._some_function, *args, **kwargs) But I guess that there must be someone who has allready written a more generic way to do it via generators? -- hilsen/regards

[Zope] Re: Using the set object within page templates

2005-09-27 Thread Max M
= obj def __getattr__(self, attr, default=_marker): if default is _marker: return getattr(self._obj, attr) else: return getattr(self._obj, attr, default) def __getitem__(self, key): return self._obj[key] -- hilsen/rega

[Zope] Re: JSON for Ajax applications

2005-09-23 Thread Max M
Jean-Marc Orliaguet wrote: Max M wrote: JSON (JavaScript Object Notation) is a lightweight data-interchange format. this is used at 100% and more in cpsskins for Zope3 (cf. z3lab.org). You might also have a look at Jim Washington's 'jsonserver' for Zope3 and its implement

[Zope] JSON for Ajax applications

2005-09-23 Thread Max M
on objects like dicts, lists, string, numbers etc. to transfer data. It is really simple to generate for Python programmers, so it is very simple to use in Zope too. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science __

[Zope] Re: Zope iso-8859-1 to utf-8

2005-09-13 Thread Max M
will be finding all the attributes, but perhaps you can write a method that can help find those properties for you using introspection. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org

[Zope] Re: Can I use datetime and timedelta in zope?

2005-09-05 Thread Max M
ateTime(dt.year, dt.month, dt.day, 0, 0, 0) def DT2dt(DT): """ Converts Zope DateTime to Python datetime, Zope DateTime is allways utc """ return datetime.fromtimestamp(DT.timeTime(), LocalTimezone()) -- hilsen/regards Max M, Denmark http://www.mxm.dk/

[Zope] Re: Adding a zope product

2005-09-02 Thread Max M
Peter Bengtsson wrote: you registered the manage_addminimal function for creating the actual object, but what about the ZMI form that lets call manage_addminimal? It is not necessary in this case, as the function sets the id and adds the instance. -- hilsen/regards Max M, Denmark http

[Zope] Re: Adding a zope product

2005-09-02 Thread Max M
the list of products. If you are starting from scratch learning Zope, and you don't want to use one of the frameworks, it would be far better to start on Zope 3 It's better coded, easier to understand, more futureproof and probably better documented. -- hilsen/regards Max M, Denmar

[Zope] Re: Sharing global data between threads / locking a method

2005-06-28 Thread Max M
Dieter Maurer wrote: Max M wrote at 2005-6-27 15:53 +0200: ... So in a external method/module I have a function like this: BUSY_STATE = 0 def sync_in_progress(busy=None): global BUSY_STATE if busy is None: return BUSY_STATE else: BUSY_STATE = busy Note that this is

[Zope] Sharing global data between threads / locking a method

2005-06-27 Thread Max M
method merely waits until the first one has completed. So it allways returns 'Sync done' and calls long_test_function() What am I misunderstanding here? Isn't it the right way to share global data? Or is there some kind of locking going on under my nose that I am to blind to see.

[Zope] Re: Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Max M
advice or guidance you could provide - it'd be greatly appreciated. Use Plone and references instead ;-) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/m

[Zope] Objects loosing persistency

2005-06-14 Thread Max M
the ZODB? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailma

[Zope] Re: Sending mail with attachments via Python

2005-05-03 Thread Max M
blame either Python, nor dtml or Zope for that. Python has a very nice email module, but even that can be difficult to use. Especially when using attachments and non-ascii encodings. Dtmls mail handling is limited to a specific set of problems. If you want to go outside those, you need to roll yo

[Zope] Re: Memorysegment error in Zope

2005-04-25 Thread Max M
eeper debugging. Nothing is more fun than debugging something with a 20 minutes timeout :-s -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cros

[Zope] Memorysegment error in Zope

2005-04-25 Thread Max M
to these kind of problems, having been spoiled by Python for too long. regards Max M I have attached the connection pool code in the bottom. ## # a borg/singleton for pooling connections. # Necessary as login can take a looong time class ConnectionPool

[Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Max M
that before sorting. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.o

[Zope] Re: How to convert Zope instance charset?

2005-04-24 Thread Max M
sort correctly. Or file a bug in the collector. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] Re: DateTime(), locale, summertime etc.

2005-04-07 Thread Max M
Max M wrote: When I convert to DateTime objects, they are saved as "9:00 Universal". So that is correct too. Ok. Turned out that I have misunderstood zopes DateTime(). It saves in UTC, but it still needs a timezone. So converting datetime objects to the local timezone and then conv

[Zope] Re: Does anyone care whether we deprecate ZClasses?

2005-04-07 Thread Max M
Chris Withers wrote: Jim Fulton wrote: I think ZPT and python scripts are much more useful tools for newbies who will often enter with a scripting rather than OO frame of mind. Wouldn't that be ZPT and adapters ;-) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's M

[Zope] Re: DateTime(), locale, summertime etc.

2005-04-07 Thread Max M
Max M wrote: I have a product where I convert some external datetimes to zope DateTime() objects. I save them as UTC as zopes DateTime does by default. But when these are rendered, the time is offset by two hours. Ok. I was unclear here. I convert from datetime objects (python) to DateTime

[Zope] DateTime(), locale, summertime etc.

2005-04-07 Thread Max M
along ;-) So it seems that there is some magic going on where Zope tries to take locale and summertime into account. Is this configurable somewhere. In Zope, Python, as a command switch or in a config file? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's M

[Zope] Re: Does anyone care whether we deprecate ZClasses?

2005-04-05 Thread Max M
. Please do drop them. Besides, I think that most people are starting up on Zope using a cms like Plone, and in there I believe they go straight for archetypes. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science ___ Zope maillist -

RE: [Zope] RESPONSE.redirect

2001-01-29 Thread Max M
first page you want shown. Or you could make a delay in JavaScript and after that do a self.document.src = "new/url" Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]

RE: [Zope] PCGI and MS-IIS on Nt5

2001-01-29 Thread Max M
2.3 You will probably want to use: http://www.zope.org/Members/4am/SiteAccess2 It can change your links so that they will match the ugly /scripts/zope.pcgi url that you get through IIS. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://

RE: [Zope] What the f*ck went wrong...?

2001-01-19 Thread Max M
an "Uninstalled" directory. I cannot imagine that it would be difficult. regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Shipping software is an unnatural act

[Zope] Security error when inserting object from my own Python product in objectmanager

2001-01-18 Thread Max M
cancel it inserts the object just fine. So it kind of works, but it looks somewhat sloppy to get a page full of errormessages when inserting an object. ;-) regards Max M Traceback (innermost last): File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\mxmZope

RE: [Zope] Mental disconnect help: Zope objects vs. Python objects in ZODB

2001-01-18 Thread Max M
have written a How-To that'll get you at least some of the way in understanding it. regards Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Shipping software

RE: [Zope] Setting the sort var in

2001-01-18 Thread Max M
From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Max M writes: > > Does anybody know if it is possible to programatically set the sort > > parameter in something like: >There is a product on zope.org that enhances sorting capabilities >drastically. Unfortunately, its na

RE: [Zope] Using images as submit buttons

2001-01-18 Thread Max M
Untested but tried: function submit(){ self.document.formName.submit(); } Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects

RE: [Zope] Putting a variable in a redirect call

2001-01-17 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Yvonne Totty >I need to replace the URL below to a partial and and an address, >like so: >('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTemp/'+LUserOut+'.do c')"> >to: >/COMTemp...blah, blah)"> Actually you are allmost doi

[Zope] Setting the sort var in

2001-01-17 Thread Max M
is it possible to use the sort from dtml-in in a Python Product as a method on the list that getAllComments() returns? Yes I could roll my own but it would be easier to use Zope's, if I knew how to. regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PRO

[Zope] Strange structured-text behaviour in Python Product.

2001-01-15 Thread Max M
I have a Python product where I have a variable called self.description but when I try to show it with the text doesn't get formatted. Is there any good reason for that? It shows the text just fine, just not as structured-text. Regards Max M Max M. W. Rasmussen,Denmark.

RE: [Zope] How do I authenticate through pcgi and win2000 ????

2001-01-15 Thread Max M
I just wondered if there is an "AUTHENTICATED_USER.authenticate(userName, password)" that I could call from a form. And then bypass all that IIS mumbo jumbo completely. Guess I will have to dig the sources. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director priva

[Zope] "PrincipiaSearchSource()" dtml-method and Catalog

2001-01-14 Thread Max M
The title gets indexed ok when i update my classes but not the content delivered via the PrincipiaSearchSource method. Does anybody have an idea? I have tried to return via PrincipiaSearchSource in 2 different ways (None of which works): #1 --- #2 --- regards Max M

RE: [Zope] Design/DTML question

2001-01-10 Thread Max M
The no-break tag is really underestimated. It can save loads of table tags.) (_['batch-size']/2)"> Max M. W. Rasmussen,Denmark. New Media Director priva

RE: [Zope] My own alternative interface WHOOPS that got mangled

2001-01-07 Thread Max M
d just set: in the alternative form. Do I have to make a new page to avoid it? something like: Regards Max m Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is f

[Zope] My own alternative interface to a propertysheet in a zClass gets redirected to the original interface

2001-01-07 Thread Max M
o avoid it? something like: I thought i could just set: in the alternative form. Regards Max m Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A

RE: [Zope] [python] converting int to string?

2001-01-07 Thread Max M
From: Jens Vagelpohl >in python you can do: >str(int) >and in zope you do it like >_.str(int) You can also use the short form in both Zope and Python: `int` Two of those funny `` characters surrounding what you want converted to a string. Regards Max M Max M. W. Rasmussen

RE: [Zope] tuples in DTML

2000-12-27 Thread Max M
String 2 > String 3 >Now, how do I iterate over the list in DTML? blah blah .... Something like the above ought to work. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

[Zope] newbie zcatalog

2000-12-19 Thread Max M. Stalnaker
Please consider the following code fragment: Classified: On execution, REQUEST.postingtext is displayed as expected. An object is placed in the Zcatalog postings as determined by using manage. However, clicking on the underlined id of an object in manage yields a traceback ending in an

[Zope] newbie permissions

2000-12-18 Thread Max M. Stalnaker
With some difficulty I got a web site up and it has a form that when submitted writes an object out to a Zcatalog. I am proud of myself. Alas, it asks me for a password when I stroke the submit button. I think I need to set some permissions on the Zcatalog. I need to set them to anonymous. But

RE: [Zope] ZPatterns

2000-12-17 Thread Max M
ead through your >explanation, I figured you were a regular ZPatterns user :-) No such luck. I am too busy right now to learn new stuff. Has to get a project or two out the door first. But it sounds very interresting so I will give it a go in the beginning of the new year. Regards Max M Max M

RE: [Zope] site structure

2000-12-14 Thread Max M
rue(){return 1;} --> anywhere on your page. Makes no difference. or you could: What goes here And then just make shure that your "header_script" method doesn't do any funny business through aquisition. ie. you should put an empty "header_scrip

RE: [Zope] site structure (fwd)

2000-12-14 Thread Max M
27; unique content. If I where to do it in regular Python I would use special classes for special layouts. That is hard to do in Zope. Regards maxm Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]

[Zope] Re: PIL Problem

2000-12-13 Thread Max M
s very limited font/text support though. I got this working pretty fast, as PIL is very well written, but I cannot find a way to transfer my Windows truetype fonts to PIL's proprietary format. Bummer. regard Max M --- buttonList = {} buttonList['02_ho

RE: [Zope] Another Zope E-Commerce Site Online

2000-12-06 Thread Max M
(It's been tested) Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein -Original Message- From: [EMAIL

RE: [Zope] Which Python versions are supported?

2000-12-06 Thread Max M
ppropriate for current Zope releases? Perhaps I just missed >it, but it would seem appropriate for this information to be in a prominent >place (i.e., Zope's download page). The current releases of Zope is suposed to use Python 1.5.2. It might work with Python 2.0 but it hasn't been

RE: [Zope] Dreamweaver

2000-12-04 Thread Max M
be a bother though. I believe Dreamweaver 4.0 is better in this regards. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. -

RE: [Zope] Finding PARENTS in an external method.

2000-11-30 Thread Max M
Thank you... just what the doctor ordered. It was the passing of PARENTS that did the trick I was looking for. Regards maxm Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED

[Zope] Finding PARENTS in an external method.

2000-11-30 Thread Max M
s Folder's, but no luck. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein

RE: [Zope] How do i write ?

2000-11-28 Thread Max M
t page works. But maybe letter=* will work. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. He

[Zope] Problem with "Python Script" in Zope-2.2.x-to-2.2.4-win32-x86.tgz or in my brain???

2000-11-27 Thread Max M
I just upgraded Zope on my Win 2K machine with Zope-2.2.x-to-2.2.4-win32-x86.tgz But I cannot find "Python Methods" or "Python Scripts" anywhere. Is it me being stupid or is the product missing from that tarball?? Regards Max M Max M. W. Rasmussen,Denmark. New Me

RE: [Zope] Access to Python arrays

2000-11-26 Thread Max M
ed for every parameter. Either an object has changed or it hasn't. So you don't have to trigger it individually for every list or whatever you use in your object. regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL P

[Zope] PropertyManager

2000-11-14 Thread Max M
Does anybody know a good example that shows the working of the PropertyManager?? An example with a product that subclasses the PropertyManager and sets the "_properties" and the "__ac_permissions__" would be preferable. But anything will do. Regards Max M Max M. W. R

RE: [Zope] help

2000-11-13 Thread Max M
a new user in acl_user in your Zope root and give that user Manger rights. Then you can do what you expect. Regards Max M Btw. You should probably use a more descriptive subject in your e-mails. It was by coincidence that I opened it. "Help" isn't terribly descript

RE: [Zope] Zope declining?

2000-11-12 Thread Max M
will be able to solve harder problems in 2 minutes. If only somebody better would take 2 minutes to solve some of my questions :-) Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
remember having seen any other way of doing it. I expect that better days will be here with v.2.3 as we will get Python Methods, or whatever they are called. >I am also still looking for example code using manage_delObjects. Sorry I cannot help there. Regar

[Zope] [ANNOUNCE] New Minimal product How-To

2000-11-12 Thread Max M
etail. If there is ANYTHING that is unclear please tell me about it. (Use the " Feedback to this page's author" link in the bottom of this page.)' Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]

  1   2   >