Re: [Zope3-Users] Traverse to nearest site in menu action

2005-04-01 Thread Stephan Richter
7.03.2005 13:53 Why in the world would you want to do that? This seems just awful. What is your use case? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training

Re: [Zope3-Users] Re: Traverse to nearest site in menu action

2005-04-01 Thread Stephan Richter
s > to see the site. Because once you specify a permission for a menu item, the check on the '__call__' method is skipped. 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Traverse to nearest site in menu action

2005-04-01 Thread Stephan Richter
: ('__call__', 0xb6ee2d6c>) > > > How do I have to call it? This is because the menu code makes the assumption that any view specified in the action provides a '__call__' method. Clearly your custom namespace does not. Maybe we should look for a different method t

Re: [Zope3-Users] Traverse to nearest site in menu action

2005-04-01 Thread Stephan Richter
ight have unwanted side-effects. 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 Zope3-users@zope.org http://mail.zop

Re: [Zope3-Users] Re: Traverse to nearest site in menu action

2005-04-01 Thread Stephan Richter
s not so great. Any way to normalize this path? You probably set your base path incorrectly. Anyways, I still think this is a horrible way to do it; I would rather build a view that forwards you to the site. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physi

Re: [Zope3-Users] Using add menus

2005-04-01 Thread Stephan Richter
gt; folder. Well, this is because you never tried to look up the `navMenu`? Did you actually create the `navMenu`? > I'm also wondering aboutn why I can specify a menu attribute in the addform > directive but not in the addMenuItem? Yes, you can. > I also don't want to ha

Re: [Zope3-Users] Re: [Zope3-checkins] SVN: Zope3/trunk/ Ok, it's time to bugfix since the release get much more important ; -)

2005-04-01 Thread Stephan Richter
CSaddMenu in a ZPT (view on a folder): > > > [ tal:attributes="href addItem/action" > tal:content="addItem/title">addItem ] > > > But this return a empty list. > > How is it used correctly? It all depends on what the context is. If context is

Re: [Zope3-Users] List all users in context

2005-04-01 Thread Stephan Richter
sing `getQueriables()`. Each queriable has a search method. If you simply pass in an empty string in as the query string, all principals for that queriable should be returned. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software

Re: [Zope3-Users] permissions to edit content

2005-04-01 Thread Stephan Richter
On Thursday 10 February 2005 11:41, mathieu gendron wrote: > other than the editform and the content class permissions, is there > anything else > needed??? Can you send the traceback? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student

Re: [Zope3-Users] dublin core access??

2005-04-01 Thread Stephan Richter
r functions and set the annotations on the naked object. 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 Zope3-users

Re: [Zope3-Users] Re: Traverse to nearest site in menu action

2005-04-02 Thread Stephan Richter
site = getNextSiteSomehow() defaultViewName = getDefaultViewName(site, self.request, site) view = zapi.getMultiAdapter((site, request), Interface, name=defaultViewName) return view() Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. stude

Re: [Zope3-Users] Re: Zope3-users Digest, Vol 6, Issue 3

2005-04-03 Thread Stephan Richter
ost noone here has enough experience with Flash to efficiently build a UI with it. If you want to develop a Flash-based UI, I am sure you would have a lot of support from the Zope 3 developers. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k

Re: [Zope3-Users] Re: Traverse to nearest site in menu action

2005-04-03 Thread Stephan Richter
olution? No, this is perfect. Its even cleverer than my suggest algorithm. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users ma

Re: [Zope3-Users] problem with adding a catalog

2005-04-11 Thread Stephan Richter
s of Zope 3 I can wait for > 3.1 surely, I would appreaciate if somebody would help me how to > create the Zope catalog. Oh, you are running on the X3.0 release? There were no catalogs. As such I assume Zemantic runs on the SVN trunk only. Regards, Stephan -- Stephan Richter CBU Physic

Re: [Zope3-Users] feedback while asking response

2005-04-13 Thread Stephan Richter
t;   -> output some end-text > > any ideas? I am pretty sure it does not. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Z

Re: [Zope3-dev] RE: [Zope3-Users] feedback while asking response

2005-04-13 Thread Stephan Richter
ite(data) To Roger: Please make sure you are replying to zope3-users, if that's where the mail originates. :-) Recently you tend to send everything to zope3-dev. Regardsm Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Softwa

Re: [Zope3-Users] How to organize common code for Z2 and Z3

2005-04-13 Thread Stephan Richter
distributed) In Zope 2: lib/python +-- textindexng +-- Products +-- TextIndexNG I think this would be a usable pattern; what do you think? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Trainin

Re: [Zope3-Users] How to organize common code for Z2 and Z3

2005-04-13 Thread Stephan Richter
all first and try things out :-) Where do you place them right now? I think for development they can be in src/textindexng/data (or similar) and in the release we can move them to a better place. I guess we will need a configuration file to specify the path? Regards, Stephan -- Stephan Ri

Re: [Zope3-Users] schema interface field validation

2005-05-05 Thread Stephan Richter
ntered No, you can't. It is one of the features that has not been implemented yet. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zo

Re: [Zope3-Users] how to change archetype edit

2005-05-05 Thread Stephan Richter
like that i tried _edit.pt > _edit_form.pt but nothing seems to be working..plone picks > up base_edit everytime it opens the archetype in edit mode.. Wrong List. This is Zope 3 help only. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)

Re: [Zope3-Users] Creating utilities overhead

2005-05-05 Thread Stephan Richter
he first declaration implies the second one. So this > looks like configuration overhead to me...thoughts? Well, this is totally different. Here you register a factory called "txng.lexicons.default", not a utility! So getUtility() will not wo

Re: [Zope3-Users] recusioin in zmi is not working

2005-05-06 Thread Stephan Richter
n Zope 3. We only support filesystem-based development. 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 Zope3-users@

Re: [Zope3-Users] Acquisition of Boiler Plate items

2005-05-06 Thread Stephan Richter
should I be subclassing IFolder to fiddle with > implicit acquisition? No. I think you are on the right track to have a custom method and use annotations. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Devel

Re: [Zope3-Users] some more info about zope3

2005-05-14 Thread Stephan Richter
ADME.txt files in both of them. 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 Zope3-users@zope.org http://mail.zo

Re: [Zope3-Users] LDAP support -- current status?

2005-05-17 Thread Stephan Richter
 :-) You might want to ask Florent, whom I CCed, to fix it; he wrote the code and knows LDAP well. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _

Re: [Zope3-Users] IContentType: interface implements another interface ?

2005-05-26 Thread Stephan Richter
nterface): pass class I2(Interface): pass directlyProvides(I2, I1) Here ``I1`` is provided by ``I2``, in other words ``I2`` must provide all the methods and fields described in ``I1``. Also note that ``I1`` extends ``IInterface`` and not ``Interface``! Regards, Stephan -- Stephan Richter C

[Zope3-Users] Interviews with people involved in Zope 3 projects

2005-06-01 Thread Stephan Richter
either! Oh yeah, and please don't be shy to come forward with your project! :-) Regards, Stpehan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zo

Re: [Zope3-Users] Re: Zope3 and LocalFS functionality

2005-06-03 Thread Stephan Richter
own DC implementations, etc. yourself as well. Anyway, I agree with Phillipp; such a feature will take some time and you cannot expect to be able to do it without being familiar with Zope 3's API. Of course, you could always pay someone to do it. Regards, Stephan -- Stephan Richter CBU

Re: [Zope3-Users] Some hint needed.

2005-06-03 Thread Stephan Richter
xception was raised (like connection closed by > network error) You would have to write special application-level code to handle this. For example, you could try to send a test query to check for the connection. If no response is received, you create a new connection. Regards, Stephan --

Re: [Zope3-Users] automatically adding content container

2005-06-03 Thread Stephan Richter
;SampleContainer']['SamplePerson'] = > sample_item_obj That's pretty much it. Except: obj.__parent__ ==> zapi.getParent(obj) Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Developm

Re: [Zope3-Users] shopping cart implementation

2005-06-03 Thread Stephan Richter
ake it clear or give some hint or suggestion? There is currently no shopping cart application for Zope 3. However, one could implement one using the zope.app.session package. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Soft

Re: [Zope3-Users] images in a content object

2005-06-03 Thread Stephan Richter
tion as we can give you without having a traceback of what's going wrong. I would also like to see the interfaces. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, D

Re: [Zope3-Users] Sequences & < > ... in content

2005-06-03 Thread Stephan Richter
" button. > > Is there a way to avoid this behavior, i.e. what can I do > if I want the content to actually contain an "<" and not > a "<"? > > I'm using the latest Zope 3 svn trunk. Please make a bug report. This should definitely work.

Re: [Zope3-Users] Some hint needed.

2005-06-05 Thread Stephan Richter
ays of doing it. It would be very disappointing if you do not follow this pattern. This way we could never embrace this DB driver. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training __

Re: [Zope3-Users] Catalog questions

2005-06-06 Thread Stephan Richter
unning there? The catalog was developed for Zope 3.1. There was no catalog in Zope 3.0. Or is that not what you are asking for? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training __

Re: [Zope3-Users] Schema, widgets and ZPT

2005-06-07 Thread Stephan Richter
m do all of this automatically for you. 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 Zope3-users@zope.org http://

Re: [Zope3-Users] Question/Problem with UserPreferences

2005-06-10 Thread Stephan Richter
ame "email" in expression \'++preferences++UserSettings/email\', > at line 6, column 15'] > > What is wrong there? This is not a preferences error, but a pagetemplate one. I have no clue what could have gone wrong here. Can you try a different name? Maybe somethi

Re: [Zope3-Users] Question/Problem with UserPreferences

2005-06-10 Thread Stephan Richter
t; I've tried email1 and emailX as variable names. Both produce exactly the > same error. > I got no idea what is wrong there... Can you attach the entire PT script? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web So

Re: [Zope3-Users] Question/Problem with UserPreferences

2005-06-10 Thread Stephan Richter
ences++/UserSettings/email" instead of: "++preferences++/UserSettings/email" I think this will work, since this is how I do it in API Doc as well. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k -

[Zope3-Users] Zope 3.1.0 beta 1 released!

2005-06-18 Thread Stephan Richter
opment Web Site":http://dev.zope.org/Zope3 - "Zope 3 Dev Mailing List":http://mail.zope.org/mailman/listinfo/zope3-dev - "Zope 3 Users Mailing List":http://mail.zope.org/mailman/listinfo/zope3-users - IRC Channel: #zope3-dev at irc.freenode.net Acknowledgments

Re: [Zope3-Users] Re: Zope 3.1.0 & Zope3 Developer's Book

2005-06-18 Thread Stephan Richter
l have. I am very booked till school starts again. I would need at least a week to get everything updated, not to mention covering new features. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k

Re: [Zope3-Users] login required on download zope3 page?

2005-06-20 Thread Stephan Richter
e this weekend. It seems to have something to do with the site's cache. d2m helped me out on Saturday and said he simply clicked it a couple of times. One figures. Sigh. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Softw

Re: [Zope3-Users] ZDaemonTests testUmask error

2005-06-21 Thread Stephan Richter
On Tuesday 21 June 2005 02:56, Alen Stanisic wrote: > This is the only error I get when running 'make check' should this be of > major concern? It's not a big concern, but it would be nice, if it could be fixed. If you have a patch, send it in. Regards, Stephan -- Stepha

Re: [Zope3-Users] Re: login required on download zope3 page?

2005-06-21 Thread Stephan Richter
On Tuesday 21 June 2005 01:22, Michael Haubenwallner wrote: > Processing the queue by hand solves the problem. How can I do that? I think we need to add a small section for these FAQs to the release making page. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.)

Re: [Zope3-Users] zsync

2005-06-21 Thread Stephan Richter
g time and I would not consider it stable, though most of the stuff should work. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-us

Re: [Zope3-Users] Presentation Components

2005-06-22 Thread Stephan Richter
rt of the largest change for Zoep 3.1, the removal of services. > If so, where can I found more information regarding the changes? Read the CHANGES.txt. If you want to know the internal scoop, read the *.txt files in zope.component and zope.app.component. Regards, Stephan -- Stephan Richt

Re: [Zope3-Users] woah... zcml O.D.

2005-06-23 Thread Stephan Richter
haps the basic idea is small amounts of > code, and large amounts of configuration/meta-programming via zcml? I would rephrase that: In order to produce clean, concern- and function-separated Python code, you need a fairly sophisticated configuration language to put all the pieces together. Regards,

Re: [Zope3-Users] suppress menu item with zcml?

2005-06-23 Thread Stephan Richter
f you can reproduce this problem in a simple/contained test, please add an issue for it. > What is the correct way to do what I'm trying to do? The simplest way would be to comment it out. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)

Re: [Zope3-Users] complete newbe question

2005-06-23 Thread Stephan Richter
to be more specific. 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Complex views implementes in Python

2005-06-23 Thread Stephan Richter
iguration from the HTML. During image generation, you simply use the data. 2. The HTML data is simply encoded in the image source URL and is used by the image generating view: Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. stud

Re: [Zope3-Users] Re: Zope 3.1.0 & Zope3 Developer's Book

2005-06-23 Thread Stephan Richter
load the files to zope.org. 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-dev] Utility Registration was:RE: [Zope3-Users] pluggableauthentication utility

2005-06-23 Thread Stephan Richter
or this, but also a good Python API, so that you can make use of the "wizard" via the Web and Python, which is very important to its success. For example, I think the new preference package is very powerful, since it makes it very simple to be used in Python, TALES and via Web pages. Re

Re: [Zope3-Users] pluggable authentication utility

2005-06-23 Thread Stephan Richter
opinion all nameless utilities are what services used to be. I have not yet seen an exception to this rule. The terminology I introduced for them in the new Tools UI (now called Site Management) is "Unique Utilities", since they are unique to a given site. Regards, Stephan -- Stephan Richt

Re: [Zope3-Users] zpt using the skin

2005-06-23 Thread Stephan Richter
think. (I remember answering this somewhere already, but I do it again for completion.) Use "context/@@standard_macros/view". Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _

Re: Utility Registration was:RE: [Zope3-Users] pluggable authentication utility

2005-06-23 Thread Stephan Richter
p a nice Web UI needs some thinking. 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 Zope3-users@zope.org http://mail.z

Re: [Zope3-Users] Compiling Zope 3 (Mac OS X 10.4.1, Xcode v2.1). Failure.

2005-06-23 Thread Stephan Richter
ready solved the problem, please post you solution here as well. 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 Zope3

Re: [Zope3-Users] Skin permissions: viewing wiithout login?

2005-06-23 Thread Stephan Richter
I have no clue what could have gone wrong. But try to make your permissions zope.View too. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___

Re: [Zope3-Users] Updating preferences from ZPT

2005-06-23 Thread Stephan Richter
rrent view. You might want to have a look at zope.app.apidoc.browser to see an example on how I wrote a custom preferences edit screen for the apidoc-related settings. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software D

Re: [Zope3-Users] Using a multicheckboxwidget instead of a multiselectsetwidget

2005-06-23 Thread Stephan Richter
  template="foo.pt" >     permission="zope.Public" >   > >       field="filetypes" >     class=".mywidgets.MultiCheckBoxWidget" >   /> >   > > Probably there're better ways to do this...? No, this is a good solution and should be

Re: [Zope3-Users] Announcement - jsonserver 1.0 alpha, JSON-RPC for Zope3

2005-06-23 Thread Stephan Richter
ich request to create. This way all you need to do is to register a new subscriber to hook up a new HTTP extension. Maybe I make it a utility, I don't know. :-) Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web S

Re: [Zope3-Users] Re: [Zope3-dev] zope-coders for zope3?

2005-06-24 Thread Stephan Richter
On Thursday 23 June 2005 14:48, Corey wrote: > I guess I was looking for a zope3 svn commits list; so I can see changes > and logs to the tree as they're commited. [EMAIL PROTECTED] Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. stude

Re: [Zope3-Users] Programmatically discovering XML-RPC methods?

2005-06-28 Thread Stephan Richter
should implement the XML-RPC variant and check it into Zope 3's core. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users maili

Re: [Zope3-Users] Re: [Z3lab-checkins] r24502 - in z3lab/cpsskins/trunk: . browser/editor browser/skin elements/formats

2005-06-29 Thread Stephan Richter
a solid opinion on this yet. Certainly, the style guide says nothing about this. But I agree we should start looking up adapters all of the time, instead of checking for provided interfaces. I think this is something we should bring up on zope3-dev. Regards, Stephan -- Stephan Rich

Re: [Zope3-Users] Re: [Z3lab-checkins] r24502 - in z3lab/cpsskins/trunk: . browser/editor browser/skin elements/formats

2005-07-01 Thread Stephan Richter
dered = getRenderer(layout, request) Yeah, that would be nice. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing

Re: [Zope3-Users] "Hi, I'm new here"

2005-07-15 Thread Stephan Richter
- Are there any good example apps I can look at so I can build "my first > app", which is likely to be Swishdot ;-) ZWiki and Bugtracker, both in the trunk, are two sample apps, but have not been modernized for a while. My book also features the messageboard package, which is in good

Re: [Zope3-Users] Ordered list of sub objects

2005-07-15 Thread Stephan Richter
to manage via another process. It would have been much clearer, if you would have provided a full use case instead of talking about it abstractly. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and

Re: [Zope3-Users] (no subject)

2005-07-15 Thread Stephan Richter
Zope 2 hosters. > I want learn to start a website for myself with zope3/python. > but I am totoally a newcomer, I have my environment installed for that. I > am reading zope3book ..., but I think I need all your excellent guys to > help some Feel free to ask questions here. Regards, S

Re: [Zope3-Users] Inline code in ZPT

2005-07-15 Thread Stephan Richter
;x" is not exported beyond the script tag. For some reason the "global x" call does not do what it used to do. > If it's not supported anymore, is there a way to return values from the > python script and use them in the zpt ? Florian gave you the right answer. Regards,

Re: [Zope3-Users] Getting all principals from PAU

2005-07-15 Thread Stephan Richter
iables(): q = {} for n, f in queriable.schema.namesAndDescriptions(): q[n] = f.default user_ids += list(queriable.search(q)) users = [pau.getPrincipal(id) for id in user_ids] Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - We

Re: [Zope3-Users] date formatting and dc object created datetime

2005-07-15 Thread Stephan Richter
t;> import pytz >>> tz = pytz.timezone('Australia/West') >>> dt = d.replace(tzinfo=tz) >>> l.dates.getFormatter('dateTime', 'full').format(dt) u'Tuesday, 25 January 2005 3:24:00 AM +800' 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Pluggable Authentication and SessionCredentialsPlugin

2005-07-15 Thread Stephan Richter
re commonly available. The login name is usually protected information. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing

Re: [Zope3-Users] Pluggable Authentication and SessionCredentialsPlugin

2005-07-15 Thread Stephan Richter
rds, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Searching Content Objects

2005-07-23 Thread Stephan Richter
On Saturday 23 July 2005 16:17, Jim Vine wrote: > It seems from the documentation that ZCatalog is the > prefered way of doing a search in Zope 2, but that > this isn't implemented in Zope 3. Use Zope 3.1 beta 1; it has indices and a catalog implementation. Regards, Stephan -- S

Re: [Zope3-Users] Announcement - jsonserver 1.0 beta1, JSON-RPC for Zope3

2005-07-29 Thread Stephan Richter
s. Hi Jim, please feel free to send me or the list some initial feedback about the APIs that could be easier and would make this product more simple. I will soon write a proposal and I would like to collect some initial use cases/ideas/suggestions before starting. Regards, Stephan -- Ste

Re: [Zope3-Users] Re: what is standard_macros Zope 2.3?

2005-07-29 Thread Stephan Richter
On Friday 29 July 2005 08:26, Lennart Regebro wrote: > >         metal:use-macro="context/@@standard_macros/page" > > > >         where can i find this standard_macros?. > > It's a standard part of Zope3... Defined in zope/app/rotterdam for the Rotter

[Zope3-Users] Zope 3 Bug Day Summary

2005-07-29 Thread Stephan Richter
336. Fixed 381. - Julien Anguenot (anguenot): Fixed 307. (Julien also fixed many bugs in recent weeks.) - Garrett Smith (garrett-smith): BBB code removal. Fixed 414. - Stephan Richter (srichter): Closed 302, 413, 415, 416, 419, 421. Additionally I want to thank Dmitry Vasiliev (hdima) who was n

Re: [Zope3-Users] Multi-directional adapters.

2005-08-01 Thread Stephan Richter
er between IBContainer, and IsomeContainer. There is also an > adapter between IobjA and IobjB. This use case has been solved for a long time using the API of zope.app.containers.constraints and is documented in several places. Regards, Stephan -- Stephan Richter CBU Physics & Chem

Re: [Zope3-Users] Properties of content components as containers.

2005-08-01 Thread Stephan Richter
sort of cases. Regardsm Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Providing schema information to Flash

2005-08-01 Thread Stephan Richter
d to the Flash application. 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Importing resource directory hierarchy

2005-08-01 Thread Stephan Richter
tor_template.js Yes, look at the browser:resourceDirectory directive. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users maili

Re: [Zope3-Users] How do I get the Interfaces in right order?

2005-08-01 Thread Stephan Richter
tributes and write out the menuItem directive explictely. 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Zope 3.1.0c1 released!

2005-08-02 Thread Stephan Richter
pretty much the same as the 'browser:editform' directive, except that the data is not stored on some context or adapted context but sent as a dictionary to special method (by default). For a complete list of changes see the 'CHANGES.txt' file. Resources - "Zope 3

Re: [Zope3-Users] re: Zope 3.1.0c1 released!

2005-08-02 Thread Stephan Richter
rds, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Using attributes in a nameChooser

2005-08-05 Thread Stephan Richter
ributes at this time of the creation > process? Simply start the debugger to see what's going on. import pdb; pdb.set_trace() inside the chooseName method and you can inspect the object. You might have to say "up" once first to access it. Regards, Stephan -- Stephan Richter CBU

Re: [Zope3-Users] To Subclass, or to Adapt?

2005-08-10 Thread Stephan Richter
an > object uses to promise its functionality. If an > Interface promises that an object will have a given > method, does it have to provide it directly, or can it > use an adapter to provide it? If an object promises it provides an interface it has to do so directly, not via an ad

Re: [Zope3-Users] Everything printing as ASCII?

2005-08-10 Thread Stephan Richter
ts str, not unicode. Use StringIO instead. 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 Zope3-users@zope.org http://ma

Re: [Zope3-Users] To Subclass, or to Adapt?

2005-08-12 Thread Stephan Richter
s. I really expect my core objects to have a core functionality. 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 Zope

Re: [Zope3-Users] To Subclass, or to Adapt?

2005-08-12 Thread Stephan Richter
sub-classes to adapt those to IRating? Yep. 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 Zope3-users@zope.org h

Re: [Zope3-Users] zope.schema.Object - Object of Objects

2005-08-28 Thread Stephan Richter
ie problem, but maybe this list is the right place for these > kinds of problems. I think you could add this to the Zope 3 wiki. This way it is at a central location. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web

Re: [Zope3-Users] zope.schema.Object - Object of Objects

2005-08-28 Thread Stephan Richter
On Sunday 28 August 2005 17:41, Stephan Richter wrote: > On Thursday 25 August 2005 21:14, Christian Lueck wrote: > > I want to define add- and edit-views for objects of objects with > > zope.schema.Object and zope.app.form.browser.ObjectWidget.  Roger > > Ineichen and Andre

Re: [Zope3-Users] Accessing adapter methods from zpt

2005-08-28 Thread Stephan Richter
amming and ZPT should be only for templating. All programming should be done in view classes. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Z

Re: [Zope3-Users] Re: Using attributes in a nameChooser

2005-08-28 Thread Stephan Richter
cess to their objects. > > What do you think is the best solution of the problem above? Simply that > the user could choose a name of the object. Just write your custom view class, overriding the update() method. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.

Re: [Zope3-Users] resized images

2005-08-28 Thread Stephan Richter
e a new factory and make a custom add menu entry. That should be all. Regards, stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing

Re: [Zope3-Users] Need to find RSS product

2005-08-28 Thread Stephan Richter
an use standard Python libraries to get the files off of other servers. Note that the latter part should become easier, once we integrate twisted into Zope 3. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Devel

Re: [Zope3-Users] preferences question

2005-08-28 Thread Stephan Richter
mechanism. It's a bug, if you could file it in the issue tracker, I would really appreciate it. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training __

Re: [Zope3-Users] Zope3-3.1.0c1.tgz & OpenBSD 3.7

2005-08-28 Thread Stephan Richter
Zope-3.1.0c1/build/lib.openbsd-3.7-i386-2.3/zope/app/apidoc >/codemodule/browser/README.txt' Is this file there? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _

Re: [Zope3-Users] Zope3-3.1.0c1.tgz & OpenBSD 3.7

2005-08-28 Thread Stephan Richter
On Friday 12 August 2005 03:19, Philippe Nenert wrote: > 2) i explain my command > root mode Never run in root mode. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development an

Re: [Zope3-Users] write a product keeping the customization of the instances in mind

2005-08-28 Thread Stephan Richter
> solved by reading the right URL - so feel free to push me in the right > direction with a nice RTFM ;) Reading long E-mails always turns me off. I rather read 4 small ones. ;-) Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web

Re: [Zope3-Users] write a product keeping the customization of the instances in mind

2005-08-28 Thread Stephan Richter
lTool project does. 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] write a product keeping the customization of the instances in mind

2005-08-28 Thread Stephan Richter
g this. ;-) Of course, if you want the admins to be able to adjust *content*, then you have to get into the content internationalization. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software De

  1   2   3   4   5   6   7   8   9   >