*** harobed__ has quit IRC | 00:02 | |
*** harobed_ has quit IRC | 00:02 | |
*** b_52GM has quit IRC | 00:03 | |
*** b_52GM has joined #zope3-dev | 00:04 | |
*** deo has quit IRC | 00:19 | |
*** Londo has quit IRC | 00:21 | |
*** Londo has joined #zope3-dev | 00:23 | |
*** MrTopf_ has quit IRC | 00:36 | |
*** schwendinger has joined #zope3-dev | 00:36 | |
*** schwendinger_ has joined #zope3-dev | 00:39 | |
*** rocky is now known as rocky|Zzz | 00:44 | |
*** dobee has joined #zope3-dev | 00:49 | |
*** schwendinger_ has quit IRC | 00:51 | |
*** schwendinger has quit IRC | 00:57 | |
*** Londo has quit IRC | 00:59 | |
*** dobee has quit IRC | 01:00 | |
*** benji has quit IRC | 01:06 | |
*** pelle_ has quit IRC | 01:07 | |
*** Londo has joined #zope3-dev | 01:09 | |
*** mkerrin has quit IRC | 01:24 | |
*** nathany has joined #zope3-dev | 01:24 | |
*** J1m has quit IRC | 01:31 | |
*** tarek has left #zope3-dev | 01:34 | |
*** nathany has quit IRC | 01:34 | |
*** bigkevmcd has quit IRC | 01:55 | |
*** jinty has quit IRC | 02:28 | |
*** waa has quit IRC | 02:31 | |
*** waa has joined #zope3-dev | 02:35 | |
*** b_52GM has quit IRC | 02:39 | |
*** b_52GM has joined #zope3-dev | 02:39 | |
*** jinty has joined #zope3-dev | 02:46 | |
*** nathany has joined #zope3-dev | 03:06 | |
*** tonico has quit IRC | 03:25 | |
*** natea has joined #zope3-dev | 03:43 | |
*** natea_ has quit IRC | 03:51 | |
*** b_52GM has quit IRC | 03:58 | |
*** niemeyer has quit IRC | 04:05 | |
*** jinty has quit IRC | 04:15 | |
*** b_52GM has joined #zope3-dev | 04:16 | |
*** alecm has quit IRC | 04:35 | |
*** supton has joined #zope3-dev | 04:48 | |
*** nathany has quit IRC | 04:49 | |
supton | is there a reasonable way to persist references to interfaces in zodb? I'm trying to create container/folder class using Five 1.4 that allows lookup of content objects by interface, so I'd like to store an index in an OOBTree for this lookup. | 04:51 |
---|---|---|
*** RaFromBRC has quit IRC | 04:55 | |
supton | the thing is, many interfaces I want to store reference to for this index are not subclassed from zope.app.interface.PersistentInterface | 04:55 |
supton | so I'm left wondering if I write a wrapper that subclasses Persistent, and then have that reference the interface somehow, but I'm still not sure that persists | 04:56 |
*** alecm has joined #zope3-dev | 05:12 | |
supton | okay, the pragmatist in me says don't bother trying to persist interfaces, just persist interface names and accept zope.interface.interface.InterfaceClass objects or interface names in the lookup method | 05:17 |
supton | still, I think the idea of persisting references to any arbitrary Interface would be useful | 05:17 |
*** alecm has quit IRC | 05:22 | |
*** supton has quit IRC | 05:30 | |
*** stub has joined #zope3-dev | 05:40 | |
*** b_52GM has quit IRC | 05:43 | |
*** b_52GM has joined #zope3-dev | 06:01 | |
*** alecm has joined #zope3-dev | 06:05 | |
*** stu1 has joined #zope3-dev | 06:18 | |
*** stub has quit IRC | 06:27 | |
*** Rohinton_ has joined #zope3-dev | 06:34 | |
*** baijum has joined #zope3-dev | 06:41 | |
*** yota has quit IRC | 07:14 | |
*** b_52GM has quit IRC | 07:16 | |
*** b_52GM has joined #zope3-dev | 07:16 | |
*** natea has quit IRC | 07:40 | |
*** natea has joined #zope3-dev | 07:43 | |
*** natea is now known as natea|zZz | 07:44 | |
*** natea has joined #zope3-dev | 07:47 | |
*** natea is now known as natea|zZz | 07:48 | |
*** zagy has joined #zope3-dev | 08:15 | |
*** natea|zZz has quit IRC | 08:27 | |
*** replaceafill has joined #zope3-dev | 08:39 | |
*** replaceafill has quit IRC | 08:41 | |
*** b_52GM has quit IRC | 08:53 | |
*** b_52GM has joined #zope3-dev | 08:54 | |
*** timte has quit IRC | 08:56 | |
*** yvl has joined #zope3-dev | 09:00 | |
*** schwendinger has joined #zope3-dev | 09:12 | |
*** wrobel has joined #zope3-dev | 09:19 | |
*** dobee has joined #zope3-dev | 09:19 | |
*** timte has joined #zope3-dev | 09:20 | |
*** zagy has quit IRC | 09:27 | |
*** Rohinton_ has left #zope3-dev | 09:28 | |
*** MrTopf has joined #zope3-dev | 09:33 | |
*** dlk has joined #zope3-dev | 09:42 | |
*** opetznick has joined #zope3-dev | 09:59 | |
*** romanofski has quit IRC | 10:01 | |
*** naro has joined #zope3-dev | 10:02 | |
*** yvl has quit IRC | 10:10 | |
*** harobed has joined #zope3-dev | 10:16 | |
*** jinty has joined #zope3-dev | 10:27 | |
*** jodok has joined #zope3-dev | 10:29 | |
*** Aiste has joined #zope3-dev | 10:30 | |
*** tarek has joined #zope3-dev | 10:38 | |
*** lzdych has joined #zope3-dev | 10:45 | |
*** b_52GM has quit IRC | 10:58 | |
*** pelle_ has joined #zope3-dev | 10:58 | |
*** ktwilight_ has joined #zope3-dev | 10:59 | |
*** b_52GM has joined #zope3-dev | 10:59 | |
*** ktwilight has quit IRC | 11:05 | |
*** yvl has joined #zope3-dev | 11:11 | |
*** jinty has quit IRC | 11:12 | |
*** alecm has quit IRC | 11:17 | |
*** dunny has quit IRC | 11:20 | |
*** MrTopf_ has joined #zope3-dev | 11:30 | |
*** kobold has joined #zope3-dev | 11:43 | |
*** yvl has quit IRC | 11:48 | |
*** MrTopf has quit IRC | 11:48 | |
*** jfroche has joined #zope3-dev | 11:49 | |
*** bigkev is now known as bigkevmcd | 11:56 | |
*** MrTopf_ has quit IRC | 11:56 | |
*** b_52Free has joined #zope3-dev | 11:58 | |
*** b_52GM has quit IRC | 11:59 | |
*** yvl has joined #zope3-dev | 12:01 | |
*** b_52Free has quit IRC | 12:23 | |
*** b_52Free has joined #zope3-dev | 12:24 | |
*** yvl has quit IRC | 12:28 | |
*** yvl has joined #zope3-dev | 12:28 | |
*** niemeyer has joined #zope3-dev | 12:35 | |
*** jinty has joined #zope3-dev | 12:38 | |
*** grahal has joined #zope3-dev | 12:40 | |
*** grahal_ has joined #zope3-dev | 12:40 | |
*** grahal_ has quit IRC | 12:41 | |
*** yvl_ has joined #zope3-dev | 12:50 | |
*** alga has joined #zope3-dev | 12:51 | |
*** mgedmin has joined #zope3-dev | 12:51 | |
*** b_52Free has quit IRC | 12:52 | |
*** b_52Free has joined #zope3-dev | 12:54 | |
*** b_52Free has quit IRC | 12:58 | |
*** pelle_ has quit IRC | 13:00 | |
*** pelle_ has joined #zope3-dev | 13:00 | |
*** pelle_ has quit IRC | 13:01 | |
*** Jell-O-Fishi has joined #zope3-dev | 13:03 | |
*** baijum has quit IRC | 13:04 | |
Jell-O-Fishi | hi. i think i've found a bug in zc.resourcelibrary. if i use a macro, and fill 2 slots, all the resources get included twice. this break zc.datetimewidget 's javascript, which goes into too many recursions. if i fill only one slot, everything gets included only once. | 13:06 |
*** ktwilight has joined #zope3-dev | 13:07 | |
*** yvl_ has left #zope3-dev | 13:10 | |
*** yvl has quit IRC | 13:14 | |
*** mkerrin has joined #zope3-dev | 13:16 | |
*** b_52Free has joined #zope3-dev | 13:17 | |
*** jelkner has joined #zope3-dev | 13:18 | |
*** jelkner has left #zope3-dev | 13:18 | |
*** ktwilight_ has quit IRC | 13:20 | |
*** baijum has joined #zope3-dev | 13:24 | |
*** baijum has quit IRC | 13:35 | |
*** baijum has joined #zope3-dev | 13:51 | |
*** b_52Free has quit IRC | 13:55 | |
*** b_52Free has joined #zope3-dev | 13:56 | |
*** alga has quit IRC | 13:57 | |
*** alga has joined #zope3-dev | 14:01 | |
*** droogie has joined #Zope3-dev | 14:13 | |
*** alga has quit IRC | 14:13 | |
*** alga has joined #zope3-dev | 14:13 | |
*** tonico has joined #zope3-dev | 14:14 | |
*** alga has quit IRC | 14:26 | |
*** benji has joined #zope3-dev | 14:33 | |
*** alga has joined #zope3-dev | 14:34 | |
*** rocky|Zzz is now known as rocky | 14:36 | |
*** alga has quit IRC | 14:48 | |
*** alga has joined #zope3-dev | 14:50 | |
*** misou has joined #Zope3-dev | 14:55 | |
misou | hello all | 14:55 |
misou | hum I have some difficult with formlib | 14:56 |
mgedmin | please continue | 15:00 |
misou | a browser form for a search form | 15:01 |
*** stu1 has quit IRC | 15:02 | |
misou | and the criteria disappear after search action | 15:03 |
misou | input content disappear | 15:04 |
misou | sorry for my english | 15:05 |
mgedmin | do you know how to use pastebots (see topic) to show us your code? | 15:05 |
misou | no | 15:05 |
misou | I don't know | 15:05 |
baijum | misou, go to http://zope3.pastey.net/ | 15:06 |
misou | ok | 15:06 |
baijum | copy and paste your code snips there | 15:06 |
baijum | after pasting, you will get a new URL like http://zope3.pastey.net/6217 (paste it here ) | 15:08 |
misou | only python | 15:08 |
misou | http://zope3.pastey.net/6545 | 15:09 |
*** natea has joined #zope3-dev | 15:10 | |
mgedmin | random comment: you appear to be mixing spaces and tabs for indentation | 15:11 |
mgedmin | that's a bad idea | 15:11 |
misou | oups | 15:11 |
mgedmin | can you also paste the page template? | 15:12 |
misou | ok | 15:12 |
mgedmin | I see nothing obviously wrong in the Python code | 15:13 |
mgedmin | other than that you're formatting html by hand (instead of using the page template) and not escaping the data you put there | 15:13 |
mgedmin | so any titles that have, say, ampersands will cause trouble | 15:13 |
misou | any title?? | 15:13 |
mgedmin | use cgi.escape() if you insist on creating html in python code (e.g. '<td>%s</td>' % cgi.escape(some_var)) | 15:14 |
mgedmin | but it is easier and safer to use page templates | 15:14 |
misou | http://zope3.pastey.net/6547 | 15:16 |
misou | in result table all values exist title, __name__.... | 15:19 |
mgedmin | I give up, I see no reason for that page to drop values from the search form | 15:20 |
misou | after action search | 15:20 |
misou | they disappear | 15:20 |
misou | it's possible it's class view of publication object? | 15:25 |
misou | we have been 2 developers and yet I am alone....pffffff | 15:27 |
*** natea has quit IRC | 15:27 | |
*** natea has joined #zope3-dev | 15:28 | |
misou | ok thanks | 15:29 |
*** alga_ has joined #zope3-dev | 15:35 | |
*** projekt01 has joined #zope3-dev | 15:39 | |
*** baijum has quit IRC | 15:40 | |
*** lzdych has quit IRC | 15:43 | |
*** b_52Free has quit IRC | 15:43 | |
*** b_52Free has joined #zope3-dev | 15:44 | |
*** alga has quit IRC | 15:51 | |
*** natea_ has joined #zope3-dev | 15:51 | |
*** ignas has joined #zope3-dev | 15:56 | |
*** natea has quit IRC | 15:59 | |
*** alga_ has quit IRC | 16:03 | |
*** pelle_ has joined #zope3-dev | 16:19 | |
*** misou has quit IRC | 16:27 | |
*** whit has quit IRC | 16:55 | |
*** whit has joined #zope3-dev | 16:56 | |
*** jodok has quit IRC | 16:58 | |
*** jodok has joined #zope3-dev | 17:08 | |
*** tarek has quit IRC | 17:39 | |
*** dlk has quit IRC | 17:39 | |
*** dlk has joined #zope3-dev | 17:40 | |
*** tarek has joined #zope3-dev | 17:42 | |
*** norro has joined #zope3-dev | 17:45 | |
*** timte has quit IRC | 17:56 | |
*** dlk has left #zope3-dev | 17:57 | |
*** kobold has quit IRC | 18:01 | |
*** jfroche has quit IRC | 18:02 | |
*** alecm has joined #zope3-dev | 18:13 | |
*** projekt01 has quit IRC | 18:14 | |
*** droogie has quit IRC | 18:18 | |
*** oferw has joined #zope3-dev | 18:22 | |
*** b_52Free has quit IRC | 18:40 | |
*** b_52Free has joined #zope3-dev | 18:40 | |
*** pelle_ has quit IRC | 18:52 | |
*** jodok has quit IRC | 19:11 | |
*** tarek_ has joined #zope3-dev | 19:14 | |
*** dobee has quit IRC | 19:18 | |
*** oferw has quit IRC | 19:19 | |
*** tarek has quit IRC | 19:29 | |
*** schwendinger has quit IRC | 19:30 | |
*** jfroche has joined #zope3-dev | 19:44 | |
*** ignas has quit IRC | 19:46 | |
*** tonico is now known as tonico|away | 19:48 | |
*** b_52Free has quit IRC | 19:49 | |
*** b_52Free has joined #zope3-dev | 19:50 | |
*** opetznick has quit IRC | 19:51 | |
*** norro has quit IRC | 19:53 | |
*** J1m has joined #zope3-dev | 20:08 | |
*** bigkevmcd has quit IRC | 20:09 | |
J1m | It appears to me that "zopectl run" doesn't work in Zope 3. | 20:10 |
J1m | Does anyone believe otherwise? :) | 20:10 |
*** RaFromBRC has joined #zope3-dev | 20:13 | |
* mgedmin never tried it | 20:17 | |
*** philiKON has joined #zope3-dev | 20:32 | |
Theuni | J1m: i do believe otherwise | 20:37 |
J1m | Oh? | 20:37 |
Theuni | i've used it with 3.3 and the trunk for the upcoming 3.4 several times | 20:37 |
J1m | Is this belief based on experience? | 20:37 |
Theuni | let me see whether it currently works in any of my current projects | 20:38 |
J1m | Hm | 20:38 |
philiKON | how is 'run' different that 'fg'? | 20:38 |
philiKON | s/that/from/ | 20:38 |
J1m | zopectl run scripr [args] | 20:38 |
philiKON | ah | 20:38 |
philiKON | gotcha | 20:38 |
*** henri_ has joined #zope3-dev | 20:38 | |
J1m | script | 20:38 |
Theuni | J1m: works for me | 20:38 |
Theuni | any specific error that you see? | 20:38 |
J1m | where are you getting the paths module that scriptzope uses? | 20:39 |
*** philiKON_ has quit IRC | 20:39 | |
Theuni | let me check | 20:39 |
J1m | See my private dialog to you | 20:40 |
Theuni | yup | 20:40 |
J1m | yup what? | 20:47 |
*** pelle_ has joined #zope3-dev | 20:53 | |
*** kobold has joined #zope3-dev | 20:54 | |
*** natea_ has quit IRC | 20:55 | |
*** natea has joined #zope3-dev | 20:56 | |
*** waa has quit IRC | 20:57 | |
*** waa has joined #zope3-dev | 20:58 | |
*** jinty has quit IRC | 21:01 | |
*** lzdych has joined #zope3-dev | 21:01 | |
*** jinty has joined #zope3-dev | 21:04 | |
*** dlk has joined #zope3-dev | 21:16 | |
*** schwendinger has joined #zope3-dev | 21:18 | |
*** jinty has quit IRC | 21:23 | |
*** ksmith99 has joined #zope3-dev | 21:26 | |
*** schwendinger_ has joined #zope3-dev | 21:35 | |
ksmith99 | hiya, how is a multiple selection widget done? does it require a custom widget? | 21:37 |
mgedmin | I think you get a multi-selection list box by default | 21:39 |
ksmith99 | so far using schema.List it defaults to a single selection list... i just found some docs though | 21:41 |
*** schwendinger has quit IRC | 21:43 | |
mgedmin | are you sure? | 21:44 |
mgedmin | I'm pretty sure Set(value_type=Choice()) gives you a multi-selection list | 21:45 |
mgedmin | I don't remember if I've ever used List(value_type=Choice()) | 21:45 |
*** schwendinger has joined #zope3-dev | 21:46 | |
ksmith99 | oh in value_type? thnks, I'll try it | 21:46 |
*** pelle_ has quit IRC | 21:49 | |
*** harobed has quit IRC | 21:50 | |
*** romanofski has joined #zope3-dev | 21:50 | |
*** rocky is now known as rocky|away | 21:54 | |
*** jodok has joined #zope3-dev | 21:54 | |
*** nathany has joined #zope3-dev | 21:55 | |
*** mkerrin has quit IRC | 21:55 | |
*** pelle_ has joined #zope3-dev | 21:59 | |
*** schwendinger_ has quit IRC | 22:03 | |
*** grahal has quit IRC | 22:03 | |
*** dlk has left #zope3-dev | 22:04 | |
*** kobold has quit IRC | 22:05 | |
*** opetznick has joined #zope3-dev | 22:07 | |
*** alecm has quit IRC | 22:09 | |
*** jodok has quit IRC | 22:16 | |
*** dunny has joined #zope3-dev | 22:18 | |
*** jfroche_ has joined #zope3-dev | 22:25 | |
*** tarek__ has joined #zope3-dev | 22:27 | |
*** jodok has joined #zope3-dev | 22:30 | |
*** tarek_ has quit IRC | 22:36 | |
*** jfroche has quit IRC | 22:36 | |
*** RaFromBRC has quit IRC | 22:37 | |
*** bigkevmcd has joined #zope3-dev | 22:40 | |
*** jodok has quit IRC | 22:41 | |
*** alecm has joined #zope3-dev | 22:49 | |
*** whit is now known as whit|busy4-1hr | 22:51 | |
*** MrTopf has joined #zope3-dev | 22:53 | |
*** RaFromBRC has joined #zope3-dev | 22:58 | |
*** dunny has quit IRC | 23:03 | |
*** natea_ has joined #zope3-dev | 23:03 | |
*** jodok has joined #zope3-dev | 23:06 | |
*** natea has quit IRC | 23:10 | |
*** opetznick has quit IRC | 23:10 | |
*** mgedmin has quit IRC | 23:23 | |
*** schwendinger has quit IRC | 23:26 | |
*** RaFromBRC has quit IRC | 23:28 | |
*** henri_ has quit IRC | 23:31 | |
*** lzdych has quit IRC | 23:33 | |
*** naro has quit IRC | 23:34 | |
*** RaFromBRC has joined #zope3-dev | 23:37 | |
*** J1m has quit IRC | 23:39 | |
*** J1m has joined #zope3-dev | 23:41 | |
*** RaFromBRC has quit IRC | 23:48 | |
*** RaFromBRC has joined #zope3-dev | 23:50 | |
*** nathany_ has joined #zope3-dev | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!