IRC log of #zope3-dev for Sunday, 2005-08-07

*** RaFromBRC has joined #zope3-dev00:17
*** suresh has quit IRC00:29
*** suresh has joined #zope3-dev00:38
*** yota has quit IRC00:56
*** andrew_m has quit IRC01:05
*** andrew_m has joined #zope3-dev01:05
*** sm has quit IRC01:14
*** suresh has quit IRC01:18
*** suresh has joined #zope3-dev01:19
*** RaFromBRC has quit IRC01:38
*** philiKON has quit IRC01:42
*** philiKON has joined #zope3-dev01:44
*** timte has quit IRC01:45
*** sashav has joined #zope3-dev01:54
tvonis ZC in the process of developing a somewhat secret ECM?01:57
* tvon is trying to figure out the politics of the z3lab discussions01:58
philiKONif it's secret, then how should we know? plus, do you think anyone would well YOU? ;))02:00
*** sashav has quit IRC02:00
tvonI thought maybe I'd catch someone of guard :)02:01
tvonor 'off guard'02:01
philiKONno ZC guys here :)02:02
tvonah02:03
*** suresh has quit IRC02:06
*** alienoid has quit IRC02:17
*** tvon has quit IRC02:38
*** SureshZ has joined #zope3-dev02:42
*** tvon has joined #zope3-dev02:53
roymTried asking this earlier - thought I might try and catch someone who03:03
roymmight be in a good enough mood to answer this...03:03
roym03:03
roymWhat incantation should I use to specify a single valued03:03
roymchoice, so that preferably a radio button is shown in the edit view,03:03
roymsomewhat like the following spec for a multi-valued field:03:03
roym03: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 IRC03:38
*** roym has quit IRC03:39
*** SureshZ has joined #zope3-dev03:45
*** SureshZ has quit IRC04:16
*** SureshZ has joined #zope3-dev04:23
*** douglasc has joined #zope3-dev04:35
*** guido_g has quit IRC04:38
*** dman13_ has joined #zope3-dev04:48
*** dman13 has quit IRC05:05
*** SureshZ has quit IRC05:15
*** tav has quit IRC05:17
*** SureshZ has joined #zope3-dev05:17
*** tav has joined #zope3-dev05:19
*** douglasc has quit IRC05:26
*** suresh has joined #zope3-dev05:33
*** projekt01 has quit IRC05:39
*** SureshZ has quit IRC05:41
*** SureshZ has joined #zope3-dev05:41
*** suresh has quit IRC05:46
*** suresh has joined #zope3-dev05:47
*** SureshZ has quit IRC05:52
*** SureshZ has joined #zope3-dev06:44
*** philiKON has quit IRC06:54
*** suresh has quit IRC06:54
*** tvon has quit IRC06:54
*** jhauser has quit IRC06:54
*** wiggy has quit IRC06:54
*** andrew_m has quit IRC06:54
*** SureshZ has quit IRC06:54
*** Tv has quit IRC06:54
*** Hellfried has quit IRC06:54
*** srichter has quit IRC06:54
*** bob2 has quit IRC06:54
*** tav has quit IRC06:54
*** zagy_ has quit IRC06:54
*** Jim7J1AJH has quit IRC06:54
*** deo has quit IRC06:54
*** dman13_ has quit IRC06:54
*** d2m has quit IRC06:54
*** horizon5 has quit IRC06:54
*** vinsci has quit IRC06:54
*** REdOG has quit IRC06:54
*** genconc has quit IRC06:54
*** mp has quit IRC06:58
*** srichter has joined #zope3-dev07:03
*** mp has joined #zope3-dev07:03
*** SureshZ has joined #zope3-dev07:03
*** tav has joined #zope3-dev07:03
*** dman13_ has joined #zope3-dev07:03
*** tvon has joined #zope3-dev07:03
*** philiKON has joined #zope3-dev07:03
*** andrew_m has joined #zope3-dev07:03
*** jhauser has joined #zope3-dev07:03
*** d2m has joined #zope3-dev07:03
*** Tv has joined #zope3-dev07:03
*** zagy_ has joined #zope3-dev07:03
*** deo has joined #zope3-dev07:03
*** bob2 has joined #zope3-dev07:03
*** horizon5 has joined #zope3-dev07:03
*** Jim7J1AJH has joined #zope3-dev07:03
*** wiggy has joined #zope3-dev07:03
*** genconc has joined #zope3-dev07:03
*** Hellfried has joined #zope3-dev07:03
*** REdOG has joined #zope3-dev07:03
*** vinsci has joined #zope3-dev07:03
*** irc.freenode.net sets mode: +o srichter07:03
*** suresh has joined #zope3-dev07:26
*** SureshZ has quit IRC07:41
*** SureshZ has joined #zope3-dev08:21
*** suresh has quit IRC08:37
*** suresh has joined #zope3-dev08:42
*** SureshZ has quit IRC08:57
*** SureshZ has joined #zope3-dev09:00
*** suresh has quit IRC09:13
*** SureshZ has quit IRC10:08
*** SureshZ has joined #zope3-dev10:08
*** SureshZ has quit IRC10:51
*** SureshZ has joined #zope3-dev10:52
*** d2m has quit IRC11:18
*** SureshZ has quit IRC11:28
*** mexiKON has joined #zope3-dev11:34
*** SureshZ has joined #zope3-dev11:35
*** SureshZ has left #zope3-dev11:42
*** philiKON has quit IRC11:54
*** jhauser_ has joined #zope3-dev12:07
*** jhauser has quit IRC12:10
*** sashav has joined #zope3-dev12:30
*** mexiKON is now known as philiKON12:51
*** sashav has quit IRC13:05
*** GvaderTH has left #zope3-dev13:26
*** timte has joined #zope3-dev13:28
*** guido_g has joined #zope3-dev13:30
*** tav_ has joined #zope3-dev13:34
*** tav has quit IRC13:36
*** yota has joined #zope3-dev13:52
*** sashav has joined #zope3-dev14:08
*** tav_ is now known as tav14:19
*** guido_g has left #zope3-dev14:19
*** douglasc has joined #zope3-dev14:31
*** projekt01 has joined #zope3-dev14:50
*** douglasc has quit IRC14:57
*** anguenot has joined #zope3-dev15:16
yotaphiliKON: mail send15:44
*** roym has joined #zope3-dev15:48
roymSorry to be a pest about this, but can someone tell me if15:50
roymit is possible to configure an interface element so that it15:50
roymdisplays (in the edit view) as a set of radio buttons. I want15:50
roymto 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 IRC15:56
*** jhauser has joined #zope3-dev15:58
philiKONroym, schemas say nothing about the widget that is used in forms16:12
philiKONroym, you need to specify this explicitly when configuring the form16:12
philiKONthere are docs about this16:12
jhauserbut isn't this driven by the field definition16:14
jhausersay a value from a list?16:14
*** zagy_ has quit IRC16:14
yotaanguenot: ping16:26
anguenotyota:hi16:28
roymphiliKON: the following declaration produces a multi-select choice.16:50
roymWould 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
philiKONroym, the way it is displayed has little to do with your schema definition17:05
*** tav has quit IRC17:05
philiKONroym, you will have to set the widget manually17:05
philiKONthere are default widgets, yes17:05
philiKONto override them, you need to configure your form17:06
philiKONthis is described in my book and srichter's book17:06
roymphiliKON: thanks - thats what I was asking; just didn't17:20
roymwant to reinvent the wheel. By the way, if I am17:21
roymcomposing a custom edit form and want the default rendering17:22
roymfor a particular field (eg: List), how do I specify the ZPT17:22
roymsyntax for that?17:22
*** mexiKON has joined #zope3-dev17:43
*** philiKON has quit IRC17:46
*** tav has joined #zope3-dev18:34
roymphiliKON: On pg 229 of your book, you have (in the setUp() method):19:03
roym19:03
roym    ztapi.provideAdapter(IAttributeAnnotatable, IAnnotations,19:03
roym                         AttributeAnnotations)19:03
roym    ztapi.provideAdapter(IRatable, IRating, Rating)19:03
roym19:03
roymIn the corresponding configure.zcml however, I only see19:03
royman <adapter> directive for IRating -> IRatable. Would19:03
roymyou not need another one for IAttributeAnnotatable -> IAnnotations?19:03
projekt01romy, this adapter is registered somewhere else as a general adapter in z319:04
projekt01romy, you need to do "implements IAttributeAnnotatable" in you content directive19:05
roymok - thanks.19:08
mexiKONroym, like projekt01 says, the first addapter is set up in the zope.app.annotation package already19:13
*** zagy has joined #zope3-dev19:34
*** tav has quit IRC19:46
*** tav has joined #zope3-dev19:47
*** Theuni has joined #zope3-dev19:53
*** zagy has quit IRC19:55
*** zagy has joined #zope3-dev20:01
*** mkerrin has joined #zope3-dev20:10
*** sashav has quit IRC20:12
*** d2m has joined #zope3-dev20:12
*** zagy has quit IRC20:27
*** zagy has joined #zope3-dev20:46
*** apoirier has joined #zope3-dev20:47
*** zagy has quit IRC20:48
*** hazmat has joined #zope3-dev21:05
*** hazmat has quit IRC21:23
*** SureshZ has joined #zope3-dev21:45
*** sashav has joined #zope3-dev21:55
*** mkerrin has quit IRC21:56
*** SureshZ has quit IRC22:06
*** SureshZ has joined #zope3-dev22:07
*** gnumon has joined #zope3-dev22:13
*** SureshZ has quit IRC22:22
*** SureshZ has joined #zope3-dev22:28
*** hazmat has joined #zope3-dev23:05
*** suresh has joined #zope3-dev23:06
*** hazmat has quit IRC23:08
*** hazmat has joined #zope3-dev23:10
*** tarek has joined #zope3-dev23:12
*** SureshZ has quit IRC23:13
*** hazmat has quit IRC23:14
*** suresh has left #zope3-dev23:16
*** SureshZ has joined #zope3-dev23:16
*** sashav has joined #zope3-dev23:19
*** lunati1 has joined #zope3-dev23:39
*** lunati1 has left #zope3-dev23:41
*** SureshZ has quit IRC23:43
*** SureshZ has joined #zope3-dev23:49

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!