| *** srichter has joined #zope3-dev | 00:08 | |
| *** jamur2 has quit IRC | 00:10 | |
| *** pelle__ has joined #zope3-dev | 00:13 | |
| *** lurkymclurkleton has quit IRC | 00:13 | |
| *** pelle_ has quit IRC | 00:21 | |
| *** J1m has quit IRC | 00:34 | |
| *** pelle__ has quit IRC | 00:45 | |
| *** pelle_ has joined #zope3-dev | 00:49 | |
| *** dvschramm has quit IRC | 00:54 | |
| *** pelle_ has quit IRC | 00:56 | |
| *** aaronv has joined #zope3-dev | 01:01 | |
| *** romanofski has joined #zope3-dev | 01:02 | |
| *** aaronv has quit IRC | 01:04 | |
| *** srichter has quit IRC | 01:06 | |
| *** jukart has quit IRC | 01:13 | |
| *** quodt has quit IRC | 01:14 | |
| *** amit_am has quit IRC | 01:22 | |
| *** afd_ has quit IRC | 01:31 | |
| *** srichter has joined #zope3-dev | 02:08 | |
| *** regebro has quit IRC | 02:11 | |
| *** dbfrombrc|afk has quit IRC | 02:13 | |
| *** jhauser has quit IRC | 02:17 | |
| *** greenman has quit IRC | 02:26 | |
| *** dbfrombrc has joined #zope3-dev | 02:28 | |
| *** junkafarian has quit IRC | 02:40 | |
| *** sm has quit IRC | 02:40 | |
| *** sm has joined #zope3-dev | 02:45 | |
| *** nathany has quit IRC | 02:49 | |
| *** sm has quit IRC | 02:49 | |
| *** troter has joined #zope3-dev | 03:03 | |
| *** greenman has joined #zope3-dev | 03:03 | |
| *** greenman has quit IRC | 03:26 | |
| *** greenman has joined #zope3-dev | 03:56 | |
| *** pcardune has quit IRC | 04:11 | |
| *** alecm has quit IRC | 04:57 | |
| *** baijum has joined #zope3-dev | 05:04 | |
| *** baijum has quit IRC | 05:13 | |
| *** baijum has joined #zope3-dev | 05:14 | |
| *** davisagli has left #zope3-dev | 05:15 | |
| *** davisagli has joined #zope3-dev | 05:19 | |
| *** davisagli has left #zope3-dev | 05:37 | |
| *** baijum has quit IRC | 05:50 | |
| *** rocky has quit IRC | 05:51 | |
| *** alecm has joined #zope3-dev | 06:00 | |
| *** romanofski has quit IRC | 06:13 | |
| *** davisagli has joined #zope3-dev | 06:35 | |
| *** greenman has quit IRC | 06:36 | |
| *** davisagli has quit IRC | 06:52 | |
| *** davisagli has joined #zope3-dev | 06:54 | |
| *** alecm has quit IRC | 06:54 | |
| *** redir has joined #zope3-dev | 06:55 | |
| *** baijum has joined #zope3-dev | 07:07 | |
| *** redir has quit IRC | 07:34 | |
| *** afd_ has joined #zope3-dev | 07:40 | |
| *** jfkw has quit IRC | 07:44 | |
| *** romanofski has joined #zope3-dev | 07:54 | |
| *** davisagli has quit IRC | 08:08 | |
| *** jukart has joined #zope3-dev | 08:12 | |
| *** troter has quit IRC | 08:15 | |
| *** malthe has joined #zope3-dev | 08:32 | |
| *** davisagli has joined #zope3-dev | 08:33 | |
| *** JaRoel|4D has quit IRC | 08:45 | |
| *** dbfrombrc is now known as dbfrombrc|Zzz | 08:46 | |
| *** jukart has quit IRC | 08:49 | |
| *** ignas has joined #zope3-dev | 08:50 | |
| *** stub has joined #zope3-dev | 08:57 | |
| *** pelle_ has joined #zope3-dev | 08:59 | |
| *** zagy has joined #zope3-dev | 09:02 | |
| *** __mac__ has joined #zope3-dev | 09:05 | |
| *** amit_am has joined #zope3-dev | 09:14 | |
| *** basti__ has joined #zope3-dev | 09:21 | |
| *** Theuni has joined #zope3-dev | 09:22 | |
| *** jukart has joined #zope3-dev | 09:24 | |
| *** agroszer has joined #zope3-dev | 09:33 | |
| *** greenman has joined #zope3-dev | 09:37 | |
| *** JaRoel|4D has joined #zope3-dev | 09:39 | |
| *** menesis has quit IRC | 09:39 | |
| *** mintsauce has joined #zope3-dev | 09:45 | |
| *** Theuni has quit IRC | 09:59 | |
| *** Theuni1 has joined #zope3-dev | 09:59 | |
| *** menesis has joined #zope3-dev | 10:04 | |
| *** mgedmin has joined #zope3-dev | 10:10 | |
| *** davisagli has left #zope3-dev | 10:16 | |
| *** agroszer_ has joined #zope3-dev | 10:16 | |
| *** mkerrin has joined #zope3-dev | 10:27 | |
| *** agroszer has quit IRC | 10:34 | |
| *** nyo has joined #zope3-dev | 10:35 | |
| *** junkafarian has joined #zope3-dev | 10:40 | |
| *** MJ has joined #zope3-dev | 10:44 | |
| *** MJ has quit IRC | 10:51 | |
| *** MJ has joined #zope3-dev | 10:59 | |
| *** Count-Duckula has joined #zope3-dev | 11:06 | |
| *** amit_am has quit IRC | 11:07 | |
| *** ktwilight__ has joined #zope3-dev | 11:17 | |
| *** MJ has quit IRC | 11:17 | |
| *** ktwilight_ has quit IRC | 11:30 | |
| *** MJ has joined #zope3-dev | 11:32 | |
| *** junkafarian has quit IRC | 11:33 | |
| *** markusleist has left #zope3-dev | 11:56 | |
| *** romanofski has quit IRC | 12:02 | |
| *** junkafarian has joined #zope3-dev | 12:06 | |
| *** MrTopf has joined #zope3-dev | 12:06 | |
| *** menesis has quit IRC | 12:07 | |
| *** menesis1 has joined #zope3-dev | 12:07 | |
| *** menesis1 is now known as menesis | 12:07 | |
| *** afd__ has joined #zope3-dev | 12:08 | |
| *** menesis has left #zope3-dev | 12:16 | |
| *** jpcw has joined #zope3-dev | 12:18 | |
| *** afd_ has quit IRC | 12:26 | |
| *** jayaraj has joined #zope3-dev | 12:27 | |
| *** greenman has quit IRC | 12:29 | |
| *** Aiste has joined #zope3-dev | 12:40 | |
| *** iham|away is now known as iham | 12:48 | |
| *** agroszer_ is now known as agroszer | 12:51 | |
| *** thetet has joined #zope3-dev | 12:52 | |
| *** stub has quit IRC | 13:06 | |
| *** Aiste has quit IRC | 13:12 | |
| *** Aiste_ has joined #zope3-dev | 13:12 | |
| *** agroszer has quit IRC | 13:15 | |
| *** baijum has quit IRC | 13:40 | |
| *** agroszer has joined #zope3-dev | 13:44 | |
| *** agroszer_ has joined #zope3-dev | 13:48 | |
| *** redir has joined #zope3-dev | 13:48 | |
| *** agroszer_ has quit IRC | 13:52 | |
| *** agroszer_ has joined #zope3-dev | 13:56 | |
| *** agroszer__ has joined #zope3-dev | 14:03 | |
| *** malthe has quit IRC | 14:03 | |
| *** agroszer has quit IRC | 14:04 | |
| *** agroszer has joined #zope3-dev | 14:07 | |
| *** jpcw has quit IRC | 14:11 | |
| *** quodt has joined #zope3-dev | 14:11 | |
| *** agroszer__ has quit IRC | 14:14 | |
| *** agroszer__ has joined #zope3-dev | 14:15 | |
| *** agroszer_ has quit IRC | 14:19 | |
| *** benji has joined #zope3-dev | 14:20 | |
| *** lucielejard has joined #zope3-dev | 14:25 | |
| *** agroszer has quit IRC | 14:29 | |
| *** redir has quit IRC | 14:34 | |
| *** dunny has quit IRC | 14:36 | |
| *** yotaff has joined #zope3-dev | 14:56 | |
| *** yotaff_ has joined #zope3-dev | 14:56 | |
| *** dvschramm has joined #zope3-dev | 14:57 | |
| *** lurkymclurkleton has joined #zope3-dev | 15:00 | |
| *** jayaraj has quit IRC | 15:01 | |
| *** agroszer__ has quit IRC | 15:02 | |
| *** jamur2 has joined #zope3-dev | 15:04 | |
| *** lurk_ has joined #zope3-dev | 15:05 | |
| *** lurkymclurkleton has quit IRC | 15:05 | |
| *** lurk_ is now known as lurkymclurkleton | 15:05 | |
| *** pelle_ has quit IRC | 15:08 | |
| *** J1m has joined #zope3-dev | 15:13 | |
| *** Aiste_ is now known as Aiste | 15:14 | |
| *** Theuni has joined #zope3-dev | 15:24 | |
| *** agroszer has joined #zope3-dev | 15:25 | |
| *** Theuni1 has quit IRC | 15:26 | |
| *** jayaraj has joined #zope3-dev | 15:29 | |
| *** jayaraj has quit IRC | 15:31 | |
| *** jayaraj has joined #zope3-dev | 15:32 | |
| *** jayaraj has joined #zope3-dev | 15:32 | |
| *** jayaraj has quit IRC | 15:39 | |
| *** regebro has joined #zope3-dev | 16:26 | |
| *** aaronv has joined #zope3-dev | 16:33 | |
| *** iham is now known as iham|away | 16:38 | |
| *** strichter has joined #zope3-dev | 16:47 | |
| *** jukart has quit IRC | 16:47 | |
| *** srichter has quit IRC | 16:48 | |
| *** basti__ has quit IRC | 16:48 | |
| *** malthe has joined #zope3-dev | 16:54 | |
| *** __mac__ has quit IRC | 16:58 | |
| *** sunoano has quit IRC | 17:00 | |
| *** jayaraj has joined #zope3-dev | 17:03 | |
| *** alecm has joined #zope3-dev | 17:09 | |
| *** Aiste has quit IRC | 17:12 | |
| *** nathany has joined #zope3-dev | 17:17 | |
| *** davisagli has joined #zope3-dev | 17:24 | |
| *** alecm has quit IRC | 17:25 | |
| *** sunoano has joined #zope3-dev | 17:29 | |
| *** lucielejard is now known as lucie|lunch | 17:30 | |
| *** mintsauce has joined #zope3-dev | 17:34 | |
| *** strichter has quit IRC | 17:37 | |
| *** strichter has joined #zope3-dev | 17:37 | |
| mintsauce | What would be the best schema field to use for a 'keyword' list entered by the user (so no vocab). I was assuming 'List' - but what value_type would I use? | 17:43 |
|---|---|---|
| nyo | mintsauce: TextLine? | 17:44 |
| *** MJ has quit IRC | 17:46 | |
| mintsauce | nyo: Yup - allthough that creates an interface element with an add button and checkboxes .... I just want a simple input field for text (using formlib *spit*) | 17:56 |
| *** harobed has joined #zope3-dev | 17:59 | |
| nyo | mintsauce: you need to create a custom widget for that then.. basically a TextLineWidget subclass with custom data converter | 18:01 |
| mintsauce | doh | 18:01 |
| nyo | and then specify it as a custom_widget for your field | 18:01 |
| mintsauce | where can i find examples of a custom data convertor? havent used one before ......... | 18:02 |
| nyo | mintsauce: with zope.formlib (widgets are zope.app.form actually) it's the _toFieldValue method of the widget | 18:03 |
| *** strichter has quit IRC | 18:04 | |
| nyo | mintsauce: and some method that converts value back to widget's representation (it's toWidgetValue in z3c.form, but IIRC, it has other name in zope.app.form) | 18:05 |
| nyo | mintsauce: ah it's _toFormValue | 18:06 |
| mintsauce | nyo: thanks, will had a fiddle | 18:07 |
| *** sm has joined #zope3-dev | 18:09 | |
| *** mintsauce has quit IRC | 18:12 | |
| *** zagy has quit IRC | 18:12 | |
| *** strichter has joined #zope3-dev | 18:14 | |
| *** agroszer_ has joined #zope3-dev | 18:18 | |
| *** agroszer has quit IRC | 18:18 | |
| *** __mac__ has joined #zope3-dev | 18:22 | |
| *** strichter is now known as srichter | 18:24 | |
| *** ChanServ sets mode: +o srichter | 18:24 | |
| *** nyo has quit IRC | 18:27 | |
| *** sm has quit IRC | 18:31 | |
| *** ignas has quit IRC | 18:35 | |
| *** alecm has joined #zope3-dev | 18:35 | |
| *** redir has joined #zope3-dev | 18:36 | |
| *** malthe has quit IRC | 18:42 | |
| *** thetet has quit IRC | 18:43 | |
| *** lucie|lunch is now known as lucielejard | 18:50 | |
| *** jukart has joined #zope3-dev | 19:05 | |
| *** __mac__ has quit IRC | 19:12 | |
| *** jayaraj has quit IRC | 19:12 | |
| *** jukart_ has joined #zope3-dev | 19:16 | |
| *** zagy has joined #zope3-dev | 19:22 | |
| *** pcardune has joined #zope3-dev | 19:22 | |
| *** jukart has quit IRC | 19:23 | |
| *** davisagli has quit IRC | 19:24 | |
| *** mgedmin has quit IRC | 19:25 | |
| *** jukart_ has quit IRC | 19:26 | |
| *** mkerrin has quit IRC | 19:33 | |
| *** zagy has quit IRC | 19:38 | |
| *** Count-Duckula has quit IRC | 19:40 | |
| *** quodt has quit IRC | 19:46 | |
| *** jukart has joined #zope3-dev | 19:54 | |
| *** nyo has joined #zope3-dev | 19:55 | |
| *** nyo has left #zope3-dev | 19:55 | |
| *** jukart has quit IRC | 20:03 | |
| *** davisagli has joined #zope3-dev | 20:07 | |
| *** nyo has joined #zope3-dev | 20:12 | |
| *** harobed has quit IRC | 20:13 | |
| *** sm has joined #zope3-dev | 20:24 | |
| *** Theuni has quit IRC | 20:27 | |
| *** junkafarian has quit IRC | 20:30 | |
| *** dunny has joined #zope3-dev | 20:32 | |
| *** afd___ has joined #zope3-dev | 20:52 | |
| *** agroszer__ has joined #zope3-dev | 20:53 | |
| *** redir has quit IRC | 20:58 | |
| *** zagy has joined #zope3-dev | 21:07 | |
| *** afd__ has quit IRC | 21:07 | |
| *** strichter has joined #zope3-dev | 21:08 | |
| *** agroszer has joined #zope3-dev | 21:11 | |
| *** agroszer_ has quit IRC | 21:11 | |
| *** redir has joined #zope3-dev | 21:14 | |
| *** yotaff has quit IRC | 21:15 | |
| *** bigkevmcd has quit IRC | 21:15 | |
| *** pcardune_ has joined #zope3-dev | 21:19 | |
| *** srichter has quit IRC | 21:20 | |
| *** pcardune has quit IRC | 21:20 | |
| *** _srichter has joined #zope3-dev | 21:20 | |
| *** zagy has quit IRC | 21:22 | |
| *** MrTopf has quit IRC | 21:28 | |
| *** strichter has quit IRC | 21:28 | |
| *** _srichter is now known as srichter | 21:31 | |
| *** ChanServ sets mode: +o srichter | 21:31 | |
| *** agroszer__ has quit IRC | 21:41 | |
| *** SpeedyGhost has quit IRC | 21:48 | |
| *** kaeru has quit IRC | 21:50 | |
| *** agroszer has quit IRC | 21:51 | |
| *** dbfrombrc|Zzz is now known as dbfrombrc | 22:00 | |
| *** menesis has joined #zope3-dev | 22:01 | |
| *** __mac__ has joined #zope3-dev | 22:05 | |
| *** regebro has quit IRC | 22:10 | |
| *** rocky has joined #zope3-dev | 22:52 | |
| *** aaronv_ has joined #zope3-dev | 23:04 | |
| *** redir_ has joined #zope3-dev | 23:08 | |
| *** quodt has joined #zope3-dev | 23:19 | |
| *** MrTopf has joined #zope3-dev | 23:22 | |
| *** shane_ has joined #zope3-dev | 23:22 | |
| *** redir has quit IRC | 23:23 | |
| shane_ | does anyone here have a good grasp of zope.schema's ISource concepts? | 23:24 |
| *** redir_ has quit IRC | 23:25 | |
| shane_ | around ISource there are tokens, terms, and values, and I can't find a document that nails down exactly what those mean. | 23:26 |
| nyo | shane_: isn't that the same as in vocabulary? | 23:26 |
| shane_ | maybe | 23:26 |
| davisagli | the token is what's used as a unique identifier within the widget, the value is what's actually stored in the field, the term is the link between the two | 23:26 |
| shane_ | I'm also trying to figure out whether vocabularies are deprecated. | 23:27 |
| nyo | shane_: that's interesting to me as well :) | 23:27 |
| shane_ | davisagli: good summary | 23:27 |
| shane_ | ok, field value is definitely clear | 23:28 |
| shane_ | now I'll go look at the code again and see if everyone actually agrees on that | 23:28 |
| nyo | shane_: vocabularies are still used everywhere and seem handy | 23:28 |
| shane_ | nyo: why did the vocabulary ZCML directive get deprecated then? | 23:29 |
| nyo | shane_: because it's a simply utility, so "utility" directive will work fine | 23:29 |
| nyo | shane_: so, to reduce number of zcml directives, I guess | 23:30 |
| shane_ | ok, then why are there both sources and vocabularies? | 23:30 |
| shane_ | can't they do the same thing? | 23:30 |
| nyo | shane_: i want to know ) the vocabulary seems to be a special case of source | 23:31 |
| shane_ | nyo: that sounds right. | 23:31 |
| shane_ | nyo: thanks for the help | 23:32 |
| nyo | shane_: BTW, looking at the interfaces, "terms" are for dictionaries, not sources. but I may be wrong here | 23:32 |
| *** aaronv has quit IRC | 23:33 | |
| shane_ | this question came up because I switched my app from zope.formlib to z3c.form and the sources broke | 23:33 |
| shane_ | it appears that z3c.form and zope.formlib interpret the interfaces differently. | 23:33 |
| *** __mac__ has quit IRC | 23:37 | |
| *** dvschramm has quit IRC | 23:39 | |
| shane_ | nyo: the zope.schema trunk has this comment in interfaces.py: # BBB vocabularies are pending deprecation, hopefully in 3.3 | 23:43 |
| shane_ | It's so hard to figure out just what is supposed to be deprecated sometimes :-( | 23:43 |
| shane_ | I'm tempted to remove that comment :-) | 23:44 |
| nyo | shane_: I guess they are intended to be deprecated because they have something to do with UI :) | 23:44 |
| nyo | shane_: there's also ITerms interface in zope.browser :) | 23:45 |
| nyo | shane_: btw, IIRC, support for sources was added to z3c.form's trunk | 23:45 |
| shane_ | yes, and that's supposedly a generalization of both sources and vocabularies | 23:45 |
| * nyo is afk for 10 mins | 23:45 | |
| *** aaronv_ has quit IRC | 23:46 | |
| *** aaronv has joined #zope3-dev | 23:46 | |
| *** benji has quit IRC | 23:51 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!