*** tvw has joined #zope3-dev | 00:03 | |
*** hazmat has joined #zope3-dev | 00:03 | |
*** ChanServ sets mode: +o hazmat | 00:03 | |
waglik | dobee: thank for the tip! widget.tiny works beautifully :) | 00:15 |
---|---|---|
dobee | nice to hear | 00:15 |
dobee | the only thing that is lacking is a schema field e.g HTMLSnippet HTMLFile | 00:16 |
dobee | for this field one could register a default tiny widget | 00:16 |
dobee | and then configure the mce options via zcml | 00:17 |
dobee | waglik: btw it is also i18n | 00:18 |
*** niemeyer has quit IRC | 00:22 | |
*** MJ has joined #zope3-dev | 00:27 | |
*** gumpa-away has left #zope3-dev | 00:29 | |
*** alecm has quit IRC | 00:35 | |
*** alecm has joined #zope3-dev | 00:36 | |
waglik | dobee: regarding the field, I've already did that :) | 00:38 |
waglik | the more I work with z3 the moree I like it :) | 00:38 |
*** rocky|away is now known as rocky | 00:38 | |
*** alecm has quit IRC | 00:39 | |
*** reco has quit IRC | 00:40 | |
*** alecm has joined #zope3-dev | 00:41 | |
*** hazmat has quit IRC | 00:42 | |
*** RaFromBRC is now known as RaFromBRC|away6 | 00:46 | |
*** RaFromBRC|away6 is now known as RaFromBRC|away | 00:46 | |
waglik | cya! | 00:56 |
waglik | thanks fotr help | 00:56 |
waglik | for help | 00:56 |
waglik | :) | 00:56 |
*** waglik has quit IRC | 00:56 | |
*** bradb has quit IRC | 00:57 | |
*** BjornT has quit IRC | 00:57 | |
flox | ciao | 00:58 |
flox | sweet night.. | 00:59 |
*** flox is now known as flox|away | 00:59 | |
*** tvw has quit IRC | 01:35 | |
*** dobee has quit IRC | 01:43 | |
*** benji has quit IRC | 01:44 | |
*** hazmat has joined #zope3-dev | 01:44 | |
*** ChanServ sets mode: +o hazmat | 01:44 | |
*** rocky is now known as rocky|Zzz | 02:09 | |
*** RaFromBRC|away is now known as RaFromBRC | 02:34 | |
*** nathany has quit IRC | 02:55 | |
*** MiUlEr has quit IRC | 03:07 | |
*** yota has quit IRC | 03:07 | |
*** rocky|Zzz has quit IRC | 03:22 | |
*** Bernulf has quit IRC | 03:27 | |
*** febb has quit IRC | 03:35 | |
*** febb has joined #zope3-dev | 03:36 | |
*** MiUlEr has joined #zope3-dev | 03:37 | |
*** alecm has quit IRC | 04:00 | |
*** alecm has joined #zope3-dev | 04:01 | |
*** hazmat has quit IRC | 04:33 | |
*** RaFromBRC has quit IRC | 04:33 | |
*** whit_ has joined #zope3-dev | 04:35 | |
*** whit has quit IRC | 04:45 | |
*** whit has joined #zope3-dev | 04:45 | |
*** whit_ has quit IRC | 04:55 | |
*** stub has joined #zope3-dev | 05:18 | |
*** roym has quit IRC | 05:34 | |
*** alecm has quit IRC | 06:04 | |
*** rom|aw_ has quit IRC | 06:11 | |
*** rom|aw has joined #zope3-dev | 06:12 | |
*** febb has quit IRC | 06:24 | |
*** whit_ has joined #zope3-dev | 06:25 | |
*** whit has quit IRC | 06:36 | |
*** alecm has joined #zope3-dev | 07:41 | |
*** xenru|clone has joined #zope3-dev | 07:52 | |
*** xenru has quit IRC | 08:09 | |
*** eins has joined #zope3-dev | 08:31 | |
eins | hi | 08:31 |
*** timte has joined #zope3-dev | 09:00 | |
*** rom|aw is now known as romanofski | 09:08 | |
romanofski | moin | 09:09 |
*** hdima has joined #zope3-dev | 09:10 | |
*** timte has quit IRC | 09:10 | |
*** MiUlEr has quit IRC | 09:13 | |
*** MiUlEr has joined #zope3-dev | 09:14 | |
*** MiUlEr has quit IRC | 09:14 | |
*** alecm has quit IRC | 09:28 | |
*** alecm has joined #zope3-dev | 09:29 | |
*** alecm has joined #zope3-dev | 09:31 | |
eins | hi romanofski ;) | 09:31 |
romanofski | hey eins | 09:32 |
*** alecm has quit IRC | 09:34 | |
*** alecm has joined #zope3-dev | 09:34 | |
*** alecm has quit IRC | 09:37 | |
*** flox|away has quit IRC | 09:37 | |
*** alecm has joined #zope3-dev | 09:37 | |
*** alecm has quit IRC | 09:41 | |
*** timte has joined #zope3-dev | 09:46 | |
*** stub has quit IRC | 10:04 | |
*** stub has joined #zope3-dev | 10:04 | |
*** yota has joined #zope3-dev | 10:06 | |
*** vlado has joined #zope3-dev | 10:06 | |
*** batlogg has joined #zope3-dev | 10:10 | |
zagy | hoi | 10:21 |
zagy | i've got an idea on how to rosolve the wrong software home in mkzopeinstance .... | 10:23 |
zagy | anybody here to discuss that? | 10:23 |
romanofski | yeah zagy - go on *G | 10:23 |
romanofski | I think you're right :) | 10:24 |
zagy | shut up :P | 10:25 |
* romanofski giggles | 10:25 | |
*** flox_ has joined #zope3-dev | 10:25 | |
*** flox_ is now known as flox|away | 10:25 | |
*** flox|away is now known as flox | 10:25 | |
*** BjornT has joined #zope3-dev | 10:29 | |
*** BjornT- has joined #zope3-dev | 10:30 | |
* MJ just had a terrible vision of spammers flooding IRC channels to make their links visible in IRC archives... | 10:33 | |
MJ | Aiste: Does the povbot make URLs clickable in the #zope3-dev channel logs it archives? | 10:34 |
* MJ hopes not.. | 10:34 | |
*** MJ has quit IRC | 10:39 | |
*** BjornT- has quit IRC | 10:45 | |
*** vlado has quit IRC | 10:48 | |
timte | zagy: what did you find? | 10:52 |
zagy | timte: moin :) | 10:53 |
timte | morning | 10:53 |
zagy | well, yesterday i figured that the declare_namepsace call changes __file__ | 10:53 |
timte | yep | 10:53 |
zagy | so the naive approach would be to save __file__ to say __real_file in zope.py and use that | 10:54 |
zagy | but I don't feel quite comfortable with that actually :) | 10:54 |
*** MJ has joined #zope3-dev | 11:02 | |
timte | but I think the problem is bigger than that | 11:03 |
timte | or maybe not, hmm | 11:03 |
*** philiKON has joined #zope3-dev | 11:14 | |
*** projekt01 has joined #zope3-dev | 11:14 | |
timte | zagy: I suspect this is an issue for all zope, not just mkzopeinstance | 11:15 |
*** BjornT has joined #zope3-dev | 11:15 | |
zagy | timte: yes, that's why it doesn't feel right | 11:15 |
timte | I guess you just can't use zope.__file__, it's a wrong assumption that it will be the lib/python/zope/__init__.py file | 11:16 |
timte | I guess one can't use zope top-level attributes anywhere in zope source code. | 11:18 |
*** MJ has quit IRC | 11:21 | |
eins | how do I change order of rendered schema fields without changing schema? (I'm using formlib) | 11:24 |
*** MJ has joined #zope3-dev | 11:24 | |
*** nebo has joined #zope3-dev | 11:26 | |
BjornT | eins: i assume you use form.Fields(ISchema) now? If so, just use form.Fields(ISchema).select('first_field', 'second_field') instead. | 11:27 |
eins | BjornT right:) I'll try that, thanks | 11:30 |
*** romanofs1i has joined #zope3-dev | 11:42 | |
*** romanofski has quit IRC | 11:42 | |
*** zagy has quit IRC | 11:47 | |
*** zagy has joined #zope3-dev | 11:51 | |
*** zagy has quit IRC | 11:52 | |
*** zagy has joined #zope3-dev | 11:55 | |
*** romanofs1i is now known as romanofski | 12:03 | |
*** batlogg has quit IRC | 12:05 | |
*** dobee has joined #zope3-dev | 12:16 | |
projekt01 | dobee, ayt? | 12:21 |
dobee | projekt01: jep | 12:21 |
projekt01 | Can I change the name sandbox to trunk in the different z3c packages? | 12:22 |
projekt01 | And do you know if others use this packages? | 12:23 |
dobee | i think it's ok to change the name | 12:23 |
dobee | there are a few people using multiform and tiny, z3c.javascript is the one which is used the most i think | 12:24 |
projekt01 | Ok, I'll write a mail to the list if I change this. | 12:25 |
dobee | ok | 12:25 |
projekt01 | dobee, I will move the image library from gawel to z3c. | 12:25 |
*** batlogg has joined #zope3-dev | 12:26 | |
projekt01 | Did you take a look at this package earlier (on gawels home repos)? | 12:26 |
*** BjornT has quit IRC | 12:26 | |
dobee | hm, ok my image library will also be checked in | 12:26 |
dobee | yes it seems nearly the same | 12:27 |
projekt01 | Ok, should we use your library? | 12:27 |
dobee | did i show you the image editor | 12:27 |
projekt01 | No | 12:27 |
dobee | ok, manfred is working on a flash version of the editor, when this is done, we can check in the image stuff | 12:28 |
dobee | the current implementation uses some closed source stuff | 12:28 |
dobee | only the editor of course | 12:28 |
projekt01 | Ok, cool, then I think we should use your library | 12:29 |
*** SmokeyD|gone is now known as SmokeyD | 12:29 | |
dobee | yes i think too | 12:29 |
dobee | we have to work on it next week anyway | 12:29 |
projekt01 | dobee, do you support local resources | 12:30 |
dobee | no | 12:30 |
dobee | it uses an imageref field | 12:30 |
dobee | the reference stores the image editing | 12:31 |
dobee | the image is referenced by keyreference | 12:31 |
dobee | the image reference has an IAbsoluteURL adapter | 12:31 |
dobee | which always returns a unique url from a ++uid++ namespace | 12:32 |
projekt01 | Can we replace the keyreference part? | 12:32 |
dobee | of course | 12:32 |
projekt01 | Because this is not working with import export | 12:32 |
dobee | ah | 12:32 |
dobee | there is no browser view for imort export or is there one? | 12:33 |
projekt01 | No, but if we like to do so, a keyreference based concept doesn't work. | 12:33 |
dobee | it would be nice to have some import export view in zope3 | 12:34 |
projekt01 | I guess we need a reference concept which supports export/import | 12:35 |
dobee | yes | 12:35 |
projekt01 | I implemented pages, template, macros and resources as local component. | 12:35 |
projekt01 | It supports import/export via FTP | 12:36 |
dobee | is this because the zodb reference does not work when exported? | 12:36 |
dobee | wow cool | 12:36 |
projekt01 | You can't export a keyreference or a intid and import it on a different server. | 12:37 |
dobee | would be nice if you can make a töf tour to austria somewhere between 9 and 18th | 12:37 |
projekt01 | It will never be the same | 12:37 |
projekt01 | Yup, I guess so | 12:37 |
dobee | cool | 12:37 |
*** BjornT has joined #zope3-dev | 12:40 | |
MJ | Anyone know what the status is of Kupu in Zope3? | 12:57 |
MJ | Or any other WYSIWYG editor for that matter. | 12:58 |
*** oferw has joined #zope3-dev | 13:01 | |
philiKON | MJ, the zopeorg stuff (in svn.zope.org) has some editor integration | 13:07 |
philiKON | kupu, tinymce | 13:07 |
*** harobed has joined #zope3-dev | 13:10 | |
*** alga has joined #zope3-dev | 13:24 | |
*** henri_ has joined #zope3-dev | 13:30 | |
*** regebro has joined #zope3-dev | 13:43 | |
dobee | MJ: see http://svn.zope.org/z3c.widget/sandbox/src/z3c/widget/tiny/ | 13:46 |
SmokeyD | hi all, I've got a problem. | 13:50 |
SmokeyD | I've got a class which subclasses from zope.app.container.btree.BTreeContainer | 13:50 |
SmokeyD | I want it to sublacc zope.app.intid.IntIds as well | 13:50 |
SmokeyD | but If I let the classd subclass both BTreeContainer and IntIds | 13:51 |
SmokeyD | I get the errorTypeError: Error when calling the metaclass bases | 13:51 |
SmokeyD | Cannot create a consistent method resolution | 13:51 |
SmokeyD | order (MRO) for bases Persistent, Contained | 13:51 |
SmokeyD | Both IIntIds and BTreeContainer implement IContained and IPersistent | 13:51 |
SmokeyD | I guess that is the problem | 13:51 |
SmokeyD | But how dow I solve this problem | 13:52 |
*** mkerrin has joined #zope3-dev | 13:57 | |
*** projekt01 has left #zope3-dev | 14:11 | |
*** ignas has joined #zope3-dev | 14:11 | |
SmokeyD | nevermind. I've already got it | 14:29 |
SmokeyD | It shouldn't inherit from both classes, just from BTreeContainer, and register it as an IntId object later | 14:30 |
*** rocky has joined #zope3-dev | 14:34 | |
*** oferw has quit IRC | 14:34 | |
*** tonico has quit IRC | 14:40 | |
*** SmokeyD is now known as SmokeyD|gone | 15:07 | |
eins | i'm subclassing some schema and want to keep order of fields, how do I do it? | 15:20 |
*** philiKON has quit IRC | 15:21 | |
eins | x = Int(..., order=ISchema['field'].order) doesn't seem to work | 15:22 |
*** stub has quit IRC | 15:23 | |
*** ofer has joined #zope3-dev | 15:33 | |
*** ianbicking has quit IRC | 15:37 | |
*** benji has joined #zope3-dev | 15:53 | |
*** SmokeyD|gone is now known as SmokeyD | 15:56 | |
henri_ | has anyone tried to | 16:02 |
henri_ | get the values for schema.Choice from a site_properties setting? | 16:02 |
SmokeyD | nope sorry | 16:04 |
henri_ | i thought it was a bit of a long shot! | 16:04 |
SmokeyD | :) | 16:04 |
SmokeyD | Hmm, you know anything about IntId? | 16:05 |
SmokeyD | I don't know how to use it exact;y | 16:05 |
SmokeyD | exactly* | 16:05 |
henri_ | Afraid its out of the v. small realm of my zope 3 knowledge, sorry! | 16:06 |
SmokeyD | :) too bad | 16:08 |
SmokeyD | My knwoledge is very limited as well :) | 16:08 |
*** bradb has joined #zope3-dev | 16:15 | |
*** ofer has quit IRC | 16:17 | |
henri_ | SmokeyD: is this of any use? http://blog.gocept.com/categories/zope-3 | 16:18 |
benji | SmokeyD: this functional test might help http://svn.zope.org/Zope3/trunk/src/zope/app/intid/browser/tracking.txt?rev=67630&view=log | 16:22 |
benji | intid really needs more/better docs | 16:23 |
SmokeyD | thanks henri_ and benji it indeed helps | 16:27 |
benji | cool | 16:27 |
*** ktwilight has quit IRC | 16:38 | |
*** ktwilight has joined #zope3-dev | 16:39 | |
*** romanofski has quit IRC | 16:40 | |
*** romanofski has joined #zope3-dev | 16:41 | |
SmokeyD | benji, soory but I don't get it completely. Should I register IntIds as a utility in order to use it? | 16:44 |
benji | yep | 16:44 |
SmokeyD | ok, but accordig to the book of richter Utilities are there to provide functionality that is not vita | 16:45 |
SmokeyD | Utilities are similar to services, but do not provide vital functionality, so applications | 16:45 |
SmokeyD | should not be broken if utilities are missing. | 16:45 |
SmokeyD | an example would be SQL Connections | 16:46 |
SmokeyD | Ok, I understand that SQL connections are reinitialised when you restart the zope server | 16:46 |
SmokeyD | they can't be persistent | 16:46 |
SmokeyD | but the IntIds should be | 16:46 |
SmokeyD | so, it is just basic knowledge I'm afariad, but the book of richter and weitershausen do not make me understand it better | 16:47 |
SmokeyD | books* | 16:47 |
benji | I've never heard that view espoused before. | 16:47 |
SmokeyD | ok, itis in the book of richter on page 45 (http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/book.pdf) | 16:48 |
SmokeyD | but Utilities can keeptheir data when the server is restarted? | 16:49 |
SmokeyD | Like the list of IntIds and corresponding objects? | 16:49 |
flox | SmokeyD: be careful the difference between global component and local component | 16:56 |
flox | AFAIK only Local components are persistent | 16:57 |
SmokeyD | ok, I already ran into this difference indeed | 16:57 |
SmokeyD | But didn't understand it completely. Thanks. | 16:57 |
flox | if u register IntIds through the ZMI, your component will be local (and persistent) | 16:57 |
flox | i guess that if u register IntIds through ZCML, component is Global and non-Persistent | 16:58 |
benji | right, flox | 17:00 |
flox | IntIds is really simple to use: it only keep an Integer ID (unique) for any persistent component u create within the ZODB | 17:01 |
flox | this ID do not change if u move or update the object inside the ZODB | 17:02 |
flox | then u have 2 complementary methods provided by the utility: queryId(ob) and queryObject(id) (or getId/getObject) | 17:05 |
flox | that's all u need to work with it | 17:06 |
SmokeyD | Cool guys | 17:10 |
SmokeyD | I really appreciate it | 17:10 |
SmokeyD | It indeed works now! | 17:12 |
SmokeyD | Thanks a lot | 17:12 |
SmokeyD | :) | 17:12 |
SmokeyD | Just my basic knowledge lacking, but either I'm looking over the important parts, or it is not described very clearly in either of the zop3 books (I gues it's the first problem) | 17:13 |
flox | SmokeyD: have a look at chapter 7 from Zope Book | 17:15 |
flox | http://dev.zope.org/Zope3/Zope3Book/components.html | 17:15 |
*** dobee has quit IRC | 17:16 | |
flox | i find this one very synthetic and useful, when u start to put your hand into the code | 17:16 |
flox | u have a section 'Global vs Local' where u find interesting things | 17:16 |
SmokeyD | hehe, I didn't see the Local vs Global part | 17:17 |
SmokeyD | it is indeed clarifying | 17:17 |
*** niemeyer has joined #zope3-dev | 17:17 | |
SmokeyD | that's what I meant that I was probably looking over the most important parts | 17:17 |
flox | yes, there's some good documentation, but not easy to find.... | 17:17 |
*** romanofski has quit IRC | 17:18 | |
flox | and most of the time u have to figure out by yourself what is deprecated, and what is up-to-date... | 17:18 |
*** pcardune has joined #zope3-dev | 17:19 | |
flox | i have 3 main sources for documentation: book from Philipp and book from Richter, and ++apidoc++ | 17:20 |
*** hdima has quit IRC | 17:21 | |
flox | but only ++apidoc++ is really up-to-date when u work with last release | 17:21 |
harobed | flox, hi, I would like make a blog or forum web application, do I must store datas in one folder or in many folder ? What happen if the number of record is big, bigger than 10000 ? How can I do speed sort on the datas ? | 17:23 |
flox | i don't know the capacity of ZODB | 17:23 |
flox | and performance | 17:24 |
flox | i suggest u look at an adapter to work with a RDB (postgre or other) | 17:25 |
flox | someone wrote down an article about his experience with Zope3 and SQL... maybe have a look at it | 17:26 |
harobed | ok | 17:26 |
flox | http://www.jrandolph.com/blog/?p=23 | 17:27 |
flox | not the main article, but read response #16 | 17:27 |
harobed | ok | 17:28 |
ktwilight | hmm...i would just split 'em into many folders harobed | 17:29 |
ktwilight | but that's my thought that hasn't been implemented :) | 17:29 |
harobed | ktwilight, yes but exemple : how can I get the last entry ? The last entry of all folder ? | 17:30 |
ktwilight | sort by date maybe? | 17:30 |
ktwilight | or last modified | 17:30 |
harobed | same | 17:31 |
harobed | last modified | 17:32 |
harobed | yes but sort on all folder ? | 17:32 |
ktwilight | ...? | 17:32 |
harobed | user can post in many folder (thread) | 17:33 |
harobed | now, in home page, I would like display last entry of all folder | 17:33 |
harobed | how can do it with Container ZODB | 17:34 |
harobed | ? | 17:34 |
harobed | when use SQL Database or ZODB container object ? | 17:34 |
ktwilight | precisely? no idea. practically? no idea. but i would just sort the post as goes into zodb, then when i call it from the homepage, i would just pick the last one | 17:35 |
ktwilight | but if you're familiar with sql, go for it :) | 17:35 |
harobed | what is the better solution in Zope | 17:36 |
*** alecm has joined #zope3-dev | 17:36 | |
ktwilight | no clue | 17:37 |
*** harobed has quit IRC | 17:38 | |
*** gumpa has joined #zope3-dev | 17:39 | |
*** henri_ has left #zope3-dev | 17:42 | |
flox | harobed: i think u can have a look on Catalogs | 17:46 |
*** gumpa is now known as gumpa-away | 17:46 | |
flox | ok he's gone :-( | 17:48 |
*** henri_ has joined #zope3-dev | 17:51 | |
*** zagy has quit IRC | 17:55 | |
*** alga has quit IRC | 17:57 | |
*** whit_ has quit IRC | 18:03 | |
benji | flox: yeah, I was about to give him similar advice; drive by question asking isn't a good strategy on IRC | 18:03 |
benji | (i.e., if he'd stuck around he would have gotten more information) | 18:04 |
ktwilight | doesn't Catalogs slow down when it gets big? | 18:04 |
benji | a little, but not much | 18:04 |
ktwilight | hmm | 18:05 |
MJ | dobee, philiKON: belated thanks for the WYSIWYG tips (was AFK) | 18:05 |
flox | ktwilight: if u do not use Catalog, what is ur other choice? | 18:07 |
flox | connection to remote RDB? | 18:08 |
ktwilight | two choices for such a case | 18:08 |
*** whit has joined #zope3-dev | 18:09 | |
*** eins has quit IRC | 18:10 | |
* flox is looking again toward SQLAlchemy | 18:11 | |
* flox does not have time to try such thing. But it looks interesting | 18:11 | |
*** SmokeyD is now known as SmokeyD|gone | 18:17 | |
*** SmokeyD|gone is now known as SmokeyD | 18:18 | |
*** batlogg has quit IRC | 18:25 | |
henri_ | i've been using zope.app.form.browser.itemswidgets.MultiCheckBoxWidget with formlib. however, i've noticed that it doesn't append :list to the input name. is this a bug or just me? | 18:29 |
*** zbir_ is now known as zbir | 18:35 | |
benji | henri_, :list isn't required, the widget can interpret multiple values without using :list (and is likely doing so) | 18:38 |
*** whit_ has joined #zope3-dev | 18:38 | |
henri_ | benji: yes, it is doing that but i need to cache all checked values. i'm doing this via the request/fieldname and it then creates an array from a single checked value. | 18:40 |
henri_ | perhaps, i should do it differently | 18:40 |
benji | yeah, you shouldn't need to look at the raw request to pull values out | 18:41 |
benji | what do you mean by "cache"? | 18:41 |
henri_ | well capture would be a better word. i submit to a result page but want the option to search again based on the values checked in the original search. | 18:42 |
henri_ | its fairly ugly so i may just need to refactor my code. | 18:43 |
henri_ | i hate to cut this short but i've gotta go. i'll discuss further with you when i'm next on irc. | 18:47 |
benji | ok | 18:49 |
henri_ | benji: my code is here: https://svn.plone.org/svn/collective/ldapbrowser/branches/1.1 | 18:50 |
henri_ | bye! | 18:50 |
*** henri_ has left #zope3-dev | 18:50 | |
*** genconc has joined #zope3-dev | 18:50 | |
*** alecm has quit IRC | 18:50 | |
*** alecm has joined #zope3-dev | 18:51 | |
*** whit has quit IRC | 18:51 | |
*** SmokeyD is now known as SmokeyD|gone | 18:53 | |
*** SmokeyD|gone is now known as SmokeyD | 18:54 | |
*** timte has quit IRC | 18:58 | |
SmokeyD | Hey people, what's wrong with this: | 18:59 |
SmokeyD | <factory | 18:59 |
SmokeyD | id="finance.createProject" | 18:59 |
SmokeyD | title="Create a new Project" | 18:59 |
SmokeyD | component="finance.factories.ProjectFactory" | 18:59 |
SmokeyD | description="This factory creates a new project object" | 18:59 |
SmokeyD | /> | 18:59 |
SmokeyD | I'm gettin an error: ConfigurationError: ('Unrecognized parameters:', 'component') | 18:59 |
*** flox has quit IRC | 19:01 | |
SmokeyD | ok, in the newer version of zope3 factories which implement a custom component class can not be located inside the <content> directive in the configure.zcml file anymore | 19:05 |
*** nathany has joined #zope3-dev | 19:09 | |
*** MJ has quit IRC | 19:12 | |
*** timte has joined #zope3-dev | 19:15 | |
*** alecm has quit IRC | 19:18 | |
*** alecm has joined #zope3-dev | 19:20 | |
*** alecm has quit IRC | 19:32 | |
*** rocky has quit IRC | 19:33 | |
*** rocky has joined #zope3-dev | 19:34 | |
*** alec has joined #zope3-dev | 19:37 | |
*** ignas has quit IRC | 19:52 | |
*** timte has quit IRC | 19:52 | |
*** zagy has joined #zope3-dev | 20:00 | |
*** philiKON has joined #zope3-dev | 20:17 | |
*** RaFromBRC has joined #zope3-dev | 20:20 | |
*** cursor has joined #zope3-dev | 20:21 | |
*** MJ has joined #zope3-dev | 20:28 | |
*** flox has joined #zope3-dev | 20:33 | |
*** whit has joined #zope3-dev | 20:38 | |
*** whit__ has joined #zope3-dev | 20:45 | |
*** whit_ has quit IRC | 20:51 | |
SmokeyD | is there a wa\y to dynamiically create schema fields? | 20:52 |
SmokeyD | To define them not in a schema interface but on the fly? | 20:52 |
*** whit has quit IRC | 20:55 | |
SmokeyD | I already have it. Through the interfaces in zope.schema.interfaces | 21:03 |
*** whit__ has quit IRC | 21:04 | |
philiKON | SmokeyD, huh? | 21:06 |
SmokeyD | :) | 21:06 |
philiKON | SmokeyD, just say f = zope.schema.TextLine() | 21:06 |
SmokeyD | Yeah, that's what I'm doing | 21:06 |
SmokeyD | but thanks | 21:07 |
SmokeyD | the interfaces for those classes are in zope.schema.interfaces | 21:07 |
SmokeyD | that's where I found them in ++apidoc++ | 21:07 |
*** whit_ has joined #zope3-dev | 21:08 | |
SmokeyD | is it safe to use the pipe symbol (|) iin schema field titles and form field names? | 21:10 |
SmokeyD | for some reason I don't want to use more than _ and - | 21:10 |
*** febb has joined #zope3-dev | 21:13 | |
febb | Hello all ! | 21:13 |
SmokeyD | hi febb | 21:15 |
febb | Hi SmokeyD how are you ? | 21:16 |
benji | SmokeyD: I don't see why using pipes wouldn't work. | 21:16 |
SmokeyD | Me neither, but I was just wondering. There's not that much that I do know :) | 21:16 |
SmokeyD | Maybe it means something somwhere along the line that would cause very strange effects | 21:16 |
febb | hi philiKON como estas hoy ? | 21:17 |
SmokeyD | but guess not then | 21:17 |
SmokeyD | thanks | 21:17 |
SmokeyD | could I pass a list of schema fields to zope.formlib.form.FormFields()? | 21:21 |
*** BjornT has quit IRC | 21:22 | |
*** flox has quit IRC | 21:25 | |
*** whit__ has joined #zope3-dev | 21:26 | |
*** whit_ has quit IRC | 21:27 | |
benji | SmokeyD: you can; you can also pass one or more schemas and omit fields you don't want | 21:27 |
*** flox has joined #zope3-dev | 21:28 | |
SmokeyD | ok thanks. I knew the latter parts, just not if you could also only pass a list for schema fields instead of a whole schema | 21:28 |
SmokeyD | for=of | 21:28 |
benji | if you use a list of fields, you'll need to unpack them like so: FormFields(*my_list_o_fields) | 21:30 |
SmokeyD | ok, that was what I actually was wondering if it worked just to pass the list or not. I'll unpack it then. Thanks | 21:31 |
SmokeyD | I love formlib | 21:31 |
SmokeyD | very flexible | 21:32 |
benji | yep, it's pretty nice | 21:32 |
*** whit has joined #zope3-dev | 21:36 | |
SmokeyD | well, I'm calling it a day, speak to you tomorrow (whoever's here tomorrow). Thanks for all your help | 21:40 |
SmokeyD | I really appreciate it | 21:40 |
*** SmokeyD is now known as SmokeyD|gone | 21:41 | |
*** whit__ has quit IRC | 21:44 | |
*** romanofski has joined #zope3-dev | 21:47 | |
*** regebro has quit IRC | 21:52 | |
*** whit has quit IRC | 21:53 | |
*** whit has joined #zope3-dev | 22:00 | |
*** rocky is now known as rocky|away | 22:04 | |
*** flox is now known as flox|away | 22:07 | |
*** cursor has quit IRC | 22:09 | |
*** tonico has joined #zope3-dev | 22:11 | |
*** SmokeyD|gone is now known as SmokeyD | 22:19 | |
*** mkerrin has quit IRC | 22:19 | |
*** hazmat has joined #zope3-dev | 22:31 | |
*** ChanServ sets mode: +o hazmat | 22:31 | |
*** rocky|away is now known as rocky | 22:35 | |
*** alec is now known as alecm | 22:36 | |
*** whit_ has joined #zope3-dev | 22:46 | |
*** flox|away is now known as flox | 22:48 | |
*** whit has quit IRC | 22:53 | |
*** whit_ is now known as whit | 22:54 | |
*** philiKON has quit IRC | 23:01 | |
*** RaFromBRC has quit IRC | 23:08 | |
*** febb has quit IRC | 23:34 | |
*** TresEquis has joined #zope3-dev | 23:36 | |
*** dunny has joined #zope3-dev | 23:37 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!