*** rocky|boston has quit IRC | 00:05 | |
*** pelle_ has joined #zope3-dev | 00:11 | |
*** pcardune is now known as pcardune_out | 00:14 | |
*** pelle_ has quit IRC | 00:19 | |
*** jfroche has quit IRC | 00:35 | |
*** hazmat has joined #zope3-dev | 00:37 | |
*** ChanServ sets mode: +o hazmat | 00:37 | |
*** romanofski has quit IRC | 00:52 | |
*** hazmat has quit IRC | 01:05 | |
*** ksmith99 has left #zope3-dev | 01:21 | |
*** lucielejard has quit IRC | 01:21 | |
*** nathany has quit IRC | 01:33 | |
*** nathany has joined #zope3-dev | 01:34 | |
*** nathany has quit IRC | 01:40 | |
*** greenman has joined #zope3-dev | 01:42 | |
*** fcorrea has quit IRC | 01:49 | |
*** norro has quit IRC | 01:50 | |
*** markusleist has joined #zope3-dev | 01:52 | |
*** hazmat has joined #zope3-dev | 01:58 | |
*** ChanServ sets mode: +o hazmat | 01:58 | |
*** rcrafton_ has quit IRC | 02:11 | |
*** rocky|boston has joined #zope3-dev | 02:47 | |
*** timte has quit IRC | 02:53 | |
*** hazmat has quit IRC | 03:14 | |
*** jinty has joined #zope3-dev | 03:16 | |
*** rocky|boston has quit IRC | 03:16 | |
*** redir has quit IRC | 03:30 | |
*** pcardune_out is now known as pcardune_away | 03:36 | |
*** pbugni has quit IRC | 03:36 | |
*** jpfarias has joined #zope3-dev | 03:41 | |
jpfarias | hi | 03:42 |
---|---|---|
jpfarias | anyone around? | 03:42 |
srichter | I am | 03:42 |
jpfarias | hey | 03:42 |
jpfarias | good evening | 03:42 |
jpfarias | I'm wondering if a vocabulary can have objects as values | 03:42 |
srichter | yes | 03:43 |
srichter | vocabualries have terms | 03:43 |
srichter | terms have the value, ascii representation and human readable title | 03:43 |
jpfarias | ok | 03:43 |
jpfarias | hmm | 03:43 |
srichter | the value can be any py object | 03:43 |
jpfarias | I mean | 03:43 |
jpfarias | can it be a model class of my application? | 03:44 |
srichter | I don't understand what you mean by "model class" | 03:44 |
jpfarias | I'm using grok btw... | 03:44 |
jpfarias | so it is a grok.Model class | 03:44 |
srichter | oh, sigh, I should have seen these questions coming | 03:45 |
srichter | there is nothing special about any component in Zope 3 | 03:45 |
*** natea|p4asprint has joined #zope3-dev | 03:45 | |
jpfarias | yeah, I'm new to zope3 | 03:45 |
jpfarias | grok is getting me on my way | 03:45 |
jpfarias | I'm falling in love with it | 03:45 |
jpfarias | lol | 03:45 |
srichter | all you got to do is implement the IVocabulary API in your component and register a vocabulary factory | 03:48 |
srichter | better would be an adapter for you component though | 03:48 |
* jpfarias reading vocabularies chapter in phillip's book | 03:49 | |
jpfarias | ok | 03:54 |
jpfarias | figured what I did wrong :-) | 03:54 |
jpfarias | I had it allok | 03:54 |
jpfarias | all ok | 03:54 |
jpfarias | but instead of making a dict from ascii text to objects | 03:55 |
jpfarias | I just made the dict from the ascii text using fromValues() | 03:55 |
jpfarias | in my vocabulary factory | 03:55 |
srichter | right, this works | 03:55 |
jpfarias | changed it to use dict and then used .fromItems() | 03:55 |
jpfarias | now it works great | 03:56 |
jpfarias | :-) | 03:56 |
jpfarias | easier than I thought | 03:56 |
jpfarias | btw | 03:57 |
jpfarias | how do I get to an object's parent in a template? | 03:57 |
jpfarias | I want to make an link to the object's parent url in my template | 03:58 |
jpfarias | but I don't know how | 03:58 |
srichter | zope.traversing.browser.absoluteURL(zope.traversing.api.getParent(obj), request) | 03:59 |
jpfarias | well, that is ok to put in my script | 03:59 |
jpfarias | but how about in the template? | 03:59 |
*** greenman has quit IRC | 03:59 | |
jpfarias | the .pt I mean | 03:59 |
*** RaFromBRC has quit IRC | 04:04 | |
srichter | you should never put code like this in the template | 04:08 |
srichter | that's the reason you have view components | 04:08 |
srichter | always prepare all your data in Python | 04:08 |
*** jinty has quit IRC | 04:26 | |
*** greenman has joined #zope3-dev | 04:45 | |
*** benji has quit IRC | 04:46 | |
*** J1m has quit IRC | 04:58 | |
*** stub has joined #zope3-dev | 05:31 | |
*** natea|p4asprint has quit IRC | 05:38 | |
*** rcrafton has joined #zope3-dev | 06:34 | |
*** pcardune_away is now known as pcardune | 06:47 | |
*** srichter has quit IRC | 07:02 | |
*** srichter has joined #zope3-dev | 07:05 | |
*** ChanServ sets mode: +o srichter | 07:12 | |
*** dmpinheiro has joined #zope3-dev | 07:48 | |
*** d2m has joined #zope3-dev | 08:01 | |
*** alecm has quit IRC | 08:10 | |
*** dmpinheiro has left #zope3-dev | 08:23 | |
*** cursor has joined #zope3-dev | 08:24 | |
*** rcrafton has quit IRC | 08:25 | |
*** natea|p4asprint_ has joined #zope3-dev | 08:31 | |
*** natea|p4asprint has joined #zope3-dev | 08:34 | |
*** natea|p4asprint_ has quit IRC | 08:50 | |
*** natea|p4asprint_ has joined #zope3-dev | 08:50 | |
*** natea|p4asprint has quit IRC | 08:57 | |
*** natea|p4asprint has joined #zope3-dev | 09:23 | |
*** natea|p4asprint_ has quit IRC | 09:30 | |
*** natea|p4asprint_ has joined #zope3-dev | 09:36 | |
*** natea|p4asprint has quit IRC | 09:44 | |
*** stub has quit IRC | 10:46 | |
*** dobee has joined #zope3-dev | 11:32 | |
*** pcardune has quit IRC | 11:34 | |
*** theuni has joined #zope3-dev | 11:38 | |
*** theuni has quit IRC | 11:50 | |
*** timte has joined #zope3-dev | 12:09 | |
*** jodok has quit IRC | 12:13 | |
*** jodok has joined #zope3-dev | 12:14 | |
*** Jell-O-Fishi has quit IRC | 12:25 | |
*** cursor has quit IRC | 12:34 | |
*** jinty has joined #zope3-dev | 13:08 | |
*** iam-vivek has joined #zope3-dev | 13:09 | |
iam-vivek | iam getting error in ubuntu when i tried to run $ python2.5 ez_setup.py | 13:10 |
iam-vivek | zipimport.ZipImportError: can't decompress data; zlib not available | 13:11 |
*** jinty has quit IRC | 13:11 | |
timte | iam-vivek: try installing zlib | 13:12 |
iam-vivek | ok | 13:12 |
*** iam-vivek has quit IRC | 13:13 | |
*** jinty has joined #zope3-dev | 13:20 | |
*** dobee has quit IRC | 13:27 | |
*** jinty has quit IRC | 13:28 | |
*** schwendinger has joined #zope3-dev | 13:42 | |
*** schwendinger has quit IRC | 13:43 | |
*** schwendinger has joined #zope3-dev | 13:43 | |
*** schwendinger has quit IRC | 13:45 | |
*** pbugni has joined #zope3-dev | 13:51 | |
*** Jell-O-Fishi has joined #zope3-dev | 13:54 | |
*** benji has joined #zope3-dev | 14:06 | |
*** tarek has quit IRC | 14:07 | |
*** dunny has quit IRC | 14:13 | |
*** nikhil_n has joined #Zope3-dev | 14:15 | |
*** nikhil_n has left #Zope3-dev | 14:19 | |
*** Jell-O-Fishi has quit IRC | 14:38 | |
*** greenman has quit IRC | 14:40 | |
*** faassen has joined #zope3-dev | 14:40 | |
*** pbugni has quit IRC | 14:53 | |
*** baijum has joined #zope3-dev | 14:55 | |
*** rcrafton has joined #zope3-dev | 15:00 | |
*** tarek has joined #zope3-dev | 15:04 | |
*** jodok has quit IRC | 15:11 | |
*** cursor has joined #zope3-dev | 15:25 | |
*** J1m has joined #zope3-dev | 15:31 | |
*** snake88 has joined #zope3-dev | 15:35 | |
snake88 | salu | 15:35 |
*** snake88 has quit IRC | 15:36 | |
*** theuni has joined #zope3-dev | 15:37 | |
*** rocky|boston has joined #zope3-dev | 15:44 | |
*** rcrafton has quit IRC | 15:49 | |
J1m | I'm inclined to call Gary's recent changes to ZODB conflict resolution a bug fix. | 15:50 |
J1m | Does anyone wish to argue the point? :) | 15:50 |
*** natea|p4asprint has joined #zope3-dev | 15:51 | |
*** tarek has left #zope3-dev | 15:52 | |
*** natea|p4asprint_ has quit IRC | 16:00 | |
*** natea|p4asprint_ has joined #zope3-dev | 16:20 | |
*** natea|p4asprint has quit IRC | 16:29 | |
*** natea|p4asprint_ has quit IRC | 17:00 | |
*** cursor has quit IRC | 17:07 | |
*** natea|p4asprint has joined #zope3-dev | 17:14 | |
*** Jell-O-Fishi has joined #zope3-dev | 17:15 | |
*** baijum has quit IRC | 17:18 | |
*** rcrafton has joined #zope3-dev | 17:40 | |
*** pbugni has joined #zope3-dev | 17:48 | |
*** pbugni has quit IRC | 17:56 | |
_prefixer | :) | 18:06 |
*** pbugni has joined #zope3-dev | 18:08 | |
*** hazmat has joined #zope3-dev | 18:22 | |
*** ChanServ sets mode: +o hazmat | 18:22 | |
*** schwendinger_ has joined #zope3-dev | 18:58 | |
*** cursor has joined #zope3-dev | 19:21 | |
*** pcardune has joined #zope3-dev | 19:28 | |
rocky|boston | hey srichter, when i'm testing for test coverage i should run the coverage on just unit tests and ensure i have 100% and then i should run the coverage on just functional tests and ensure i have 100% too, right? | 19:34 |
*** jodok has joined #zope3-dev | 19:44 | |
*** faassen has quit IRC | 19:45 | |
*** schwendinger_ has quit IRC | 20:02 | |
*** schwendinger has joined #zope3-dev | 20:04 | |
*** J1m has quit IRC | 20:52 | |
*** sm has quit IRC | 21:00 | |
*** hazmat has quit IRC | 22:06 | |
*** dunny has joined #zope3-dev | 22:18 | |
*** ktwilight_ has joined #zope3-dev | 22:20 | |
*** cursor has quit IRC | 22:25 | |
*** jodok has quit IRC | 22:35 | |
*** ktwilight has quit IRC | 22:36 | |
*** d2m has quit IRC | 22:38 | |
*** philiKON has joined #zope3-dev | 22:48 | |
*** dmpinheiro has joined #zope3-dev | 22:55 | |
*** rocky|boston has quit IRC | 22:58 | |
*** philiKON_ has quit IRC | 23:04 | |
*** dmpinheiro has left #zope3-dev | 23:06 | |
*** natea|p4asprint has quit IRC | 23:09 | |
*** pbugni has quit IRC | 23:22 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!