*** RaFromBRC has joined #zope3-dev | 00:17 | |
*** suresh has quit IRC | 00:29 | |
*** suresh has joined #zope3-dev | 00:38 | |
*** yota has quit IRC | 00:56 | |
*** andrew_m has quit IRC | 01:05 | |
*** andrew_m has joined #zope3-dev | 01:05 | |
*** sm has quit IRC | 01:14 | |
*** suresh has quit IRC | 01:18 | |
*** suresh has joined #zope3-dev | 01:19 | |
*** RaFromBRC has quit IRC | 01:38 | |
*** philiKON has quit IRC | 01:42 | |
*** philiKON has joined #zope3-dev | 01:44 | |
*** timte has quit IRC | 01:45 | |
*** sashav has joined #zope3-dev | 01:54 | |
tvon | is ZC in the process of developing a somewhat secret ECM? | 01:57 |
---|---|---|
* tvon is trying to figure out the politics of the z3lab discussions | 01:58 | |
philiKON | if it's secret, then how should we know? plus, do you think anyone would well YOU? ;)) | 02:00 |
*** sashav has quit IRC | 02:00 | |
tvon | I thought maybe I'd catch someone of guard :) | 02:01 |
tvon | or 'off guard' | 02:01 |
philiKON | no ZC guys here :) | 02:02 |
tvon | ah | 02:03 |
*** suresh has quit IRC | 02:06 | |
*** alienoid has quit IRC | 02:17 | |
*** tvon has quit IRC | 02:38 | |
*** SureshZ has joined #zope3-dev | 02:42 | |
*** tvon has joined #zope3-dev | 02:53 | |
roym | Tried asking this earlier - thought I might try and catch someone who | 03:03 |
roym | might be in a good enough mood to answer this... | 03:03 |
roym | 03:03 | |
roym | What incantation should I use to specify a single valued | 03:03 |
roym | choice, so that preferably a radio button is shown in the edit view, | 03:03 |
roym | somewhat like the following spec for a multi-valued field: | 03:03 |
roym | 03:03 | |
roym | | specialties = List( | 03:03 |
roym | | title=u"Specialties", | 03:03 |
roym | | unique=True, | 03:03 |
roym | | value_type=Choice(vocabulary="specialties"),) | 03:03 |
*** SureshZ has quit IRC | 03:38 | |
*** roym has quit IRC | 03:39 | |
*** SureshZ has joined #zope3-dev | 03:45 | |
*** SureshZ has quit IRC | 04:16 | |
*** SureshZ has joined #zope3-dev | 04:23 | |
*** douglasc has joined #zope3-dev | 04:35 | |
*** guido_g has quit IRC | 04:38 | |
*** dman13_ has joined #zope3-dev | 04:48 | |
*** dman13 has quit IRC | 05:05 | |
*** SureshZ has quit IRC | 05:15 | |
*** tav has quit IRC | 05:17 | |
*** SureshZ has joined #zope3-dev | 05:17 | |
*** tav has joined #zope3-dev | 05:19 | |
*** douglasc has quit IRC | 05:26 | |
*** suresh has joined #zope3-dev | 05:33 | |
*** projekt01 has quit IRC | 05:39 | |
*** SureshZ has quit IRC | 05:41 | |
*** SureshZ has joined #zope3-dev | 05:41 | |
*** suresh has quit IRC | 05:46 | |
*** suresh has joined #zope3-dev | 05:47 | |
*** SureshZ has quit IRC | 05:52 | |
*** SureshZ has joined #zope3-dev | 06:44 | |
*** philiKON has quit IRC | 06:54 | |
*** suresh has quit IRC | 06:54 | |
*** tvon has quit IRC | 06:54 | |
*** jhauser has quit IRC | 06:54 | |
*** wiggy has quit IRC | 06:54 | |
*** andrew_m has quit IRC | 06:54 | |
*** SureshZ has quit IRC | 06:54 | |
*** Tv has quit IRC | 06:54 | |
*** Hellfried has quit IRC | 06:54 | |
*** srichter has quit IRC | 06:54 | |
*** bob2 has quit IRC | 06:54 | |
*** tav has quit IRC | 06:54 | |
*** zagy_ has quit IRC | 06:54 | |
*** Jim7J1AJH has quit IRC | 06:54 | |
*** deo has quit IRC | 06:54 | |
*** dman13_ has quit IRC | 06:54 | |
*** d2m has quit IRC | 06:54 | |
*** horizon5 has quit IRC | 06:54 | |
*** vinsci has quit IRC | 06:54 | |
*** REdOG has quit IRC | 06:54 | |
*** genconc has quit IRC | 06:54 | |
*** mp has quit IRC | 06:58 | |
*** srichter has joined #zope3-dev | 07:03 | |
*** mp has joined #zope3-dev | 07:03 | |
*** SureshZ has joined #zope3-dev | 07:03 | |
*** tav has joined #zope3-dev | 07:03 | |
*** dman13_ has joined #zope3-dev | 07:03 | |
*** tvon has joined #zope3-dev | 07:03 | |
*** philiKON has joined #zope3-dev | 07:03 | |
*** andrew_m has joined #zope3-dev | 07:03 | |
*** jhauser has joined #zope3-dev | 07:03 | |
*** d2m has joined #zope3-dev | 07:03 | |
*** Tv has joined #zope3-dev | 07:03 | |
*** zagy_ has joined #zope3-dev | 07:03 | |
*** deo has joined #zope3-dev | 07:03 | |
*** bob2 has joined #zope3-dev | 07:03 | |
*** horizon5 has joined #zope3-dev | 07:03 | |
*** Jim7J1AJH has joined #zope3-dev | 07:03 | |
*** wiggy has joined #zope3-dev | 07:03 | |
*** genconc has joined #zope3-dev | 07:03 | |
*** Hellfried has joined #zope3-dev | 07:03 | |
*** REdOG has joined #zope3-dev | 07:03 | |
*** vinsci has joined #zope3-dev | 07:03 | |
*** irc.freenode.net sets mode: +o srichter | 07:03 | |
*** suresh has joined #zope3-dev | 07:26 | |
*** SureshZ has quit IRC | 07:41 | |
*** SureshZ has joined #zope3-dev | 08:21 | |
*** suresh has quit IRC | 08:37 | |
*** suresh has joined #zope3-dev | 08:42 | |
*** SureshZ has quit IRC | 08:57 | |
*** SureshZ has joined #zope3-dev | 09:00 | |
*** suresh has quit IRC | 09:13 | |
*** SureshZ has quit IRC | 10:08 | |
*** SureshZ has joined #zope3-dev | 10:08 | |
*** SureshZ has quit IRC | 10:51 | |
*** SureshZ has joined #zope3-dev | 10:52 | |
*** d2m has quit IRC | 11:18 | |
*** SureshZ has quit IRC | 11:28 | |
*** mexiKON has joined #zope3-dev | 11:34 | |
*** SureshZ has joined #zope3-dev | 11:35 | |
*** SureshZ has left #zope3-dev | 11:42 | |
*** philiKON has quit IRC | 11:54 | |
*** jhauser_ has joined #zope3-dev | 12:07 | |
*** jhauser has quit IRC | 12:10 | |
*** sashav has joined #zope3-dev | 12:30 | |
*** mexiKON is now known as philiKON | 12:51 | |
*** sashav has quit IRC | 13:05 | |
*** GvaderTH has left #zope3-dev | 13:26 | |
*** timte has joined #zope3-dev | 13:28 | |
*** guido_g has joined #zope3-dev | 13:30 | |
*** tav_ has joined #zope3-dev | 13:34 | |
*** tav has quit IRC | 13:36 | |
*** yota has joined #zope3-dev | 13:52 | |
*** sashav has joined #zope3-dev | 14:08 | |
*** tav_ is now known as tav | 14:19 | |
*** guido_g has left #zope3-dev | 14:19 | |
*** douglasc has joined #zope3-dev | 14:31 | |
*** projekt01 has joined #zope3-dev | 14:50 | |
*** douglasc has quit IRC | 14:57 | |
*** anguenot has joined #zope3-dev | 15:16 | |
yota | philiKON: mail send | 15:44 |
*** roym has joined #zope3-dev | 15:48 | |
roym | Sorry to be a pest about this, but can someone tell me if | 15:50 |
roym | it is possible to configure an interface element so that it | 15:50 |
roym | displays (in the edit view) as a set of radio buttons. I want | 15:50 |
roym | to be able to pick exactly one value from a list. | 15:50 |
roym | (ie: is this available out of the box, w/o writing my own widget). | 15:51 |
*** jhauser_ has quit IRC | 15:56 | |
*** jhauser has joined #zope3-dev | 15:58 | |
philiKON | roym, schemas say nothing about the widget that is used in forms | 16:12 |
philiKON | roym, you need to specify this explicitly when configuring the form | 16:12 |
philiKON | there are docs about this | 16:12 |
jhauser | but isn't this driven by the field definition | 16:14 |
jhauser | say a value from a list? | 16:14 |
*** zagy_ has quit IRC | 16:14 | |
yota | anguenot: ping | 16:26 |
anguenot | yota:hi | 16:28 |
roym | philiKON: the following declaration produces a multi-select choice. | 16:50 |
roym | Would there be an analogous way of producing a set of RADIO fields. | 16:50 |
roym | | answer = List( | 16:50 |
roym | | title=u"Correct Answers", | 16:50 |
roym | | value_type=Choice(title=u"correct answer", values='Ca Cb Cc Cd Ce'.split()), | 16:50 |
roym | | ) | 16:50 |
philiKON | roym, the way it is displayed has little to do with your schema definition | 17:05 |
*** tav has quit IRC | 17:05 | |
philiKON | roym, you will have to set the widget manually | 17:05 |
philiKON | there are default widgets, yes | 17:05 |
philiKON | to override them, you need to configure your form | 17:06 |
philiKON | this is described in my book and srichter's book | 17:06 |
roym | philiKON: thanks - thats what I was asking; just didn't | 17:20 |
roym | want to reinvent the wheel. By the way, if I am | 17:21 |
roym | composing a custom edit form and want the default rendering | 17:22 |
roym | for a particular field (eg: List), how do I specify the ZPT | 17:22 |
roym | syntax for that? | 17:22 |
*** mexiKON has joined #zope3-dev | 17:43 | |
*** philiKON has quit IRC | 17:46 | |
*** tav has joined #zope3-dev | 18:34 | |
roym | philiKON: On pg 229 of your book, you have (in the setUp() method): | 19:03 |
roym | 19:03 | |
roym | ztapi.provideAdapter(IAttributeAnnotatable, IAnnotations, | 19:03 |
roym | AttributeAnnotations) | 19:03 |
roym | ztapi.provideAdapter(IRatable, IRating, Rating) | 19:03 |
roym | 19:03 | |
roym | In the corresponding configure.zcml however, I only see | 19:03 |
roym | an <adapter> directive for IRating -> IRatable. Would | 19:03 |
roym | you not need another one for IAttributeAnnotatable -> IAnnotations? | 19:03 |
projekt01 | romy, this adapter is registered somewhere else as a general adapter in z3 | 19:04 |
projekt01 | romy, you need to do "implements IAttributeAnnotatable" in you content directive | 19:05 |
roym | ok - thanks. | 19:08 |
mexiKON | roym, like projekt01 says, the first addapter is set up in the zope.app.annotation package already | 19:13 |
*** zagy has joined #zope3-dev | 19:34 | |
*** tav has quit IRC | 19:46 | |
*** tav has joined #zope3-dev | 19:47 | |
*** Theuni has joined #zope3-dev | 19:53 | |
*** zagy has quit IRC | 19:55 | |
*** zagy has joined #zope3-dev | 20:01 | |
*** mkerrin has joined #zope3-dev | 20:10 | |
*** sashav has quit IRC | 20:12 | |
*** d2m has joined #zope3-dev | 20:12 | |
*** zagy has quit IRC | 20:27 | |
*** zagy has joined #zope3-dev | 20:46 | |
*** apoirier has joined #zope3-dev | 20:47 | |
*** zagy has quit IRC | 20:48 | |
*** hazmat has joined #zope3-dev | 21:05 | |
*** hazmat has quit IRC | 21:23 | |
*** SureshZ has joined #zope3-dev | 21:45 | |
*** sashav has joined #zope3-dev | 21:55 | |
*** mkerrin has quit IRC | 21:56 | |
*** SureshZ has quit IRC | 22:06 | |
*** SureshZ has joined #zope3-dev | 22:07 | |
*** gnumon has joined #zope3-dev | 22:13 | |
*** SureshZ has quit IRC | 22:22 | |
*** SureshZ has joined #zope3-dev | 22:28 | |
*** hazmat has joined #zope3-dev | 23:05 | |
*** suresh has joined #zope3-dev | 23:06 | |
*** hazmat has quit IRC | 23:08 | |
*** hazmat has joined #zope3-dev | 23:10 | |
*** tarek has joined #zope3-dev | 23:12 | |
*** SureshZ has quit IRC | 23:13 | |
*** hazmat has quit IRC | 23:14 | |
*** suresh has left #zope3-dev | 23:16 | |
*** SureshZ has joined #zope3-dev | 23:16 | |
*** sashav has joined #zope3-dev | 23:19 | |
*** lunati1 has joined #zope3-dev | 23:39 | |
*** lunati1 has left #zope3-dev | 23:41 | |
*** SureshZ has quit IRC | 23:43 | |
*** SureshZ has joined #zope3-dev | 23:49 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!