mcdonc | frdrake: in that proposal he says The full Zope 3 implementation of this proposal, except for the type argument of browser directives and the Browser Skin Names vocabulary, is available in the philikon-simplify-skinning branch. It is awaiting review but otherwise ready for merge. | 00:05 |
---|---|---|
*** efrerich has joined #zope3-dev | 00:08 | |
fdrake | Ah, I was thinking it had been merged. | 00:09 |
fdrake | Ok, I guess I'll wait. :-) | 00:10 |
*** fdrake has left #zope3-dev | 00:21 | |
*** benji has quit IRC | 00:35 | |
*** gumpa is now known as gumpa-afk | 00:38 | |
*** jinty has quit IRC | 00:44 | |
*** tiredbones has quit IRC | 00:49 | |
*** tiredbones has joined #zope3-dev | 00:49 | |
*** TrevorP has joined #zope3-dev | 01:02 | |
*** tarek has quit IRC | 01:13 | |
*** tarek has joined #zope3-dev | 01:17 | |
*** efrerich has quit IRC | 01:23 | |
*** srichter has joined #zope3-dev | 01:24 | |
*** pdex_ has joined #zope3-dev | 01:44 | |
pdex_ | moin | 01:45 |
*** pdex_ has quit IRC | 01:45 | |
*** rockyburt has joined #zope3-dev | 01:46 | |
*** ChanServ sets mode: +o srichter | 01:47 | |
*** sbj3 has quit IRC | 01:53 | |
*** philiKON has joined #zope3-dev | 02:00 | |
*** yota has quit IRC | 02:06 | |
*** tanghus has quit IRC | 02:24 | |
*** philiKON has quit IRC | 02:45 | |
*** oferw has quit IRC | 02:50 | |
*** rockyburt is now known as rockyburt|zzz | 03:23 | |
*** fabiorizzo has joined #zope3-dev | 03:27 | |
*** natea_ has joined #zope3-dev | 03:39 | |
*** newpers has quit IRC | 03:41 | |
*** natea_ has quit IRC | 03:41 | |
*** natea_ has joined #zope3-dev | 03:41 | |
*** natea has quit IRC | 03:54 | |
*** fabiorizzo has left #zope3-dev | 04:01 | |
*** zbir has joined #zope3-dev | 04:13 | |
*** srichter has quit IRC | 04:24 | |
*** srichter has joined #zope3-dev | 04:24 | |
*** ChanServ sets mode: +o srichter | 05:00 | |
*** natea_ is now known as natea|dinner | 05:07 | |
*** stub has joined #zope3-dev | 05:08 | |
*** stu1 has joined #zope3-dev | 05:09 | |
*** SureshZ has joined #zope3-dev | 05:14 | |
*** stub has quit IRC | 05:27 | |
*** baijum has joined #zope3-dev | 05:33 | |
*** deo has quit IRC | 05:35 | |
*** SureshZ has left #zope3-dev | 05:37 | |
*** sm has joined #zope3-dev | 05:40 | |
*** stu1 is now known as stub | 05:54 | |
*** natea|dinner has quit IRC | 06:31 | |
*** natea has joined #zope3-dev | 06:39 | |
*** natea_ has joined #zope3-dev | 06:43 | |
*** natea_ has quit IRC | 06:43 | |
*** natea has quit IRC | 07:00 | |
*** sm has quit IRC | 07:34 | |
*** dobee has joined #zope3-dev | 07:56 | |
*** tanghus has joined #zope3-dev | 07:58 | |
*** baijum has left #zope3-dev | 07:59 | |
*** rom|zZZ has quit IRC | 08:05 | |
*** dobee has quit IRC | 08:11 | |
*** tanghus has quit IRC | 08:11 | |
*** tanghus has joined #zope3-dev | 08:12 | |
*** baijum has joined #zope3-dev | 08:27 | |
*** tanghus has quit IRC | 08:32 | |
*** tanghus has joined #zope3-dev | 08:34 | |
*** tarek has quit IRC | 08:40 | |
*** dobee has joined #zope3-dev | 08:41 | |
*** tarek has joined #zope3-dev | 08:45 | |
*** eins has joined #zope3-dev | 08:45 | |
eins | hi | 08:45 |
*** hdima has joined #zope3-dev | 09:11 | |
*** zagy has joined #zope3-dev | 09:14 | |
*** j-w has joined #zope3-dev | 09:17 | |
*** eins has quit IRC | 09:19 | |
*** MJ has quit IRC | 09:29 | |
*** romanofski has joined #zope3-dev | 09:36 | |
*** sureshvv has joined #zope3-dev | 09:46 | |
romanofski | moin :) | 09:47 |
*** ignas has joined #zope3-dev | 09:47 | |
*** mp has quit IRC | 09:58 | |
*** Theuni has joined #zope3-dev | 10:03 | |
*** jinty has joined #zope3-dev | 10:27 | |
*** alga has joined #zope3-dev | 10:38 | |
*** romanofski has quit IRC | 10:38 | |
*** romanofski has joined #zope3-dev | 10:39 | |
*** sashav has joined #zope3-dev | 10:39 | |
*** Aiste has quit IRC | 11:03 | |
*** vinsci has quit IRC | 11:24 | |
*** vinsci has joined #zope3-dev | 11:24 | |
*** vinsci has joined #zope3-dev | 11:25 | |
*** vinsci- has joined #zope3-dev | 11:25 | |
*** dunny has quit IRC | 11:42 | |
*** zbir has quit IRC | 11:58 | |
*** zbir has joined #zope3-dev | 11:59 | |
*** andres has joined #zope3-dev | 12:01 | |
*** stub has quit IRC | 12:13 | |
*** alga has quit IRC | 12:23 | |
*** romanofski has quit IRC | 12:45 | |
*** romanofski has joined #zope3-dev | 12:46 | |
*** mgedmin has joined #zope3-dev | 12:46 | |
*** alga has joined #zope3-dev | 12:49 | |
*** rockyburt|zzz is now known as rockyburt | 13:05 | |
*** faassen has joined #zope3-dev | 13:07 | |
*** romanofski has quit IRC | 13:11 | |
*** stub has joined #zope3-dev | 13:17 | |
*** tarek has quit IRC | 13:36 | |
*** jinty has quit IRC | 13:42 | |
*** Aiste has joined #zope3-dev | 13:47 | |
*** jinty has joined #zope3-dev | 13:59 | |
*** __mac__ has joined #zope3-dev | 14:20 | |
*** yota has joined #zope3-dev | 14:30 | |
*** philiKON has joined #zope3-dev | 14:37 | |
*** romanofski has joined #zope3-dev | 14:40 | |
*** philiKON has quit IRC | 14:42 | |
*** philiKON has joined #zope3-dev | 14:43 | |
*** romanofski has quit IRC | 14:46 | |
*** rockyburt is now known as rockyburt|away | 14:48 | |
*** alga has quit IRC | 14:48 | |
*** jinty has quit IRC | 14:54 | |
*** natea has joined #zope3-dev | 14:56 | |
*** zopepaul has joined #zope3-dev | 15:05 | |
*** rockyburt|away is now known as rockyburt | 15:05 | |
*** roym has joined #zope3-dev | 15:09 | |
roym | Do I need to do anything special to get Acquisition in z3 trunk - "import Acquisition" gives me an error. | 15:10 |
philiKON | loll | 15:11 |
philiKON | Acquisition is dead, man :) | 15:11 |
philiKON | (the package, not the concept) | 15:11 |
roym | sigh! | 15:11 |
philiKON | it never existed in zope 3 | 15:11 |
philiKON | why do you need it? | 15:11 |
roym | I have hierarchical folders and wanted a child folder to "acquire" some of its parents methods | 15:12 |
roym | (er, subclasses derived from Folder) | 15:13 |
philiKON | so you have | 15:13 |
philiKON | folder/ | 15:13 |
philiKON | folder/subfolder1 | 15:13 |
philiKON | folder/subfolder2 | 15:13 |
philiKON | etc.? | 15:13 |
roym | roughly, yes... and I don't want to have to say context/__parent__ etc.. | 15:14 |
philiKON | i don't understand why you'd have to | 15:15 |
roym | ok - clue me in - what am I missing. if I have A/B/C and I want C to use A.f()? | 15:16 |
philiKON | What does A.f() do? | 15:17 |
*** romanofski has joined #zope3-dev | 15:18 | |
roym | I am using viewlets to paint some left nav links - and when I am in a view for C, I want the viewlet to have a link to some view of A. | 15:19 |
roym | so A.f() would produce links to navigate to views of A. | 15:21 |
roym | I mean, I have all the standard reasons that acquisition was so hot in Z2, and surely, some of them are still valid! | 15:22 |
philiKON | context/++acquire++f | 15:22 |
*** sashav has quit IRC | 15:22 | |
philiKON | explicit aquisition is still hot | 15:22 |
*** _anguenot has joined #zope3-dev | 15:23 | |
roym | looking at /usr/local/Zope3/src/zope/structuredtext/regressions/Acquisition.stx, don't I need to be able to import Acquisition to do this? | 15:23 |
roym | (bringing us back to my original question) | 15:25 |
philiKON | this text you're looking at... | 15:27 |
philiKON | look at its path name then think again ;) | 15:27 |
philiKON | it's old zope 2 legacy stuff | 15:27 |
philiKON | no idea what it's about in detail, but it's probably not what you want | 15:27 |
philiKON | context/++acquire++f doesn't require the Acquisition package, no | 15:27 |
roym | ah.. thanks! | 15:28 |
philiKON | it walks up the IPhysicallyLocatable parents (or just hard-wires to __parent__, dunno) | 15:28 |
roym | excellent - exactly what I was trying to get at. | 15:28 |
*** alga has joined #zope3-dev | 15:30 | |
*** romanofski has quit IRC | 15:32 | |
*** romanofski has joined #zope3-dev | 15:33 | |
*** zopepaul has quit IRC | 15:36 | |
*** TrevorP has quit IRC | 15:38 | |
*** natea is now known as natea|away | 15:42 | |
*** gumpa-afk is now known as gumpa | 15:53 | |
*** natea|away has quit IRC | 15:54 | |
*** benji has joined #zope3-dev | 15:54 | |
*** natea has joined #zope3-dev | 15:54 | |
*** sureshvv has quit IRC | 15:55 | |
*** TrevorP has joined #zope3-dev | 16:00 | |
*** baijum has left #zope3-dev | 16:14 | |
*** philiKON has quit IRC | 16:25 | |
*** sawdog has joined #zope3-dev | 16:25 | |
*** tanghus has quit IRC | 16:31 | |
*** zopepaul has joined #zope3-dev | 16:44 | |
*** Aiste is now known as Aiste|away | 16:49 | |
guruz | how can i tell zope to use the (@@)contents.html as the default instead of the edit.html i declared? i don't understand the type attribute of zope:defaultView | 16:54 |
mgedmin | guruz: do you mean the default as in when the user enters http://some/url/ you get the same view as http://some/url/@@contents.html | 16:55 |
mgedmin | or the default as in when the user clicks on 'url' in the ZMI, she gets url/@@contents.html? | 16:55 |
mgedmin | in the first case, use the defaultView directive | 16:55 |
mgedmin | in the second case, make sure @@contents.html is the first zmi_menu item for your content tye | 16:56 |
*** zopepaul has left #zope3-dev | 16:56 | |
guruz | thanks, i meant the second case. works now | 16:57 |
mgedmin | also you probably want <browser:defaultView> instead of <zope:defaultView> for the first case | 16:57 |
mgedmin | the 'type' attribute to <zope:defaultView> is the request type (IBrowserRequest, IHTTPRequest, IFTPRequest, ...) | 16:57 |
guruz | Ah. | 16:58 |
guruz | the API docs lack quality information like the one you provide :| | 16:58 |
mgedmin | there are API docs somewhere??? | 17:00 |
* mgedmin is so used to reading the source code when he needs to figure out something in zope3 | 17:00 | |
* mgedmin actually does know about ++apidoc++ and likes it, but he usually doesn't have a running zope3 instance, and starting one is too much of a hassle | 17:01 | |
srichter | mgedmin: I really hope to remove the final bugs from the static apidoc script at the next sprint | 17:02 |
*** MJ has joined #zope3-dev | 17:07 | |
*** sm has joined #zope3-dev | 17:07 | |
*** hdima has quit IRC | 17:13 | |
*** eins has joined #zope3-dev | 17:21 | |
*** natea has quit IRC | 17:21 | |
*** jinty has joined #zope3-dev | 17:29 | |
*** stub has quit IRC | 17:34 | |
*** vlado has joined #zope3-dev | 17:39 | |
*** mgedmin has quit IRC | 17:40 | |
*** regebro has joined #zope3-dev | 17:40 | |
*** MJ has quit IRC | 17:41 | |
*** tarek has joined #zope3-dev | 17:43 | |
regebro | Howdy all! | 17:45 |
regebro | Anybody have some example of how to use a specific ZODB file in a test? | 17:46 |
regebro | srichter mentioned testing upgrades that way together with layers... | 17:47 |
srichter | source.schooltool.org | 17:48 |
srichter | somewhere generatations are tested | 17:48 |
srichter | I think mgedmin or ignas know the detaiuls on that | 17:48 |
regebro | OK, thanks. | 17:49 |
guruz | great | 17:50 |
guruz | wrong channel | 17:50 |
*** tanghus has joined #zope3-dev | 17:50 | |
*** ignas has quit IRC | 17:56 | |
*** philiKON has joined #zope3-dev | 18:00 | |
*** andres has quit IRC | 18:04 | |
*** ignas has joined #zope3-dev | 18:05 | |
guruz | what do i need to do so my container supports the + operation? /mycontainer/+/zope.app.file.Image= gives me a 404 | 18:06 |
*** tarek has quit IRC | 18:15 | |
*** zagy has quit IRC | 18:23 | |
philiKON | + isn't an operation | 18:31 |
philiKON | it's a view | 18:31 |
philiKON | the adding view | 18:31 |
*** ignas has quit IRC | 18:32 | |
*** mkerrin has joined #zope3-dev | 18:46 | |
*** zbir has quit IRC | 18:47 | |
*** MJ has joined #zope3-dev | 18:48 | |
*** ignas has joined #zope3-dev | 18:53 | |
*** elro has joined #zope3-dev | 18:54 | |
*** mgedmin has joined #zope3-dev | 18:55 | |
guruz | philiKON: hmm | 18:57 |
srichter | guruz: the easiest way is to specify the <containerViews> ZCML directive | 19:00 |
guruz | srichter: i am already specifying that. i view my object as directory/container just fine, but i get a 404 when using the + view. i'm looking now if i have disabled that somehow | 19:03 |
srichter | your containerViews directive must specify the "add" attribute or something similar | 19:04 |
srichter | check aoidoc | 19:04 |
srichter | check apidoc | 19:04 |
srichter | http://localhost:8080/++apidoc++ | 19:04 |
guruz | i have add="zope.ManageContent" in it. do i have to specify a addForm ? | 19:05 |
srichter | no | 19:07 |
*** j-w has quit IRC | 19:07 | |
srichter | all this attribute does is generate the + view for you | 19:07 |
*** rockyburt has quit IRC | 19:10 | |
*** rockyburt has joined #zope3-dev | 19:11 | |
*** zagy has joined #zope3-dev | 19:12 | |
guruz | hum hum hum | 19:13 |
guruz | then i really wonder what could be wrong. | 19:14 |
guruz | anything else i could be missing? | 19:17 |
elro | hi there, I'm trying to build a search form (for an ldap search) and I think I want to use formlib. | 19:17 |
elro | So I have defined some schema based interdaces for a search and a search result | 19:18 |
*** romanofski is now known as rom|aw | 19:18 | |
elro | what I can't work out is how I return search results from a SearchForm(form.Form) | 19:19 |
guruz | srichter: any idea about my problem? | 19:21 |
guruz | introspector says i am implementing IContentContainer, so i think it should work | 19:22 |
*** gumpa has quit IRC | 19:23 | |
*** vlado has quit IRC | 19:24 | |
*** dobee has quit IRC | 19:29 | |
*** zbir has joined #zope3-dev | 19:29 | |
regebro | join #schooltool | 19:30 |
regebro | Oups, sorry. ;) | 19:30 |
guruz | hm i really have no clue | 19:33 |
guruz | ah | 19:34 |
guruz | srichter: this is funny: | 19:35 |
guruz | adding an image does not work | 19:35 |
guruz | it has as url that it can't find: mycontainer/+/zope.app.file.Image= | 19:35 |
srichter | does mycontainer/@@+ work? | 19:36 |
srichter | or mycontainer/+ for that matter | 19:36 |
*** mp has joined #zope3-dev | 19:37 | |
*** deo has joined #zope3-dev | 19:38 | |
guruz | adding a folder does work, and it has as url mycontainer/@@contents.html?type_name=BrowserAdd__zope.app.folder.folder.Folder | 19:38 |
guruz | @@+ gives me a radio button list, just + an error | 19:39 |
srichter | ok, that is strange | 19:39 |
srichter | so mycontainer@@+/zope.app.file.Image= should work | 19:39 |
guruz | container/@@+/zope.app.file.Image= does work indeed | 19:39 |
srichter | so mycontainer/@@+/zope.app.file.Image= should work | 19:40 |
srichter | yep | 19:40 |
srichter | it is strange that + is not automatically found as a view | 19:40 |
philiKON | perhaps mycontainer does something funny on __getitem__ | 19:41 |
srichter | yeah | 19:41 |
srichter | maybe its an IContentContainer issue? I dunno | 19:42 |
guruz | philiKON: yes, i have my own __getitem__.. hmm *looking at it* | 19:42 |
philiKON | there you go | 19:42 |
philiKON | i bet it's not working right | 19:42 |
philiKON | write a unit test for it where you do mycontainer[u'+'] | 19:43 |
philiKON | see if you get a KeyError | 19:43 |
*** zbir has quit IRC | 19:51 | |
*** elro has quit IRC | 19:51 | |
*** zbir has joined #zope3-dev | 19:51 | |
eins | can I remove objects using zope.app.debug.Debbuger? | 19:51 |
srichter | yep | 19:52 |
srichter | but you have to commit the transaction manually, I believe | 19:52 |
eins | oh | 19:52 |
eins | ok trying | 19:52 |
eins | srichter thanks, it worked;) | 19:53 |
srichter | cool | 19:54 |
guruz | philiKON: i don't see any error at my fault. how can it be that folders work and images do not? (they have different add-urls anyway) | 19:54 |
philiKON | guruz, write tests :) | 19:56 |
*** Aiste|away is now known as Aiste | 19:59 | |
guruz | hm | 19:59 |
guruz | okay great | 20:03 |
guruz | i never coded python before | 20:03 |
guruz | i found it out myself ;) | 20:04 |
guruz | if default is not none: | 20:04 |
guruz | return default | 20:04 |
guruz | raise KeyError | 20:04 |
guruz | :) | 20:04 |
guruz | philiKON: yes, but i have to look into how-to-write-tests first | 20:04 |
guruz | and i have some kind of deadline tomorrow (preseting my work to fellow students in my project) | 20:04 |
guruz | so i really wanted to have it fixes | 20:04 |
*** vinsci has quit IRC | 20:06 | |
*** vinsci- is now known as vinsci | 20:07 | |
*** faassen has quit IRC | 20:08 | |
*** dobee has joined #zope3-dev | 20:09 | |
*** eins has quit IRC | 20:10 | |
*** regebro has quit IRC | 20:10 | |
*** ignas has quit IRC | 20:21 | |
*** natea has joined #zope3-dev | 20:29 | |
*** natea is now known as natea|jfk | 20:31 | |
*** dunny has joined #zope3-dev | 20:41 | |
*** jinty has quit IRC | 20:45 | |
*** rockybur1 has joined #zope3-dev | 20:51 | |
*** stub has joined #zope3-dev | 20:55 | |
*** j1m has joined #zope3-dev | 20:56 | |
*** rockyburt has quit IRC | 21:04 | |
*** rockybur1 is now known as rockyburt | 21:04 | |
*** willfe has joined #zope3-dev | 21:10 | |
*** natea|jfk has quit IRC | 21:11 | |
willfe | Greetings, all! | 21:11 |
*** natea has joined #zope3-dev | 21:14 | |
*** natea has joined #zope3-dev | 21:15 | |
*** _anguenot has quit IRC | 21:27 | |
*** sashav has joined #zope3-dev | 21:35 | |
*** natea has quit IRC | 21:45 | |
*** jinty has joined #zope3-dev | 21:47 | |
*** mkerrin has quit IRC | 21:54 | |
*** tanghus has quit IRC | 21:57 | |
*** jhauser has joined #zope3-dev | 22:03 | |
*** tanghus has joined #zope3-dev | 22:04 | |
*** deo has quit IRC | 22:05 | |
*** stub has quit IRC | 22:08 | |
*** zbir has quit IRC | 22:11 | |
*** deo has joined #zope3-dev | 22:11 | |
*** zbir has joined #zope3-dev | 22:16 | |
*** deo has quit IRC | 22:22 | |
sawdog | If I'm building a product in Five, should I be setting the __parent__ of objects when I'm creating them? In my tests, none of my objects have __parent__ attribute, so things like zapi.asboluteURL fail | 22:23 |
*** ignas has joined #zope3-dev | 22:33 | |
*** deo has joined #zope3-dev | 22:34 | |
*** alga has quit IRC | 22:39 | |
*** zagy has quit IRC | 22:51 | |
*** dunny has quit IRC | 22:56 | |
*** sm has quit IRC | 22:57 | |
*** sm has joined #zope3-dev | 23:03 | |
*** alga has joined #zope3-dev | 23:13 | |
*** jan_s has joined #zope3-dev | 23:16 | |
*** tanghus has quit IRC | 23:25 | |
*** ignas has quit IRC | 23:38 | |
*** jinty has quit IRC | 23:43 | |
*** tanghus has joined #zope3-dev | 23:45 | |
*** elro has joined #zope3-dev | 23:48 | |
*** mgedmin has quit IRC | 23:56 | |
*** dobee has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!