*** svennhg has joined #zope3-dev | 00:21 | |
*** oferw has quit IRC | 00:32 | |
*** sivang has quit IRC | 01:58 | |
*** sivang has joined #zope3-dev | 02:04 | |
*** sivang has quit IRC | 02:16 | |
*** Aiste has quit IRC | 02:54 | |
*** Aiste has joined #zope3-dev | 02:59 | |
*** alecm has joined #zope3-dev | 03:01 | |
*** svennhg has quit IRC | 03:52 | |
*** rocky is now known as rocky|Zzz | 04:03 | |
*** volvox has quit IRC | 04:11 | |
*** rocky|Zzz has quit IRC | 04:28 | |
*** alecm has quit IRC | 04:35 | |
*** alecm has joined #zope3-dev | 04:37 | |
*** retsu has joined #zope3-dev | 04:56 | |
*** yota has quit IRC | 05:01 | |
*** retsu has quit IRC | 05:23 | |
*** stub has joined #zope3-dev | 05:29 | |
*** retsu has joined #zope3-dev | 06:27 | |
*** alecm has joined #zope3-dev | 06:46 | |
*** hazmat has joined #zope3-dev | 07:55 | |
*** alecm has quit IRC | 07:56 | |
*** The|uni has joined #zope3-dev | 09:54 | |
*** d2m has left #zope3-dev | 10:14 | |
*** batlogg has joined #zope3-dev | 10:58 | |
*** flox|away is now known as flox | 11:06 | |
*** The|uni has quit IRC | 11:47 | |
*** stub has quit IRC | 11:52 | |
*** stub has joined #zope3-dev | 11:54 | |
*** zagy has joined #zope3-dev | 11:58 | |
*** baijum has joined #zope3-dev | 12:26 | |
romanofski | moin | 12:29 |
---|---|---|
*** stub has quit IRC | 12:36 | |
*** jukart has joined #zope3-dev | 12:42 | |
*** volvox has joined #zope3-dev | 12:46 | |
*** yota has joined #zope3-dev | 12:51 | |
*** oferw has joined #zope3-dev | 12:53 | |
*** SteveA has quit IRC | 13:03 | |
*** oferw has quit IRC | 13:06 | |
*** dunny has quit IRC | 13:08 | |
*** jhauser has joined #zope3-dev | 13:13 | |
*** mexiKON has joined #zope3-dev | 13:15 | |
*** The|uni has joined #zope3-dev | 13:27 | |
*** philiKON has quit IRC | 13:27 | |
*** jukart has quit IRC | 13:40 | |
*** oferw has joined #zope3-dev | 13:45 | |
*** tom__ has joined #zope3-dev | 13:55 | |
*** ChanServ sets mode: +o srichter | 13:59 | |
*** dobee has joined #zope3-dev | 14:02 | |
*** tom__ has quit IRC | 14:06 | |
*** stub has joined #zope3-dev | 14:08 | |
*** volvox has quit IRC | 14:15 | |
*** volvox has joined #zope3-dev | 14:26 | |
The|uni | hmm | 14:28 |
The|uni | i try to hook into traversal with five in Zope 2.9.4 | 14:29 |
The|uni | (actually 2.9.3, this was a typo) | 14:29 |
The|uni | for some reason it uses my ITraversable adapter within e.g. path expressions and stuff, but not while traversing to the published object | 14:29 |
The|uni | is that expected behaviour or do i have to do some more stuff than declaring OFS.Folder.Folder traversable and provide an adapter? | 14:30 |
*** jukart has joined #zope3-dev | 14:30 | |
jhauser | you want to call a method of the adapter with an url? | 14:31 |
The|uni | no | 14:31 |
The|uni | i want to use an adapter to do the actual part of the traversal | 14:31 |
jhauser | ah | 14:31 |
The|uni | ITraversal specifies how to traverse a name for a given object | 14:31 |
mexiKON | guys | 14:32 |
mexiKON | there's ITraverser | 14:32 |
The|uni | in pure zope 3 the combination i do works | 14:32 |
mexiKON | and ITraversable | 14:32 |
The|uni | yup | 14:32 |
The|uni | i want itraversable, i think. | 14:32 |
mexiKON | in pure zope3, ITraversable isn't even used for url traversal | 14:32 |
The|uni | what? | 14:32 |
* The|uni checks that again | 14:32 | |
The|uni | i did that a few weeks ago | 14:32 |
The|uni | hm | 14:33 |
The|uni | darn | 14:33 |
mexiKON | ITraversable is only for traversal inside ZPTs | 14:33 |
The|uni | you're right | 14:33 |
mexiKON | now, five got that wrong :) | 14:33 |
* The|uni kicks it | 14:33 | |
mexiKON | five <=1.4 uses ITraversable for URL traversable | 14:33 |
mexiKON | which is bad | 14:33 |
mexiKON | zope 2.10/Five 1.5 fixed that | 14:33 |
The|uni | well, obviously it doesn't ... i just set up an itraversable but it didn't do that. | 14:33 |
The|uni | or obviously i'm doing something wrong | 14:33 |
The|uni | which might very well be the case | 14:34 |
mexiKON | well, you need to make your thing five:traversable | 14:34 |
The|uni | i think i dit | 14:35 |
The|uni | did | 14:35 |
The|uni | i check whether ofs.folder.folder is the right thing | 14:35 |
The|uni | btw: i think we need a somewhat bigger sign that says: itraversable only for PT, itraverser for URL | 14:36 |
mexiKON | nonono | 14:36 |
mexiKON | you're getting it wrong | 14:36 |
mexiKON | ITraversable + ITraverser == only zpt | 14:36 |
mexiKON | IPublishTraverse == url traversal | 14:36 |
mexiKON | *Publish* | 14:36 |
The|uni | now i'm getting confused again | 14:37 |
mexiKON | ok, the api defined in zope.traversing is for zpt only | 14:37 |
mexiKON | url traversal happens with the api from zope.publisher | 14:37 |
mexiKON | namely, IPublishTraverse | 14:37 |
mexiKON | (or one of its derivatives, such as IBrowserPublisher) | 14:37 |
The|uni | ok. why is this different anyway? | 14:38 |
mexiKON | because url traversal != object traversal | 14:38 |
mexiKON | in zpt you want to be able to traverse so, say, methods and attributes of objects | 14:38 |
The|uni | anyway. zope.traversing should have some kind of information about that | 14:39 |
The|uni | the interface nowhere tells you that | 14:39 |
mexiKON | yes | 14:39 |
mexiKON | yes, agreed | 14:39 |
*** rocky has joined #zope3-dev | 14:40 | |
The|uni | now. that got much simpler now as well. | 14:43 |
*** oferw has quit IRC | 14:49 | |
*** retsu has quit IRC | 14:50 | |
*** retsu has joined #zope3-dev | 14:55 | |
*** mexiKON is now known as philiKON | 15:01 | |
*** The|uni is now known as theuni | 15:13 | |
*** jukart has quit IRC | 15:44 | |
*** ignas has joined #zope3-dev | 16:43 | |
*** J1m has joined #zope3-dev | 16:44 | |
*** jukart has joined #zope3-dev | 16:45 | |
*** baijum has quit IRC | 16:47 | |
*** zagy has quit IRC | 16:54 | |
*** zbir has joined #zope3-dev | 16:58 | |
J1m | theuni, ayt? | 17:11 |
*** zagy has joined #zope3-dev | 17:15 | |
theuni | a bit | 17:16 |
theuni | i'm cooking right now | 17:16 |
J1m | atr you working on issue 572? | 17:16 |
J1m | are | 17:16 |
theuni | nope. i only added me accidentally | 17:17 |
theuni | i removed me again | 17:17 |
theuni | the log tells the truth :) | 17:18 |
theuni | back to cooking | 17:18 |
J1m | k | 17:18 |
theuni | philiKON: do you have a working example of url traversal adapters on OFS.Folder with five? | 17:36 |
theuni | or anything near that? | 17:36 |
philiKON | zope <=2.9 unfortunately uses the wrong traversal adapters | 17:40 |
philiKON | it uses ITraversable | 17:40 |
philiKON | five does, that is | 17:40 |
theuni | hmm | 17:40 |
* theuni kicks a wall | 17:40 | |
theuni | i thought it uses both and only accidentally itraversable too | 17:41 |
theuni | i misunderstood you again :) | 17:41 |
* theuni goes back to itraversable | 17:41 | |
*** alecm has joined #zope3-dev | 17:51 | |
theuni | hmm | 17:54 |
theuni | philiKON: i can't get it to work with itraversable either | 17:54 |
theuni | looks like i'll have to debug | 17:54 |
theuni | :/ | 17:54 |
theuni | gone for food | 17:54 |
*** alecm has quit IRC | 18:29 | |
*** zagy has quit IRC | 18:51 | |
*** romanofski has quit IRC | 18:57 | |
*** stub has quit IRC | 19:01 | |
theuni | brzl. obviously you can only use traversable to plug in views, not arbitrary traversal | 19:09 |
theuni | (in five 1.4) | 19:09 |
*** retsu has quit IRC | 19:12 | |
*** alecm has joined #zope3-dev | 19:17 | |
*** ignas has quit IRC | 19:19 | |
*** b_52CEntos has quit IRC | 19:41 | |
*** b_52CEntos has joined #zope3-dev | 19:47 | |
*** batlogg has quit IRC | 19:48 | |
*** batlogg has joined #zope3-dev | 19:54 | |
*** volvox has quit IRC | 20:17 | |
*** srichter has quit IRC | 20:26 | |
*** jukart has quit IRC | 20:28 | |
*** J1m has quit IRC | 20:28 | |
*** dobee has quit IRC | 20:38 | |
*** rock1 has joined #zope3-dev | 20:48 | |
*** rocky has quit IRC | 20:48 | |
*** rock1 is now known as rocky | 20:48 | |
*** alecm has quit IRC | 21:16 | |
* theuni starts crying | 21:25 | |
* theuni stops crying and detects: order matters on multiple inheritance | 21:29 | |
* theuni blinks | 21:42 | |
theuni | just realized that proxies don't work from inside the class of the proxied object | 21:42 |
*** theuni has quit IRC | 21:45 | |
*** dunny has joined #zope3-dev | 22:17 | |
*** J1m has joined #zope3-dev | 22:18 | |
*** tarek has joined #zope3-dev | 22:34 | |
*** Theuni has joined #zope3-dev | 22:56 | |
*** jukart has joined #zope3-dev | 22:57 | |
*** Theuni has quit IRC | 23:10 | |
*** SteveA has joined #zope3-dev | 23:21 | |
*** alecm has joined #zope3-dev | 23:28 | |
*** dobee has joined #zope3-dev | 23:35 | |
*** dobee has quit IRC | 23:40 | |
*** jukart has quit IRC | 23:41 | |
*** alga has joined #zope3-dev | 23:41 | |
*** alga has quit IRC | 23:43 | |
*** J1m has quit IRC | 23:51 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!