*** palmTree has quit IRC | 00:06 | |
*** hazmat has left #zope3-dev | 00:42 | |
*** srichter has joined #zope3-dev | 00:46 | |
*** ChanServ sets mode: +o srichter | 00:46 | |
*** sashav has quit IRC | 00:51 | |
*** zbir has quit IRC | 00:59 | |
*** mp has joined #zope3-dev | 00:59 | |
*** jhauser has quit IRC | 01:24 | |
*** bradb has left #zope3-dev | 01:28 | |
*** j1m has quit IRC | 01:35 | |
*** benji has left #zope3-dev | 01:41 | |
*** zbir has joined #zope3-dev | 02:50 | |
*** JoaoJoao has quit IRC | 02:54 | |
*** JoaoJoao has joined #zope3-dev | 03:06 | |
JoaoJoao | hi again | 03:06 |
---|---|---|
JoaoJoao | Seems to be easy: I added a new field to one of my interfaces, but it's not showing up in the add/edit forms (though they show in the API docs) | 03:07 |
*** newpers has joined #zope3-dev | 03:18 | |
*** sashav has joined #zope3-dev | 03:55 | |
*** horizon5 has quit IRC | 04:00 | |
srichter | JoaoJoao: do you have a "fields" attribute in the addform directive? | 04:06 |
JoaoJoao | Ahhhhhh I knew I was missing something :) thanks | 04:18 |
*** niemeyer has quit IRC | 04:28 | |
*** yota has quit IRC | 05:03 | |
*** sashav_ has joined #zope3-dev | 05:19 | |
*** sashav has quit IRC | 05:19 | |
*** sashav_ is now known as sashav | 05:19 | |
*** JoaoJoao has quit IRC | 06:26 | |
*** mdudzik has quit IRC | 07:26 | |
newpers | sorry if this question gets asked a lot. does zope3 support ajax communication. all i would need is a form button and input text to set and get info from the zodb. | 07:35 |
newpers | sorry for the lack of question marks as well. :P | 07:35 |
newpers | obviously w/o refreshing | 07:36 |
newpers | there's more to it, but that's the dumbed down version | 07:40 |
*** zbir has quit IRC | 07:58 | |
*** mp has quit IRC | 07:58 | |
*** Theuni has quit IRC | 07:58 | |
*** SteveA has quit IRC | 07:58 | |
*** d2m has quit IRC | 07:58 | |
*** dhuang_ has quit IRC | 07:58 | |
*** vinsci has quit IRC | 07:58 | |
*** jack-e has quit IRC | 07:58 | |
*** tiredbones has quit IRC | 07:58 | |
*** bob2 has quit IRC | 07:58 | |
*** newpers_ has joined #zope3-dev | 08:00 | |
*** newpers has left #zope3-dev | 08:00 | |
*** zbir has joined #zope3-dev | 08:00 | |
*** mp has joined #zope3-dev | 08:00 | |
*** Theuni has joined #zope3-dev | 08:00 | |
*** SteveA has joined #zope3-dev | 08:00 | |
*** d2m has joined #zope3-dev | 08:00 | |
*** tiredbones has joined #zope3-dev | 08:00 | |
*** dhuang_ has joined #zope3-dev | 08:00 | |
*** vinsci has joined #zope3-dev | 08:00 | |
*** bob2 has joined #zope3-dev | 08:00 | |
*** jack-e has joined #zope3-dev | 08:00 | |
*** d2m has quit IRC | 08:02 | |
*** stub has joined #zope3-dev | 08:13 | |
*** zagy_ has quit IRC | 08:32 | |
*** zagy_ has joined #zope3-dev | 08:35 | |
*** d2m has joined #zope3-dev | 08:44 | |
*** Theuni has quit IRC | 08:46 | |
*** stub has quit IRC | 09:00 | |
*** sashav has quit IRC | 09:05 | |
*** sashav has joined #zope3-dev | 09:07 | |
*** sashav has quit IRC | 09:07 | |
*** dobee has joined #zope3-dev | 09:15 | |
*** dobee has quit IRC | 09:31 | |
*** hdima has joined #zope3-dev | 09:40 | |
*** dobee has joined #zope3-dev | 09:53 | |
*** sashav has joined #zope3-dev | 10:11 | |
*** MJ has quit IRC | 10:41 | |
*** yota has joined #zope3-dev | 11:23 | |
*** jinty has joined #zope3-dev | 11:39 | |
*** zagy_ is now known as zagy | 11:40 | |
*** jinty has quit IRC | 11:49 | |
*** faassen has joined #zope3-dev | 11:50 | |
*** MJ has joined #zope3-dev | 11:53 | |
*** stub has joined #zope3-dev | 11:55 | |
*** Aiste has joined #zope3-dev | 11:58 | |
*** jhauser has joined #zope3-dev | 12:01 | |
*** mgedmin has joined #zope3-dev | 12:04 | |
*** vlado has joined #zope3-dev | 12:22 | |
*** Aiste has quit IRC | 12:39 | |
*** Aiste has joined #zope3-dev | 13:06 | |
*** niemeyer has joined #zope3-dev | 13:06 | |
*** alga has joined #zope3-dev | 13:06 | |
*** Aiste has quit IRC | 13:19 | |
*** faassen has quit IRC | 13:19 | |
*** andres has joined #zope3-dev | 13:27 | |
*** Aiste has joined #zope3-dev | 13:28 | |
*** mgedmin has quit IRC | 13:37 | |
*** mkerrin has joined #zope3-dev | 13:38 | |
*** _anguenot has joined #zope3-dev | 13:40 | |
*** MrTopf has joined #zope3-dev | 13:40 | |
*** BjornT has quit IRC | 13:58 | |
*** ignas has joined #zope3-dev | 14:04 | |
*** gnilo has joined #zope3-dev | 14:27 | |
gnilo | hi | 14:27 |
*** romanofski has joined #zope3-dev | 14:34 | |
romanofski | moin | 14:34 |
srichter | hi | 14:35 |
romanofski | I'm currently struggling by trying to customize a container view - the ZCML 'containerViews' directive doesn't provide something like a template attribute and if I use a <page /> directive 'Contents' shows up additionally to my customize 'Contents' page... | 14:40 |
srichter | you have to do that manually | 14:40 |
srichter | containerViews is merely a shortcut to get soemthing going quickly | 14:41 |
romanofski | ah okey | 14:41 |
romanofski | I first thought, that I *have to* provide a "containerViews" directive | 14:42 |
srichter | no | 14:43 |
romanofski | it works, if I define a 'page' with a 'contents.html' name and a 'Contents' title, but not if I use a different title, 'Contents' shows up again - this confuses me and I'm not sure what I'm missing here | 14:46 |
romanofski | additionally, I removed my 'contentsView' ... | 14:46 |
srichter | mmh, strange | 14:47 |
srichter | ah, I know | 14:47 |
srichter | did you inherit your container from Folder? | 14:47 |
* romanofski checks | 14:47 | |
romanofski | yes | 14:47 |
srichter | (if so, don't do that; use BTreeContainer as base class) | 14:47 |
srichter | because the containerViews are defined for IFolder | 14:47 |
romanofski | aaaaha... good to know that :) | 14:48 |
romanofski | that helps a lot - thank you srichter :) | 14:48 |
* romanofski needs to write that down to avoid similar mistakes in the future | 14:49 | |
*** zbir has quit IRC | 15:11 | |
*** dobee has quit IRC | 15:32 | |
*** BjornT has joined #zope3-dev | 15:32 | |
*** philiKON has joined #zope3-dev | 15:36 | |
*** jvts has joined #zope3-dev | 15:57 | |
*** zbir has joined #zope3-dev | 15:58 | |
*** jvts has quit IRC | 16:01 | |
*** benji has joined #zope3-dev | 16:02 | |
*** JoaoJoao has joined #zope3-dev | 16:56 | |
JoaoJoao | good afternoon | 16:57 |
*** jinty has joined #zope3-dev | 17:04 | |
JoaoJoao | will Z3.2 include a widget for the Datetime field? | 17:06 |
*** efge has joined #zope3-dev | 17:08 | |
*** hdima has quit IRC | 17:14 | |
benji | JoaoJoao, it has *a* widget, but not a particularly fancy one | 17:15 |
JoaoJoao | benji: Sorry, I meant a proper widget | 17:16 |
benji | it's too late to get anything else into 3.2, but I have a nice datetime widget we could put into 3.3 | 17:16 |
JoaoJoao | benji: Is it possible to have the widget in a separate package so I could use it in my apps? | 17:18 |
*** sashav has quit IRC | 17:19 | |
JoaoJoao | benji: I'm trying to build a tutorial split in lessons (creating a package, creating a custom type, using events) | 17:20 |
benji | JoaoJoao, the current code needs quite a bit of work; I doubt it'd help you much :/ | 17:24 |
JoaoJoao | benji: I was a little disappointed when I realized there wasn't a datetime widget for Z3 | 17:27 |
*** mkerrin has quit IRC | 17:32 | |
JoaoJoao | benji: I like the Z3 architecture a lot, however sometimes it is made hard by the lack of available recipes | 17:35 |
benji | JoaoJoao, yep, such is life :) | 17:36 |
JoaoJoao | benji: e.g. I'm still asking myself how the !@!(# can I do cataloging in Z3 | 17:38 |
JoaoJoao | I have even tried RoR a little bit, but... I'm not convinced it's so good after all | 17:40 |
*** mkerrin has joined #zope3-dev | 17:43 | |
*** j1m has joined #zope3-dev | 18:12 | |
j1m | srichter, ayt? | 18:12 |
*** BjornT_ has joined #zope3-dev | 18:14 | |
*** BjornT has quit IRC | 18:15 | |
*** philiKON has quit IRC | 18:23 | |
*** MrTopf has quit IRC | 18:24 | |
*** efrerich has joined #zope3-dev | 18:30 | |
srichter | j1m: yeah | 18:33 |
j1m | hey | 18:34 |
srichter | so what's up? | 18:34 |
j1m | We're pulling our hair out trying to figure out how to sort lists of strings correctly. :) | 18:34 |
j1m | Specifically, correctly for a locale. | 18:34 |
JoaoJoao | L.sort :P just kidding | 18:34 |
*** sashav has joined #zope3-dev | 18:35 | |
srichter | j1m: aehm, huh? :-) | 18:35 |
j1m | This seems to be a fairly significant hole in out i18n story. | 18:35 |
j1m | Locale-specific ordering often doesn't agree with unicode ordering. | 18:35 |
j1m | for example, sorting unicode gets Danish wrong. | 18:36 |
j1m | The Python locale module has an API for this, but it's not thread safe. | 18:37 |
j1m | And has other issues. | 18:37 |
*** mp has quit IRC | 18:37 | |
j1m | SteveA, do y'all care about this? | 18:37 |
j1m | srichter, I was curious why you decide to reimplement rather than wrap part of ICU? | 18:38 |
j1m | decided | 18:38 |
* j1m wonders what srichter is thinking... | 18:40 | |
SteveA | j1m: not particularly. my strings are either unicode and mixed language (mostly english), or sorted by other means (objects have a strict ascii name as well as a unicode title) | 18:41 |
SteveA | i don't have strings from a single locale that need to be sorted according to that locale | 18:41 |
j1m | SteveA, so you never present lists of sorted choices to non-english speakers? | 18:41 |
SteveA | i don't think rosetta has any use-cases for that either, as that all goes by message id | 18:41 |
j1m | Oh my god, you present lists of choices to users based on message id ordering? | 18:42 |
SteveA | any choices would be in some other logical order. like low -> medium -> high. It is a pain when these get sorted by their text ;-) | 18:42 |
SteveA | for translating them, of course | 18:42 |
SteveA | people like to work through the pofile, and often the original ordering is significant, grouped by related area in ways we can't algorithmically tell | 18:43 |
SteveA | but in any case, the source language is always english | 18:43 |
SteveA | so, if we don't have a translation into something else, then sorting would be in english anyway | 18:43 |
j1m | wow | 18:43 |
SteveA | the only case i can think of right now where this would be useful is in presenting a list of countries as destinations for shipit | 18:44 |
SteveA | because each locale has its own names for the countries of the world, often sorting differently | 18:45 |
SteveA | but we're a long way from offering shipit in multiple languages. mainly because the shipping company only copes with a limited subset of ascii | 18:45 |
*** yutakashino has joined #zope3-dev | 18:45 | |
SteveA | so we can't send things to china using chinese characters, even though the application could easily accept it | 18:46 |
SteveA | (shipit is the application that allows you to order ubuntu CDs) | 18:46 |
SteveA | i can't think of all that many places where i want to sort things alphabetically, even in english | 18:46 |
SteveA | - countries of the world | 18:47 |
benji | a further compication is the difference between lexicographic order and alphanumeric order | 18:47 |
SteveA | - people's names / email addresses. (locale-specific doesn't help a lot here when you have people from all over the world. although i'll accept it can help a marginal amount.) | 18:47 |
JoaoJoao | How can I do cataloging in Z3? | 18:48 |
SteveA | - arbitrary tags / user-defined tags on content | 18:49 |
SteveA | - operating system package names: constrained to ascii anyway | 18:49 |
efge | j1m: sorting by locale is definitely useful in general, notwithstanding what SteveA's use cases are | 18:50 |
j1m | Well, in Zope, add lists is a common example of why you need this. | 18:50 |
*** sashav has quit IRC | 18:50 | |
j1m | I need to go to a meeting.... later | 18:51 |
SteveA | sure. in that case, as in many others, all you have is words, and all the words are in the same language | 18:51 |
SteveA | i guess i just don't have any of those use-cases. | 18:51 |
SteveA | i bet efge has them though | 18:51 |
efge | SteveA: well those you mentionned, countries, people's names, user tags, are already quite important yes | 18:52 |
efge | often I also want to sort documents according to their title | 18:53 |
SteveA | when they are all from one language | 18:54 |
SteveA | or compatible languages | 18:54 |
SteveA | having a mixture of chinese, arabic, english and amharic docs is tough | 18:54 |
*** sashav has joined #zope3-dev | 18:57 | |
*** jinty has quit IRC | 18:59 | |
srichter | j1m: sorry, I just got a phone call; I am back | 18:59 |
*** romanofski has quit IRC | 18:59 | |
srichter | j1m: the reason I reimplemented the ICU code was because the Python code was very alpha | 19:00 |
srichter | and the C/C++ API seemed extremly low-level | 19:01 |
srichter | and covered much more than I was willing to deal with | 19:01 |
srichter | adn we really did not want to use all of ICU anyways | 19:01 |
*** sashav has quit IRC | 19:12 | |
*** jukart has joined #zope3-dev | 19:12 | |
*** mp has joined #zope3-dev | 19:13 | |
*** Aiste has quit IRC | 19:17 | |
*** deo has joined #zope3-dev | 19:25 | |
*** MJ has quit IRC | 19:26 | |
j1m | back | 19:34 |
srichter | ok, I am here too | 19:34 |
j1m | so icu has a python binding already? | 19:35 |
j1m | Has it matured any? | 19:35 |
srichter | I have no clue | 19:35 |
j1m | k | 19:35 |
srichter | I have not looked at it since a loing time | 19:35 |
srichter | I thinkt he Python guys were working on it not as part of the project | 19:36 |
j1m | Martin von Lowis threadened to do an ICU binding, maybe just for sorting, in 2002, but I tkink he may have dropped it. | 19:36 |
j1m | what python guys | 19:36 |
j1m | ? | 19:37 |
srichter | yeah, right, it was Martin | 19:37 |
srichter | I think they had some code back then too | 19:37 |
srichter | or I could not find anything? Ireally can't remember | 19:38 |
j1m | http://cvs.sourceforge.net/viewcvs.py/python-codecs/picu/ | 19:40 |
j1m | Hm, the README claims it covers the collation apis. | 19:41 |
j1m | (I hadn't noticed that when I looked yesterday.) | 19:41 |
srichter | yep, that seems to be the only thing though | 19:42 |
j1m | Yeah, but that's all I need atm. :) | 19:44 |
srichter | ok | 19:44 |
*** sashav has joined #zope3-dev | 19:47 | |
srichter | I really hope you are going to enhance zope.i18n | 19:48 |
j1m | uh | 19:49 |
j1m | I really hope you are going to enhance zope.i18n | 19:49 |
srichter | well, you are working on collate right now ;-) | 19:49 |
j1m | I'm thinking of working on collate right now. :) | 19:50 |
srichter | cool :-) | 19:52 |
j1m | This doesn't look very promising | 19:52 |
srichter | the code on the CVS. you mean? | 19:53 |
*** vlado has quit IRC | 19:54 | |
*** mgedmin has joined #zope3-dev | 20:05 | |
j1m | is anyone interested in doing a Z3 tutorial at PyCon this February? | 20:05 |
srichter | j1m: does it pay for the airfare? | 20:05 |
*** Aiste has joined #zope3-dev | 20:05 | |
*** Aiste has quit IRC | 20:05 | |
*** mp has quit IRC | 20:06 | |
j1m | Apparently, there have been a lot of requests for a Zope tutorial of some sort. | 20:06 |
j1m | srichter, I suspect they would. | 20:06 |
srichter | j1m: of my traveling costs are covered, I'll do it | 20:06 |
j1m | k, I'll put you in touch. | 20:07 |
srichter | thanks | 20:07 |
newpers_ | where is it? | 20:14 |
*** palmTree has joined #zope3-dev | 20:22 | |
*** mgedmin has left #zope3-dev | 20:23 | |
j1m | http://us.pycon.org/TX2006/CallForTutorials | 20:25 |
*** yutakashino has left #zope3-dev | 20:26 | |
*** stub has quit IRC | 20:35 | |
*** benji has quit IRC | 20:58 | |
*** _anguenot has quit IRC | 21:01 | |
*** palmTree_ has joined #zope3-dev | 21:07 | |
*** MacYET has joined #zope3-dev | 21:18 | |
*** efrerich has quit IRC | 21:19 | |
*** palmTree has quit IRC | 21:25 | |
tiredbones | jlm, have you accepted to do a tutorial on zope? | 21:43 |
*** palmTree_ has quit IRC | 21:43 | |
tiredbones | j1m, have you accepted to do a tutorial on zope? | 21:44 |
j1m | who are you? | 21:49 |
j1m | I suggested that srichter would do one. | 21:50 |
*** mdudzik has joined #zope3-dev | 21:50 | |
*** deo has quit IRC | 21:51 | |
*** MacYET has quit IRC | 22:05 | |
*** MJ has joined #zope3-dev | 22:07 | |
JoaoJoao | MJ: Are u playing with Z3 catalogs? | 22:11 |
MJ | Nope, not at the moment | 22:11 |
JoaoJoao | Well I'm looking for someone who can tell me how to do catalog in Z3 | 22:12 |
*** ignas has quit IRC | 22:14 | |
*** JoaoJoao has quit IRC | 22:14 | |
*** jukart has left #zope3-dev | 22:14 | |
*** mkerrin has quit IRC | 22:15 | |
*** lunatik has joined #zope3-dev | 22:17 | |
*** lunatik has left #zope3-dev | 22:18 | |
*** efge has quit IRC | 22:31 | |
*** zbir has quit IRC | 22:38 | |
*** zbir has joined #zope3-dev | 22:46 | |
*** benji has joined #zope3-dev | 23:00 | |
*** natea is now known as natea|away | 23:08 | |
*** jhauser has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!