IRC log of #zope3-dev for Thursday, 2007-11-22

*** projet01_ has quit IRC00:00
*** rocky has quit IRC00:11
*** tomus has quit IRC00:23
*** mweichert has quit IRC00:23
*** projekt01 has joined #zope3-dev00:24
*** tomus has joined #zope3-dev00:24
*** natea|boston is now known as natea|duluth00:30
*** spython has quit IRC00:36
*** tfws has joined #zope3-dev00:36
*** darrylcousins has quit IRC00:36
*** tfws is now known as darrylcousins00:37
*** malthe has joined #zope3-dev00:44
*** quodt_ has joined #zope3-dev00:48
*** quodt has quit IRC00:49
*** norro has quit IRC00:51
*** timte has quit IRC00:53
*** RaFromBRC has quit IRC00:56
*** RaFromBRC has joined #zope3-dev00:58
*** alecm has joined #zope3-dev01:19
*** lucielejard has quit IRC01:33
*** dunny has quit IRC01:47
*** greenman has joined #zope3-dev01:47
*** dunny has joined #zope3-dev01:50
*** dobee has quit IRC02:12
*** jsadjohnson has quit IRC02:24
*** jsadjohnson has joined #zope3-dev02:25
*** zez_zez has quit IRC02:31
*** WebMaven has quit IRC02:33
*** malthe has quit IRC02:35
*** WebMaven has joined #zope3-dev02:35
*** malthe has joined #zope3-dev02:37
*** MrTopf has joined #zope3-dev02:43
*** BjornT has quit IRC02:54
*** BjornT has joined #zope3-dev02:54
*** malthe has quit IRC02:54
*** quodt_ has quit IRC02:58
*** alecm has quit IRC03:03
*** b52laptop has quit IRC03:06
*** b52laptop has joined #zope3-dev03:07
*** reco has joined #zope3-dev03:08
*** alecm has joined #zope3-dev03:17
*** MrTopf has quit IRC03:22
*** jsadjohnson has quit IRC03:24
*** b52laptop has quit IRC03:25
*** alecm has quit IRC03:27
*** dunny has joined #zope3-dev03:53
*** dunny has quit IRC03:57
*** Pan] has quit IRC04:04
*** Ariel_Calzada has joined #zope3-dev04:11
*** Ariel_Calzada has quit IRC04:24
*** ccomb has left #zope3-dev04:38
*** RaFromBRC has quit IRC04:40
*** dunny has joined #zope3-dev04:56
*** greenman has quit IRC05:02
*** dunny has quit IRC05:19
*** niemeyer has quit IRC05:19
*** dunny has joined #zope3-dev05:23
*** projekt01 has quit IRC06:08
*** sorin has joined #zope3-dev06:13
*** sorin is now known as sorindregan06:14
*** dunny has quit IRC06:26
*** huajie has joined #zope3-dev06:38
*** baijum has joined #zope3-dev07:01
*** hazmat has joined #zope3-dev07:06
*** ChanServ sets mode: +o hazmat07:06
*** natea|duluth has quit IRC07:33
*** greenman has joined #zope3-dev07:47
*** chacha_chaudhry has joined #zope3-dev08:18
*** greenman has quit IRC08:21
*** greenman has joined #zope3-dev08:30
*** rcrafton has quit IRC08:38
*** hdima has joined #zope3-dev08:42
*** natea|boston has joined #zope3-dev08:43
romanofskimoin :)08:47
*** hazmat has quit IRC08:48
*** natea|boston has quit IRC08:48
*** jodok has joined #zope3-dev08:50
huajiemoin romanofski09:07
huajieis there a widget available anywhere that display a zope.schema.TextLine as uneditable field when marked readonly=True ?09:08
*** darrylcousins has quit IRC09:08
*** cursor has joined #zope3-dev09:10
*** cursor has quit IRC09:10
*** cursor has joined #zope3-dev09:11
*** schwendinger has joined #zope3-dev09:11
romanofskihuajie: yes there is09:14
romanofskiactually, I thought that the default widgets do already this09:15
huajieromanofski: just tested it but not09:16
*** schwendinger has quit IRC09:16
huajieromanofski: it is editable and throw an "Can't set values on read-only fields " exception09:16
romanofskioh.. I think you can omit the readonly fields by default... hmmmm09:18
huajieromanofski: so were you thinking about the default widget or is there another widget that does that ?09:18
*** natea|boston has joined #zope3-dev09:20
*** schwendinger has joined #zope3-dev09:22
romanofskihuajie: just checking09:25
*** lisppaste6 has quit IRC09:28
*** dobee has joined #zope3-dev09:35
romanofskihuajie: couldn't find anything about the "default" widgets09:39
romanofskialthough I don't think that you have to rewrite every widget to display 'readonly' fields09:40
romanofskiI would check the source code if I were you09:40
huajieromanofski: do you mean it should be possible with default widget but not as straightforward as just setting readonly=True ?09:41
romanofskiI guess so09:42
romanofskithought it'll be painless09:42
romanofskiit probably is09:42
romanofskibut don't know the trigger ;)09:42
huajieromanofski: ok, I will look at it, thanks !09:42
romanofskihuajie: tell me if you found the solution :)09:43
huajieromanofski: I would proudly do ;)09:43
*** sorin_ has joined #zope3-dev09:47
*** cursor_ has joined #zope3-dev09:48
*** zez_zez has joined #zope3-dev09:50
*** timte has joined #zope3-dev09:52
*** lisppaste6 has joined #zope3-dev09:54
*** cursor has quit IRC09:55
*** sorindregan has quit IRC09:56
*** natea|boston has quit IRC10:00
*** sorin_ is now known as sorindregan10:05
*** goschtl has joined #zope3-dev10:07
*** reco has quit IRC10:15
*** natea|boston has joined #zope3-dev10:23
*** sorin_ has joined #zope3-dev10:24
*** sorindregan has quit IRC10:24
*** dunny has joined #zope3-dev10:25
*** quodt has joined #zope3-dev10:29
*** MJ has joined #zope3-dev10:30
*** regebro has joined #zope3-dev10:38
*** sorin_ is now known as sorindregan10:50
*** ghendi has joined #zope3-dev10:50
*** zagy has quit IRC10:53
*** zagy has joined #zope3-dev10:54
*** malthe has joined #zope3-dev11:11
*** thruflo has joined #zope3-dev11:15
*** MrTopf has joined #zope3-dev11:18
huajieromanofski: I have found nothing to display the read-only TextLine field :(11:35
* huajie will derivate his own widget 11:35
romanofskithat sucks11:37
*** ccomb has joined #zope3-dev11:37
huajieromanofski: and you haven't seen the result yet :p11:40
zagywhat are you trying to do?11:45
huajiezagy: display on a zope.schema.TextLine as uneditable field when marked readonly=True11:46
huajie*display a11:47
zagyin a way I thought it did that11:47
zagyactually if everything is correctly set up you should get excactly that11:48
huajiezagy: is it a new development ?11:49
zagynot really11:49
huajieI have a version of zope dating from june11:49
zagyzope.formlib.form around line 385 checks if the field is writable11:49
romanofskiI thought I saw forms displayed readonly11:49
huajiein that case I found nothing to do it, the straightforward setting readonly=True does not change the display on the widget, it just raise an exception11:50
zagycheck what setupWidgets does in your form11:51
huajieI am using
zagythe widget doesn't decide here11:51
zagyit's formlib deciding to use an edit or display widget11:51
zagyzope.formlib that is11:51
huajiewhere can I find some doc on how and zope.formlib interacts ? I thought they were interchangeable :S11:54
zagyphillips book probably explains it11:57
zagyformlib does forms w/o being dependent on the browser11:57
zagyor any other output device11:57
*** malthe has quit IRC11:57 is the browser part11:57
*** malthe has joined #zope3-dev11:58
*** pelle_ has joined #zope3-dev11:58
*** cursor_ is now known as kursor12:00
*** schwendinger has quit IRC12:05
*** jinty has joined #zope3-dev12:10
huajiezagy: is it possible I am not using formlib while I should ? or does zope use it without me realizing ?12:11
*** natea|boston has quit IRC12:11
*** schwendinger has joined #zope3-dev12:16
*** greenman has quit IRC12:23
*** yvl has joined #zope3-dev12:26
*** b52laptop has joined #zope3-dev12:27
*** projekt01 has joined #zope3-dev12:30
*** hipertracker has joined #zope3-dev12:31
*** MrTopf has quit IRC12:32
*** dobee has quit IRC12:51
*** dobee has joined #zope3-dev12:53
*** gimni has joined #zope3-dev13:00
*** schwendinger has quit IRC13:05
*** dobee has quit IRC13:18
*** dobee has joined #zope3-dev13:20
*** niemeyer has joined #zope3-dev13:22
*** MJ is now known as MJ|lunch13:23
*** jinty has quit IRC13:26
*** jinty has joined #zope3-dev13:30
*** jinty has left #zope3-dev13:30
*** timte has quit IRC13:32
*** vod has quit IRC13:49
*** mgedmin has joined #zope3-dev13:49
*** timte has joined #zope3-dev13:54
*** ignas has joined #zope3-dev13:55
*** gimni_ has joined #zope3-dev14:00
*** gimni has quit IRC14:02
*** gimni__ has joined #zope3-dev14:02
*** gimni__ is now known as gimni14:02
*** stub has quit IRC14:07
*** jsadjohnson has joined #zope3-dev14:08
*** stub has joined #zope3-dev14:08
*** MJ|lunch is now known as MJ14:10
*** Ariel_Calzada has joined #zope3-dev14:13
*** gimni_ has quit IRC14:19
*** huajie has quit IRC14:21
*** mkerrin has joined #zope3-dev14:27
*** yvl has quit IRC14:28
*** rocky has joined #zope3-dev14:31
*** yvl has joined #zope3-dev14:32
*** ktwilight has quit IRC14:53
*** ktwilight has joined #zope3-dev15:04
ignasanywhere i could read up on pluggable ZConfig based configuration?15:09
ignasi want to have my schema in a plugin, with the main application loading the configuration file15:09
mgedminfirst question could be: is it even possible?15:17
mgedminI seem to remember some mailing list discussion/closed bug report to imply that it is15:18
ignaswell - if no one will tell me the right way, i will do it the "new way" ;) eggs with entry points that point to XML snippets15:19
ignasso main application will collect all the "configuration_plugin" entry points15:19
ignasconcatenate the snippets and insert them into the main config-schema.xml15:20
mgedminnice wheel, did you invent it yourself?15:20
* mgedmin is evil15:20
ignasyep ;) it's a bit oval15:20
ignaswell - egg shaped ;)15:20
mgedminwhat are all those spikes for?15:20
ignascaveman deterrent ;)15:21
*** chacha_chaudhry has quit IRC15:27
mgedminignas:, check out first wishlist feature15:35
goschtlHi is it possible to override msgids from in my products locales?15:45
*** hipertracker has left #zope3-dev15:45
goschtli mean /locals/de/.../zope.po15:45
*** schwendinger has joined #zope3-dev15:47
*** kursor has quit IRC15:50
*** cursor has joined #zope3-dev15:51
ignasgoschtl: your products locales?15:54
ignasgoschtl: why would you want to do that?15:54
ignasgoschtl: and wouldn't using an i18n domain specific to your "products" be a better idea?15:55
*** harobed has joined #zope3-dev15:57
goschtlignas: i have in my product a own i18n domain. but there are some msgids from the zope locales. but i donĀ“t want these msgids from zope.15:58
ignasoh, hmm, like what?16:00
ignasones coming from Zope3 page macros?16:00
goschtlignas: for example if i set min=8 on a field in my i got a not nice message from an zope translation msgid. but i want my onw translation for the min error unter my i18ndomain.16:01
*** hazmat has joined #zope3-dev16:02
*** ChanServ sets mode: +o hazmat16:02
ignasthen you might have to provide your own translation components i'd guess16:04
ignasit is definitely possible, but might be quite difficult16:04
goschtlignas: thanks for the info.16:07
*** afd_ has joined #zope3-dev16:07
*** Ariel_Calzada has quit IRC16:08
ignasgoschtl: look at zope.i18n.translationdomain.TranslationDomain16:08
ignasit is the part of Zope3 that does the job by default16:09
ignasand see how it can be replaced16:09
*** replicant has joined #zope3-dev16:10
*** ghendi has quit IRC16:10
*** rcrafton has joined #zope3-dev16:10
ignasgoschtl: you might want to see what happens if you register a locales directory with zope.po files in it first though16:13
ignasit seems that the domain of the po file is "computed" automatically because you don't set the domain when doing16:14
ignas  <i18n:registerTranslations directory="locales" />16:14
goschtli belive i can only have one zope.po in my environment16:15
ignasthen put the  <i18n:registerTranslations directory="locales" /> in the ?"includeOverrides"16:16
goschtlok i will try that16:16
ignasit seems that a call to registerTranslations creates utilities with the domain name as the name of the utility16:16
ignasso if you include the registration as an override16:17
ignasyour po file should win16:17
goschtlthat sounds good thx16:17
ignasnot too clean, but it's the simplest thing you can do16:17
*** baijum has quit IRC16:20
*** replicant has quit IRC16:29
*** b52laptop has quit IRC16:34
mgedminI once did a hack to translate Zope 3 form error messages with a custom translation mechanism...16:39
*** sorindregan has quit IRC16:46
*** b52laptop has joined #zope3-dev16:47
*** afd has joined #zope3-dev16:59
*** romanofski has quit IRC17:04
*** hdima has quit IRC17:13
*** afd_ has quit IRC17:16
*** alga has joined #zope3-dev17:21
*** cursor has joined #zope3-dev17:22
*** harobed has quit IRC17:22
*** cursor_ has joined #zope3-dev17:22
dobeefrom import Unauthorized17:23
*** ccomb has left #zope3-dev17:28
*** instantfoo has quit IRC17:35
*** replicant has joined #zope3-dev17:37
*** natea|boston has joined #zope3-dev17:40
*** MJ has quit IRC17:40
*** hazmat has quit IRC17:41
*** natea|boston has quit IRC17:43
*** natea|boston has joined #zope3-dev17:45
*** natea|boston has quit IRC17:47
*** natea|boston has joined #zope3-dev17:47
*** instantfoo has joined #zope3-dev17:48
*** natea|boston has quit IRC17:48
*** natea|boston has joined #zope3-dev17:49
*** natea|boston has quit IRC17:50
*** natea|boston has joined #zope3-dev17:51
*** natea_ has joined #zope3-dev17:53
*** natea|boston has quit IRC17:53
*** natea_ has quit IRC17:54
*** instantfoo has quit IRC17:59
*** instantfoo has joined #zope3-dev17:59
*** instantfoo has quit IRC18:08
*** instantfoo has joined #zope3-dev18:08
*** natea|boston has joined #zope3-dev18:16
*** norro has joined #zope3-dev18:21
*** mcdonc has quit IRC18:25
*** ignas has quit IRC18:25
*** goschtl has quit IRC18:25
*** malthe_ has joined #zope3-dev18:40
*** thruflo is now known as thru|crushed18:40
*** malthe has quit IRC18:40
*** natea|boston has quit IRC18:42
*** ktwilight has quit IRC18:49
*** ktwilight has joined #zope3-dev18:49
*** thru|crushed is now known as thruflo18:51
*** alecm has joined #zope3-dev18:55
*** lisppaste6 has quit IRC18:55
*** lisppaste6 has joined #zope3-dev18:56
*** zez_zez has quit IRC18:56
*** mcdonc has joined #zope3-dev18:58
*** replicant has quit IRC19:05
*** projekt01 has quit IRC19:06
*** yvl has left #zope3-dev19:07
*** alecm has quit IRC19:10
*** pelle_ has quit IRC19:11
*** dobee has quit IRC19:13
*** rcrafton has quit IRC19:16
*** schwendinger has quit IRC19:42
*** schwendinger has joined #zope3-dev19:43
*** dobee has joined #zope3-dev19:46
*** schwendinger has quit IRC19:46
*** malthe_ has quit IRC19:49
*** mweichert has joined #zope3-dev20:00
*** gimni has quit IRC20:01
*** jodok has quit IRC20:14
*** dobee has quit IRC20:16
*** tuxella has quit IRC20:21
*** tuxella has joined #zope3-dev20:38
*** afd has quit IRC20:40
*** greenman has joined #zope3-dev20:41
*** quodt has quit IRC21:12
*** pelle_ has joined #zope3-dev21:12
*** pelle_ has quit IRC21:13
*** cursor has quit IRC21:15
*** jodok has joined #zope3-dev21:17
*** harobed has joined #zope3-dev21:21
*** mgedmin has quit IRC21:22
*** thruflo has left #zope3-dev21:52
*** cursor_ has quit IRC22:01
*** ruda_porto has joined #zope3-dev22:03
*** ruda_porto has quit IRC22:24
*** mgedmin has joined #zope3-dev22:29
*** jodok has quit IRC23:04
*** jodok has joined #zope3-dev23:04
*** mgedmin has quit IRC23:06
*** quodt has joined #zope3-dev23:07
*** tarek has quit IRC23:10
*** oferw has joined #zope3-dev23:10
*** tarek has joined #zope3-dev23:12
*** mkerrin has quit IRC23:13
*** mgedmin has joined #zope3-dev23:24
*** WebMaven_ has joined #zope3-dev23:43
*** pelle_ has joined #zope3-dev23:46
*** pelle_ has quit IRC23:46
*** jsadjohnson has quit IRC23:50
*** Jell-O-Fishi has joined #zope3-dev23:54
*** WebMaven has quit IRC23:58
*** gimni__ has joined #zope3-dev23:59
*** gimni__ is now known as gimni23:59

Generated by 2.15.1 by Marius Gedminas - find it at!