*** projet01_ has quit IRC | 00:00 | |
*** rocky has quit IRC | 00:11 | |
*** tomus has quit IRC | 00:23 | |
*** mweichert has quit IRC | 00:23 | |
*** projekt01 has joined #zope3-dev | 00:24 | |
*** tomus has joined #zope3-dev | 00:24 | |
*** natea|boston is now known as natea|duluth | 00:30 | |
*** spython has quit IRC | 00:36 | |
*** tfws has joined #zope3-dev | 00:36 | |
*** darrylcousins has quit IRC | 00:36 | |
*** tfws is now known as darrylcousins | 00:37 | |
*** malthe has joined #zope3-dev | 00:44 | |
*** quodt_ has joined #zope3-dev | 00:48 | |
*** quodt has quit IRC | 00:49 | |
*** norro has quit IRC | 00:51 | |
*** timte has quit IRC | 00:53 | |
*** RaFromBRC has quit IRC | 00:56 | |
*** RaFromBRC has joined #zope3-dev | 00:58 | |
*** alecm has joined #zope3-dev | 01:19 | |
*** lucielejard has quit IRC | 01:33 | |
*** dunny has quit IRC | 01:47 | |
*** greenman has joined #zope3-dev | 01:47 | |
*** dunny has joined #zope3-dev | 01:50 | |
*** dobee has quit IRC | 02:12 | |
*** jsadjohnson has quit IRC | 02:24 | |
*** jsadjohnson has joined #zope3-dev | 02:25 | |
*** zez_zez has quit IRC | 02:31 | |
*** WebMaven has quit IRC | 02:33 | |
*** malthe has quit IRC | 02:35 | |
*** WebMaven has joined #zope3-dev | 02:35 | |
*** malthe has joined #zope3-dev | 02:37 | |
*** MrTopf has joined #zope3-dev | 02:43 | |
*** BjornT has quit IRC | 02:54 | |
*** BjornT has joined #zope3-dev | 02:54 | |
*** malthe has quit IRC | 02:54 | |
*** quodt_ has quit IRC | 02:58 | |
*** alecm has quit IRC | 03:03 | |
*** b52laptop has quit IRC | 03:06 | |
*** b52laptop has joined #zope3-dev | 03:07 | |
*** reco has joined #zope3-dev | 03:08 | |
*** alecm has joined #zope3-dev | 03:17 | |
*** MrTopf has quit IRC | 03:22 | |
*** jsadjohnson has quit IRC | 03:24 | |
*** b52laptop has quit IRC | 03:25 | |
*** alecm has quit IRC | 03:27 | |
*** dunny has joined #zope3-dev | 03:53 | |
*** dunny has quit IRC | 03:57 | |
*** Pan] has quit IRC | 04:04 | |
*** Ariel_Calzada has joined #zope3-dev | 04:11 | |
*** Ariel_Calzada has quit IRC | 04:24 | |
*** ccomb has left #zope3-dev | 04:38 | |
*** RaFromBRC has quit IRC | 04:40 | |
*** dunny has joined #zope3-dev | 04:56 | |
*** greenman has quit IRC | 05:02 | |
*** dunny has quit IRC | 05:19 | |
*** niemeyer has quit IRC | 05:19 | |
*** dunny has joined #zope3-dev | 05:23 | |
*** projekt01 has quit IRC | 06:08 | |
*** sorin has joined #zope3-dev | 06:13 | |
*** sorin is now known as sorindregan | 06:14 | |
*** dunny has quit IRC | 06:26 | |
*** huajie has joined #zope3-dev | 06:38 | |
*** baijum has joined #zope3-dev | 07:01 | |
*** hazmat has joined #zope3-dev | 07:06 | |
*** ChanServ sets mode: +o hazmat | 07:06 | |
*** natea|duluth has quit IRC | 07:33 | |
*** greenman has joined #zope3-dev | 07:47 | |
*** chacha_chaudhry has joined #zope3-dev | 08:18 | |
*** greenman has quit IRC | 08:21 | |
*** greenman has joined #zope3-dev | 08:30 | |
*** rcrafton has quit IRC | 08:38 | |
*** hdima has joined #zope3-dev | 08:42 | |
*** natea|boston has joined #zope3-dev | 08:43 | |
romanofski | moin :) | 08:47 |
---|---|---|
*** hazmat has quit IRC | 08:48 | |
*** natea|boston has quit IRC | 08:48 | |
*** jodok has joined #zope3-dev | 08:50 | |
huajie | moin romanofski | 09:07 |
huajie | is there a widget available anywhere that display a zope.schema.TextLine as uneditable field when marked readonly=True ? | 09:08 |
*** darrylcousins has quit IRC | 09:08 | |
*** cursor has joined #zope3-dev | 09:10 | |
*** cursor has quit IRC | 09:10 | |
*** cursor has joined #zope3-dev | 09:11 | |
*** schwendinger has joined #zope3-dev | 09:11 | |
romanofski | huajie: yes there is | 09:14 |
romanofski | actually, I thought that the default widgets do already this | 09:15 |
huajie | romanofski: just tested it but not | 09:16 |
*** schwendinger has quit IRC | 09:16 | |
huajie | romanofski: it is editable and throw an "Can't set values on read-only fields " exception | 09:16 |
romanofski | oh.. I think you can omit the readonly fields by default... hmmmm | 09:18 |
huajie | romanofski: so were you thinking about the default widget or is there another widget that does that ? | 09:18 |
*** natea|boston has joined #zope3-dev | 09:20 | |
*** schwendinger has joined #zope3-dev | 09:22 | |
romanofski | huajie: just checking | 09:25 |
*** lisppaste6 has quit IRC | 09:28 | |
*** dobee has joined #zope3-dev | 09:35 | |
romanofski | huajie: couldn't find anything about the "default" widgets | 09:39 |
romanofski | although I don't think that you have to rewrite every widget to display 'readonly' fields | 09:40 |
romanofski | I would check the source code if I were you | 09:40 |
huajie | romanofski: do you mean it should be possible with default widget but not as straightforward as just setting readonly=True ? | 09:41 |
romanofski | yeh | 09:42 |
romanofski | I guess so | 09:42 |
romanofski | thought it'll be painless | 09:42 |
romanofski | it probably is | 09:42 |
romanofski | but don't know the trigger ;) | 09:42 |
huajie | romanofski: ok, I will look at it, thanks ! | 09:42 |
romanofski | huajie: tell me if you found the solution :) | 09:43 |
huajie | romanofski: I would proudly do ;) | 09:43 |
romanofski | heh | 09:43 |
*** sorin_ has joined #zope3-dev | 09:47 | |
*** cursor_ has joined #zope3-dev | 09:48 | |
*** zez_zez has joined #zope3-dev | 09:50 | |
*** timte has joined #zope3-dev | 09:52 | |
*** lisppaste6 has joined #zope3-dev | 09:54 | |
*** cursor has quit IRC | 09:55 | |
*** sorindregan has quit IRC | 09:56 | |
*** natea|boston has quit IRC | 10:00 | |
*** sorin_ is now known as sorindregan | 10:05 | |
*** goschtl has joined #zope3-dev | 10:07 | |
*** reco has quit IRC | 10:15 | |
*** natea|boston has joined #zope3-dev | 10:23 | |
*** sorin_ has joined #zope3-dev | 10:24 | |
*** sorindregan has quit IRC | 10:24 | |
*** dunny has joined #zope3-dev | 10:25 | |
*** quodt has joined #zope3-dev | 10:29 | |
*** MJ has joined #zope3-dev | 10:30 | |
*** regebro has joined #zope3-dev | 10:38 | |
*** sorin_ is now known as sorindregan | 10:50 | |
*** ghendi has joined #zope3-dev | 10:50 | |
*** zagy has quit IRC | 10:53 | |
*** zagy has joined #zope3-dev | 10:54 | |
*** malthe has joined #zope3-dev | 11:11 | |
*** thruflo has joined #zope3-dev | 11:15 | |
*** MrTopf has joined #zope3-dev | 11:18 | |
huajie | romanofski: I have found nothing to display the read-only TextLine field :( | 11:35 |
* huajie will derivate his own widget | 11:35 | |
romanofski | urks | 11:37 |
romanofski | that sucks | 11:37 |
*** ccomb has joined #zope3-dev | 11:37 | |
huajie | romanofski: and you haven't seen the result yet :p | 11:40 |
zagy | what are you trying to do? | 11:45 |
huajie | zagy: display on a zope.schema.TextLine as uneditable field when marked readonly=True | 11:46 |
huajie | *display a | 11:47 |
zagy | in a way I thought it did that | 11:47 |
zagy | actually if everything is correctly set up you should get excactly that | 11:48 |
huajie | zagy: is it a new development ? | 11:49 |
zagy | not really | 11:49 |
huajie | I have a version of zope dating from june | 11:49 |
zagy | zope.formlib.form around line 385 checks if the field is writable | 11:49 |
romanofski | I thought I saw forms displayed readonly | 11:49 |
huajie | in 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 exception | 11:50 |
zagy | check what setupWidgets does in your form | 11:51 |
huajie | I am using zope.app.form.textwidget | 11:51 |
huajie | *zope.app.form.browser.textwidget | 11:51 |
zagy | the widget doesn't decide here | 11:51 |
zagy | it's formlib deciding to use an edit or display widget | 11:51 |
zagy | zope.formlib that is | 11:51 |
huajie | where can I find some doc on how zope.app.form and zope.formlib interacts ? I thought they were interchangeable :S | 11:54 |
zagy | phillips book probably explains it | 11:57 |
zagy | formlib does forms w/o being dependent on the browser | 11:57 |
zagy | or any other output device | 11:57 |
*** malthe has quit IRC | 11:57 | |
zagy | zope.app.form is the browser part | 11:57 |
*** malthe has joined #zope3-dev | 11:58 | |
*** pelle_ has joined #zope3-dev | 11:58 | |
*** cursor_ is now known as kursor | 12:00 | |
*** schwendinger has quit IRC | 12:05 | |
*** jinty has joined #zope3-dev | 12:10 | |
huajie | zagy: 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 IRC | 12:11 | |
*** schwendinger has joined #zope3-dev | 12:16 | |
*** greenman has quit IRC | 12:23 | |
*** yvl has joined #zope3-dev | 12:26 | |
*** b52laptop has joined #zope3-dev | 12:27 | |
*** projekt01 has joined #zope3-dev | 12:30 | |
*** hipertracker has joined #zope3-dev | 12:31 | |
*** MrTopf has quit IRC | 12:32 | |
*** dobee has quit IRC | 12:51 | |
*** dobee has joined #zope3-dev | 12:53 | |
*** gimni has joined #zope3-dev | 13:00 | |
*** schwendinger has quit IRC | 13:05 | |
*** dobee has quit IRC | 13:18 | |
*** dobee has joined #zope3-dev | 13:20 | |
*** niemeyer has joined #zope3-dev | 13:22 | |
*** MJ is now known as MJ|lunch | 13:23 | |
*** jinty has quit IRC | 13:26 | |
*** jinty has joined #zope3-dev | 13:30 | |
*** jinty has left #zope3-dev | 13:30 | |
*** timte has quit IRC | 13:32 | |
*** vod has quit IRC | 13:49 | |
*** mgedmin has joined #zope3-dev | 13:49 | |
*** timte has joined #zope3-dev | 13:54 | |
*** ignas has joined #zope3-dev | 13:55 | |
*** gimni_ has joined #zope3-dev | 14:00 | |
*** gimni has quit IRC | 14:02 | |
*** gimni__ has joined #zope3-dev | 14:02 | |
*** gimni__ is now known as gimni | 14:02 | |
*** stub has quit IRC | 14:07 | |
*** jsadjohnson has joined #zope3-dev | 14:08 | |
*** stub has joined #zope3-dev | 14:08 | |
*** MJ|lunch is now known as MJ | 14:10 | |
*** Ariel_Calzada has joined #zope3-dev | 14:13 | |
*** gimni_ has quit IRC | 14:19 | |
*** huajie has quit IRC | 14:21 | |
*** mkerrin has joined #zope3-dev | 14:27 | |
*** yvl has quit IRC | 14:28 | |
*** rocky has joined #zope3-dev | 14:31 | |
*** yvl has joined #zope3-dev | 14:32 | |
*** ktwilight has quit IRC | 14:53 | |
*** ktwilight has joined #zope3-dev | 15:04 | |
ignas | anywhere i could read up on pluggable ZConfig based configuration? | 15:09 |
ignas | i want to have my schema in a plugin, with the main application loading the configuration file | 15:09 |
mgedmin | first question could be: is it even possible? | 15:17 |
mgedmin | I seem to remember some mailing list discussion/closed bug report to imply that it is | 15:18 |
ignas | well - if no one will tell me the right way, i will do it the "new way" ;) eggs with entry points that point to XML snippets | 15:19 |
ignas | so main application will collect all the "configuration_plugin" entry points | 15:19 |
ignas | concatenate the snippets and insert them into the main config-schema.xml | 15:20 |
mgedmin | nice wheel, did you invent it yourself? | 15:20 |
* mgedmin is evil | 15:20 | |
ignas | yep ;) it's a bit oval | 15:20 |
ignas | well - egg shaped ;) | 15:20 |
mgedmin | what are all those spikes for? | 15:20 |
ignas | caveman deterrent ;) | 15:21 |
*** chacha_chaudhry has quit IRC | 15:27 | |
mgedmin | ignas: http://wiki.zope.org/zope3/ZConfig, check out first wishlist feature | 15:35 |
mgedmin | http://svn.zope.org/ZConfig/trunk/doc/zconfig.pdf?view=auto | 15:38 |
goschtl | Hi is it possible to override msgids from zope.de in my products locales? | 15:45 |
*** hipertracker has left #zope3-dev | 15:45 | |
goschtl | i mean /locals/de/.../zope.po | 15:45 |
*** schwendinger has joined #zope3-dev | 15:47 | |
*** kursor has quit IRC | 15:50 | |
*** cursor has joined #zope3-dev | 15:51 | |
ignas | goschtl: your products locales? | 15:54 |
ignas | goschtl: why would you want to do that? | 15:54 |
ignas | goschtl: and wouldn't using an i18n domain specific to your "products" be a better idea? | 15:55 |
*** harobed has joined #zope3-dev | 15:57 | |
goschtl | ignas: 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 |
ignas | oh, hmm, like what? | 16:00 |
ignas | ones coming from Zope3 page macros? | 16:00 |
goschtl | ignas: for example if i set min=8 on a field in my interfaces.py 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-dev | 16:02 | |
*** ChanServ sets mode: +o hazmat | 16:02 | |
ignas | then you might have to provide your own translation components i'd guess | 16:04 |
ignas | it is definitely possible, but might be quite difficult | 16:04 |
goschtl | ignas: thanks for the info. | 16:07 |
*** afd_ has joined #zope3-dev | 16:07 | |
*** Ariel_Calzada has quit IRC | 16:08 | |
ignas | goschtl: look at zope.i18n.translationdomain.TranslationDomain | 16:08 |
ignas | it is the part of Zope3 that does the job by default | 16:09 |
ignas | and see how it can be replaced | 16:09 |
goschtl | ok | 16:09 |
*** replicant has joined #zope3-dev | 16:10 | |
*** ghendi has quit IRC | 16:10 | |
*** rcrafton has joined #zope3-dev | 16:10 | |
ignas | goschtl: you might want to see what happens if you register a locales directory with zope.po files in it first though | 16:13 |
ignas | it seems that the domain of the po file is "computed" automatically because you don't set the domain when doing | 16:14 |
ignas | <i18n:registerTranslations directory="locales" /> | 16:14 |
goschtl | i belive i can only have one zope.po in my environment | 16:15 |
ignas | then put the <i18n:registerTranslations directory="locales" /> in the ?"includeOverrides" | 16:16 |
goschtl | ok i will try that | 16:16 |
ignas | it seems that a call to registerTranslations creates utilities with the domain name as the name of the utility | 16:16 |
ignas | so if you include the registration as an override | 16:17 |
ignas | your po file should win | 16:17 |
goschtl | that sounds good thx | 16:17 |
ignas | not too clean, but it's the simplest thing you can do | 16:17 |
*** baijum has quit IRC | 16:20 | |
*** replicant has quit IRC | 16:29 | |
*** b52laptop has quit IRC | 16:34 | |
mgedmin | I once did a hack to translate Zope 3 form error messages with a custom translation mechanism... | 16:39 |
*** sorindregan has quit IRC | 16:46 | |
*** b52laptop has joined #zope3-dev | 16:47 | |
*** afd has joined #zope3-dev | 16:59 | |
*** romanofski has quit IRC | 17:04 | |
*** hdima has quit IRC | 17:13 | |
*** afd_ has quit IRC | 17:16 | |
*** alga has joined #zope3-dev | 17:21 | |
*** cursor has joined #zope3-dev | 17:22 | |
*** harobed has quit IRC | 17:22 | |
*** cursor_ has joined #zope3-dev | 17:22 | |
dobee | from zope.security.interfaces import Unauthorized | 17:23 |
*** ccomb has left #zope3-dev | 17:28 | |
*** instantfoo has quit IRC | 17:35 | |
*** replicant has joined #zope3-dev | 17:37 | |
*** natea|boston has joined #zope3-dev | 17:40 | |
*** MJ has quit IRC | 17:40 | |
*** hazmat has quit IRC | 17:41 | |
*** natea|boston has quit IRC | 17:43 | |
*** natea|boston has joined #zope3-dev | 17:45 | |
*** natea|boston has quit IRC | 17:47 | |
*** natea|boston has joined #zope3-dev | 17:47 | |
*** instantfoo has joined #zope3-dev | 17:48 | |
*** natea|boston has quit IRC | 17:48 | |
*** natea|boston has joined #zope3-dev | 17:49 | |
*** natea|boston has quit IRC | 17:50 | |
*** natea|boston has joined #zope3-dev | 17:51 | |
*** natea_ has joined #zope3-dev | 17:53 | |
*** natea|boston has quit IRC | 17:53 | |
*** natea_ has quit IRC | 17:54 | |
*** instantfoo has quit IRC | 17:59 | |
*** instantfoo has joined #zope3-dev | 17:59 | |
*** instantfoo has quit IRC | 18:08 | |
*** instantfoo has joined #zope3-dev | 18:08 | |
*** natea|boston has joined #zope3-dev | 18:16 | |
*** norro has joined #zope3-dev | 18:21 | |
*** mcdonc has quit IRC | 18:25 | |
*** ignas has quit IRC | 18:25 | |
*** goschtl has quit IRC | 18:25 | |
*** malthe_ has joined #zope3-dev | 18:40 | |
*** thruflo is now known as thru|crushed | 18:40 | |
*** malthe has quit IRC | 18:40 | |
*** natea|boston has quit IRC | 18:42 | |
*** ktwilight has quit IRC | 18:49 | |
*** ktwilight has joined #zope3-dev | 18:49 | |
*** thru|crushed is now known as thruflo | 18:51 | |
*** alecm has joined #zope3-dev | 18:55 | |
*** lisppaste6 has quit IRC | 18:55 | |
*** lisppaste6 has joined #zope3-dev | 18:56 | |
*** zez_zez has quit IRC | 18:56 | |
*** mcdonc has joined #zope3-dev | 18:58 | |
*** replicant has quit IRC | 19:05 | |
*** projekt01 has quit IRC | 19:06 | |
*** yvl has left #zope3-dev | 19:07 | |
*** alecm has quit IRC | 19:10 | |
*** pelle_ has quit IRC | 19:11 | |
*** dobee has quit IRC | 19:13 | |
*** rcrafton has quit IRC | 19:16 | |
*** schwendinger has quit IRC | 19:42 | |
*** schwendinger has joined #zope3-dev | 19:43 | |
*** dobee has joined #zope3-dev | 19:46 | |
*** schwendinger has quit IRC | 19:46 | |
*** malthe_ has quit IRC | 19:49 | |
*** mweichert has joined #zope3-dev | 20:00 | |
*** gimni has quit IRC | 20:01 | |
*** jodok has quit IRC | 20:14 | |
*** dobee has quit IRC | 20:16 | |
*** tuxella has quit IRC | 20:21 | |
*** tuxella has joined #zope3-dev | 20:38 | |
*** afd has quit IRC | 20:40 | |
*** greenman has joined #zope3-dev | 20:41 | |
*** quodt has quit IRC | 21:12 | |
*** pelle_ has joined #zope3-dev | 21:12 | |
*** pelle_ has quit IRC | 21:13 | |
*** cursor has quit IRC | 21:15 | |
*** jodok has joined #zope3-dev | 21:17 | |
*** harobed has joined #zope3-dev | 21:21 | |
*** mgedmin has quit IRC | 21:22 | |
*** thruflo has left #zope3-dev | 21:52 | |
*** cursor_ has quit IRC | 22:01 | |
*** ruda_porto has joined #zope3-dev | 22:03 | |
*** ruda_porto has quit IRC | 22:24 | |
*** mgedmin has joined #zope3-dev | 22:29 | |
*** jodok has quit IRC | 23:04 | |
*** jodok has joined #zope3-dev | 23:04 | |
*** mgedmin has quit IRC | 23:06 | |
*** quodt has joined #zope3-dev | 23:07 | |
*** tarek has quit IRC | 23:10 | |
*** oferw has joined #zope3-dev | 23:10 | |
*** tarek has joined #zope3-dev | 23:12 | |
*** mkerrin has quit IRC | 23:13 | |
*** mgedmin has joined #zope3-dev | 23:24 | |
*** WebMaven_ has joined #zope3-dev | 23:43 | |
*** pelle_ has joined #zope3-dev | 23:46 | |
*** pelle_ has quit IRC | 23:46 | |
*** jsadjohnson has quit IRC | 23:50 | |
*** Jell-O-Fishi has joined #zope3-dev | 23:54 | |
*** WebMaven has quit IRC | 23:58 | |
*** gimni__ has joined #zope3-dev | 23:59 | |
*** gimni__ is now known as gimni | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!