philiKON | roym, http://codespeak.net/z3/sqlos | 00:07 |
---|---|---|
roym | philiKON, looks great.. thanks | 00:26 |
*** projekt01 has joined #zope3-dev | 00:27 | |
*** dagnachew has joined #zope3-dev | 00:34 | |
*** RaFromBRC is now known as RaFromBRC|afk | 00:49 | |
*** dagnachew has quit IRC | 00:51 | |
*** projekt01 has quit IRC | 00:59 | |
*** dagnachew has joined #zope3-dev | 01:01 | |
*** roym has quit IRC | 01:03 | |
*** dagnachew has quit IRC | 01:10 | |
*** mp has quit IRC | 01:34 | |
*** yota has quit IRC | 02:19 | |
*** timte has quit IRC | 02:51 | |
*** d2m has quit IRC | 03:32 | |
*** hazmat has quit IRC | 05:31 | |
*** tvon has joined #zope3-dev | 05:43 | |
*** RaFromBRC|afk has quit IRC | 06:42 | |
*** hazmat has joined #zope3-dev | 09:04 | |
*** timte has joined #zope3-dev | 10:15 | |
*** hazmat has quit IRC | 10:30 | |
*** timte has quit IRC | 10:44 | |
*** d2m has joined #zope3-dev | 10:47 | |
*** mexiKON has joined #zope3-dev | 11:22 | |
*** philiKON has quit IRC | 11:31 | |
*** yota has joined #zope3-dev | 12:00 | |
*** SteveA has quit IRC | 12:00 | |
*** SteveA has joined #zope3-dev | 12:22 | |
*** jhauser has joined #zope3-dev | 12:23 | |
*** Theuni has quit IRC | 12:27 | |
*** projekt01 has joined #zope3-dev | 13:05 | |
*** Theuni has joined #zope3-dev | 13:43 | |
bob2 | hmm | 13:44 |
bob2 | possibly stupid, but where is the default permissions for object attributes set? | 13:44 |
bob2 | for instance, I've subclassed File, and .data and such get set fine when cerated | 13:44 |
bob2 | er, "created" | 13:44 |
bob2 | but I get a traceback when contentType is tried | 13:45 |
mexiKON | bob2, you need a <content class="...">...</content> directive for every class you write | 13:47 |
mexiKON | that isn't a utility or adapter | 13:47 |
mexiKON | if you subclass an existing class and want security delcarations to be like the orgiinal class, you can do <content ...><like_class class="..." /></content> | 13:48 |
*** projekt01 has quit IRC | 13:49 | |
bob2 | hmm | 13:51 |
bob2 | ah-hah | 13:53 |
bob2 | thanks! | 13:53 |
bob2 | working, awesome | 14:05 |
bob2 | zope is amazingly intricate, but well thought out | 14:05 |
mexiKON | bob2, well, we're always looking for good suggestions to lower the bar | 14:18 |
bob2 | hmm | 14:18 |
mexiKON | zope3 is meant for complex apps, it's not a scripter platform; however, we aim for a gradual learning experience | 14:19 |
bob2 | oh, of course | 14:19 |
bob2 | I think my only real complaint is that there's lots of bits you need to understand before you get going | 14:19 |
bob2 | and I haven't found a 2 page document that gives a brief explanation of each and how they fit together | 14:20 |
mexiKON | well, there's the programmer tutorial (which might already be too lenthy for your taste): http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ProgrammerTutorial/programmers_tutorial.pdf | 14:23 |
mexiKON | i also composed this a while ago (not completely up to date): http://philikon.de/files/zope3-for-zope2-developers.pdf | 14:23 |
bob2 | hmm | 14:23 |
bob2 | lengthiness isn't what I'm complaining about, really. I've read srichter's book (it's quite excellent), but it'd be good to start it off by explaning how it all fits together. | 14:24 |
mexiKON | bob2, you mgiht want to take a look at http://worldcookery.com | 14:26 |
bob2 | ah, I forgot about that | 14:26 |
mexiKON | i've heard from a few people that they liked it better as an introductory text | 14:28 |
bob2 | the series on http://toulouse.amber.org is quite good, too | 14:29 |
bob2 | from a "teaching you the gist"-perspective | 14:29 |
mexiKON | ah, yeah, founds this a while ago, too | 14:29 |
bob2 | I hear zope3 3.1 will simplify the component system...do you happen to know if it'll be backwards compatible with 3.0 still? | 14:31 |
mexiKON | yep | 14:31 |
mexiKON | it will | 14:31 |
mexiKON | backward compatability is always guaranteed from one version to another | 14:31 |
mexiKON | backward compatability is always guaranteed from one version to the previous one | 14:31 |
bob2 | minor versions ;p | 14:31 |
mexiKON | yup | 14:31 |
bob2 | has someone written up a sumary of the changese somewhere? | 14:32 |
mexiKON | nope; i plan to do this soon | 14:32 |
mexiKON | you can read CHANGES.txt , of course | 14:32 |
bob2 | right | 14:32 |
bob2 | oh, hah, you're the author of worldcookery | 14:35 |
mexiKON | yup | 14:39 |
mexiKON | srichter, ayt? | 15:15 |
*** nederhoed has joined #zope3-dev | 15:51 | |
bob2 | hm | 16:11 |
bob2 | how do I set the default skin? | 16:11 |
nederhoed | bob2, in /etc/overrides.zcml | 16:16 |
bob2 | hmm | 16:16 |
nederhoed | found it? | 16:16 |
bob2 | ahhh | 16:16 |
bob2 | yes, thanks | 16:16 |
bob2 | that answers a question of mine from yesterday, too | 16:17 |
bob2 | thanks! | 16:17 |
nederhoed | Add: <browser:defaultSkin name="" /> | 16:17 |
bob2 | yup, it's there and commented out | 16:17 |
nederhoed | with the name off your desired skin | 16:17 |
bob2 | and now uncommented and set :) | 16:17 |
nederhoed | indeed | 16:17 |
*** SteveA_ has joined #zope3-dev | 16:17 | |
nederhoed | good luck! | 16:17 |
bob2 | thanks :) | 16:17 |
*** SteveA has quit IRC | 16:35 | |
bob2 | hm | 16:35 |
bob2 | I guess I can use overrides.zcml to set the "root object" of the instance, too. | 16:35 |
nederhoed | dunno sorry | 17:00 |
SteveA_ | bob2: there's some fancy interface thing to set the default skin | 17:02 |
SteveA_ | so, you need to override that | 17:02 |
* SteveA_ gets vague cos he's working on something else | 17:02 | |
mexiKON | SteveA_, actually, nederhoed was right. <browser:defaultSkin /> is the right directive | 17:08 |
SteveA_ | oh, i missed that | 17:10 |
SteveA_ | as i was disconnected from irc | 17:10 |
mexiKON | ah, ok. now is ee | 17:41 |
*** timte has joined #zope3-dev | 18:22 | |
*** povbot` has joined #zope3-dev | 18:27 | |
*** timte has quit IRC | 18:27 | |
*** nederhoed has quit IRC | 18:27 | |
*** Theuni has quit IRC | 18:27 | |
*** yota has quit IRC | 18:27 | |
*** d2m has quit IRC | 18:27 | |
*** povbot has quit IRC | 18:27 | |
*** d2m_ has quit IRC | 18:27 | |
*** vinsci has quit IRC | 18:27 | |
*** nederhoed has joined #zope3-dev | 18:27 | |
*** timte has joined #zope3-dev | 18:27 | |
*** Theuni has joined #zope3-dev | 18:27 | |
*** vinsci has joined #zope3-dev | 18:27 | |
*** d2m_ has joined #zope3-dev | 18:28 | |
*** yota has joined #zope3-dev | 18:28 | |
*** d2m__ is now known as d2m | 18:28 | |
*** SteveA__ has joined #zope3-dev | 18:58 | |
*** andrew_m has joined #zope3-dev | 19:10 | |
*** tvon has quit IRC | 19:17 | |
*** SteveA_ has quit IRC | 19:27 | |
*** SureshZ has joined #zope3-dev | 19:48 | |
*** hazmat has joined #zope3-dev | 20:19 | |
*** roym has joined #zope3-dev | 21:08 | |
*** drzoltron has joined #zope3-dev | 21:11 | |
drzoltron | any sqlos sharks around ? | 21:14 |
roym | funny - I am having problems w/getting sqlos to work - I just updated ZopeX3 from svn. | 21:17 |
roym | I get: ZopeXMLConfigurationError: File "/var/lib/zope3/instances/instance1/etc/package-includes/sqlos-meta.zcml", line 1.0-1.43 | 21:17 |
roym | ConfigurationError: ('Invalid value for', 'package', "Couldn't import sqlos, cannot import name IRollback") | 21:17 |
drzoltron | roym: works fine here | 21:23 |
drzoltron | I just wanted to know id there was one to give me some hints how to realize references | 21:24 |
roym | drzoltron, what version of python are you using w/sqlos | 21:26 |
drzoltron | 2.3.5 | 21:26 |
drzoltron | I think I write to the list :) | 21:27 |
*** zagy has joined #zope3-dev | 21:38 | |
*** SteveA__ is now known as SteveA | 21:40 | |
drzoltron | drzoltron: read the sqlobject doc at http://sqlobject.org/docs/SQLObject.html | 21:53 |
drzoltron | drzoltron: thanxalot ! looks good, especially the RelatedJoin section :) | 21:57 |
*** hazmat has quit IRC | 22:15 | |
*** dagnachew has joined #zope3-dev | 22:20 | |
*** hazmat has joined #zope3-dev | 22:36 | |
mexiKON | roym, i added support for sequence and vocabulary widgets (e.g. RadioWidget and DropdownWidget) to the <widget /> subdirective. philikon-widget-subdirective branch if you wanna try it out. | 22:54 |
*** __gotcha_ has quit IRC | 22:54 | |
roym | mexiKON, thanks - how do I check out the branch? I only know "svn co" from main... | 23:01 |
mexiKON | svn co svn://whatever-the-public-svn-method-is/Zope3/branches/philikon-widget-subdirective Zope3 | 23:09 |
roym | mexiKON, gracias. | 23:10 |
roym | mexiKON, can I continue to use my old Zope instance when I run the branch code? | 23:14 |
mexiKON | yup | 23:14 |
roym | mexiKON, I must be missing something... | 23:28 |
roym | 23:28 | |
roym | Here is the error that I get with the new branch | 23:28 |
roym | | ... | 23:28 |
roym | | File "/usr/local/Zope3/src/zope/app/form/__init__.py", line 119, in __call__ | 23:28 |
roym | | raise TypeError, "Provided field does not provide ICollection." | 23:28 |
roym | | TypeError: Provided field does not provide ICollection. | 23:28 |
roym | | | 23:28 |
roym | Here is how I use the addform directive... | 23:28 |
roym | | | 23:28 |
roym | | <addform | 23:28 |
roym | | name="AddQDatum.html" | 23:28 |
roym | | label="Add QDatum information" | 23:28 |
roym | | schema="anoobe.quiztaker.interfaces.IQDatum" | 23:28 |
roym | | content_factory="anoobe.quiztaker.qtmodule.QDatum" | 23:28 |
roym | | permission="zope.ManageContent" | 23:28 |
roym | | > | 23:28 |
roym | | <widget | 23:28 |
roym | | field="hxDxTx" | 23:28 |
roym | | class="zope.app.form.browser.RadioWidget" /> | 23:28 |
roym | | | 23:28 |
roym | | </addform> | 23:28 |
roym | | | 23:28 |
roym | Here is the schema entry: | 23:28 |
roym | | hxDxTx = List( | 23:28 |
roym | | title=u"HxDxTx", | 23:28 |
roym | | description=u"whether in Hx, Dx or Tx", | 23:28 |
roym | | required=False, | 23:28 |
roym | | unique=True, | 23:28 |
roym | | value_type=Choice(title=u"HxDxTx", vocabulary="hx/dx/tx") | 23:28 |
roym | | ) | 23:28 |
roym | 23:28 | |
mexiKON | phone | 23:29 |
mexiKON | roym, you can't use the RadioWidget for a List field | 23:33 |
mexiKON | roym, RadioWidgets are for Choice fields | 23:33 |
*** yota has quit IRC | 23:37 | |
*** dagnachew has quit IRC | 23:44 | |
roym | mexiKON, sorry to be so dense - I changed the List to a Choice and used the widget as follows | 23:54 |
roym | | <widget | 23:54 |
roym | | field="hxDxTx" | 23:54 |
roym | | vocabulary="hx/dx/tx" | 23:54 |
roym | | class="zope.app.form.browser.RadioWidget" /> | 23:54 |
roym | | ... | 23:54 |
roym | | </addform> | 23:54 |
roym | - and I get | 23:54 |
roym | | ZopeXMLConfigurationError: File "/var/lib/zope3/instances/instance1/lib/python/anoobe/quiztaker/configure.zcml", line 8.2 | 23:54 |
roym | | AssertionError: You must specify either values or vocabulary. | 23:54 |
mexiKON | Choice and List are fields with different meanings | 23:58 |
mexiKON | you can't just exchange one for the other without consequences | 23:58 |
mexiKON | List means that the resulting value will be a list with 0, 1 or more objects of the kind specified by the value_type field | 23:59 |
mexiKON | Choice means that you choose *one* out of a given set of values which is represented by a vocabulary in zope | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!