IRC log of #zope3-dev for Tuesday, 2005-05-10

*** srichter has quit IRC00:08
*** bskahan has quit IRC00:14
*** koke has joined #zope3-dev00:15
*** hazmat has joined #zope3-dev00:20
*** gintas has quit IRC00:22
*** tarek_ has quit IRC00:28
*** philiKON has quit IRC00:33
*** srichter has joined #zope3-dev00:44
*** ChanServ sets mode: +o srichter00:45
*** yota has quit IRC00:50
*** BjornT has quit IRC01:02
*** SureshZ has left #zope3-dev01:08
*** hazmat has quit IRC01:13
*** koke has quit IRC01:19
*** J1m has quit IRC01:30
*** hazmat has joined #zope3-dev01:36
*** xerophyte has joined #zope3-dev01:50
* andrew_m is away: zZz02:05
*** hazmat has quit IRC02:38
*** projekt01 has left #zope3-dev02:51
*** srichter has quit IRC03:19
*** srichter has joined #zope3-dev03:19
*** ChanServ sets mode: +o srichter03:20
*** niemeyer has quit IRC03:50
*** RaFromBRC has quit IRC03:57
*** stub has joined #zope3-dev04:04
*** GaryPoster has joined #zope3-dev04:26
*** GaryPoster has joined #zope3-dev04:27
*** GaryPoster has quit IRC04:40
*** GaryPoster has joined #zope3-dev04:46
*** __odie has quit IRC04:55
*** `anthony has quit IRC05:41
*** RaFromBRC has joined #zope3-dev05:50
*** d2m has quit IRC06:00
*** RaFromBRC has quit IRC06:13
*** GaryPoster has quit IRC06:16
*** `anthony has joined #zope3-dev06:39
*** kaczordek has joined #zope3-dev07:14
*** kaczordek has quit IRC07:44
*** viyyer has joined #zope3-dev08:31
*** RaFromBRC has joined #zope3-dev08:32
*** stub has quit IRC08:45
*** stub has joined #zope3-dev08:45
*** zagy_ is now known as zagy09:12
*** yota has joined #zope3-dev10:01
*** efge has joined #zope3-dev10:43
*** d2m has joined #zope3-dev11:01
*** ignas has joined #zope3-dev11:18
*** `anthony has quit IRC11:45
*** RaFromBRC has quit IRC11:51
*** lunatik has joined #zope3-dev12:00
*** lunatik has left #zope3-dev12:00
*** `anthony has joined #zope3-dev12:22
*** mkerrin has joined #zope3-dev12:27
*** philiKON has joined #zope3-dev12:40
* VladDrac dives into boston again12:42
VladDrachmmm...  <configure zcml:condition="have onlinehelp">12:45
VladDracI though zcml conditions were rejected12:46
philiKONnope12:53
philiKONthe original impl12:53
philiKONusing tales expr12:54
VladDracah12:54
VladDracwhat's "KON" anyway? :)12:55
*** tarek_ has joined #zope3-dev13:11
VladDraczope/app/rotterdam/template.pt starts with 3 bytes of noise - any idea why?13:17
VladDracin boston's and rotterdam's template.pt the macro is defined as 'page', but later there's a check if macroname == 'view'13:23
VladDracwhy's that? Under what condition will the macroname be view then?13:23
VladDrachmm, could it be the number of macro inclusions? A macro named view including a macro named page versus a macro named view including a macro named page including a macro named page (multiple skin layers)13:25
* efge pukes13:25
* VladDrac opens a window13:26
*** philiKON has quit IRC13:33
regebroMacros are evil. There should be template "functions" instead.13:34
*** faassen has joined #zope3-dev13:35
efgeI was looking at the internals of TALInterpreter / TALGenerator yesterday, and it may be fast but it's really not maintainable13:37
efgeand even fast is debatable13:37
VladDracI know the zope2 implementation is horrible13:40
efgethe zope3 implementation is nearly the same13:40
faassenI am vaguely thinking about rewriting it on top of libxml2's tree one day. :)13:42
faassenin pyrex.13:42
efgeyay!13:42
efgethat would be a nice hack13:42
faassenwell, I don't have funding so it's unlikely to happen.13:42
faassenwouldn't be a hack, would be faste.r13:42
faassenbut lower hanging fruit is the clearsilver stuff.13:42
faassenthat *is* fast.13:42
VladDracwhere is @@skin_macros/view defined?13:45
* VladDrac is lost13:45
*** faassen has quit IRC14:07
*** mgedmin has joined #zope3-dev14:08
VladDracthe macro is accessed as 'view', then translated in zope.app.basicskin.standardmacros to 'page', then invoked on my macro template14:15
VladDracwhere macroname is no longer 'view' but 'page', causing conditions to fail14:16
* VladDrac still does not understand what's going on14:16
*** stub has quit IRC14:20
ignaswhose fault is the IWriteFile interface ?14:21
VladDracwhat's wrong with it?14:26
ignaswell, no content/type14:28
ignasWriteDirectory gets it passed ...14:29
ignasso when creating something you know what is the encoding of the content passed14:29
ignasyet you must somehow deduce it when modifying the resource you have just created ...14:29
ignasIFileFactory __call__() gets data, content-type and a name14:30
*** stub has joined #zope3-dev14:31
ignaswhy IWriteFile is not allowed to get the content_type ? what about a non ascii text file being uploaded (that kind of breaks application sometimes)14:32
srichterIFile really needs a redesign14:51
*** bskahan has joined #zope3-dev14:56
*** SteveA_ has quit IRC15:14
*** xenru has joined #zope3-dev15:15
*** SteveA has joined #zope3-dev15:18
*** J1m has joined #zope3-dev15:35
*** srichter has quit IRC15:41
*** fcorrea has joined #zope3-dev15:42
*** anguenot has joined #zope3-dev15:51
*** lunatik has joined #zope3-dev15:54
*** lunatik has left #zope3-dev15:55
* Theuni ducks when hearing IFile15:57
*** viyyer has quit IRC16:08
*** SureshZ has joined #zope3-dev16:13
ignashow zope determines the mime type of a resource registered through zcml ?16:19
tarek_is there a way in Zope 3 to link an icon resource to a menuItem ?16:25
tarek_ignas, i don't knwo how it is done in Z3 but i have done it myself for a product, if you need to get the mechanism16:26
*** Aiste has joined #zope3-dev16:31
tarek_i'd like to specify in the menuitem an icon, for a custom rendering (icon+text)16:34
*** xenru has quit IRC16:37
*** xerophyte has quit IRC16:52
*** Egyptian has joined #zope3-dev17:04
* VladDrac is still fighting is skin problem17:04
* VladDrac is less amused by now17:04
*** Egyptian has left #zope3-dev17:10
*** niemeyer has joined #zope3-dev17:16
VladDraceither I fix it today or I'm dropping the boston skin (and all goodies unfortunately)17:17
*** alga has joined #zope3-dev17:47
*** stub has left #zope3-dev17:52
*** projekt01 has joined #zope3-dev18:08
VladDracprojekt you know something about the boston skin right?18:11
projekt01Yup18:14
* VladDrac is completely lost18:14
projekt01I'm too right now18:14
VladDractrying to customize a skin, and it just structurally fails with the boston skin (rotterdam works fine)18:14
projekt01The Boston skin uses pagelets from the zope.app.skintools package18:15
VladDracthe boston skin by itself works fine18:15
VladDracbut if I define my own skin, and use boston as a layer, it fails18:16
VladDracspecifically the part in template.pt where macroname == 'view' fails (its value is 'page' in stead)18:16
VladDracoh well have to go - if you have any hints let me know18:17
projekt01Ah, this part should be changed, It's really ugly18:17
VladDracelse I'll just use 'rotterdam' and reinvent alot of wheels boston has invented18:17
VladDracprojekt still, the same code works fine within the rotterdam skin18:17
VladDracbut still, have to go18:17
VladDraclet's hope my current zope3 headache clears :)18:18
projekt01I take a look at or after the weekend. I hope I can implement the nested menus too.18:18
*** SteveA has quit IRC18:19
tarek_VladDrac or projekt01 : do you have a minute for some questions about menuitems ?18:21
*** tvon|x31 has joined #zope3-dev18:21
*** alga has quit IRC18:23
*** alga has joined #zope3-dev18:28
tarek_anyone willing to help me ? :)18:30
*** tvon has quit IRC18:31
*** mkerrin has left #zope3-dev18:33
*** tvon_ has joined #zope3-dev18:34
*** regebro has quit IRC18:38
*** tvon|x31 has quit IRC18:45
*** tvon_ is now known as tvon18:47
projekt01 tarek, yes18:52
tarek_cool :)18:53
tarek_i was wondering if i could link an icon to a menuitem with existing stuff18:54
projekt01Yes, see zope.app.demo.menu sample18:56
tarek_this would be helpful to display menus with icons18:56
tarek_great thank you18:56
tarek_i have another one18:57
tarek_i've tried to use the filter parameter18:57
tarek_with a tales expression that calls a method on my context18:57
tarek_using a bit of python :18:57
tarek_python:context.telIfOk()18:58
tarek_but this raises an error : ForbiddenAttribute18:58
tarek_i have added a <content> for my context class18:59
tarek_in the zcml, with IAttributeAnnotatable and IContentContainer implements18:59
tarek_but the bound method cannot be called18:59
tarek_i think i am missing something (notice that i am under Five, but I don't think it interfers)19:00
ignastarek_, is telIfOk in the Interface that is set through the content directive ?19:05
tarek_ignas: yes19:06
ignascan you access other attributes set in that interface ?19:09
tarek_no but it seems that i can access them through talse this way :19:10
tarek_s/talse/tales19:10
tarek_context/tellIfOk19:10
tarek_the error occurs on Python when it makes a __call__ on context.tellifOk()19:11
*** bska|mobile has joined #zope3-dev19:15
*** projekt01 has quit IRC19:17
*** tarek_ has quit IRC19:21
*** bskahan has quit IRC19:22
mgedminstrange19:24
mgedmindoes it actually work if you use the tales syntax?19:25
mgedmintales checks whether the object you get is callable at the end19:25
mgedminmaybe when it gets ForbiddenAttribute it decides it just isn't callable and just checks that it is not None, or something19:26
* mgedmin is grasping straws19:26
*** fcorrea is now known as fcorrea_tired19:47
*** srichter has joined #zope3-dev19:57
*** ChanServ sets mode: +o srichter19:58
*** projekt01 has joined #zope3-dev20:32
J1mForbiddenAttributeError extends AttributeError20:44
J1mAn objet without __call__ is assumed to be non-callable.20:44
*** efge has left #zope3-dev20:59
*** anguenot has quit IRC21:03
*** ignas has quit IRC21:11
*** mgedmin has quit IRC21:31
*** vinsci has quit IRC21:33
*** alga has quit IRC21:38
*** SureshZ has quit IRC21:50
*** vinsci has joined #zope3-dev22:01
*** SureshZ has joined #zope3-dev22:03
*** RaFromBRC has joined #zope3-dev22:08
*** tvon has quit IRC22:22
*** bska|mobile has quit IRC22:34
*** philiKON has joined #zope3-dev22:54
*** philiKON has quit IRC22:56
*** SureshZ has quit IRC22:56
*** bradb is now known as bradb|away23:04
*** tvon has joined #zope3-dev23:23
*** SureshZ has joined #zope3-dev23:23
*** hazmat has joined #zope3-dev23:45
*** Theuni has quit IRC23:55

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!