*** jukart_ has quit IRC | 00:03 | |
*** lucielejard has quit IRC | 00:06 | |
*** lucielejard has joined #zope3-dev | 00:07 | |
__self | hmm, I can add my contentcomponent if I press the "Add" button under the contents table on ZMI, but if I try to add it via the addmenu the buttons under the table change to "[Apply] [Cancel]" but I can't do anything .. | 00:08 |
---|---|---|
*** grahal has quit IRC | 00:08 | |
__self | shouldn't adding via addmenuitem it redirect to the add view? | 00:09 |
__self | no errors generated.. | 00:10 |
*** b52laptop has joined #zope3-dev | 00:22 | |
*** b52laptop has quit IRC | 00:22 | |
*** dobee has left #zope3-dev | 00:22 | |
*** dobee has joined #zope3-dev | 00:23 | |
*** greenman has joined #zope3-dev | 00:23 | |
*** timte has quit IRC | 00:29 | |
*** d2m has quit IRC | 00:32 | |
*** dunny has joined #zope3-dev | 00:36 | |
*** lucielejard has quit IRC | 00:39 | |
*** projekt01 has joined #zope3-dev | 00:43 | |
*** projekt01 has joined #zope3-dev | 00:44 | |
*** jukart has joined #zope3-dev | 00:44 | |
*** jukart_ has joined #zope3-dev | 00:46 | |
*** eldar has quit IRC | 00:46 | |
*** jhancock has quit IRC | 00:48 | |
*** benji has quit IRC | 01:00 | |
*** deo has quit IRC | 01:00 | |
*** jukart has quit IRC | 01:03 | |
*** netshade has quit IRC | 01:04 | |
*** jinty_ has quit IRC | 01:14 | |
*** jsadjohnson has quit IRC | 01:20 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 01:22 | |
*** b52laptop has joined #zope3-dev | 01:23 | |
*** jsadjohnson has joined #zope3-dev | 01:26 | |
*** jukart_ has quit IRC | 01:51 | |
*** lmiller_ has joined #zope3-dev | 01:52 | |
*** jsadjohnson has quit IRC | 01:52 | |
*** dobee has quit IRC | 01:55 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 01:57 | |
*** jsadjohnson has joined #zope3-dev | 01:58 | |
*** jukart has joined #zope3-dev | 01:59 | |
*** jodok_ has quit IRC | 02:01 | |
*** jukart_ has joined #zope3-dev | 02:03 | |
*** _prefixer has quit IRC | 02:10 | |
*** J1m has quit IRC | 02:12 | |
*** jukart has quit IRC | 02:19 | |
*** srichter has quit IRC | 02:21 | |
*** b52laptop has quit IRC | 02:32 | |
*** jsadjohnson has quit IRC | 02:32 | |
*** tarek_ has joined #zope3-dev | 02:35 | |
*** Ariel_Calzada has quit IRC | 02:35 | |
*** nathany has quit IRC | 02:39 | |
*** nathany_ has joined #zope3-dev | 02:39 | |
*** tarek has quit IRC | 02:39 | |
__self | i'm trying to make a subscriber with @adapter(IPost, IObjectModifiedEvent, IObjectAddedEvent) | 02:48 |
__self | and it doesn't do anything.. but it works if I try it with IObjectModifiedEvent alone.. | 02:49 |
__self | or IObjectAddedEvent | 02:49 |
__self | any ideas? adapter's __init__ does take *interfaces as argument, so I'm confused :O | 02:50 |
*** huajie has joined #zope3-dev | 02:51 | |
*** rcrafton has quit IRC | 02:53 | |
jukart_ | __self: the subscriber is a multiadapter on the object and the event | 02:54 |
jukart_ | you need a subscriber for IObjectModifiedEvent and one for IObjectAddedEvent | 02:55 |
__self | so a subscriber can only subscribe to one event? I'm kind of new to this zope3 thing so everythings a bit messy for me now :) | 02:56 |
*** nathany_ has quit IRC | 03:01 | |
projekt01 | __self, the registration @adapter(foo, bar) reflects the arguments in the __init__(foo, bar) of the adapter | 03:05 |
__self | ok | 03:09 |
__self | which file is that? I'm looking in zope/component/_declaration.py and see __init__(self,*interfaces) | 03:09 |
__self | for the: class adapter | 03:10 |
__self | projekt01: | 03:10 |
projekt01 | @adapter is only a decorator which declares the adapters "for" arguments | 03:18 |
projekt01 | what are you looking for? | 03:18 |
__self | nothing now, just trying to understand :) I did what jukart_ said and it works | 03:22 |
jukart_ | __self: the subscriber you are using here for an event is adapting to the object and the event, that means your adapter has to be registered for exactly these arguments | 03:24 |
projekt01 | another option; remove the @adapter decorator and use for="foo bar" in the adapter/subscriber directive | 03:24 |
jukart_ | projekt01: still up | 03:24 |
projekt01 | jukart_, hi | 03:24 |
projekt01 | yes | 03:24 |
__self | ah | 03:24 |
projekt01 | another sleepless night | 03:25 |
jukart_ | hehe | 03:25 |
jukart_ | I'm in canada right now :) | 03:25 |
projekt01 | cool, how is the weather? | 03:25 |
jukart_ | overcast today, but ok tomorrow | 03:26 |
jukart_ | going for a sailing tour | 03:26 |
__self | bah, can't sleep either | 03:27 |
projekt01 | Uhh, and I'm still working | 03:27 |
__self | projekt01: so.. remove the @adapter.. and add <subscriber for="IObjMod IObjAdd" ... /> to zcml? | 03:30 |
projekt01 | no | 03:31 |
projekt01 | for="IPost IObjectModifiedEvent" and another registration for="IPost IObjAddedEvent" (note: there is no coma) | 03:32 |
*** rcrafton has joined #zope3-dev | 03:34 | |
projekt01 | rcrafton, hi | 03:34 |
*** whit has quit IRC | 03:36 | |
*** jsadjohnson has joined #zope3-dev | 03:37 | |
__self | ok, let's see | 03:38 |
__self | projekt01: thx works | 03:39 |
__self | how long before you guys became friends with this beast? :O | 03:40 |
projekt01 | I'm working with Zope3 since the last 4 years | 03:41 |
__self | wow | 03:43 |
projekt01 | and I still understand it better and better everyday ;-) | 03:44 |
__self | 1.5 weeks here.. | 03:44 |
__self | but i get those aha's almost daily :) | 03:44 |
projekt01 | it's not this hard, but it takes a while till you get the concepts behind the scene | 03:45 |
*** whit has joined #zope3-dev | 03:45 | |
projekt01 | whit, hi | 03:46 |
markusleist | projekt01: so late, still up? You are in europe/Switzerland, right? | 03:52 |
projekt01 | yes | 03:56 |
markusleist | I'm working with z3c.form.EditForm and ObjectModifiedEvent, too. | 03:58 |
markusleist | In the old form and in the new z3c.form there is only one argument in ObjectModifiedEvent(obj) | 03:59 |
markusleist | this obj - with its properties - represents the values _after_ edit, right? | 03:59 |
projekt01 | yes | 04:00 |
markusleist | hmm, i will register a subscriber, which will receive this event. in old forms there was no way to determine exactly which fields have changed, right? | 04:02 |
markusleist | It is possible to customize z3c.form to submit a list of fields, which have changed? May i help? | 04:05 |
projekt01 | yes, there is support for a field description on modified events, but you have to implement this individual for each object | 04:07 |
projekt01 | but are you really sure you will need this level? | 04:07 |
projekt01 | what is your use case? | 04:08 |
markusleist | any generic approach? | 04:09 |
markusleist | my usecase: two instances zope3, which are conneted by an xmlrpc-"wire". | 04:10 |
markusleist | when edit an object on the left, some informations are sent to the right. | 04:10 |
markusleist | at the moment the full set of properties are sent to the remote-instance. | 04:11 |
projekt01 | if you need to optimize, you can add a declaration describing the fields in object modified event and only exchange this attributes | 04:12 |
markusleist | yes, is this an interesting approach for you, too? | 04:14 |
projekt01 | I never used it, I don't have this much traffic via XMLRPC | 04:15 |
markusleist | in zope.lifecycleevent.ObjectModifiedEvent: >>notify(ObjectModifiedEvent(obj, Attributes(ISample, "field"))) | 04:16 |
projekt01 | I was thinking last week to implement some basic components wihtout event support, e.g. a container without fireing events. It turned me crazy as I saw all the event subscribers calling the catalog indexes just for nothing. | 04:17 |
markusleist | ok, i will see - but tomorrow ;-) | 04:18 |
markusleist | btw in my app, the event-machinery plays a central role. | 04:20 |
rcrafton | hey, projekt01. Was away with the family | 04:20 |
markusleist | projekt01: so far, thnx a lot and good night | 04:20 |
projekt01 | markusleist, see you | 04:21 |
projekt01 | rcrafton, is everything fine over there? | 04:21 |
*** reco has quit IRC | 04:49 | |
*** reco has joined #zope3-dev | 04:49 | |
*** jukart_ has quit IRC | 04:58 | |
*** projekt01 has quit IRC | 05:11 | |
*** netshade has joined #zope3-dev | 05:12 | |
*** jodok has joined #zope3-dev | 05:13 | |
*** RaFromBRC has quit IRC | 05:18 | |
*** dobee has joined #zope3-dev | 05:24 | |
*** netshade has quit IRC | 05:25 | |
*** dobee has left #zope3-dev | 05:26 | |
*** dobee has joined #zope3-dev | 05:26 | |
*** whit has quit IRC | 05:33 | |
*** rcrafton has quit IRC | 05:40 | |
*** hazmat has quit IRC | 05:42 | |
*** dobee has quit IRC | 05:44 | |
*** dobee has joined #zope3-dev | 05:58 | |
*** dobee has quit IRC | 06:00 | |
*** stub has joined #zope3-dev | 06:02 | |
*** jsadjohnson has quit IRC | 06:15 | |
*** chacha_chaudhry has joined #zope3-dev | 06:17 | |
*** reco has quit IRC | 06:26 | |
*** Ariel_Calzada has joined #zope3-dev | 06:39 | |
*** alecm has quit IRC | 06:46 | |
*** alecm has joined #zope3-dev | 06:49 | |
*** hazmat has joined #zope3-dev | 06:49 | |
*** ChanServ sets mode: +o hazmat | 06:49 | |
*** cursor has joined #zope3-dev | 07:02 | |
*** greenman has quit IRC | 07:20 | |
*** Ariel_Calzada has quit IRC | 07:22 | |
*** tarek_ has quit IRC | 07:56 | |
*** dunny has quit IRC | 07:58 | |
*** stub has quit IRC | 08:08 | |
*** alecm has quit IRC | 08:14 | |
*** romanofski has quit IRC | 08:22 | |
*** sorin has joined #zope3-dev | 08:22 | |
*** alecm has joined #zope3-dev | 08:30 | |
*** sorin is now known as sorindregan | 08:32 | |
*** ignas has joined #zope3-dev | 08:50 | |
*** yvl has joined #zope3-dev | 08:50 | |
*** baijum has joined #zope3-dev | 08:53 | |
*** cursor has quit IRC | 08:55 | |
*** naro has joined #zope3-dev | 09:02 | |
*** jodok has quit IRC | 09:08 | |
*** Aiste has joined #zope3-dev | 09:08 | |
*** romanofski has joined #zope3-dev | 09:21 | |
*** afd has joined #zope3-dev | 09:22 | |
romanofski | moin | 09:23 |
*** markusleist has quit IRC | 09:27 | |
*** bigkevmcd has quit IRC | 09:30 | |
*** Aiste has quit IRC | 09:44 | |
*** cursor has joined #zope3-dev | 09:53 | |
*** schwendinger has joined #zope3-dev | 10:08 | |
*** goschtl has joined #zope3-dev | 10:13 | |
*** alecm has quit IRC | 10:13 | |
*** Aiste has joined #zope3-dev | 10:13 | |
*** j-w has joined #zope3-dev | 10:13 | |
*** alecm has joined #zope3-dev | 10:14 | |
*** d2m has joined #zope3-dev | 10:17 | |
*** MJ has joined #zope3-dev | 10:22 | |
*** timte has joined #zope3-dev | 10:26 | |
*** jfroche has quit IRC | 10:28 | |
*** ktwilight_ has joined #zope3-dev | 10:33 | |
*** stub has joined #zope3-dev | 10:38 | |
*** bigkevmcd has joined #zope3-dev | 10:41 | |
*** jinty has joined #zope3-dev | 10:43 | |
*** tarek has joined #zope3-dev | 10:44 | |
*** ktwilight has quit IRC | 10:47 | |
*** afd has quit IRC | 10:54 | |
*** afd has joined #zope3-dev | 10:55 | |
*** pelle_ has joined #zope3-dev | 10:55 | |
*** afd has quit IRC | 10:59 | |
*** afd has joined #zope3-dev | 10:59 | |
*** ktwilight has joined #zope3-dev | 11:01 | |
*** theuni has joined #zope3-dev | 11:01 | |
*** harobed has joined #zope3-dev | 11:04 | |
j-w | somehow subscribing to the checkins@zope.org isn't working for me - is there anyone I can contact about this? | 11:06 |
*** ktwilight_ has quit IRC | 11:14 | |
*** mgedmin has joined #zope3-dev | 11:15 | |
*** alecm has quit IRC | 11:16 | |
*** alga has joined #zope3-dev | 11:23 | |
*** projekt01 has joined #zope3-dev | 11:24 | |
wiggy | it might just take a while | 11:36 |
wiggy | took two days before my cmf-checkins subscription worked | 11:36 |
*** zagy has joined #zope3-dev | 11:38 | |
projekt01 | build.bat | 11:40 |
projekt01 | Hm, that was the wrong window | 11:41 |
*** ghendi has joined #zope3-dev | 11:46 | |
projekt01 | mgedmin, I'll get Expected: | 11:56 |
projekt01 | <!DOCTYPE ... | 11:56 |
projekt01 | <div>Rating: A</div> | 11:56 |
projekt01 | ... | 11:56 |
projekt01 | Got: | 11:56 |
projekt01 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 11:56 |
projekt01 | <html lang="en" xmlns="http://www.w3.org/1999/xhtml" | 11:56 |
projekt01 | xml:lang="en"> | 11:56 |
projekt01 | <head> | 11:56 |
projekt01 | <title>Refline: </title><meta name="author" content="Refline (Schweiz) AG" /> | 11:56 |
projekt01 | <meta name="copyright" content="Refline (Schweiz) AG" /> | 11:56 |
projekt01 | <meta http-equiv="cache-control" content="no-cache" /> | 11:56 |
projekt01 | <meta http-equiv="pragma" content="no-cache" /> | 11:56 |
projekt01 | <!-- css viewlets --> | 11:56 |
projekt01 | <link type="text/css" rel="stylesheet" | 11:56 |
projekt01 | href="http://localhost/++skin++Recruiter/000000/@@/thickbox.css" | 11:56 |
projekt01 | media="all" /> | 11:56 |
projekt01 | <BLANKLINE> | 11:56 |
*** projekt01 has quit IRC | 11:56 | |
*** projekt01 has joined #zope3-dev | 11:57 | |
projekt01 | sorry, about that, I guess this is defently not my day | 11:58 |
projekt01 | mgedmin, did something change in the testing, some of my tests fail because of output like: <div> instead of <div> | 12:00 |
*** richardkan has joined #zope3-dev | 12:01 | |
*** Aiste has quit IRC | 12:02 | |
*** mgedmin has quit IRC | 12:09 | |
*** ferrafox has joined #zope3-dev | 12:10 | |
*** mgedmin has joined #zope3-dev | 12:14 | |
*** cursor has quit IRC | 12:22 | |
*** b52laptop has joined #zope3-dev | 12:28 | |
*** Jell-O-Fishi has quit IRC | 12:28 | |
*** projekt01 has left #zope3-dev | 12:31 | |
*** greenman has joined #zope3-dev | 12:37 | |
*** markusleist has joined #zope3-dev | 13:12 | |
*** b52lap has joined #zope3-dev | 13:20 | |
*** lisppaste6 has quit IRC | 13:22 | |
*** b52laptop has quit IRC | 13:22 | |
*** ktwilight has quit IRC | 13:26 | |
*** ktwilight has joined #zope3-dev | 13:27 | |
*** greenman has quit IRC | 13:30 | |
*** lisppaste6 has joined #zope3-dev | 13:32 | |
*** mkerrin has joined #zope3-dev | 13:32 | |
*** jfroche has joined #zope3-dev | 13:33 | |
*** huajie has quit IRC | 13:57 | |
*** romanofs1i has joined #zope3-dev | 14:00 | |
*** afd has quit IRC | 14:00 | |
*** afd_ has joined #zope3-dev | 14:00 | |
*** jfroche has quit IRC | 14:00 | |
*** Newfie2007 has joined #zope3-dev | 14:05 | |
*** romanofski has quit IRC | 14:10 | |
*** theuni has quit IRC | 14:11 | |
*** romanofs1i is now known as romanofski | 14:11 | |
*** theuni has joined #zope3-dev | 14:14 | |
*** MJ is now known as MJ|lunch | 14:22 | |
*** jodok has joined #zope3-dev | 14:23 | |
*** Ariel_Calzada has joined #zope3-dev | 14:30 | |
*** dobee has joined #zope3-dev | 14:32 | |
*** dobee has left #zope3-dev | 14:32 | |
*** dobee has joined #zope3-dev | 14:33 | |
*** ghendi has quit IRC | 14:51 | |
*** jodok has quit IRC | 14:51 | |
*** dobee has quit IRC | 14:52 | |
*** jsadjohnson has joined #zope3-dev | 14:52 | |
*** ferrafox has quit IRC | 15:13 | |
*** jsadjohnson_ has joined #zope3-dev | 15:14 | |
*** ferrafox has joined #zope3-dev | 15:15 | |
*** romanofs1i has joined #zope3-dev | 15:17 | |
*** Aiste has joined #zope3-dev | 15:21 | |
*** benji has joined #zope3-dev | 15:28 | |
*** xbeanx has joined #zope3-dev | 15:30 | |
*** jsadjohnson has quit IRC | 15:30 | |
*** baijum has quit IRC | 15:34 | |
*** romanofski has quit IRC | 15:35 | |
*** xxbeanxx has quit IRC | 15:38 | |
*** MJ|lunch is now known as MJ | 15:38 | |
*** theuni has quit IRC | 15:41 | |
*** dobee has joined #zope3-dev | 15:42 | |
*** jodok has joined #zope3-dev | 15:42 | |
*** jodok_ has joined #zope3-dev | 15:43 | |
*** Aiste has quit IRC | 15:44 | |
*** jodok_ has quit IRC | 15:48 | |
*** jodok_ has joined #zope3-dev | 15:48 | |
*** Aiste has joined #zope3-dev | 15:49 | |
*** timte has quit IRC | 15:51 | |
*** jodok_ has quit IRC | 15:57 | |
*** zagy_ has joined #zope3-dev | 15:59 | |
*** zagy has quit IRC | 15:59 | |
*** jodok has quit IRC | 16:03 | |
*** afd__ has joined #zope3-dev | 16:08 | |
*** afd_ has quit IRC | 16:09 | |
*** J1m has joined #zope3-dev | 16:11 | |
*** Ariel_Calzada has quit IRC | 16:14 | |
*** schwendinger has quit IRC | 16:14 | |
*** pelle_ has quit IRC | 16:16 | |
*** jsadjohnson has joined #zope3-dev | 16:17 | |
*** schwendinger has joined #zope3-dev | 16:18 | |
*** yvl has quit IRC | 16:19 | |
*** netshade has joined #zope3-dev | 16:22 | |
*** jsadjohnson_ has quit IRC | 16:32 | |
*** rcrafton has joined #zope3-dev | 16:33 | |
*** ferrafox_ has joined #zope3-dev | 16:38 | |
*** Aiste has quit IRC | 16:38 | |
*** afd__ has quit IRC | 16:40 | |
*** andre_ has joined #zope3-dev | 16:40 | |
*** afd__ has joined #zope3-dev | 16:42 | |
*** andre_ has quit IRC | 16:46 | |
*** afd__ has quit IRC | 16:47 | |
*** afd__ has joined #zope3-dev | 16:48 | |
*** whit has joined #zope3-dev | 16:51 | |
*** ferrafox has quit IRC | 16:55 | |
*** jukart has joined #zope3-dev | 16:56 | |
*** torkel_ has joined #zope3-dev | 16:56 | |
*** srichter has joined #zope3-dev | 17:00 | |
*** Ariel_Calzada has joined #zope3-dev | 17:03 | |
*** redir has joined #zope3-dev | 17:03 | |
*** ferrafox_ is now known as ferrafox | 17:06 | |
*** theuni has joined #zope3-dev | 17:07 | |
theuni | J1m: hmm. could it be that ppix has a problem with unicode characters in package names? | 17:08 |
*** projekt01 has joined #zope3-dev | 17:09 | |
*** ChanServ sets mode: +o srichter | 17:09 | |
*** jukart_ has joined #zope3-dev | 17:12 | |
*** alecm has joined #zope3-dev | 17:12 | |
*** timte has joined #zope3-dev | 17:22 | |
*** sorindregan has quit IRC | 17:24 | |
*** afd__ has quit IRC | 17:25 | |
*** theuni has quit IRC | 17:26 | |
*** schwendinger has quit IRC | 17:28 | |
*** jukart has quit IRC | 17:28 | |
*** theuni has joined #zope3-dev | 17:28 | |
*** jodok has joined #zope3-dev | 17:29 | |
*** lucielejard has joined #zope3-dev | 17:34 | |
*** chacha_chaudhry has quit IRC | 17:34 | |
*** alecm_ has joined #zope3-dev | 17:37 | |
*** schwendinger has joined #zope3-dev | 17:37 | |
*** Theuni_ has joined #zope3-dev | 17:49 | |
*** timte_ has joined #zope3-dev | 17:49 | |
*** jodok is now known as jodok|seltsa | 17:50 | |
*** alecm has quit IRC | 17:53 | |
*** Newfie2007_ has joined #zope3-dev | 18:00 | |
*** Newfie2007 has quit IRC | 18:01 | |
*** stub has quit IRC | 18:02 | |
*** theuni has quit IRC | 18:12 | |
*** jodok|seltsa has quit IRC | 18:16 | |
*** Theuni_ has quit IRC | 18:21 | |
*** Theuni has joined #zope3-dev | 18:21 | |
*** goschtl has quit IRC | 18:22 | |
*** jukart_ has quit IRC | 18:24 | |
*** pcardune has joined #zope3-dev | 18:29 | |
*** j-w has quit IRC | 18:33 | |
*** MJ has quit IRC | 18:36 | |
*** markusleist has left #zope3-dev | 18:36 | |
*** nathany has joined #zope3-dev | 18:38 | |
*** deo has joined #zope3-dev | 18:40 | |
*** markusleist has joined #zope3-dev | 18:41 | |
*** ignas has quit IRC | 18:47 | |
*** pcardune has quit IRC | 19:02 | |
*** projekt01 has quit IRC | 19:02 | |
*** alecm_ has quit IRC | 19:04 | |
CrippsFX | I'm looking for a way to generate and display a Container (or a list, whichever is best suited) based on information gathered from a custom form using formlib. I want the method decorated by @action("Get List", failure = "handleSubmitError") to take care of calling the appropriate utility to generate the list, but I'm not sure how to go about returning the view for said list. Is there some other (specific) documentation someone could point me | 19:05 |
CrippsFX | to? | 19:05 |
CrippsFX | sorry, I forgot to mention that I've read the entirety of http://svn.zope.org/zope.formlib/trunk/src/zope/formlib/form.txt?rev=75131&view=markup | 19:06 |
srichter | CrippsFX: use z3c.form; it is better documented ;-) | 19:07 |
CrippsFX | srichter: thanks for the hint ... I'm *trying* to refrain from additions to the Zope Skeleton unless it's absolutely neccessary though ... it's one of the project requirements. | 19:08 |
srichter | that's really dumb! | 19:08 |
srichter | :-) | 19:08 |
srichter | seriously, we are publishing packages to make your life easier | 19:09 |
CrippsFX | :) ... I'll ask the project leader about it. | 19:09 |
CrippsFX | okay, he gave it the go-ahead ... so I'll check it out. | 19:10 |
srichter | he he, cool | 19:10 |
srichter | this was easy :-) | 19:10 |
wiggy | the plan for world domination is coming along? :) | 19:10 |
CrippsFX | haha ... yeah, good thing about having a small dev team :P | 19:11 |
srichter | yep | 19:11 |
CrippsFX | wiggy: actually, that has a lower priority than the current component I'm working. I won't get around to that for another few weeks. | 19:11 |
CrippsFX | *working on | 19:11 |
CrippsFX | I'm thinking about it already, however, and Poland seems like the best place to start. | 19:12 |
srichter | wiggy: well, we put a lot of sweat and energy into z3c.form, so I feel obligated to promote it heavily ;-) | 19:13 |
CrippsFX | hahaha. | 19:13 |
CrippsFX | the z3c stuff won't ever be built into zope as defaults, will it? | 19:13 |
srichter | well, I think there will probably be no more Zope releases ;-) | 19:14 |
srichter | CrippsFX: Zope becomes more like a Linux distro | 19:14 |
wiggy | zope becomes more like plone ;) | 19:15 |
srichter | in any Linux distro, it doesn't make sense to ask, will "Firefox" be part of the standard distro? | 19:15 |
CrippsFX | ah, I see. | 19:15 |
wiggy | srichter: unless you're talking about debian of course | 19:15 |
Lumiere | srichter: how is zope going to be packaged in distrobutions then? | 19:15 |
srichter | wiggy: I am a little afraid of this myself;l I hope we will do well with ensuring a working set of dependencies | 19:15 |
CrippsFX | well, with the buildout and eggification of Zope, it should start becoming much easier to install z3c stuff. | 19:15 |
srichter | Lumiere: this is the big question | 19:16 |
*** romanofs1i has quit IRC | 19:16 | |
wiggy | srichter: imho the python packaging system isn't nearly ready for it | 19:16 |
Lumiere | one that needs to be solved pretty soon imho | 19:16 |
CrippsFX | although, I don't mind the current way of doing things ... except for documenting it for my cow orkers. | 19:16 |
wiggy | srichter: you really want something that comes close to what dpkg or rpm do with package relations | 19:16 |
srichter | Lumiere: some people talk about meta-egss others, liek Phil, try to make very user-friendly scripts | 19:16 |
srichter | we will see what will develop as the best option to support | 19:16 |
* Lumiere has a package that's going to require zope3.4 in some manner in ubuntu gutsy | 19:17 | |
wiggy | imho someone should factor relation handling out of dpkg or rpm and work a python package handling system on top of that | 19:17 |
Lumiere | wiggy: dpkg... | 19:17 |
srichter | wiggy: if the eggs and setuptools packages will not be close to that, then we are in big trouble; but I think we are on the right track | 19:17 |
Lumiere | rpm's reltionship handling leaves a lot to be desired | 19:17 |
Lumiere | brb | 19:17 |
CrippsFX | true that (@ Lumiere ) | 19:18 |
wiggy | srichter: last time I checked there was no concept of virtual package or conflicts | 19:18 |
wiggy | both of which are essential | 19:18 |
wiggy | Lumiere: I tried to be neutral here... | 19:18 |
wiggy | (even though I was the dpkg maintainer for some time) | 19:18 |
srichter | right now, I am using buildout to do my work and it seems okay | 19:18 |
CrippsFX | srichter: hm. I like the documentation in z3c.form already ... to start, there is an example using zope.schema.Choice ... the other one didn't do that, which sucks because Choice widgets are the ones I'm using. | 19:18 |
srichter | btw, Jim is working on an RPM generator from eggs | 19:18 |
srichter | I think soon someone will work on a deb package generator | 19:19 |
wiggy | srichter: there is no way to tell buildout 'this thing is already present on the system with this version' | 19:19 |
wiggy | which broke things for us twice this week | 19:19 |
srichter | right, Jim is a big believer of not using system python ;-) | 19:20 |
srichter | I tend to disagree, but I think he is right ;-) | 19:20 |
wiggy | I'm a big believer of not using very complex systems to build the same thing 50 times if I can just do it once properly | 19:20 |
wiggy | esp. since I may want to use a special build of something | 19:20 |
srichter | once we have packge/egg to DEB/RPM converters, system python can be used again | 19:20 |
wiggy | the 'convert xyz to deb/rpm' approach has been tried and never succeeded | 19:21 |
wiggy | so I'm still sceptical | 19:21 |
CrippsFX | srichter: since I have svn write access, I can checkout, fix a typo, and checkin the form.txt documentation, correct? | 19:21 |
srichter | wiggy: well, then you are on Jim's side ;-) Having your own Python is the simplest, because you do not have to worry about any other dependency or installed package | 19:22 |
CrippsFX | er, well, it's not really a typo, but it is an error. | 19:22 |
wiggy | srichter: I'm not though; I generally prefer to use things form the system if they are there | 19:22 |
srichter | CrippsFX: yep, please do | 19:22 |
*** harobed has quit IRC | 19:23 | |
srichter | wiggy: me too, but the problem is that system Python is used by so many application in a distribution, that it is harder to make it work for your development than simply compile a clean version | 19:23 |
CrippsFX | srichter: and since it's only an error in the non-doctest section of the documentation, I can do that right in trunk, right? | 19:24 |
wiggy | srichter: so far I've never seen the system python not working | 19:24 |
CrippsFX | (I'm just double checking on svn etiquette) | 19:24 |
srichter | wiggy: mine is not working right now, because it has setuptools 0.6rc5 installed, but I need 0.6rc6 for my buildouts | 19:25 |
srichter | CrippsFX: yeah, I only work on the trunk, but please run the tests before submitting | 19:26 |
*** Newfie2007_ is now known as Newfie2007 | 19:26 | |
CrippsFX | srichter: will do. | 19:27 |
CrippsFX | thanks. | 19:27 |
srichter | CrippsFX: also, please write a CHANGES.txt comment. | 19:30 |
wiggy | ideally you should be able to selectively use bits of the system python | 19:30 |
wiggy | like 'use the python itself, package x, package y, package z, but nothing else' | 19:30 |
srichter | right | 19:30 |
srichter | that would be a good improvement I think | 19:31 |
wiggy | the only major pain I have is that the OSX lxml is stupidly broken and segfaults | 19:31 |
srichter | I just added lxml into my requirements and on Linux it just built it beatifully from source; needless to say, I am happy ;-) | 19:31 |
wiggy | srichter: it works beautiful everywhere except on OSX | 19:32 |
*** alecm has joined #zope3-dev | 19:32 | |
Lumiere | to me a big part of the problem is | 19:41 |
Lumiere | zope3/python don't have any real distribution type people on board for making packages | 19:42 |
Lumiere | someone like wiggy would be good for putting together a good release/build structure for z3/python | 19:42 |
* wiggy is quite busy managing plone releases though | 19:43 | |
wiggy | and I highly doubt people are going to sponsor that | 19:43 |
Lumiere | yea | 19:45 |
CrippsFX | srichter: shouldn't it be documented somewhere that z3c.form depends on z3c.template ? | 19:46 |
*** zagy_ has quit IRC | 19:46 | |
*** reco has joined #zope3-dev | 19:54 | |
*** naro has left #zope3-dev | 19:56 | |
*** Ariel_Calzada has quit IRC | 19:57 | |
markusleist | hi, maybe the permission-attribute in viewletManager is required but not evaluated? my viewlet without a given permission doesn't render, a viewlet-manger does? I don't find any hint on the mailinglist. | 19:58 |
markusleist | does one allowed viewlet allow the whole viewlet-manager? i thought a not allowed manager would hide all viewlets? | 20:02 |
markusleist | Any examples or bugs are known? | 20:03 |
*** timte_ has quit IRC | 20:05 | |
*** RaFromBRC has joined #zope3-dev | 20:12 | |
markusleist | It seems to me: ony visible viewlet will make the viewletmanager be visible - so be it. | 20:15 |
CrippsFX | srichter: it appears as though I am unable to download the CHANGES.txt file using "svn co svn+ssh://acripps@svn.zope.org/repos/main/z3c.form/trunk/" | 20:15 |
*** nathany has quit IRC | 20:20 | |
*** b52lap has quit IRC | 20:28 | |
*** ferrafox has quit IRC | 20:29 | |
*** Newfie2007 has quit IRC | 20:32 | |
*** nathany has joined #zope3-dev | 20:48 | |
*** markusleist has quit IRC | 20:50 | |
*** jinty has quit IRC | 20:55 | |
*** richardkan has quit IRC | 20:57 | |
*** romanofski has joined #zope3-dev | 20:57 | |
*** d2m has quit IRC | 21:06 | |
*** mkerrin has quit IRC | 21:06 | |
*** rcrafton_ has joined #zope3-dev | 21:08 | |
*** rcrafton_ has joined #zope3-dev | 21:09 | |
*** mgedmin has quit IRC | 21:10 | |
*** rcrafton has quit IRC | 21:24 | |
*** torkel_ has quit IRC | 21:28 | |
*** jodok|seltsa has joined #zope3-dev | 21:34 | |
*** jodok|seltsa is now known as jodok | 21:35 | |
*** marianom has joined #zope3-dev | 21:37 | |
*** RaFromBRC is now known as RaFromBRC|away | 21:38 | |
*** rcrafton_ has quit IRC | 21:39 | |
*** jinty has joined #zope3-dev | 21:44 | |
*** whit is now known as whit|lunch | 21:48 | |
CrippsFX | hm. Using the z3c.form package, is it possible to "override" the form.render() method to 1)create an object using data gathered from the form and then 2)render a template that uses the object made in part 1) ? | 21:49 |
*** zagy has joined #zope3-dev | 21:52 | |
srichter | CrippsFX: if you use z3c.form.form.AddForm it shows you how to write an addform | 21:55 |
srichter | CrippsFX: if you use z3c.form.form.AddForm it does everything you want | 21:55 |
srichter | z3c/form/form/form.txt documents this | 21:55 |
srichter | just make the nextURL() point to the view of the newly created object | 21:55 |
srichter | also, z3c.formdemo.message shows the behavior you are looking for | 21:56 |
*** romanofski has quit IRC | 21:56 | |
CrippsFX | srichter: I'm not trying to write an add firm per se ... rather, I'm trying to write a form that takes in a house name and a term, and queries a database to get a list of people who lived in said house during said term ... this list (or container) is something I want to discard as soon as it's no longer being displayed. | 21:56 |
srichter | ok, that's easy too | 21:57 |
srichter | write a form with the house and term as a field | 21:57 |
srichter | create a button called something like "Search" | 21:57 |
CrippsFX | got those, (each are Choice fields), and I have a "get list" button. | 21:58 |
srichter | register a handler for this button that looks up the students in the DB and stores the result in a session or as a view attribute | 21:58 |
srichter | the template can then access the session or attribute | 21:58 |
CrippsFX | okay. Sounds good. I'll probably have to do some reading to *fully* understand what you're saying, but that's a task for tomorrow morning. | 21:59 |
srichter | writing new handlers is demonstrated in all demo packages, the simplest one being z3c.formdemo.message again | 21:59 |
srichter | CrippsFX: btw, there are also two architecture overview PNGs in the form package that you want to check out | 21:59 |
CrippsFX | thanks. Now I'm two steps closer to doing what I've been trying to do for a week and a half ;) | 21:59 |
CrippsFX | okay. I'll take a look at those too. | 22:00 |
*** whit|lunch has quit IRC | 22:04 | |
*** whit|lunch has joined #zope3-dev | 22:06 | |
CrippsFX | alright, work is over ... it's time for me to head home. Goodnight folks. | 22:07 |
*** whit|lunch has quit IRC | 22:09 | |
*** javimansilla has joined #zope3-dev | 22:12 | |
*** projekt01 has joined #zope3-dev | 22:13 | |
*** schwendinger has quit IRC | 22:14 | |
lisppaste6 | javier pasted "unbound index traceback" at http://paste.lisp.org/display/45119 | 22:15 |
*** zagy has quit IRC | 22:15 | |
javimansilla | What could be causing that "unboud index" error? (traceback here http://paste.lisp.org/display/45119) | 22:16 |
srichter | it is unbound prefix | 22:17 |
srichter | that means you are using an XML namespace prefix prefix that you do not have defined | 22:17 |
javimansilla | I added a <zope:view /> element, and I have my configure.zcml with xmlns="http://namespaces.zope.org/zope" ... shouldn't be enough ? | 22:18 |
philiKON_ | xmlns:zope="..." | 22:19 |
philiKON_ | i generally recommend against using a prefix for the 'zope' namespace in documentation | 22:19 |
philiKON_ | because it generates that precise confustion | 22:19 |
philiKON_ | confusion even | 22:19 |
javimansilla | philiKON_: oh my dear... what a silly error. Thanks | 22:19 |
philiKON_ | yes, it's silly, but not that uncommon. | 22:19 |
*** whit|lunch has joined #zope3-dev | 22:20 | |
*** whit|lunch is now known as whit|cafe | 22:22 | |
*** nathany has quit IRC | 22:27 | |
philiKON_ | svn.zope.org down? | 22:31 |
philiKON_ | hmm, looks more like the repo is down | 22:32 |
philiKON_ | or just very slow | 22:33 |
philiKON_ | weird | 22:33 |
benji | philiKON_: it should be back now/soon; the zope.org machine has been having trouble the last couple of days | 22:33 |
philiKON_ | :( | 22:33 |
philiKON_ | ah, here we go | 22:34 |
philiKON_ | thanks | 22:34 |
*** philiKON_ is now known as philiKON | 22:35 | |
srichter | is there a recipe that let's me use a script to build a part? | 22:36 |
philiKON | i don't think so | 22:36 |
srichter | so, I would have to write my own recipe or is there a simpler construct to use? | 22:36 |
philiKON | you could write that recipe that lets you configure the script :) | 22:36 |
philiKON | not sure what you're trying to do though | 22:37 |
*** markusleist has joined #zope3-dev | 22:37 | |
srichter | well, I have to install a really non-standard pacakge | 22:37 |
philiKON | like what? | 22:37 |
srichter | so that zc.recipe.cmmi does not work | 22:37 |
srichter | noweb.tgz | 22:37 |
srichter | http://www.eecs.harvard.edu/~nr/noweb/dist/ | 22:38 |
philiKON | hum | 22:38 |
srichter | (yeah, there is a deb package for it, but other Linux distro has it) | 22:38 |
philiKON | i suppose you'll write your own recipe then :) | 22:39 |
srichter | yep, just wanted to make sure this is what I need to do | 22:39 |
*** hazmat has quit IRC | 22:50 | |
*** philiKON_ has joined #zope3-dev | 22:50 | |
philiKON_ | benji: it seems that svnserve is now down on svn.zope.org | 23:03 |
benji | philiKON_: the ZC system administrators have discovered that Google is hammering svn.zope.com. :( | 23:04 |
benji | it's an attack <wink> | 23:04 |
philiKON_ | what does that have to do with svnserve? | 23:04 |
benji | everything.zope.org is on the same box | 23:04 |
philiKON_ | heck, i could do without ViewCVS for the moment | 23:04 |
philiKON_ | but svnserve is sorta essential | 23:04 |
benji | we may get to the point of disabling viewcvs | 23:05 |
philiKON_ | or simply install a robot.txt | 23:05 |
benji | good point | 23:05 |
wiggy | trac is sooo much nicer than ViewCVS anyway | 23:05 |
benji | heh, there's alread one that disallows everything | 23:06 |
wiggy | I added robots.txt to viewcvs and trac for svn.plone.org | 23:06 |
philiKON_ | yes it is, but i don't care. i just want my svnserve back :/ | 23:06 |
*** philiKON has quit IRC | 23:06 | |
*** philiKON_ is now known as philiKON | 23:06 | |
philiKON | ah, it's back | 23:07 |
*** RaFromBRC|away has quit IRC | 23:10 | |
*** hazmat has joined #zope3-dev | 23:14 | |
*** ChanServ sets mode: +o hazmat | 23:14 | |
*** redir has quit IRC | 23:15 | |
*** whit|cafe has quit IRC | 23:16 | |
*** nathany has joined #zope3-dev | 23:19 | |
*** RaFromBRC has joined #zope3-dev | 23:24 | |
javimansilla | classImplements is raising me TypeError: iteration over non-sequence | 23:25 |
*** whit|cafe has joined #zope3-dev | 23:25 | |
*** whit|cafe is now known as whit | 23:26 | |
javimansilla | is there something obvious I'm not viewing? | 23:26 |
philiKON | depends on how you use it | 23:27 |
*** projekt01 has quit IRC | 23:34 | |
*** benji has quit IRC | 23:34 | |
javimansilla | philiKON: I'm inheriting not from an Interface but from a class | 23:39 |
philiKON | you still haven't told me how you use it | 23:39 |
javimansilla | philiKON: what I mean is that when I corrected the base class, it worked | 23:39 |
philiKON | i don't get that | 23:40 |
javimansilla | I'm trying to make a Choice field that run a javascript on change, and I'm sweating as horse :-/ | 23:41 |
philiKON | this is a javascript thing | 23:42 |
philiKON | what does it have to do with classImplements? | 23:42 |
javimansilla | philiKON: I thought I should made a new field interface, derived from IChoice, and later the implemetation of that, that inherints from Choice. Later, I want to remark that my class implements my interface | 23:43 |
javimansilla | after that, I started with my widget, and there's where I'm stuck now | 23:44 |
philiKON | you haven't heard of widgets have you? | 23:44 |
philiKON | why would you want to make a different field interface and all that? | 23:44 |
philiKON | what does the data model have to do with the fact that you might end up using a different widget? | 23:44 |
javimansilla | philiKON: shouldn't my field store what javascript function run? | 23:45 |
philiKON | god no | 23:45 |
philiKON | this is a widget thing | 23:45 |
philiKON | the field stores information about the data model | 23:45 |
*** alga has quit IRC | 23:45 | |
javimansilla | philiKON: fine. If I want 2 fields (country and state) kind of binded, where would you put that binding? | 23:46 |
philiKON | what kind of binding? | 23:46 |
javimansilla | What I actually want is 2 dropdown fields: country and state. Changin country, I would like to see only states of that country on the other field | 23:46 |
philiKON | sure. | 23:47 |
javimansilla | I have forms with 2 pairs of this fields. ie: 2 country fields and 2 states fields. Each pair binded | 23:48 |
philiKON | this is only a matter of an appropriate source/vocabulary factory | 23:48 |
javimansilla | That's why I thought I could store on the Country field, which state field is binded with it. | 23:48 |
*** rcrafton has joined #zope3-dev | 23:49 | |
philiKON | i suggest you have two fields, one for country and one for state | 23:49 |
philiKON | country is a choice with a country vocabulary/source | 23:49 |
philiKON | and state is a coice | 23:49 |
philiKON | choice | 23:49 |
javimansilla | yes, that's what I have so far | 23:50 |
philiKON | and the source/vocabulary factory is made so that it takes the country into account | 23:50 |
javimansilla | yes, I have a states vocabulary that have a method getStates(fromCountry) | 23:50 |
javimansilla | now, how should I bind all this pieces? | 23:51 |
philiKON | gee, i don't know that by heart | 23:51 |
philiKON | my book might help | 23:51 |
javimansilla | hi, I just realize who you are... yes, I have your book in my hands... first edition I think | 23:52 |
philiKON | get the 2nd one | 23:53 |
philiKON | the 1st one sucks :) | 23:53 |
javimansilla | now I'll be shy to keep asking :-P | 23:53 |
javimansilla | we realized that's incomplete on several places... the problem is that it's hard to get European books in South America :-) | 23:54 |
philiKON | it's distributed world-wide | 23:54 |
philiKON | i'm surprised | 23:54 |
philiKON | springer has lots of college textbooks | 23:54 |
philiKON | so i assumed they have a good world-wide distrubition network | 23:55 |
javimansilla | well, the book I have was bring here from London | 23:55 |
javimansilla | I should go to the library and ask again then... | 23:56 |
javimansilla | anyways, I was just checking the DynamicSequenceWidget you have in the book | 23:56 |
javimansilla | something like that is what you suggest? | 23:56 |
philiKON | well, yes | 23:57 |
javimansilla | ok, I'll take a deep look to that. Thanks a lot | 23:58 |
philiKON | except that that widget is a sequencewidget | 23:58 |
philiKON | you'll have to write a choice widget | 23:59 |
javimansilla | right | 23:59 |
javimansilla | I'll inherint from dropdownWidget | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!