*** timte has joined #zope3-dev | 00:02 | |
*** philiKON has quit IRC | 00:04 | |
*** gumpa has left #zope3-dev | 00:16 | |
*** gumpa has joined #zope3-dev | 00:27 | |
*** edgordon_ has quit IRC | 00:37 | |
*** RaFromBRC has quit IRC | 00:39 | |
*** volvox has joined #zope3-dev | 01:00 | |
*** natea has joined #zope3-dev | 01:25 | |
*** yota has quit IRC | 01:28 | |
*** timte has quit IRC | 01:45 | |
*** _sussi has left #zope3-dev | 02:07 | |
*** natea has quit IRC | 02:16 | |
*** natea has joined #zope3-dev | 02:16 | |
*** natea has quit IRC | 02:19 | |
*** natea has joined #zope3-dev | 02:19 | |
*** J1m has left #zope3-dev | 02:23 | |
*** volvox has quit IRC | 02:31 | |
*** markup_ has joined #zope3-dev | 02:32 | |
*** jinty has quit IRC | 03:06 | |
*** natea has quit IRC | 03:07 | |
*** benji has left #zope3-dev | 03:11 | |
*** replicant has joined #zope3-dev | 03:22 | |
WebMaven | Are there any SQLOS users here? | 03:25 |
---|---|---|
*** markup_ has quit IRC | 03:25 | |
*** wrobel has quit IRC | 03:42 | |
*** natea has joined #zope3-dev | 03:48 | |
*** gumpa has quit IRC | 03:52 | |
*** gumpa has joined #zope3-dev | 03:53 | |
*** natea has quit IRC | 03:54 | |
*** natea has joined #zope3-dev | 04:00 | |
*** natea has quit IRC | 04:01 | |
*** natea has joined #zope3-dev | 04:02 | |
*** natea has quit IRC | 04:06 | |
*** natea has joined #zope3-dev | 04:07 | |
*** replicant has quit IRC | 04:41 | |
*** replicant has joined #zope3-dev | 04:42 | |
*** niemeyer has quit IRC | 04:48 | |
*** whit_ has joined #zope3-dev | 05:10 | |
*** edgordon has joined #zope3-dev | 05:36 | |
*** edgordon is now known as edgordon_away | 05:55 | |
*** natea has quit IRC | 06:06 | |
*** philiKON has joined #zope3-dev | 06:07 | |
*** philiKON has quit IRC | 06:28 | |
*** baijum has joined #zope3-dev | 06:52 | |
*** stub has joined #zope3-dev | 07:15 | |
*** alecm has quit IRC | 07:25 | |
*** alecm has joined #zope3-dev | 07:44 | |
*** alecm has quit IRC | 07:50 | |
*** whit_ has quit IRC | 07:53 | |
*** alecm has joined #zope3-dev | 07:54 | |
*** alecm has quit IRC | 07:56 | |
*** alecm has joined #zope3-dev | 08:01 | |
*** dobee has joined #zope3-dev | 08:02 | |
*** eins has joined #zope3-dev | 08:10 | |
eins | hi | 08:10 |
*** romanofski has quit IRC | 08:28 | |
*** alecm has quit IRC | 08:32 | |
*** alecm has joined #zope3-dev | 08:32 | |
*** batlogg has quit IRC | 08:51 | |
*** Aiste has joined #zope3-dev | 08:52 | |
*** batlogg has joined #zope3-dev | 09:03 | |
*** flox has quit IRC | 09:05 | |
*** dobee has quit IRC | 09:06 | |
*** timte has joined #zope3-dev | 09:10 | |
*** hdima has joined #zope3-dev | 09:12 | |
*** dunny has quit IRC | 09:17 | |
*** yota has joined #zope3-dev | 09:26 | |
*** dobee_ has joined #zope3-dev | 09:33 | |
*** romanofski has joined #zope3-dev | 09:35 | |
romanofski | moin | 09:36 |
*** gumpa has quit IRC | 09:52 | |
*** jinty has joined #zope3-dev | 10:00 | |
*** gumpa has joined #zope3-dev | 10:05 | |
*** schwendinger has joined #zope3-dev | 10:08 | |
*** flox has joined #zope3-dev | 10:23 | |
*** philiKON has joined #zope3-dev | 10:31 | |
*** scherand has joined #zope3-dev | 10:33 | |
*** kobol1 has joined #zope3-dev | 10:34 | |
*** zagy_ has joined #zope3-dev | 10:44 | |
*** dunny has joined #zope3-dev | 10:48 | |
*** ofer has joined #zope3-dev | 10:54 | |
*** alecm has quit IRC | 11:00 | |
*** replicant has quit IRC | 11:07 | |
*** ofer has quit IRC | 11:19 | |
*** MJ has quit IRC | 11:23 | |
*** romanofs1i has joined #zope3-dev | 11:27 | |
*** romanofski has quit IRC | 11:29 | |
*** romanofs1i is now known as romanofski | 11:29 | |
*** ofer has joined #zope3-dev | 11:36 | |
*** ofer has left #zope3-dev | 11:37 | |
*** zagy_ has quit IRC | 11:40 | |
*** philiKON has quit IRC | 11:44 | |
*** srichter has joined #zope3-dev | 11:47 | |
*** srichter has quit IRC | 11:47 | |
*** volvox has joined #zope3-dev | 11:47 | |
*** srichter has joined #zope3-dev | 11:58 | |
*** ChanServ sets mode: +o srichter | 11:58 | |
*** ignas has joined #zope3-dev | 12:05 | |
*** mexiKON has joined #zope3-dev | 12:14 | |
*** agroszer has joined #zope3-dev | 12:17 | |
*** MJ has joined #zope3-dev | 12:22 | |
*** zagy has joined #zope3-dev | 12:24 | |
*** scherand has quit IRC | 12:32 | |
*** benji has joined #zope3-dev | 12:47 | |
*** alga has joined #zope3-dev | 12:52 | |
*** mexiKON has quit IRC | 13:00 | |
*** mexiKON has joined #zope3-dev | 13:02 | |
*** zagy has quit IRC | 13:02 | |
*** Aiste has quit IRC | 13:03 | |
*** mexiKON has quit IRC | 13:06 | |
*** mexiKON has joined #zope3-dev | 13:07 | |
*** mkerrin has joined #zope3-dev | 13:10 | |
*** J1m has joined #zope3-dev | 13:15 | |
*** ignas has quit IRC | 13:47 | |
*** dunny has quit IRC | 13:49 | |
*** mexiKON has quit IRC | 13:52 | |
*** benji has quit IRC | 13:59 | |
*** projekt01 has joined #zope3-dev | 14:18 | |
*** _sussi has joined #zope3-dev | 14:27 | |
*** baijum has quit IRC | 14:27 | |
*** rocky has joined #zope3-dev | 14:38 | |
*** rocky has left #zope3-dev | 14:39 | |
*** rocky has joined #zope3-dev | 14:40 | |
*** rocky has left #zope3-dev | 14:41 | |
*** rocky has joined #zope3-dev | 14:41 | |
*** J1m has quit IRC | 14:41 | |
*** edgordon_away has quit IRC | 14:44 | |
*** philiKON has joined #zope3-dev | 14:47 | |
*** Aiste has joined #zope3-dev | 14:49 | |
*** batlogg has quit IRC | 14:51 | |
*** flox has quit IRC | 14:59 | |
*** philiKON has quit IRC | 15:03 | |
*** Aiste has quit IRC | 15:14 | |
*** batlogg has joined #zope3-dev | 15:14 | |
*** _sussi has quit IRC | 15:23 | |
*** benji has joined #zope3-dev | 15:27 | |
*** regebro has joined #zope3-dev | 15:38 | |
*** natea has joined #zope3-dev | 15:44 | |
*** _projekt01 has joined #zope3-dev | 15:45 | |
*** niemeyer has joined #zope3-dev | 15:46 | |
*** projekt01 has quit IRC | 15:46 | |
*** rocky is now known as rocky|away | 15:47 | |
*** natea has quit IRC | 15:48 | |
*** natea has joined #zope3-dev | 15:49 | |
*** natea has quit IRC | 15:53 | |
*** natea has joined #zope3-dev | 15:54 | |
*** zagy has joined #zope3-dev | 15:54 | |
*** ignas has joined #zope3-dev | 15:59 | |
SmokeyD | hi people, I've got a small problem. I am building an app. I've defined my schemas and forms and views and stuff. I have also partially implemented the system (test version). Now I want to add a few extra attributes to one of the zope objects. I add them to the schema of the corresponding object, but now the edit form of that object (a formlib form) starts to complain when setting up the widgets that the attribute I just added to the sche | 16:07 |
SmokeyD | ma does not exist yet with this particular object | 16:07 |
*** mgedmin has joined #zope3-dev | 16:07 | |
wiggy | probably need some generation magic to update your content | 16:08 |
SmokeyD | yeah | 16:08 |
SmokeyD | I guess | 16:08 |
SmokeyD | but how to do that easiest | 16:08 |
*** edgordon has joined #zope3-dev | 16:10 | |
*** mgedmin has quit IRC | 16:14 | |
*** mgedmin has joined #zope3-dev | 16:14 | |
regebro | SmokeyD: I think all you need is a default in the schema. | 16:14 |
*** nathany has joined #zope3-dev | 16:15 | |
*** flox has joined #zope3-dev | 16:16 | |
*** rocky|away is now known as rocky | 16:17 | |
SmokeyD | regebro: no it doesn't work. I think I had the problem before. Then it was easier to solve with just a hasattr(). Now the attribute gets it's value through a vocabulary | 16:17 |
regebro | OK, so the default is only used when not having an object then. Ehum. That's a bit annoying. | 16:18 |
*** natea has quit IRC | 16:18 | |
SmokeyD | indeed. I think I will override one of the formlib methods and catch AttributeError | 16:19 |
*** natea has joined #zope3-dev | 16:19 | |
wiggy | that sounds like a workaround | 16:19 |
SmokeyD | indeed, not a very clean one, but It will work for now | 16:19 |
SmokeyD | This is just a test version of the app | 16:20 |
SmokeyD | anyway, so I will remove it in the final release | 16:20 |
*** batlogg has quit IRC | 16:26 | |
*** natea has quit IRC | 16:28 | |
*** zagy has quit IRC | 16:32 | |
*** J1m has joined #zope3-dev | 16:36 | |
*** stub has quit IRC | 16:51 | |
*** whit has joined #zope3-dev | 16:53 | |
*** natea has joined #zope3-dev | 17:03 | |
*** eins has quit IRC | 17:05 | |
*** hdima has quit IRC | 17:14 | |
*** gumpa has left #zope3-dev | 17:17 | |
*** mnordgren has joined #Zope3-dev | 17:17 | |
*** batlogg has joined #zope3-dev | 17:24 | |
*** RaFromBRC has joined #zope3-dev | 17:37 | |
*** edgordon has quit IRC | 17:46 | |
*** gumpa has joined #zope3-dev | 17:46 | |
*** gintas has joined #zope3-dev | 17:49 | |
*** whit has quit IRC | 17:55 | |
SmokeyD | I solved my problem by overriding the setUpWidgets method of the edit form, and defining my own setUpEditWidgets instead of using formlib.form.setUpEditWidgets. My setUpEditWidgets is almost the same, except that it catches an attribute error at value=field.get(adapter) and sets the attribute on the adapter if it is not there yet | 17:56 |
SmokeyD | Then another question | 17:57 |
SmokeyD | it it possible to edit the __name__ attribute of a zope object after it is created? | 17:57 |
SmokeyD | Or will that give trouble? | 17:57 |
*** nathany has quit IRC | 17:58 | |
*** andrew_m has left #zope3-dev | 18:00 | |
*** andrew_m has joined #zope3-dev | 18:02 | |
*** andrew_m has joined #zope3-dev | 18:03 | |
*** ktwilight has quit IRC | 18:14 | |
benji | SmokeyD: I don't know much about it, but I think you want to adapt (something, either the container or the item) to IContainerItemRenamer | 18:23 |
benji | than call its renameItem method | 18:23 |
SmokeyD | ok, thanks | 18:24 |
benji | there's also IObjectMover, just in case | 18:24 |
*** whit has joined #zope3-dev | 18:24 | |
mgedmin | fwiw IContainerItemRenamer is build on top of IObjectMover | 18:24 |
mgedmin | well, not the interface | 18:25 |
mgedmin | but the adapter that provides it | 18:25 |
benji | ahh, ok | 18:25 |
SmokeyD | ok, thnks | 18:28 |
SmokeyD | Well, I've run into another problem first :) | 18:28 |
SmokeyD | When can you get ForbiddenAttribute Errors? | 18:29 |
SmokeyD | I'm trying to display an edit form (formlib form) | 18:29 |
*** flox has quit IRC | 18:29 | |
SmokeyD | but setUpEditWidgets returns an ForbiddenAttribute error for one of the attributes | 18:29 |
SmokeyD | the attribute is defined in a schema from which the schema that describes the object for which the edit form is registered, inherits | 18:30 |
SmokeyD | I've got a schema called IAddress. It contains a TextLine attribute called address | 18:31 |
SmokeyD | IGroup inherits from IAddress, and class Group implements IGroup. If I call an editform on an instance of Group, I get the ForbiddenAttribute Error | 18:32 |
SmokeyD | about the address attribute | 18:32 |
*** ktwilight has joined #zope3-dev | 18:32 | |
benji | how do you have the security set up on those objects? | 18:33 |
romanofski | *wuerg | 18:33 |
romanofski | *gnarf | 18:33 |
mnordgren | sounds like you need to give permission on the IAddress in your class="Group" | 18:34 |
SmokeyD | ok, yeah, I think so too. Thanks | 18:37 |
mnordgren | np | 18:37 |
mnordgren | i do that all the time :) | 18:37 |
SmokeyD | I don't see where I forgot it yet, but I think it should be something like that | 18:37 |
SmokeyD | no permissions are listed in @@instrospector for the Group instance | 18:37 |
SmokeyD | :) | 18:37 |
SmokeyD | I forgot to define specify the Group class as a content object and within the content definition the permissions in the configure.xcml file | 18:40 |
SmokeyD | :) | 18:40 |
*** whit has quit IRC | 18:42 | |
*** markup_ has joined #zope3-dev | 18:44 | |
*** schwendinger has quit IRC | 18:47 | |
*** schwendinger has joined #zope3-dev | 18:50 | |
*** batlogg has quit IRC | 18:56 | |
*** schwendinger has quit IRC | 18:56 | |
*** srichter has quit IRC | 18:59 | |
*** dobee_ has quit IRC | 19:06 | |
*** whit has joined #zope3-dev | 19:09 | |
*** edgordon has joined #zope3-dev | 19:12 | |
*** alecm has joined #zope3-dev | 19:17 | |
*** MJ has quit IRC | 19:22 | |
*** natea has quit IRC | 19:22 | |
*** ofer has joined #zope3-dev | 19:26 | |
*** _projekt01 has quit IRC | 19:27 | |
*** regebro has quit IRC | 19:28 | |
*** whit has quit IRC | 19:37 | |
*** replicant has joined #zope3-dev | 19:45 | |
*** alga has quit IRC | 19:46 | |
*** alga has joined #zope3-dev | 19:47 | |
*** ofer has quit IRC | 19:51 | |
*** danfairs has joined #zope3-dev | 19:58 | |
*** alecm has quit IRC | 20:12 | |
*** replicant has quit IRC | 20:26 | |
*** romanofs1i has joined #zope3-dev | 20:26 | |
*** alecm has joined #zope3-dev | 20:35 | |
*** gintas has quit IRC | 20:42 | |
*** rocky has quit IRC | 20:48 | |
*** rocky has joined #zope3-dev | 20:50 | |
*** batlogg has joined #zope3-dev | 20:50 | |
*** whit has joined #zope3-dev | 20:57 | |
*** RaFromBRC has quit IRC | 20:58 | |
*** RaFromBRC has joined #zope3-dev | 20:59 | |
*** gumpa is now known as gumpa_afk | 21:02 | |
*** MJ has joined #zope3-dev | 21:03 | |
*** mnordgren has quit IRC | 21:04 | |
*** natea has joined #zope3-dev | 21:06 | |
*** batlogg has quit IRC | 21:08 | |
*** schwendinger has joined #zope3-dev | 21:12 | |
*** batlogg has joined #zope3-dev | 21:13 | |
*** ignas has quit IRC | 21:13 | |
*** schwendinger has quit IRC | 21:16 | |
*** agroszer has quit IRC | 21:26 | |
*** edgordon has quit IRC | 21:27 | |
batlogg | J1m: would you mind processing the contributor agreement of stsblacky? | 21:35 |
*** kobol1 has left #zope3-dev | 21:45 | |
*** dunny has joined #zope3-dev | 21:49 | |
*** danfairs has quit IRC | 21:52 | |
J1m | batlogg: no, where is it? | 21:56 |
batlogg | we faxed it yesterday to zc, J1m | 21:56 |
J1m | k, I haven't gotten it yet. | 21:56 |
J1m | I don't get the faxes directly. | 21:57 |
J1m | ok, we have it | 21:58 |
J1m | I'll do it in a few minutes | 21:58 |
batlogg | o.k. :) let's try tomorrow | 22:03 |
*** mkerrin has quit IRC | 22:04 | |
J1m | batlogg: done | 22:05 |
batlogg | J1m: perfect. thanks! | 22:05 |
batlogg | J1m: we'd like to become solution provider. are you the right person to handle that? | 22:06 |
J1m | Cool | 22:08 |
J1m | Fill out the membership agreement: | 22:08 |
J1m | http://www.zope.org/foundation/ZopeFoundationMembershipAgreement.pdf | 22:08 |
J1m | and .... | 22:08 |
J1m | Let's see: | 22:08 |
J1m | .... | 22:08 |
J1m | You submit them the same way you would submit a committer agreement: | 22:10 |
J1m | http://www.zope.org/foundation/ZopeFoundation_Committer_Agreement.pdf | 22:10 |
J1m | That is by mailing/faxing/emailing to the places mentioned in the committer agreement. | 22:10 |
J1m | ah, see: | 22:11 |
J1m | http://mail.zope.org/pipermail/foundation/2006-June/000086.html | 22:11 |
J1m | which gives instructions. | 22:11 |
batlogg | o.k., so that process is up :) | 22:11 |
*** rock1 has joined #zope3-dev | 22:26 | |
*** rocky has quit IRC | 22:31 | |
*** rock1 is now known as rocky | 22:31 | |
*** replicant has joined #zope3-dev | 22:34 | |
*** volvox has quit IRC | 22:39 | |
*** hazmat_ has joined #zope3-dev | 22:44 | |
*** replicant has quit IRC | 22:51 | |
wiggy | is the openid.cryptutil module going to stay around? | 22:55 |
*** hazmat_ has quit IRC | 23:00 | |
*** RaFromBRC has quit IRC | 23:02 | |
*** replicant has joined #zope3-dev | 23:03 | |
*** natea has quit IRC | 23:03 | |
benji | wiggy: what are you talking about? :) | 23:04 |
wiggy | hm | 23:05 |
wiggy | that should have gone to the next window :) | 23:05 |
benji | heh :) | 23:05 |
*** povbot has joined #zope3-dev | 23:18 | |
*** danfairs has joined #zope3-dev | 23:19 | |
*** replicant has quit IRC | 23:21 | |
*** rocky is now known as rocky|away | 23:22 | |
*** mgedmin has quit IRC | 23:25 | |
*** niemeyer has quit IRC | 23:27 | |
*** timte has quit IRC | 23:35 | |
*** RaFromBRC has joined #zope3-dev | 23:39 | |
*** xenru has quit IRC | 23:39 | |
*** alga has quit IRC | 23:40 | |
*** whit has quit IRC | 23:43 | |
rocky|away | quick question, if i have a bunch of widgets all registered for the same field, how does the logic know which widget to use by default? | 23:47 |
*** rocky|away is now known as rocky | 23:47 | |
* rocky is just getting into widgets and understanding that widgets are multi-adapters for the field and request | 23:47 | |
benji | rocky: I don't know for sure, but would guess that it uses the normal adapter precidence rules | 23:52 |
rocky | benji: when the field interfaces being adapted are identical wouldn't that mean it's random? or alphabetical? or? | 23:52 |
benji | I don't think that question makes sense. :) | 23:53 |
rocky | lol | 23:53 |
benji | so the multi-adapter from (IFooField, IRequest) to ISomething is being looked up... | 23:53 |
benji | if you do that look up twice (for two different fields of the same type, say) it'll return the same result each time | 23:54 |
rocky | right | 23:54 |
rocky | but i guess i just don't know what that same something will be each time | 23:54 |
benji | if, OTOH, you register an adapter when there is already an adapter for that exact set of interfaces registered, the new one will override the other | 23:54 |
rocky | oh? that i didn't realize | 23:55 |
benji | there can be only one </highlander> | 23:55 |
rocky | hehe | 23:56 |
rocky | still don't know which one wins tho | 23:57 |
rocky | i mean which one is the overriding one | 23:57 |
rocky | the last to zcml load i guess | 23:57 |
benji | the last one wins | 23:57 |
rocky | right | 23:58 |
benji | actually, I /believe/ the ZCMl machinery adds another layer on top, so you can't register an adapter for the same interfaces twice, you have to use overrides for that (but I'm not sure) | 23:58 |
benji | it'd be easy enough to try and see | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!