[Zope3-Users] SQLObject and SQLOS question

2006-01-03 Thread Roman Susi
Hi! I am new both to Zope3 and SQLObject, but they seem (from the descriptions) to be natural fit. My problem is getting them work together. My goal: - seamlessly use sqlobjects for business logic in Zope3 (that is, part of the persistancy will be in MySQL db, part in ZODB). I want nice

Re: [Zope3-Users] problem Z3+cpsskins

2006-01-03 Thread Stephan Richter
On Saturday 31 December 2005 18:58, Hector Miuler Malpica Gallegos wrote: Hi friends, i have a problem actually use cpsskins of svn.z3lab.org and the zope3 of svn (svn.zope.org), whenever I want to create a subject shows the following error: You might have more luck asking on the z3-labs

Re: [Zope3-Users] SQLObject and SQLOS question

2006-01-03 Thread Stephan Richter
On Tuesday 03 January 2006 05:45, Roman Susi wrote: Now it looks like I need SQLOS (do I need it to my goal???)... Well, sqlos is one approach. It provides a nice layer that connects SQLObject and Zope 3. And I am at loss how to install in. Yes, I have read http://codespeak.net/z3/sqlos/

Re: [Zope3-Users] problem Z3+cpsskins

2006-01-03 Thread Jean-Marc Orliaguet
Stephan Richter wrote: On Saturday 31 December 2005 18:58, Hector Miuler Malpica Gallegos wrote: Hi friends, i have a problem actually use cpsskins of svn.z3lab.org and the zope3 of svn (svn.zope.org), whenever I want to create a subject shows the following error: You might have more

Re: [Zope3-Users] How hidden ZMI

2006-01-03 Thread Stephan Richter
On Wednesday 28 December 2005 04:10, 张平 wrote: I am newbie of zope, have installed zope3. I just want develop a web site use zope, not wanna dive into zope itself development. But when I add a bugtrack with the name of bugtrack, and visit it, the content of http://zope.host:8080/bugtrack

Re: [Zope3-Users] Which packages to remove from etc/package-includes

2006-01-03 Thread Stephan Richter
On Sunday 25 December 2005 06:51, Douglas Douglas wrote: Is this issue important or there's no real difference in how many packages get included on start? You are right, the fewer ZCML files you read, the faster it starts. First of all, to have a more minimal set of files read, use the

Re: [Zope3-Users] Confused re Fine Distinction btw a View and a Page

2006-01-03 Thread Stephan Richter
On Wednesday 07 December 2005 07:01, Jeff Rush wrote: I'm trying to understand how a sequence of pages is handled, as one example the IAdding (+) view. I'm running into the TAL use of the terminology: @@standard_macros/page versus @@standard_macros/view Both of those have much

Re: [Zope3-Users] My principals not being found by PrincipalRegistry

2006-01-03 Thread Stephan Richter
On Wednesday 30 November 2005 15:11, Alec Munro wrote: Specifically, this relates to the undo page. I have my own class of principal folder, as well as several classes of principals. These work for login, but when looking at the undo page, I get not available. Is there something I manually

Re: [Zope3-Users] (Ab)using utilities

2006-01-03 Thread Stephan Richter
On Tuesday 29 November 2005 18:16, Thomas Lotze wrote: Our current solution is to register utilities that handle type two and three items, and turn them into folders actually containing the items while we're at it. This does provide uniqueness of the type two and three item containers, as well

Re: [Zope3-Users] unauthenticated principal

2006-01-03 Thread Stephan Richter
On Sunday 27 November 2005 12:57, Florian Lindner wrote: my error log has a entry to a unauthenticated principal: unauthenticated, pre1, CS.User, beschreibung but why is there a username (pre1) being print? What does the unauthenticated means in that context? I have no clue. :-) Zope 3 has

Re: [Zope3-Users] Re: sqlos, sites and local utilities

2006-01-03 Thread Stephan Richter
On Wednesday 16 November 2005 10:13, Andreas Elvers wrote: Anyway I have created a functional unit test to demonstrate the problem. In fact the unit test shows that sqlos will always lookup global utilities and never local utilities. Here is the test. It will fail in the last block on

Re: [Zope3-Users] Add menu

2006-01-03 Thread Stephan Richter
On Wednesday 16 November 2005 06:31, [EMAIL PROTECTED] wrote: We're a little at loss because the Add menu disappeared from the pages, though, and we can't make out the logic behind its behaviour. Can you access the adding view manually? mycontainer/+/index.html If not, you need to register

Re: [Zope3-Users] how to run all tests for Z3 svn-trunk (bundle)?

2006-01-03 Thread Stephan Richter
On Monday 14 November 2005 16:47, Mark R. Biggers wrote: If anyone has any ideas, that would be most helpful. In the current trunk you do: python test.py -vp This will run pretty much all tests. It will skip by default all the ZODB, ZEO and related packages' tests. Regards, Stephan --

Re: [Zope3-Users] Renaming folder causes NotFoundError

2006-01-03 Thread Stephan Richter
On Monday 14 November 2005 16:00, John Smith wrote: Anyhow, I tried to rename the folder to something more descriptive, and Zope3 keeps coming up with the There has been a system error page, and on the terminal it say s NotFoundError, 'myfolder'. Sorry, that you had to wait that long for an

[Zope3-Users] Problems with form package and widget

2006-01-03 Thread Paolo Cilmo
Hi! I'm tryng to create in Zope3 a "select tag" with this code: voc=SimpleVocabulary.fromValues(lst) repository_choice=Choice(title=u'Repository', vocabulary='voc') repository_list=List(__name__='replist', title=u'Repositories', description=u'The repositories',

Re: [Zope3-Users] SQLObject and SQLOS question

2006-01-03 Thread Adam Groszer
Hello Roman, Have a look at http://codespeak.net/svn/z3/sqlos/trunk/doc/examples/sqlos_sample/ Tuesday, January 3, 2006, 11:45:57 AM, you wrote: Hi! I am new both to Zope3 and SQLObject, but they seem (from the descriptions) to be natural fit. My problem is getting them work together. My

Re: [Zope3-Users] Specialized URL traversal.. Best way?

2006-01-03 Thread Wade Leftwich
Marius Gedminas wrote: On Thu, Dec 29, 2005 at 11:22:28PM -0700, Jeff Shell wrote: Again, this is to have URLs like: myapp/@@tags/zope/viewlet And turn that into a catalog search for anyof {'zope', 'viewlet'} def publishTraverse(self, request, name): namestack =

[Zope3-Users] Search Results (was: How come no IView?)

2006-01-03 Thread Alen Stanisic
On Sun, 2006-01-01 at 20:40 -0700, Jeff Shell wrote: [...] While ZCML's view and page directives will put BrowserView into your base classes automatically if it's not there, I prefer to still use it as a base class directly. It makes the code more readable (I can see that 'SearchResults' is a