ignas | seems like someone overengineered that thing without thinking of real use cases | 00:00 |
---|---|---|
*** jkakar has joined #zope3-dev | 00:01 | |
ignas | and no one has the time to do it right, because well - the task of creating sane form library with widgets is very difficult | 00:01 |
* roym thanks ignas for confirming that he's not nuts for thinking this... | 00:03 | |
* ignas likes Zope3 for the job security factor, you just do it with Zope3 and if you'll cram enough of Component Architecture, you can be sure that no one else can fix the application ;) | 00:06 | |
* mgedmin thinks it may be possible to clone the field and change its attributes | 00:06 | |
ignas | except for those 10-20 Zope3 programmers in the world | 00:06 |
mgedmin | class II(I): t0 = I.t0.bind(None); t0.readonly = True | 00:06 |
ignas | mgedmin: why aren't we doing that in our projects? | 00:06 |
mgedmin | but that's too hacky in my opinion | 00:06 |
ignas | mgedmin: your force is strong | 00:07 |
mgedmin | ignas: we're doing something worse: copying and pasting the whole fields, sometimes | 00:07 |
mgedmin | and that's just to keep the ordering | 00:07 |
ignas | mgedmin: not whole fields, more like whole 20 fields | 00:07 |
ignas | ;) | 00:07 |
roym | mgedmin: following your suggestion, I get: | 00:14 |
roym | AttributeError: 'InterfaceClass' object has no attribute 't0' | 00:14 |
roym | is it a syntax issue? should I say I['t0'].bind(None) instead | 00:15 |
mgedmin | my suggestion was not intended for following | 00:15 |
mgedmin | it was intended for gaping and exclaiming ... um... exclamations of horror | 00:16 |
mgedmin | but you can try t0 = I['t0'].bind(None); t0.readonly = True | 00:16 |
mgedmin | if you want to | 00:16 |
roym | yes, that works... | 00:16 |
mgedmin | I would use formlib and impose the read-onlyness externally | 00:16 |
roym | ok - but thanks, this helps me understand the bind() magic better... | 00:17 |
mgedmin | it is true that the bind clones the field, but using bind(None) solely for cloning purposes is hacky and unclean | 00:17 |
mgedmin | (and I wouldn't be surprised if it broke some time in the future) | 00:17 |
roym | is there a recommended alternative to clone a field? | 00:18 |
* mgedmin never needed it | 00:18 | |
* mgedmin does not know | 00:18 | |
* roym gets the idea; he'll stick to altering formlib instead | 00:19 | |
mgedmin | uh, what do you mean by "altering formlib"? | 00:20 |
roym | I mean the "for_display=True" attributes.. | 00:21 |
mgedmin | ah, ok | 00:21 |
mgedmin | that seems to be "using formlib" to me, rather than altering it... | 00:21 |
* mgedmin is somewhat sleepy at this time of the night | 00:21 | |
roym | indeed - yes.. | 00:21 |
* roym has no grandiose plans to "alter" formlib :) | 00:22 | |
roym | good night, and thanks for your input. | 00:25 |
*** philiKON has quit IRC | 00:28 | |
*** roym has quit IRC | 00:31 | |
*** jkakar has quit IRC | 00:34 | |
*** natea_ has joined #zope3-dev | 00:35 | |
*** jkakar has joined #zope3-dev | 00:35 | |
*** natea has quit IRC | 00:41 | |
*** alecm is now known as alecm|food | 00:50 | |
*** batlogg has quit IRC | 01:08 | |
*** batlogg has joined #zope3-dev | 01:09 | |
*** alga has joined #zope3-dev | 01:11 | |
*** rocky has quit IRC | 01:40 | |
*** rocky has joined #zope3-dev | 01:43 | |
*** srichter has joined #zope3-dev | 01:55 | |
*** ChanServ sets mode: +o srichter | 01:55 | |
*** HakTom has quit IRC | 02:02 | |
*** vlado_ has joined #zope3-dev | 02:17 | |
*** stub has joined #zope3-dev | 02:29 | |
*** Londo_ has quit IRC | 02:30 | |
*** natea has joined #zope3-dev | 02:35 | |
*** kobold has left #zope3-dev | 02:39 | |
*** vlado_ has quit IRC | 02:40 | |
*** WebMaven has joined #zope3-dev | 02:41 | |
*** natea_ has quit IRC | 02:43 | |
*** hazmat has quit IRC | 02:58 | |
*** hazmat has joined #zope3-dev | 03:00 | |
*** ChanServ sets mode: +o hazmat | 03:00 | |
*** b_52GM has quit IRC | 03:02 | |
*** b_52GM has joined #zope3-dev | 03:03 | |
*** wrobel has quit IRC | 03:15 | |
*** natea_ has joined #zope3-dev | 03:17 | |
*** dunny_ has joined #zope3-dev | 03:20 | |
*** dunny has quit IRC | 03:21 | |
*** alecm|food is now known as alecm | 03:23 | |
*** natea has quit IRC | 03:25 | |
*** rocky is now known as rocky|Zzz | 03:41 | |
*** mgedmin has quit IRC | 03:47 | |
*** ignas has quit IRC | 03:53 | |
*** natea has joined #zope3-dev | 03:58 | |
*** batlogg has quit IRC | 03:58 | |
*** batlogg has joined #zope3-dev | 03:58 | |
*** natea_ has quit IRC | 04:06 | |
*** natea_ has joined #zope3-dev | 04:12 | |
*** yota has quit IRC | 04:14 | |
*** natea has quit IRC | 04:17 | |
*** dunny has joined #zope3-dev | 04:21 | |
*** flox has quit IRC | 04:40 | |
*** dunny_ has quit IRC | 04:48 | |
*** batlogg_ has joined #zope3-dev | 04:55 | |
*** batlogg has quit IRC | 04:55 | |
*** natea_ has quit IRC | 05:10 | |
*** natea has joined #zope3-dev | 05:11 | |
*** batlogg_ has quit IRC | 05:17 | |
*** alecm has quit IRC | 05:22 | |
*** alga has quit IRC | 05:36 | |
*** natea_ has joined #zope3-dev | 05:56 | |
*** natea has quit IRC | 06:04 | |
*** jkakar has quit IRC | 06:44 | |
*** natea has joined #zope3-dev | 06:47 | |
*** natea_ has quit IRC | 06:55 | |
*** hazmat has quit IRC | 06:57 | |
*** alecm has joined #zope3-dev | 07:16 | |
*** alecm has quit IRC | 07:19 | |
*** alecm has joined #zope3-dev | 07:27 | |
*** alecm has quit IRC | 07:31 | |
*** natea_ has joined #zope3-dev | 07:32 | |
*** alecm has joined #zope3-dev | 07:38 | |
*** natea has quit IRC | 07:39 | |
*** srichter has quit IRC | 07:42 | |
*** b_52GM has quit IRC | 07:47 | |
*** b_52GM has joined #zope3-dev | 07:48 | |
*** SmokeyD has quit IRC | 08:07 | |
*** SmokeyD has joined #zope3-dev | 08:08 | |
*** povbot has joined #zope3-dev | 08:11 | |
*** povbot has joined #zope3-dev | 08:44 | |
*** sterling.freenode.net sets mode: +ns | 08:44 | |
-sterling.freenode.net- *** Notice -- TS for #zope3-dev changed from 1164523452 to 1164523363 | 08:44 | |
*** irc.freenode.net sets mode: -s | 08:44 | |
*** dunny has joined #zope3-dev | 08:44 | |
*** andrew_m has joined #zope3-dev | 08:44 | |
*** cc77 has joined #zope3-dev | 08:44 | |
*** Aiste has joined #zope3-dev | 08:44 | |
*** tiredbones has joined #zope3-dev | 08:44 | |
*** natea has joined #zope3-dev | 08:44 | |
*** WebMaven has joined #zope3-dev | 08:44 | |
*** romanofski has joined #zope3-dev | 08:44 | |
*** nouri has joined #zope3-dev | 08:45 | |
*** tonico has joined #zope3-dev | 08:46 | |
*** stub has joined #zope3-dev | 08:46 | |
*** WebMaven has quit IRC | 08:46 | |
*** SmokeyD has joined #zope3-dev | 08:47 | |
*** rocky has joined #zope3-dev | 08:47 | |
*** SteveA has joined #zope3-dev | 08:47 | |
*** dokai has joined #zope3-dev | 08:48 | |
*** BjornT has joined #zope3-dev | 08:49 | |
*** Theuni has joined #zope3-dev | 08:49 | |
*** d2m has joined #zope3-dev | 08:52 | |
*** alecm has joined #zope3-dev | 09:52 | |
*** wrobel has joined #zope3-dev | 10:08 | |
*** natea has quit IRC | 10:10 | |
*** alecm has quit IRC | 10:45 | |
*** alecm has joined #zope3-dev | 10:46 | |
*** batlogg has joined #zope3-dev | 11:02 | |
*** alecm has quit IRC | 11:06 | |
*** b_52GM has joined #zope3-dev | 11:21 | |
*** stu1 has joined #zope3-dev | 11:25 | |
*** stub has quit IRC | 11:44 | |
*** b_52GM has quit IRC | 11:45 | |
*** b_52GM has joined #zope3-dev | 11:47 | |
*** efrerich has joined #zope3-dev | 11:48 | |
*** dunny has quit IRC | 11:55 | |
*** efrerich has quit IRC | 12:02 | |
*** HakTom has joined #zope3-dev | 12:14 | |
*** efrerich has joined #zope3-dev | 12:38 | |
*** b_52GM has quit IRC | 12:38 | |
*** stu1 has quit IRC | 12:56 | |
*** b_52GM has joined #zope3-dev | 12:57 | |
*** efrerich has quit IRC | 13:06 | |
*** jukart has joined #zope3-dev | 13:08 | |
*** yota has joined #zope3-dev | 13:15 | |
*** siren has joined #zope3-dev | 13:27 | |
siren | hi | 13:27 |
*** dlk has joined #zope3-dev | 13:29 | |
*** jukart has quit IRC | 13:33 | |
*** b_52GM has quit IRC | 13:42 | |
*** pelle_ has joined #zope3-dev | 13:50 | |
*** zagy has joined #zope3-dev | 13:57 | |
*** b_52GM has joined #zope3-dev | 14:00 | |
*** BjornT has quit IRC | 14:06 | |
*** jukart has joined #zope3-dev | 14:06 | |
*** BjornT has joined #zope3-dev | 14:10 | |
*** stub has joined #zope3-dev | 14:37 | |
*** jukart has quit IRC | 15:00 | |
*** b_52GM has quit IRC | 15:14 | |
*** b_52GM has joined #zope3-dev | 15:15 | |
*** hazmat has joined #zope3-dev | 15:16 | |
*** ChanServ sets mode: +o hazmat | 15:16 | |
*** zagy has quit IRC | 15:17 | |
*** hazmat has quit IRC | 15:17 | |
*** stub has quit IRC | 15:33 | |
*** b_52GM has quit IRC | 15:42 | |
*** BjornT_ has joined #zope3-dev | 15:49 | |
*** BjornT has quit IRC | 15:51 | |
*** b_52GM has joined #zope3-dev | 16:01 | |
*** BjornT_ has quit IRC | 16:03 | |
*** BjornT has joined #zope3-dev | 16:07 | |
*** HakTom has quit IRC | 16:08 | |
*** siren has quit IRC | 16:27 | |
*** alga has joined #zope3-dev | 16:30 | |
*** ignas has joined #zope3-dev | 16:33 | |
*** ignas has quit IRC | 16:33 | |
*** HakTom has joined #zope3-dev | 16:36 | |
*** BjornT_ has joined #zope3-dev | 17:08 | |
*** BjornT has quit IRC | 17:08 | |
*** hazmat has joined #zope3-dev | 17:17 | |
*** ChanServ sets mode: +o hazmat | 17:17 | |
*** natea has joined #zope3-dev | 17:19 | |
*** BjornT_ has quit IRC | 17:21 | |
*** BjornT has joined #zope3-dev | 17:23 | |
*** hazmat has quit IRC | 17:25 | |
*** mgedmin has joined #zope3-dev | 17:28 | |
*** norro has joined #zope3-dev | 17:41 | |
*** Londo_ has joined #zope3-dev | 17:42 | |
*** alecm has joined #zope3-dev | 18:02 | |
*** BjornT has quit IRC | 18:07 | |
*** BjornT has joined #zope3-dev | 18:09 | |
*** batlogg_ has joined #zope3-dev | 18:26 | |
*** batlogg has quit IRC | 18:26 | |
*** WebMaven has joined #zope3-dev | 18:41 | |
*** dlk has left #zope3-dev | 18:41 | |
*** BjornT has quit IRC | 18:51 | |
*** BjornT has joined #zope3-dev | 18:56 | |
*** jukart has joined #zope3-dev | 19:05 | |
*** rocky has quit IRC | 19:07 | |
*** BjornT_ has joined #zope3-dev | 19:07 | |
*** BjornT has quit IRC | 19:07 | |
*** rocky has joined #zope3-dev | 19:08 | |
*** oferw has joined #zope3-dev | 19:12 | |
*** natea_ has joined #zope3-dev | 19:12 | |
*** natea has quit IRC | 19:18 | |
*** mgedmin has quit IRC | 19:18 | |
*** natea has joined #zope3-dev | 19:27 | |
*** natea_ has quit IRC | 19:35 | |
*** projekt01 has joined #zope3-dev | 19:44 | |
*** HakTom has quit IRC | 19:47 | |
*** BjornT has joined #zope3-dev | 19:49 | |
*** BjornT_ has quit IRC | 19:49 | |
*** opetznick has joined #zope3-dev | 19:55 | |
*** BjornT has quit IRC | 20:15 | |
*** BjornT has joined #zope3-dev | 20:15 | |
*** HakTom has joined #zope3-dev | 20:47 | |
*** jukart has quit IRC | 20:54 | |
*** batlogg_ has quit IRC | 21:01 | |
*** batlogg has joined #zope3-dev | 21:02 | |
*** opetznick has quit IRC | 21:06 | |
*** flox has joined #zope3-dev | 21:15 | |
*** dunny has joined #zope3-dev | 21:17 | |
*** oferw has quit IRC | 21:36 | |
*** marcin_ant has joined #zope3-dev | 21:45 | |
*** alecm has quit IRC | 21:58 | |
*** alecm has joined #zope3-dev | 21:58 | |
*** batlogg_ has joined #zope3-dev | 22:01 | |
*** batlogg has quit IRC | 22:01 | |
*** jukart has joined #zope3-dev | 22:14 | |
*** jukart has quit IRC | 22:18 | |
*** norro has quit IRC | 22:32 | |
*** batlogg_ has quit IRC | 22:40 | |
*** batlogg has joined #zope3-dev | 22:41 | |
*** jhauser has joined #zope3-dev | 23:04 | |
*** jhauser has quit IRC | 23:27 | |
*** b_52GM has quit IRC | 23:28 | |
*** b_52GM has joined #zope3-dev | 23:28 | |
*** batlogg has quit IRC | 23:38 | |
*** batlogg has joined #zope3-dev | 23:38 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!