*** srichter has quit IRC | 00:08 | |
*** bskahan has quit IRC | 00:14 | |
*** koke has joined #zope3-dev | 00:15 | |
*** hazmat has joined #zope3-dev | 00:20 | |
*** gintas has quit IRC | 00:22 | |
*** tarek_ has quit IRC | 00:28 | |
*** philiKON has quit IRC | 00:33 | |
*** srichter has joined #zope3-dev | 00:44 | |
*** ChanServ sets mode: +o srichter | 00:45 | |
*** yota has quit IRC | 00:50 | |
*** BjornT has quit IRC | 01:02 | |
*** SureshZ has left #zope3-dev | 01:08 | |
*** hazmat has quit IRC | 01:13 | |
*** koke has quit IRC | 01:19 | |
*** J1m has quit IRC | 01:30 | |
*** hazmat has joined #zope3-dev | 01:36 | |
*** xerophyte has joined #zope3-dev | 01:50 | |
* andrew_m is away: zZz | 02:05 | |
*** hazmat has quit IRC | 02:38 | |
*** projekt01 has left #zope3-dev | 02:51 | |
*** srichter has quit IRC | 03:19 | |
*** srichter has joined #zope3-dev | 03:19 | |
*** ChanServ sets mode: +o srichter | 03:20 | |
*** niemeyer has quit IRC | 03:50 | |
*** RaFromBRC has quit IRC | 03:57 | |
*** stub has joined #zope3-dev | 04:04 | |
*** GaryPoster has joined #zope3-dev | 04:26 | |
*** GaryPoster has joined #zope3-dev | 04:27 | |
*** GaryPoster has quit IRC | 04:40 | |
*** GaryPoster has joined #zope3-dev | 04:46 | |
*** __odie has quit IRC | 04:55 | |
*** `anthony has quit IRC | 05:41 | |
*** RaFromBRC has joined #zope3-dev | 05:50 | |
*** d2m has quit IRC | 06:00 | |
*** RaFromBRC has quit IRC | 06:13 | |
*** GaryPoster has quit IRC | 06:16 | |
*** `anthony has joined #zope3-dev | 06:39 | |
*** kaczordek has joined #zope3-dev | 07:14 | |
*** kaczordek has quit IRC | 07:44 | |
*** viyyer has joined #zope3-dev | 08:31 | |
*** RaFromBRC has joined #zope3-dev | 08:32 | |
*** stub has quit IRC | 08:45 | |
*** stub has joined #zope3-dev | 08:45 | |
*** zagy_ is now known as zagy | 09:12 | |
*** yota has joined #zope3-dev | 10:01 | |
*** efge has joined #zope3-dev | 10:43 | |
*** d2m has joined #zope3-dev | 11:01 | |
*** ignas has joined #zope3-dev | 11:18 | |
*** `anthony has quit IRC | 11:45 | |
*** RaFromBRC has quit IRC | 11:51 | |
*** lunatik has joined #zope3-dev | 12:00 | |
*** lunatik has left #zope3-dev | 12:00 | |
*** `anthony has joined #zope3-dev | 12:22 | |
*** mkerrin has joined #zope3-dev | 12:27 | |
*** philiKON has joined #zope3-dev | 12:40 | |
* VladDrac dives into boston again | 12:42 | |
VladDrac | hmmm... <configure zcml:condition="have onlinehelp"> | 12:45 |
---|---|---|
VladDrac | I though zcml conditions were rejected | 12:46 |
philiKON | nope | 12:53 |
philiKON | the original impl | 12:53 |
philiKON | using tales expr | 12:54 |
VladDrac | ah | 12:54 |
VladDrac | what's "KON" anyway? :) | 12:55 |
*** tarek_ has joined #zope3-dev | 13:11 | |
VladDrac | zope/app/rotterdam/template.pt starts with 3 bytes of noise - any idea why? | 13:17 |
VladDrac | in boston's and rotterdam's template.pt the macro is defined as 'page', but later there's a check if macroname == 'view' | 13:23 |
VladDrac | why's that? Under what condition will the macroname be view then? | 13:23 |
VladDrac | hmm, 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 pukes | 13:25 | |
* VladDrac opens a window | 13:26 | |
*** philiKON has quit IRC | 13:33 | |
regebro | Macros are evil. There should be template "functions" instead. | 13:34 |
*** faassen has joined #zope3-dev | 13:35 | |
efge | I was looking at the internals of TALInterpreter / TALGenerator yesterday, and it may be fast but it's really not maintainable | 13:37 |
efge | and even fast is debatable | 13:37 |
VladDrac | I know the zope2 implementation is horrible | 13:40 |
efge | the zope3 implementation is nearly the same | 13:40 |
faassen | I am vaguely thinking about rewriting it on top of libxml2's tree one day. :) | 13:42 |
faassen | in pyrex. | 13:42 |
efge | yay! | 13:42 |
efge | that would be a nice hack | 13:42 |
faassen | well, I don't have funding so it's unlikely to happen. | 13:42 |
faassen | wouldn't be a hack, would be faste.r | 13:42 |
faassen | but lower hanging fruit is the clearsilver stuff. | 13:42 |
faassen | that *is* fast. | 13:42 |
VladDrac | where is @@skin_macros/view defined? | 13:45 |
* VladDrac is lost | 13:45 | |
*** faassen has quit IRC | 14:07 | |
*** mgedmin has joined #zope3-dev | 14:08 | |
VladDrac | the macro is accessed as 'view', then translated in zope.app.basicskin.standardmacros to 'page', then invoked on my macro template | 14:15 |
VladDrac | where macroname is no longer 'view' but 'page', causing conditions to fail | 14:16 |
* VladDrac still does not understand what's going on | 14:16 | |
*** stub has quit IRC | 14:20 | |
ignas | whose fault is the IWriteFile interface ? | 14:21 |
VladDrac | what's wrong with it? | 14:26 |
ignas | well, no content/type | 14:28 |
ignas | WriteDirectory gets it passed ... | 14:29 |
ignas | so when creating something you know what is the encoding of the content passed | 14:29 |
ignas | yet you must somehow deduce it when modifying the resource you have just created ... | 14:29 |
ignas | IFileFactory __call__() gets data, content-type and a name | 14:30 |
*** stub has joined #zope3-dev | 14:31 | |
ignas | why 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 |
srichter | IFile really needs a redesign | 14:51 |
*** bskahan has joined #zope3-dev | 14:56 | |
*** SteveA_ has quit IRC | 15:14 | |
*** xenru has joined #zope3-dev | 15:15 | |
*** SteveA has joined #zope3-dev | 15:18 | |
*** J1m has joined #zope3-dev | 15:35 | |
*** srichter has quit IRC | 15:41 | |
*** fcorrea has joined #zope3-dev | 15:42 | |
*** anguenot has joined #zope3-dev | 15:51 | |
*** lunatik has joined #zope3-dev | 15:54 | |
*** lunatik has left #zope3-dev | 15:55 | |
* Theuni ducks when hearing IFile | 15:57 | |
*** viyyer has quit IRC | 16:08 | |
*** SureshZ has joined #zope3-dev | 16:13 | |
ignas | how 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 mechanism | 16:26 |
*** Aiste has joined #zope3-dev | 16:31 | |
tarek_ | i'd like to specify in the menuitem an icon, for a custom rendering (icon+text) | 16:34 |
*** xenru has quit IRC | 16:37 | |
*** xerophyte has quit IRC | 16:52 | |
*** Egyptian has joined #zope3-dev | 17:04 | |
* VladDrac is still fighting is skin problem | 17:04 | |
* VladDrac is less amused by now | 17:04 | |
*** Egyptian has left #zope3-dev | 17:10 | |
*** niemeyer has joined #zope3-dev | 17:16 | |
VladDrac | either I fix it today or I'm dropping the boston skin (and all goodies unfortunately) | 17:17 |
*** alga has joined #zope3-dev | 17:47 | |
*** stub has left #zope3-dev | 17:52 | |
*** projekt01 has joined #zope3-dev | 18:08 | |
VladDrac | projekt you know something about the boston skin right? | 18:11 |
projekt01 | Yup | 18:14 |
* VladDrac is completely lost | 18:14 | |
projekt01 | I'm too right now | 18:14 |
VladDrac | trying to customize a skin, and it just structurally fails with the boston skin (rotterdam works fine) | 18:14 |
projekt01 | The Boston skin uses pagelets from the zope.app.skintools package | 18:15 |
VladDrac | the boston skin by itself works fine | 18:15 |
VladDrac | but if I define my own skin, and use boston as a layer, it fails | 18:16 |
VladDrac | specifically the part in template.pt where macroname == 'view' fails (its value is 'page' in stead) | 18:16 |
VladDrac | oh well have to go - if you have any hints let me know | 18:17 |
projekt01 | Ah, this part should be changed, It's really ugly | 18:17 |
VladDrac | else I'll just use 'rotterdam' and reinvent alot of wheels boston has invented | 18:17 |
VladDrac | projekt still, the same code works fine within the rotterdam skin | 18:17 |
VladDrac | but still, have to go | 18:17 |
VladDrac | let's hope my current zope3 headache clears :) | 18:18 |
projekt01 | I take a look at or after the weekend. I hope I can implement the nested menus too. | 18:18 |
*** SteveA has quit IRC | 18:19 | |
tarek_ | VladDrac or projekt01 : do you have a minute for some questions about menuitems ? | 18:21 |
*** tvon|x31 has joined #zope3-dev | 18:21 | |
*** alga has quit IRC | 18:23 | |
*** alga has joined #zope3-dev | 18:28 | |
tarek_ | anyone willing to help me ? :) | 18:30 |
*** tvon has quit IRC | 18:31 | |
*** mkerrin has left #zope3-dev | 18:33 | |
*** tvon_ has joined #zope3-dev | 18:34 | |
*** regebro has quit IRC | 18:38 | |
*** tvon|x31 has quit IRC | 18:45 | |
*** tvon_ is now known as tvon | 18:47 | |
projekt01 | tarek, yes | 18:52 |
tarek_ | cool :) | 18:53 |
tarek_ | i was wondering if i could link an icon to a menuitem with existing stuff | 18:54 |
projekt01 | Yes, see zope.app.demo.menu sample | 18:56 |
tarek_ | this would be helpful to display menus with icons | 18:56 |
tarek_ | great thank you | 18:56 |
tarek_ | i have another one | 18:57 |
tarek_ | i've tried to use the filter parameter | 18:57 |
tarek_ | with a tales expression that calls a method on my context | 18:57 |
tarek_ | using a bit of python : | 18:57 |
tarek_ | python:context.telIfOk() | 18:58 |
tarek_ | but this raises an error : ForbiddenAttribute | 18:58 |
tarek_ | i have added a <content> for my context class | 18:59 |
tarek_ | in the zcml, with IAttributeAnnotatable and IContentContainer implements | 18:59 |
tarek_ | but the bound method cannot be called | 18:59 |
tarek_ | i think i am missing something (notice that i am under Five, but I don't think it interfers) | 19:00 |
ignas | tarek_, is telIfOk in the Interface that is set through the content directive ? | 19:05 |
tarek_ | ignas: yes | 19:06 |
ignas | can 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/tales | 19:10 |
tarek_ | context/tellIfOk | 19:10 |
tarek_ | the error occurs on Python when it makes a __call__ on context.tellifOk() | 19:11 |
*** bska|mobile has joined #zope3-dev | 19:15 | |
*** projekt01 has quit IRC | 19:17 | |
*** tarek_ has quit IRC | 19:21 | |
*** bskahan has quit IRC | 19:22 | |
mgedmin | strange | 19:24 |
mgedmin | does it actually work if you use the tales syntax? | 19:25 |
mgedmin | tales checks whether the object you get is callable at the end | 19:25 |
mgedmin | maybe when it gets ForbiddenAttribute it decides it just isn't callable and just checks that it is not None, or something | 19:26 |
* mgedmin is grasping straws | 19:26 | |
*** fcorrea is now known as fcorrea_tired | 19:47 | |
*** srichter has joined #zope3-dev | 19:57 | |
*** ChanServ sets mode: +o srichter | 19:58 | |
*** projekt01 has joined #zope3-dev | 20:32 | |
J1m | ForbiddenAttributeError extends AttributeError | 20:44 |
J1m | An objet without __call__ is assumed to be non-callable. | 20:44 |
*** efge has left #zope3-dev | 20:59 | |
*** anguenot has quit IRC | 21:03 | |
*** ignas has quit IRC | 21:11 | |
*** mgedmin has quit IRC | 21:31 | |
*** vinsci has quit IRC | 21:33 | |
*** alga has quit IRC | 21:38 | |
*** SureshZ has quit IRC | 21:50 | |
*** vinsci has joined #zope3-dev | 22:01 | |
*** SureshZ has joined #zope3-dev | 22:03 | |
*** RaFromBRC has joined #zope3-dev | 22:08 | |
*** tvon has quit IRC | 22:22 | |
*** bska|mobile has quit IRC | 22:34 | |
*** philiKON has joined #zope3-dev | 22:54 | |
*** philiKON has quit IRC | 22:56 | |
*** SureshZ has quit IRC | 22:56 | |
*** bradb is now known as bradb|away | 23:04 | |
*** tvon has joined #zope3-dev | 23:23 | |
*** SureshZ has joined #zope3-dev | 23:23 | |
*** hazmat has joined #zope3-dev | 23:45 | |
*** Theuni has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!