*** jodok has joined #zope3-dev | 00:06 | |
*** alga has quit IRC | 00:06 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 00:09 | |
*** nathany_ has joined #zope3-dev | 00:11 | |
*** mgedmin has joined #zope3-dev | 00:13 | |
*** mgedmin has quit IRC | 00:19 | |
*** nathany has quit IRC | 00:20 | |
*** jodok_ has quit IRC | 00:22 | |
*** tmog has quit IRC | 00:24 | |
*** philiKON has joined #zope3-dev | 00:30 | |
*** schwendinger has quit IRC | 00:31 | |
_prefixer | i'm trying to write a doctest. In it I have something that must fail.. and it does fail in the test which should mean a successfull test for me | 00:31 |
---|---|---|
_prefixer | but it becomes a failure anyway.. here's my code: http://pastebin.com/d6f445fd2 | 00:31 |
_prefixer | i thought the tripple dots would match all that junk.. | 00:32 |
*** Aiste has quit IRC | 00:34 | |
_prefixer | a more readable version: http://pastebin.com/da5ed703 | 00:34 |
*** alecm has quit IRC | 00:38 | |
*** jodok_ has joined #zope3-dev | 00:49 | |
*** jodok has quit IRC | 01:05 | |
*** timte has quit IRC | 01:08 | |
_prefixer | oh sneaky.. it was a trailing space after my tripple dots | 01:08 |
*** tarek has joined #zope3-dev | 01:09 | |
benji | _prefixer: one of the many reasons I like my editor to highlight trailing whitespace | 01:10 |
_prefixer | ah, i want that | 01:10 |
_prefixer | any ideas how to do it in vim? | 01:11 |
benji | you came to the right place <wink> | 01:11 |
_prefixer | :) | 01:11 |
_prefixer | http://www.vim.org/tips/tip.php?tip_id=1040 | 01:13 |
_prefixer | think I'll go with this one.. http://www.vim.org/tips/tip.php?tip_id=396 | 01:13 |
benji | I like http://www.vim.org/scripts/script.php?script_id=443 | 01:14 |
benji | I'm trying to remember if I changed the default highlighting. | 01:14 |
benji | I use blue underlines for trailing whitespace, and red underlines for all tab characters | 01:14 |
*** netshade has quit IRC | 01:15 | |
_prefixer | i fixed docstring folding today, very useful when reading zope source.. | 01:18 |
_prefixer | http://pastebin.com/d13a24dd6 | 01:18 |
_prefixer | if anyone's interested | 01:18 |
_prefixer | and then i map <space> to za (toggle fold open/close) | 01:19 |
*** lucielejard has quit IRC | 01:21 | |
*** mrevoir has joined #zope3-dev | 01:36 | |
*** philiKON has quit IRC | 01:42 | |
*** alecm has joined #zope3-dev | 01:47 | |
*** dunny has quit IRC | 01:49 | |
*** jodok has joined #zope3-dev | 01:52 | |
*** dunny has joined #zope3-dev | 02:00 | |
*** jodok_ has quit IRC | 02:01 | |
*** J1m has quit IRC | 02:07 | |
*** tarek has quit IRC | 02:07 | |
_prefixer | hmm, the error wasn't the trailing whitespace, I forgot the optionflags in my test_suite.. | 02:07 |
*** dobee has quit IRC | 02:08 | |
*** nathany_ has quit IRC | 02:10 | |
*** alecm has quit IRC | 02:10 | |
*** mrevoir has quit IRC | 02:16 | |
*** jodok has quit IRC | 02:22 | |
*** alecm has joined #zope3-dev | 02:56 | |
*** pcardune has joined #zope3-dev | 02:57 | |
*** tarek has joined #zope3-dev | 02:59 | |
*** jinty has joined #zope3-dev | 03:04 | |
*** srichter has quit IRC | 03:15 | |
*** alecm has quit IRC | 03:16 | |
*** jinty has quit IRC | 03:16 | |
*** alecm has joined #zope3-dev | 03:17 | |
*** rocky|away has quit IRC | 03:30 | |
*** pcardune has quit IRC | 03:32 | |
*** huajie has joined #zope3-dev | 03:48 | |
*** greenman has joined #zope3-dev | 03:56 | |
*** nathany_ has joined #zope3-dev | 04:00 | |
*** reco has quit IRC | 04:01 | |
*** nathany_ has quit IRC | 04:12 | |
*** mrevoir has joined #zope3-dev | 04:18 | |
*** whit has quit IRC | 04:25 | |
*** huajie has quit IRC | 04:45 | |
*** RaFromBRC has quit IRC | 04:58 | |
*** natea_ has quit IRC | 05:02 | |
*** jodok has joined #zope3-dev | 05:08 | |
*** Ariel_Calzada has joined #zope3-dev | 05:11 | |
*** povbot has joined #zope3-dev | 05:17 | |
*** dobee has joined #zope3-dev | 05:19 | |
*** dobee has quit IRC | 05:24 | |
*** reco has joined #zope3-dev | 05:33 | |
*** povbot` has quit IRC | 05:33 | |
*** jsadjohnson has quit IRC | 05:34 | |
*** grahal has joined #zope3-dev | 05:37 | |
*** povbot` has joined #zope3-dev | 05:47 | |
*** natea_ has quit IRC | 05:47 | |
*** reco has quit IRC | 05:59 | |
*** povbot has quit IRC | 05:59 | |
*** jodok has quit IRC | 06:26 | |
*** jodok has joined #zope3-dev | 06:26 | |
*** pcardune has joined #zope3-dev | 06:34 | |
*** natea_ has joined #zope3-dev | 06:45 | |
*** Ariel_Calzada has quit IRC | 06:46 | |
*** stub has joined #zope3-dev | 06:51 | |
*** chacha_chaudhry has joined #zope3-dev | 07:00 | |
*** greenman has quit IRC | 07:02 | |
*** alecm has quit IRC | 07:29 | |
*** baijum has joined #zope3-dev | 07:34 | |
*** greenman has joined #zope3-dev | 07:35 | |
*** natea_ has quit IRC | 07:54 | |
*** mrevoir has quit IRC | 08:05 | |
*** cursor has joined #zope3-dev | 08:22 | |
*** afd has joined #zope3-dev | 08:29 | |
*** sorin has joined #zope3-dev | 08:35 | |
*** sorin is now known as sorindregan | 08:35 | |
*** cursor has quit IRC | 08:38 | |
*** pcardune has quit IRC | 08:44 | |
*** zagy has quit IRC | 09:01 | |
*** d2m has joined #zope3-dev | 09:02 | |
*** stub has quit IRC | 09:06 | |
*** rcrafton has quit IRC | 09:41 | |
*** zagy has joined #zope3-dev | 09:47 | |
*** romanofski has joined #zope3-dev | 09:48 | |
romanofski | moin | 09:56 |
*** bigkevmcd has joined #zope3-dev | 10:05 | |
*** tarek has quit IRC | 10:14 | |
*** schwendinger has joined #zope3-dev | 10:14 | |
*** naro has joined #zope3-dev | 10:17 | |
*** jinty has joined #zope3-dev | 10:18 | |
*** philiKON has joined #zope3-dev | 10:23 | |
*** natea_ has joined #zope3-dev | 10:45 | |
*** phire has joined #zope3-dev | 10:50 | |
*** bjdevlin has quit IRC | 10:59 | |
*** bjdevlin has joined #zope3-dev | 10:59 | |
*** phire has left #zope3-dev | 11:00 | |
*** Aiste has joined #zope3-dev | 11:07 | |
*** yvl has joined #zope3-dev | 11:15 | |
*** goschtl has joined #zope3-dev | 11:18 | |
*** tmog has joined #zope3-dev | 11:23 | |
*** tarek has joined #zope3-dev | 11:24 | |
*** tmog has quit IRC | 11:25 | |
*** ferrafox has joined #zope3-dev | 11:29 | |
*** dabu has quit IRC | 11:30 | |
*** afd has quit IRC | 11:34 | |
*** afd has joined #zope3-dev | 11:40 | |
*** MJ has joined #zope3-dev | 11:42 | |
*** b52lap has quit IRC | 11:46 | |
*** richardkan has joined #zope3-dev | 11:54 | |
*** greenman has quit IRC | 11:55 | |
*** pelle__ has joined #zope3-dev | 11:59 | |
*** pelle_ has quit IRC | 11:59 | |
*** pelle__ has quit IRC | 12:04 | |
*** pelle_ has joined #zope3-dev | 12:04 | |
*** greenman has joined #zope3-dev | 12:05 | |
*** afd has quit IRC | 12:12 | |
*** afd has joined #zope3-dev | 12:20 | |
*** pelle_ has quit IRC | 12:20 | |
*** mkerrin has joined #zope3-dev | 12:24 | |
*** timte has joined #zope3-dev | 12:33 | |
*** projekt01 has joined #zope3-dev | 12:35 | |
*** stub has joined #zope3-dev | 12:35 | |
*** b52laptop has joined #zope3-dev | 12:37 | |
*** Aiste has quit IRC | 12:40 | |
*** naro has quit IRC | 12:42 | |
*** zagy_ has joined #zope3-dev | 12:42 | |
*** markusleist has quit IRC | 12:43 | |
*** zagy has quit IRC | 12:45 | |
*** zagy has joined #zope3-dev | 12:45 | |
*** Aiste has joined #zope3-dev | 12:51 | |
*** jodok has joined #zope3-dev | 12:52 | |
*** jinty has quit IRC | 12:53 | |
*** deo has joined #zope3-dev | 12:59 | |
*** zagy_ has quit IRC | 13:00 | |
*** faassen has joined #zope3-dev | 13:03 | |
*** jodok has quit IRC | 13:08 | |
*** jodok has joined #zope3-dev | 13:09 | |
*** greenman has quit IRC | 13:10 | |
*** afd_ has joined #zope3-dev | 13:11 | |
*** naro has joined #zope3-dev | 13:13 | |
*** J1m has joined #zope3-dev | 13:14 | |
*** ignas has joined #zope3-dev | 13:15 | |
*** alga has joined #zope3-dev | 13:18 | |
*** j-w has joined #zope3-dev | 13:24 | |
*** markusleist has joined #zope3-dev | 13:24 | |
*** huajie has joined #zope3-dev | 13:31 | |
*** Aiste has quit IRC | 13:31 | |
*** pelle_ has joined #zope3-dev | 13:32 | |
*** pelle_ has quit IRC | 13:35 | |
*** pelle_ has joined #zope3-dev | 13:35 | |
*** Ariel_Calzada has joined #zope3-dev | 13:42 | |
*** salfield has joined #zope3-dev | 13:42 | |
*** dennis_ has joined #zope3-dev | 13:42 | |
*** dunny has quit IRC | 13:45 | |
markusleist | Hi. what's the best method to redirect the browser after z3c.form.Addform.nextURL() to the page before triggerd add. I guess something like 'self.request.getHeader('HTTP_REFERER')' stored in a hidden field in the form? | 13:48 |
projekt01 | markusleist, you only have to change the nextURL method | 13:54 |
projekt01 | to: return absolutURL(context, request) + '/myview.html' | 13:55 |
projekt01 | context ids the context of the page "before trigger add" | 13:55 |
projekt01 | if I understand your question correct. | 13:56 |
markusleist | hi projekt01: will try it, one moment... | 13:56 |
projekt01 | zope.traversing.browser import absoluteURL | 13:59 |
*** Aiste has joined #zope3-dev | 14:03 | |
*** benji has quit IRC | 14:03 | |
*** mgedmin has joined #zope3-dev | 14:04 | |
*** jodok has quit IRC | 14:06 | |
*** dobee has joined #zope3-dev | 14:08 | |
markusleist | projekt01: hmm, after absoluteURL(self.context, self.request) i will have the url to object and the + "myview.html" will select the view, correct? My problem: i am in view "view_a" or "view_b" when "add is triggerd"; after addition in nextURL i have to delegate back to "view a" or "view b"? | 14:09 |
markusleist | in nextURL the request has stored the "add-view" and not my origin view a or b, correct? | 14:11 |
projekt01 | are you using the old style which means the IAdding view? | 14:12 |
markusleist | no, i hope not | 14:12 |
*** dobee has quit IRC | 14:13 | |
projekt01 | if so you can call context.context for get the "real" view | 14:13 |
*** MJ is now known as MJ|lunch | 14:14 | |
*** huajie has quit IRC | 14:14 | |
markusleist | print "3c:", self.context.context -> ForbiddenAttribute: ('context', <com....> | 14:14 |
markusleist | would it be possible, to store the self.request.getHeader('HTTP_REFERER') in the form hidden and redirect to the content of that hidden field in nextURL? | 14:16 |
projekt01 | use removeSecurityProxy(context) and check if this works, if so, change the permission settings. | 14:16 |
*** b52laptop has quit IRC | 14:21 | |
projekt01 | don't messup the well defined z3c form concept with HTTP_REFERER, because you will get very quickly problems handling form submissions. | 14:21 |
markusleist | removeSecurityProxy(self.context).context -> AttributeError: 'IkSite' object has no attribute 'context' | 14:21 |
projekt01 | Ok, the context seems to be the view the context.context is your content object e.g. the site | 14:22 |
*** b52laptop has joined #zope3-dev | 14:22 | |
projekt01 | what are you looking for? | 14:22 |
markusleist | is there an other method to store the origin view before the add (other then HTTP_REFERER), so nextURL will redirect back to exactl this view? | 14:24 |
*** philiKON has quit IRC | 14:25 | |
*** J1m has quit IRC | 14:25 | |
*** philiKON has joined #zope3-dev | 14:29 | |
philiKON | markusleist: store it in a form variable? | 14:30 |
philiKON | markusleist: btw, you don't really want to use removeSecurityProxy | 14:30 |
philiKON | if your app contains code like that, you're most probably doing something wrong | 14:30 |
CrippsFX | afd: My God .... you're right ... I got so hung up on one thing, I forgot about the *proper* way to do it. | 14:31 |
*** Newfie2007 has joined #zope3-dev | 14:31 | |
CrippsFX | romanofski: 'nmorgen. :) | 14:31 |
*** richardkan has quit IRC | 14:31 | |
projekt01 | markusleist, philiKON is right, just use removeSecurityProxy if you fail accessing in debugging | 14:32 |
markusleist | Hi philiKON: there is exactly this one removeSecurityProxy for testing purpose in my app. | 14:32 |
*** richardkan has joined #zope3-dev | 14:32 | |
philiKON | good | 14:32 |
markusleist | :-) | 14:32 |
faassen | actually your app might be doing something quite plausible but the security policy might still not allow it. | 14:33 |
faassen | as the default security policy requires a __parent__ reference to be there in able to work. | 14:34 |
faassen | so if you have a newly created object that isn't yet attached to something, you run into security errors simply because the security policy cannot work. | 14:34 |
CrippsFX | faassen: 'strue. We had to use removeSecurityProxy once or twice in our app due to __parent__ not being there. | 14:34 |
faassen | I wouldn't call that the app doing something wrong though - it's frequently quite reasonable to want to do something with an object before you add it to a container. | 14:34 |
dennis_ | faassen but a new obejct is not security proxied yet | 14:35 |
dennis_ | i always run into this after adding it to the container :) | 14:35 |
romanofski | CrippsFX: 'nmorgen :D | 14:35 |
projekt01 | give them a __parent__ is better then use removeSecurityProxy? | 14:35 |
faassen | dennis_: I don't recall what I was doing exactly, but it had something to do with __parent__ being missing. | 14:35 |
projekt01 | nobody says that only containers can set __parent__ | 14:36 |
faassen | projekt01: I'm not a big fan of security proxies in general. :) | 14:36 |
CrippsFX | romanofski: arbeitest viel? ;) | 14:36 |
projekt01 | faassen, what are you using instead of them? | 14:36 |
markusleist | projekt01: what are the problems in z3c.form when storing HTTP_REFERER in a form variable for later use in nextURL? | 14:39 |
faassen | projekt01: just python objects! :) | 14:40 |
faassen | projekt01: unproxied objects of course. I've been using 'm for many years. :) | 14:40 |
faassen | projekt01: I hear other people are using them as well. :) | 14:40 |
projekt01 | faassen, sounds interesting | 14:40 |
faassen | projekt01: I mean, I've been using them in Zope 3 for only half a year or so. | 14:41 |
faassen | projekt01: but they have been used in python software since the beginning. :) | 14:41 |
projekt01 | markusleist, there is no need to use HTTP_REFERER, it could become hard to manage the submit handler and ZPT code if you use them heavy | 14:41 |
projekt01 | markusleist, z3c.form does all this handling and widget generation for you. | 14:42 |
baijum | I am getting an error from z3c.coverage like this: OSError: [Errno 2] No such file or directory: 'coverage' | 14:43 |
projekt01 | markusleist, the method nextURL is exactly desinged for your usecase. | 14:43 |
baijum | I included z3c.coverage egg as found here: http://svn.zope.org/z3c.form/trunk/buildout.cfg?rev=75940&view=markup | 14:43 |
baijum | then after ./bin/buildout, I run ./bin/coverage | 14:44 |
*** MJ|lunch is now known as MJ | 14:44 | |
projekt01 | baijum, didn't mgedmin use coverage? probably ask him. | 14:44 |
baijum | ok, I will ask him when he comes online | 14:45 |
markusleist | projekt01: sorry, i don't understand: http is stateless, Transmission 1 will build the form. the request in Transm. 1 will know where it comes from (like HTTP_REFERER or so). Transmission 2 will create the Object with the Date from the form. In this Transm. 2 the is no chance to know the origin (it is the add-View itself, correct?). So i habe to store the 1st origin in the form for using it in nextURL after Transm.2 (this is exactly my usecase, right | 14:52 |
projekt01 | HTTP_REFERER has nothing to do in views, it can break if you lookup views with getMultiAdapter((context, request), name="myview.html") | 14:56 |
projekt01 | You can use it, but I don't recommend it. | 14:57 |
projekt01 | btw, HTTP_REFERER do not work if you use links stored in your browser's favorit list or from a desktop shortcut. | 14:59 |
markusleist | projekt01: is there any other method to determine the exact view from which the add-Form was "opened"? | 14:59 |
projekt01 | make the add form a view of the view adapting the context e.g. context/myview.html/addview.html | 15:00 |
*** rcrafton has joined #zope3-dev | 15:00 | |
projekt01 | or use cgi query like the camefrom if you really need something like that. But it could be hard to catch all usecases if you use a ?camefrom= variable and this is not set. | 15:01 |
markusleist | projekt01: ah, ok, thanx, any recipe for context/myview.html/addview.html in the Readmes? | 15:02 |
projekt01 | this is the IAdding view implementation, I guess srichter implemented in z3c.form too. | 15:04 |
*** benji has joined #zope3-dev | 15:04 | |
markusleist | projekt01: ok, i'll read it - thanx a lot. | 15:05 |
projekt01 | markusleist, see z3c.form.adding.py and z3c.form.adding.txt | 15:05 |
projekt01 | np | 15:05 |
markusleist | btw, z3c.form is cool | 15:06 |
*** chacha_chaudhry has quit IRC | 15:10 | |
projekt01 | thanks | 15:11 |
*** dobee has joined #zope3-dev | 15:12 | |
*** philiKON has quit IRC | 15:13 | |
*** philiKON has joined #zope3-dev | 15:14 | |
*** j-w has quit IRC | 15:26 | |
*** jinty has joined #zope3-dev | 15:29 | |
* philiKON curses J1m for not documenting his variable/parameter names in the acquisition C code | 15:30 | |
* wiggy applauds philiKON for documenting the acquisition C code | 15:32 | |
philiKON | you wish | 15:32 |
*** jodok has joined #zope3-dev | 15:38 | |
philiKON | servus jodok | 15:39 |
*** jodok has left #zope3-dev | 15:39 | |
*** jodok has joined #zope3-dev | 15:39 | |
jodok | sorry, my colloquy didn't show anything | 15:39 |
*** chacha_chaudhry has joined #zope3-dev | 15:39 | |
mgedmin | philiKON, baijum: I'm back | 15:41 |
philiKON | mgedmin: didn't know you were gone at all | 15:41 |
philiKON | did i miss something? | 15:41 |
*** jinty_ has joined #zope3-dev | 15:42 | |
mgedmin | oops, sorry, philiKON | 15:42 |
mgedmin | it was projekt01 who pinged me | 15:43 |
projekt01 | mgedmin, baijum was asking if coverage buildout is working, didn't you use it? | 15:44 |
mgedmin | I use z3c.coverage, but not buildout | 15:45 |
projekt01 | Ah, Ok | 15:45 |
*** xbeanx has quit IRC | 15:46 | |
mgedmin | baijum: looks like you ran the coverage script without any args | 15:46 |
mgedmin | and instead of printing a helpful message it tried to covert coverage reports in ./coverage/ to html | 15:46 |
mgedmin | so it's just unfinished user interface | 15:46 |
*** eldar has joined #zope3-dev | 15:47 | |
*** xbeanx has joined #zope3-dev | 15:48 | |
*** jinty has quit IRC | 16:00 | |
baijum | mgedmin, thanks | 16:05 |
baijum | mgedmin, I am using buildout with zc.recipe.testrunner recipe and this recipe creates coverage directory under parts/test folder if I give coverage=./coverage option | 16:06 |
baijum | may be z3c.coverage also should look in that directory by default ? | 16:07 |
*** rcrafton has quit IRC | 16:07 | |
*** rcrafton has joined #zope3-dev | 16:08 | |
*** srichter has joined #zope3-dev | 16:10 | |
*** schwendinger has quit IRC | 16:10 | |
*** ChanServ sets mode: +o srichter | 16:10 | |
*** jsadjohnson has joined #zope3-dev | 16:12 | |
*** whit has joined #zope3-dev | 16:14 | |
*** schwendinger has joined #zope3-dev | 16:17 | |
*** philiKON_ has joined #zope3-dev | 16:17 | |
*** J1m has joined #zope3-dev | 16:18 | |
*** philiKON has quit IRC | 16:18 | |
*** baijum has left #zope3-dev | 16:19 | |
wiggy | what's the formlib widget-of-choice these days? | 16:27 |
*** timte has quit IRC | 16:30 | |
*** salfield has quit IRC | 16:33 | |
*** jsadjohnson_ has joined #zope3-dev | 16:35 | |
*** jsadjohnson has quit IRC | 16:35 | |
*** rcrafton_ has joined #zope3-dev | 16:36 | |
*** projekt01 has quit IRC | 16:36 | |
*** projekt01 has joined #zope3-dev | 16:36 | |
markusleist | projekt01: my problem solved: | 16:41 |
markusleist | projekt01: obj.myview.addview which will fall back to: obj.myview with "return absoluteURL(self.context, self.request)" in nextURL. | 16:41 |
markusleist | fine | 16:41 |
projekt01 | cool | 16:42 |
*** rcrafton has quit IRC | 16:43 | |
markusleist | there is a registration in zcml for every view.addview combination... ok, it's zcml - alway a lot of work ;-) | 16:43 |
*** schwendinger has quit IRC | 16:50 | |
*** schwendinger has joined #zope3-dev | 16:54 | |
*** xbeanx has quit IRC | 16:58 | |
*** xbeanx has joined #zope3-dev | 17:00 | |
*** netshade has joined #zope3-dev | 17:04 | |
*** pcardune has joined #zope3-dev | 17:06 | |
*** reco has joined #zope3-dev | 17:09 | |
*** yvl has quit IRC | 17:16 | |
*** jsadjohnson has joined #zope3-dev | 17:26 | |
goschtl | hi everyone here expirience with lovely.tag? | 17:28 |
benji | no, but I really like lovely.hide-and-seek | 17:28 |
srichter | goschtl: what's your problem? | 17:28 |
srichter | goschtl: the lovely guys use it in production | 17:28 |
*** CrippsFX has quit IRC | 17:29 | |
*** chacha_chaudhry has quit IRC | 17:29 | |
goschtl | i try to make it work with plone i create a utility for it but if zope restarts the entries are gone :) | 17:29 |
srichter | aehm, I don;t know about plone | 17:30 |
srichter | but Rocky ported lovely.tag to Plone, so he would know | 17:30 |
goschtl | srichter: ok i will ask him. but how would you register a utility for the taggingEngine? | 17:31 |
wiggy | sounds like you didn't make it a persistant utility | 17:32 |
wiggy | plone 3 allows you to do that using a GS profile | 17:32 |
*** stub has quit IRC | 17:32 | |
goschtl | wiggy: i use a configure.zcml for the registration of the utiltity | 17:32 |
srichter | that might be your problem | 17:32 |
wiggy | goschtl: don't do that :) | 17:32 |
srichter | ZCML will not create the utility in the ZODB | 17:33 |
wiggy | you want to make it a persistant utility inside the plone site | 17:33 |
goschtl | wiggy: yes howto do this? | 17:33 |
wiggy | look at componentregistry.xml in plone 3 | 17:33 |
wiggy | CMFPlone/profiles/default/componentregistry.xml | 17:33 |
wiggy | that configures a whole bunch of utilities | 17:33 |
wiggy | and pre-order optilude's book :) | 17:33 |
srichter | what book is martin writing? | 17:34 |
goschtl | damn the whole afternoon searching. i have ordered this for 2 days thx | 17:34 |
wiggy | srichter: http://optilude.wordpress.com/2007/07/13/the-rumours-are-true-a-book-about-plone-3/ | 17:34 |
*** sorindregan has quit IRC | 17:35 | |
*** jsadjohnson_ has quit IRC | 17:36 | |
*** ferrafox_ has joined #zope3-dev | 17:37 | |
*** jsadjohnson_ has joined #zope3-dev | 17:39 | |
*** natea_ has quit IRC | 17:41 | |
hazmat | goschtl, talk to rocky on #plone4artists, they have a working wrapper around lovely.tag for plone | 17:42 |
goschtl | hazmat: ok will do thx | 17:42 |
wiggy | rocky isn't online today it seems | 17:43 |
*** j-w has joined #zope3-dev | 17:52 | |
*** ferrafox has quit IRC | 17:55 | |
*** jsadjohnson has quit IRC | 17:56 | |
*** torkel_ has joined #zope3-dev | 18:01 | |
*** markusleist has quit IRC | 18:06 | |
*** jsadjohnson_ has quit IRC | 18:07 | |
goschtl | wiggy: now it works as expected thanks very much | 18:08 |
*** zagy has quit IRC | 18:09 | |
*** goschtl has quit IRC | 18:09 | |
*** jodok_ has joined #zope3-dev | 18:16 | |
*** jsadjohnson has joined #zope3-dev | 18:17 | |
*** Aiste has quit IRC | 18:20 | |
*** lucielejard has joined #zope3-dev | 18:21 | |
*** pcardune has quit IRC | 18:22 | |
*** nathany has joined #zope3-dev | 18:26 | |
*** pcardune has joined #zope3-dev | 18:27 | |
*** alecm has joined #zope3-dev | 18:28 | |
*** jodok has quit IRC | 18:33 | |
*** j-w has quit IRC | 18:43 | |
*** pcardune has quit IRC | 18:45 | |
*** torkel_ has quit IRC | 18:55 | |
*** ignas has quit IRC | 19:01 | |
*** ferrafox_ is now known as ferrafox | 19:01 | |
*** MJ has quit IRC | 19:05 | |
*** rcrafton has joined #zope3-dev | 19:13 | |
*** projekt01 has quit IRC | 19:14 | |
*** Ariel_Calzada has quit IRC | 19:15 | |
*** Ariel_Calzada has joined #zope3-dev | 19:21 | |
*** rcrafton_ has quit IRC | 19:22 | |
*** xxbeanxx has joined #zope3-dev | 19:32 | |
*** jukart has joined #zope3-dev | 19:43 | |
*** CrippsFX has joined #zope3-dev | 19:44 | |
*** xbeanx has quit IRC | 19:45 | |
*** romanofski has quit IRC | 19:50 | |
*** afd_ has quit IRC | 20:05 | |
*** ignas has joined #zope3-dev | 20:10 | |
*** philiKON_ is now known as philiKON | 20:12 | |
*** xbeanx has joined #zope3-dev | 20:16 | |
*** RaFromBRC has joined #zope3-dev | 20:16 | |
*** pelle_ has quit IRC | 20:19 | |
*** xxbeanxx has quit IRC | 20:21 | |
*** xxbeanxx has joined #zope3-dev | 20:24 | |
*** afd has quit IRC | 20:26 | |
*** xbeanx has quit IRC | 20:33 | |
*** timte has joined #zope3-dev | 20:40 | |
*** b52laptop has quit IRC | 20:45 | |
*** ferrafox has quit IRC | 20:45 | |
*** dobee has quit IRC | 20:57 | |
*** dobee has joined #zope3-dev | 20:57 | |
*** jodok_ has quit IRC | 20:57 | |
*** jodok has joined #zope3-dev | 20:57 | |
*** SteveA has quit IRC | 21:02 | |
*** SteveA has joined #zope3-dev | 21:02 | |
*** arroda has joined #zope3-dev | 21:03 | |
*** arroda has left #zope3-dev | 21:03 | |
*** richardkan has quit IRC | 21:08 | |
*** reco has quit IRC | 21:08 | |
*** romanofski has joined #zope3-dev | 21:09 | |
*** gumpa has joined #zope3-dev | 21:10 | |
*** dobee has quit IRC | 21:12 | |
*** dobee has joined #zope3-dev | 21:12 | |
*** SteveA has quit IRC | 21:15 | |
*** SteveA has joined #zope3-dev | 21:16 | |
* CrippsFX loves formlib | 21:21 | |
wiggy | there's too much magic in formlib for my taste | 21:22 |
wiggy | the flow between forms, schemas, fields, actions and validators is complex and undocumented | 21:22 |
*** reco has joined #zope3-dev | 21:22 | |
CrippsFX | wiggy: there is a bit of magic, yes ... but at least it's easy to use. | 21:22 |
wiggy | I found it really hard to use | 21:22 |
CrippsFX | it took me about a day to get used to it, but it's actually pretty straightforward for the most part. | 21:23 |
CrippsFX | the documentation for the formlib API in svn is pretty good. | 21:23 |
wiggy | until you do anything non-standard | 21:23 |
wiggy | try making a file field for which you need the filename and mimetype | 21:23 |
CrippsFX | heh. I'm hoping to stay away from non-standard, if I can. | 21:23 |
wiggy | or a tabbed form which includes other forms | 21:24 |
wiggy | or do a validator on multiple fields that needs to direct an error to one of them | 21:24 |
faassen | wiggy: did you try z3c.form yet? | 21:24 |
faassen | wiggy: I'm curious to see whether this life more flexible. | 21:24 |
wiggy | faassen: no, I haven't checked if that works in plone 3 | 21:24 |
faassen | wiggy: ah, right. | 21:24 |
faassen | wiggy: the other form story is Ian Bicking's theory | 21:24 |
wiggy | FormEncode | 21:24 |
faassen | wiggy: which turns stuff on its head. I think that's an interesting direction. | 21:25 |
faassen | wiggy: yeah, and some theoretical blog entries he wrote about this recently. | 21:25 |
wiggy | I like FormEncode | 21:25 |
faassen | wiggy: or months ago. | 21:25 |
faassen | wiggy: maybe we need to develop a formencode story for zope 3. :) | 21:25 |
wiggy | faassen: now that you're here... :) | 21:25 |
wiggy | actually, you're not the person to complain to, libxml2 is at fault | 21:25 |
faassen | wiggy: heh. :) | 21:26 |
faassen | wiggy: what did it do this time? :) | 21:26 |
* wiggy was stuck for a while on getpath() returning paths ike /*/*/*[18] | 21:26 | |
wiggy | turns out libxml2 is too lame to insert the default namespace | 21:26 |
faassen | oh, if there are ways to fix this, report it on lxml-dev. | 21:26 |
wiggy | the root element has xmlns="..." on it so it should just use that imho | 21:26 |
faassen | wiggy: I can't find Ian's blog entry on this, he wrote it last year I think. | 21:27 |
* wiggy made a getFancyPath method which fixes paths up using the lxml parent iterator | 21:27 | |
faassen | wiggy: or perhaps earlier this year. | 21:27 |
wiggy | faassen: I think I've read it | 21:27 |
faassen | wiggy: maybe you can to contribute it. | 21:27 |
faassen | wiggy: can contribute it to lxml :) | 21:27 |
faassen | wiggy: not to me though, to Stefan Behnel. :) | 21:28 |
faassen | off now. :) | 21:28 |
*** faassen has quit IRC | 21:28 | |
*** jukart has quit IRC | 21:35 | |
*** zagy has joined #zope3-dev | 21:38 | |
*** Ariel_Calzada has quit IRC | 21:38 | |
*** bjdevlin has quit IRC | 21:38 | |
*** bjdevlin has joined #zope3-dev | 21:40 | |
*** markusleist has joined #zope3-dev | 21:45 | |
*** mgedmin has quit IRC | 21:53 | |
*** __self has joined #zope3-dev | 22:16 | |
*** nathany has quit IRC | 22:18 | |
*** mkerrin has quit IRC | 22:19 | |
*** ktwilight has quit IRC | 22:20 | |
*** ktwilight has joined #zope3-dev | 22:20 | |
*** Newfie2007 has quit IRC | 22:21 | |
*** Aiste has joined #zope3-dev | 22:25 | |
*** zagy has quit IRC | 22:25 | |
*** dunny has joined #zope3-dev | 22:25 | |
*** dobee_ has joined #zope3-dev | 22:28 | |
*** jodok_ has joined #zope3-dev | 22:28 | |
*** jodok has quit IRC | 22:29 | |
*** dobee has quit IRC | 22:29 | |
*** ignas has quit IRC | 22:38 | |
*** torkel_ has joined #zope3-dev | 22:39 | |
*** jukart has joined #zope3-dev | 22:47 | |
*** dobee_ has quit IRC | 22:47 | |
*** dobee has joined #zope3-dev | 22:47 | |
*** philiKON_ has joined #zope3-dev | 22:50 | |
*** nathany has joined #zope3-dev | 22:50 | |
*** Aiste has quit IRC | 22:53 | |
*** naro has left #zope3-dev | 22:56 | |
*** dunny has quit IRC | 22:57 | |
*** philiKON has quit IRC | 23:06 | |
*** jhancock has joined #zope3-dev | 23:07 | |
*** torkel_ has quit IRC | 23:07 | |
*** torkel_ has joined #zope3-dev | 23:12 | |
*** b52laptop has joined #zope3-dev | 23:17 | |
*** b52laptop has quit IRC | 23:20 | |
*** torkel_ has quit IRC | 23:27 | |
*** schwendinger has quit IRC | 23:29 | |
*** jukart_ has joined #zope3-dev | 23:33 | |
*** nathany has quit IRC | 23:36 | |
*** Ariel_Calzada has joined #zope3-dev | 23:37 | |
*** alga has quit IRC | 23:42 | |
*** nathany has joined #zope3-dev | 23:48 | |
*** jukart has quit IRC | 23:50 | |
*** gumpa has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!