IRC log of #zope3-dev for Monday, 2007-11-05

*** spython has quit IRC00:05
*** thruflo has quit IRC00:15
*** niemeyer has joined #zope3-dev00:16
*** J1m has joined #zope3-dev00:22
*** regebo|potato is now known as regebro00:22
*** norro has quit IRC00:42
*** J1m has quit IRC00:44
*** regebro has left #zope3-dev00:46
*** niemeyer has quit IRC00:54
*** timte has quit IRC01:05
*** bigkevmcd has quit IRC01:23
*** dobee has quit IRC01:25
*** harobed has quit IRC01:32
*** philiKON_ has joined #zope3-dev01:35
*** redir has joined #zope3-dev01:39
*** redir has quit IRC01:41
*** redir has joined #zope3-dev01:41
*** redir has left #zope3-dev01:49
*** philiKON has quit IRC01:51
*** stub has quit IRC01:53
*** philiKON_ is now known as philiKON02:02
*** natea_ has joined #zope3-dev02:16
*** huajie has joined #zope3-dev02:28
*** natea|boston has quit IRC02:32
*** b52laptop has quit IRC02:54
*** lisppaste6 has quit IRC03:42
*** lisppaste6 has joined #zope3-dev03:48
*** ktwilight_ has quit IRC04:49
*** gumpa has quit IRC04:55
*** salfield has quit IRC04:56
*** bung_vijay has joined #zope3-dev04:57
*** bung_vijay has quit IRC05:21
*** bung_vijay has joined #zope3-dev05:21
*** bung_vijay has quit IRC05:47
*** baijum has joined #zope3-dev06:12
*** Doc_Dan has joined #zope3-dev06:30
*** greenman has quit IRC06:37
*** [1]Doc_Dan has joined #zope3-dev06:45
*** cursor has joined #zope3-dev06:46
*** Doc_Dan has quit IRC07:02
*** [1]Doc_Dan is now known as Doc_Dan07:02
*** tarek has quit IRC07:03
*** Jell-O-Fishi has quit IRC07:29
*** rmarianski has quit IRC07:48
*** greenman has joined #zope3-dev07:56
*** Doc_Dan has quit IRC08:19
*** Doc_Dan has joined #zope3-dev08:20
*** sorindregan has joined #zope3-dev08:33
*** zagy has joined #zope3-dev08:52
*** schwendinger has joined #zope3-dev08:54
*** zagy has quit IRC08:56
*** zagy has joined #zope3-dev09:03
*** cursor has quit IRC09:13
*** ghendi has joined #zope3-dev09:19
*** sorindregan has quit IRC09:26
*** sorin has joined #zope3-dev09:28
*** sorin is now known as sorindregan09:29
*** romanofski has joined #zope3-dev09:30
*** timte has joined #zope3-dev09:41
*** chacha_chaudhry has joined #zope3-dev09:42
*** malthe has joined #zope3-dev09:46
*** quodt has joined #zope3-dev09:48
*** gstratton has joined #zope3-dev09:57
*** cursor has joined #zope3-dev10:00
*** dobee has joined #zope3-dev10:10
*** ghendi has quit IRC10:17
*** greenman has quit IRC10:19
*** greenman has joined #zope3-dev10:21
*** sorindregan has quit IRC10:22
*** sorindregan has joined #zope3-dev10:23
*** malthe has quit IRC10:25
*** jfroche has joined #zope3-dev10:26
*** goschtl has joined #zope3-dev10:28
*** ghendi has joined #zope3-dev10:32
*** huajie has quit IRC10:48
*** pelle_ has joined #zope3-dev10:50
*** harobed has joined #zope3-dev10:53
*** jodok has joined #zope3-dev10:53
*** gstratton has quit IRC10:54
*** afd__ has joined #zope3-dev10:55
*** greenman has quit IRC11:03
*** greenman has joined #zope3-dev11:04
*** jodok has quit IRC11:10
*** b52laptop has joined #zope3-dev11:35
*** MJ has joined #zope3-dev12:04
*** MJ has quit IRC12:06
*** markusleist has quit IRC12:07
*** MJ has joined #zope3-dev12:07
*** stub has joined #zope3-dev12:14
*** ignas has joined #zope3-dev12:34
*** amaron has joined #zope3-dev12:42
amaroni followed guides from phil's book about creating skin12:42
amaroni renamed BaseMacros and context\@@base_macros\page12:43
amaronwith other name in all files where its is mentioned12:43
amaronthat way i want different parts of application to have different skin12:44
amaroni've got a traversal error for that path12:44
amaroni don't understand why12:44
*** regebro has joined #zope3-dev12:47
*** stub has quit IRC12:48
*** timte has quit IRC12:51
*** tarek has joined #zope3-dev12:54
*** schwendinger has quit IRC12:57
*** stub has joined #zope3-dev13:00
amaronhow to set some view in zcml to use skin other than default?13:03
philiKONit's all explained in my book13:05
philiKONbrowser:page layer="..."13:05
*** timte has joined #zope3-dev13:06
*** markusleist has joined #zope3-dev13:08
amaronphiliKON: i allready made skin, and used it as default, as in your book13:08
amaronwhen i use browser:page layer="..." what to place there in layer? where is the layer name?13:09
amarondefined in interface for skin?13:10
philiKONthe layer is the skin interface13:11
philiKONor an interface that the skin inherits from13:11
*** salfield has joined #zope3-dev13:16
*** Ariel_Calzada has joined #zope3-dev13:20
amaroni still dont get it, skin is something what has collection of layers but layer is interface for skin13:23
philiKONno, a layer is an interface13:26
philiKONa skin is an interface, composed of the layer interfaces that it contains13:27
*** markusleist has quit IRC13:27
amaronok, when i try to add layer directive to my page, this page becomes unavailable13:29
amaronif i use ++skin++skinName/that_page13:29
*** markusleist has joined #zope3-dev13:29
amaronwithout layer directive in zcml13:29
amaronpage is available and in skin i want to use13:30
*** Ariel_Calzad1 has joined #zope3-dev13:31
*** schwendinger has joined #zope3-dev13:31
*** greenman has quit IRC13:31
*** Ariel_Calzad1 has quit IRC13:31
amaroni still cannot use that page with other skin than default, without specifying skin in url13:32
amaronwhen i put layer="....IMySkin" that page becomes unavailable13:33
timteif you want to use skins you need to apply them somehow, apache rewrite is one way, traversal events is another, not sure what other solutions there are13:35
*** rocky has joined #zope3-dev13:37
*** ignas has quit IRC13:39
amaron:/13:41
amaronis it so complicated to use one page in one skin, other page in another?13:42
amaronwhy can be used something as skin directive in zcml which apply skin for specific page?13:45
*** schwendinger has quit IRC13:47
timteyou can use browser:defaultSkin if you want the same skin for all pages13:47
amaronno, i dont want to use that13:48
amaroni want to use most of pages in one skin13:48
amaronand public pages with another13:48
amaronso, i have default skin for all pages except some13:49
amaronone way is to forget skinning mechanism13:49
amaronand do templates for them13:49
amaroni hoped that i could use that mechanism13:49
*** Ariel_Calzada has quit IRC13:50
*** markusleist has quit IRC13:52
amaroni also i dont understand why i cannot use metal:use-macro="context/@@my_macros/page" instead of standard_macros13:53
amaronif i try to solve this on template level13:53
amaronsince i defined my_macros same as standard_macros...13:54
amaroninstead of that i'm getting traversal error13:58
timteI don't really see how you want to use skins. If you want the skin to automatically apply for a page there's no need to specify it.13:58
*** jsadjohnson has joined #zope3-dev14:00
amarontimte: simply i want to have two skins14:01
amaronand some pages to use skin_one, other to use skin_two14:01
amaronwithout specifing ++skin++ in url14:02
amaronwhatever i tried to make that happen14:02
amaroni failed14:02
*** thruflo has joined #zope3-dev14:05
timtedo you want it for a certain subfolder?14:06
amaronno, i want it for specific pages14:07
amaronbut i can arrange for that pages be in separate folder14:07
amaronu think i can override skin only for that folder?14:08
amaronthat could be solution14:08
amaronbut i want to do it for specific container which can be added someplace else14:09
amaronso i want it for specific interfaces14:09
amaronnevermind, i lost my patient with this14:10
amaronim getting too nervous about doing simple things so much14:10
amaronill do it without skins14:10
timteyou can use a traveral events to apply the skin to the request for certain folders/pages, that's the only way I know how to do it14:11
*** stub has quit IRC14:18
*** thruflo has quit IRC14:25
*** pyqwer has joined #zope3-dev14:47
*** ghendi has quit IRC14:47
*** schwendinger has joined #zope3-dev14:50
*** MJ has quit IRC14:53
*** chacha_chaudhry has quit IRC14:58
*** jodok has joined #zope3-dev15:00
*** markusleist has joined #zope3-dev15:08
*** ghendi has joined #zope3-dev15:13
*** stub has joined #zope3-dev15:15
*** MJ has joined #zope3-dev15:15
*** benji has joined #zope3-dev15:17
*** projekt01 has joined #zope3-dev15:27
*** J1m has joined #zope3-dev15:30
*** MJ has quit IRC15:43
*** whit has joined #zope3-dev15:45
*** MJ has joined #zope3-dev15:48
*** afd__ has quit IRC15:50
*** philiKON has quit IRC15:50
dennis__timte how can you programmatically change the skin like that?15:53
timtealsoProvides(request, IMySkin)15:58
timtethat's a guess, never did it myself15:58
dennis__ahh16:00
dennis__so obvious :)16:00
dennis__thanks! thats actually very useful16:01
*** ignas has joined #zope3-dev16:06
*** salfield_ has joined #zope3-dev16:11
*** salfield has quit IRC16:11
amarontimte: good idea about alsoProvides16:14
*** cursor has quit IRC16:14
amaroncan it be used in __init__?16:15
*** stub has quit IRC16:15
amaronhmm, i tried with alsoProvides for request in __init__ of specific view, it doesnt work16:23
timtethat's because it doesn't create the view if it's not found for the current skin16:26
amaroni dont understand16:27
*** natea_ is now known as natea16:29
*** baijum has quit IRC16:29
*** thruflo has joined #zope3-dev16:30
*** schwendinger has quit IRC16:34
*** rocky has quit IRC16:36
*** rocky has joined #zope3-dev16:37
*** natea|boston has joined #zope3-dev16:39
srichterbenji: are you there?16:45
*** natea has quit IRC16:46
benjisrichter: I think so. ;)16:47
srichterbenji: I want to talk about the mechanize issue16:48
benjisure16:48
srichterbefore we play E-mail tag16:48
*** salfield_ is now known as salfield16:49
*** sorindregan has quit IRC16:51
*** schwendinger has joined #zope3-dev16:58
*** run|home has quit IRC17:12
*** MJ has quit IRC17:17
*** afd__ has joined #zope3-dev17:18
*** derek_richardson has joined #zope3-dev17:19
*** rcrafton has joined #zope3-dev17:20
*** cursor has joined #zope3-dev17:21
derek_richardsonzc.recipe.egg was released 2 days ago. Now, when trying to re-run a buildout that was conde before the z.r.e release, I get a VersionConflict: http://paste.plone.org/1775617:22
derek_richardsons/conde/done17:22
*** rmarianski has joined #zope3-dev17:23
*** markusleist has quit IRC17:31
*** WebMaven has joined #zope3-dev17:32
*** mgedmin has joined #zope3-dev17:33
*** nathany has joined #zope3-dev17:37
*** ghendi has quit IRC17:38
*** MJ has joined #zope3-dev17:38
*** norro has joined #zope3-dev17:58
*** salfield has quit IRC18:01
*** tarek has quit IRC18:05
*** tarek has joined #zope3-dev18:05
*** pelle_ has quit IRC18:25
*** niemeyer has joined #zope3-dev18:33
*** nathany has quit IRC18:35
*** nathany has joined #zope3-dev18:36
*** ktwilight has joined #zope3-dev18:36
*** goschtl has quit IRC18:39
*** projekt01 has quit IRC18:49
*** bigkev has joined #zope3-dev18:49
*** bigkev is now known as bigkevmcd18:50
*** ktwilight has quit IRC18:51
*** zagy has quit IRC18:52
*** ktwilight has joined #zope3-dev18:52
*** xenru has joined #zope3-dev19:05
*** zagy has joined #zope3-dev19:05
*** J1m has quit IRC19:05
*** harobed has quit IRC19:09
*** pyqwer has quit IRC19:10
*** bung_vijay has joined #zope3-dev19:13
*** dobee has quit IRC19:15
*** philiKON has joined #zope3-dev19:16
*** gstratton has joined #zope3-dev19:32
*** quodt has quit IRC19:34
*** alecm has joined #zope3-dev19:40
*** bung_vijay has quit IRC19:41
*** dobee has joined #zope3-dev19:44
*** bung_vijay has joined #zope3-dev19:47
*** thruflo has quit IRC19:51
*** jsadjohnson has quit IRC19:53
*** jsadjohnson has joined #zope3-dev19:55
*** bigkevmcd has quit IRC20:01
*** cursor has quit IRC20:07
*** pan has joined #zope3-dev20:08
*** niemeyer has quit IRC20:08
*** pan is now known as Pan]20:08
*** harobed has joined #zope3-dev20:10
*** philiKON has quit IRC20:12
*** bung_vijay has quit IRC20:13
*** ignas has quit IRC20:14
*** Pan] has quit IRC20:15
*** bung_vijay has joined #zope3-dev20:15
*** regebro has left #zope3-dev20:18
*** tarek has quit IRC20:18
*** philiKON has joined #zope3-dev20:19
*** afd__ has quit IRC20:26
*** afd__ has joined #zope3-dev20:26
*** philiKON has quit IRC20:27
*** J1m has joined #zope3-dev20:28
amaronhow to write custom index.html page?20:29
*** BjornT_ has quit IRC20:29
*** MJ has quit IRC20:29
*** BjornT has joined #zope3-dev20:29
amaroni declared page name="index.html" but default one is called20:29
mgedminwell then, for some reason your page is not used20:30
mgedminthe reason could be: different skin/layer20:30
mgedmindifferent object interface20:30
mgedmindifferent default view name (although I don't know any "standard" content objects that declare a different default view name)20:31
amaronthis page is used for any other path except root20:31
amaronsince i used for="*"20:32
amaronand class with __call__ method20:32
mgedminhmm, strange20:33
srichterfor="*" is more general than for="IFolder" for example, so the more specific ada[ter wins20:33
mgedminoh, right, of course20:33
amaronah, ok20:33
mgedmincan you actually write a single view that would really be suitable for any object?20:34
* mgedmin has doubts20:34
amaronsrichter: thanks, it worked, and i had to place it in overrides.zcml due conflict20:37
srichterright20:37
*** RaFromBRC has joined #zope3-dev20:44
*** ThomasKarlRichte has joined #zope3-dev20:44
*** bung_vijay has quit IRC20:48
*** sm has joined #zope3-dev20:50
*** bung_vijay has joined #zope3-dev20:51
*** bigkevmcd has joined #zope3-dev20:59
*** pcardune has joined #zope3-dev21:00
*** bigkev has joined #zope3-dev21:00
*** bung_vijay has quit IRC21:10
*** J1m has quit IRC21:11
*** ThomasKarlRichte has quit IRC21:11
*** ignas has joined #zope3-dev21:12
*** bigkevmcd has quit IRC21:16
*** stub has joined #zope3-dev21:17
*** niemeyer has joined #zope3-dev21:17
*** bigkevmcd has joined #zope3-dev21:18
*** afd__ has quit IRC21:20
*** ignas has quit IRC21:20
*** bigkev has quit IRC21:21
*** greenman has joined #zope3-dev21:24
*** roym` has joined #zope3-dev21:35
*** roym` has left #zope3-dev21:35
*** tomus has joined #zope3-dev21:37
*** schwendinger has quit IRC21:40
*** schwendinger has joined #zope3-dev21:41
*** schwendinger has quit IRC21:44
*** s2 has joined #zope3-dev21:44
*** sm has quit IRC21:44
*** s2 is now known as sm21:44
*** stu1 has joined #zope3-dev21:51
*** xenru has quit IRC21:52
*** niemeyer has quit IRC21:55
*** bigkev has joined #zope3-dev21:55
*** niemeyer has joined #zope3-dev21:55
*** bigkevmcd has quit IRC21:55
*** mgedmin has quit IRC21:55
*** J1m has joined #zope3-dev21:57
*** J1m has joined #zope3-dev22:02
*** stub has quit IRC22:03
*** sm has quit IRC22:05
*** timte_ has joined #zope3-dev22:07
*** rocky has quit IRC22:08
*** timte has quit IRC22:08
*** jodok has quit IRC22:12
*** tarek has joined #zope3-dev22:15
*** TresEquis has joined #zope3-dev22:17
*** xenru has joined #zope3-dev22:20
*** jsadjohnson has quit IRC22:21
*** jsadjohnson has joined #zope3-dev22:21
*** malthe has joined #zope3-dev22:25
*** tarek has quit IRC22:26
*** sm has joined #zope3-dev22:32
*** jodok has joined #zope3-dev22:33
*** pelle__ has joined #zope3-dev22:35
*** amaron has quit IRC22:36
*** pelle__ has quit IRC22:38
*** tarek has joined #zope3-dev22:39
*** tarek has quit IRC22:40
*** markusleist has joined #zope3-dev22:43
*** tarek has joined #zope3-dev22:49
*** greenman has quit IRC22:50
*** jodok has quit IRC22:50
*** stu1 has quit IRC22:52
*** pcardune has quit IRC22:57
*** zagy has quit IRC22:58
*** malthe has quit IRC23:01
*** malthe has joined #zope3-dev23:01
*** natea|boston has quit IRC23:30
*** jodok has joined #zope3-dev23:45
*** zenwryly` has joined #zope3-dev23:49
*** natea|boston has joined #zope3-dev23:55
*** projekt01 has joined #zope3-dev23:58
*** niemeyer has quit IRC23:59

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