IRC log of #zope3-dev for Saturday, 2007-01-27

*** niemeyer has quit IRC00:09
*** Tonteria_ has quit IRC00:18
*** jodok has quit IRC00:26
*** jkakar has joined #zope3-dev00:32
*** ofer has joined #zope3-dev00:35
*** tonico is now known as tonico|away00:40
*** J1m has quit IRC00:46
*** ccomb has joined #zope3-dev00:56
*** projekt01 has joined #zope3-dev00:56
*** d2m has quit IRC01:02
*** benji has quit IRC01:03
*** rocky is now known as rocky|Zzz01:25
*** yota has quit IRC01:27
*** norro has quit IRC01:29
*** deo has quit IRC01:37
*** rmarianski has quit IRC01:46
*** jinty has quit IRC01:59
*** ofer has quit IRC02:15
*** tarek has joined #zope3-dev02:51
*** wrobel has quit IRC03:16
*** projekt01 has quit IRC03:18
*** ccomb has quit IRC04:59
*** whit has quit IRC05:30
*** jkakar has quit IRC05:46
*** b_52GM has quit IRC05:49
*** whit has joined #zope3-dev05:51
*** RaFromBRC has quit IRC05:58
*** b_52GM has joined #zope3-dev06:07
*** b_52Free has joined #zope3-dev06:12
*** b_52GM has quit IRC06:29
*** whit has quit IRC06:33
*** b_52GM has joined #zope3-dev06:47
*** b_52Free has quit IRC07:04
*** replaceafill has joined #zope3-dev08:56
*** b_52GM has quit IRC09:17
*** b_52GM has joined #zope3-dev09:17
*** b_52Free has joined #zope3-dev09:32
*** replaceafill has quit IRC09:33
*** b_52GM has quit IRC09:50
*** d2m has joined #zope3-dev10:07
*** alecm has quit IRC10:37
*** jodok has joined #zope3-dev10:39
*** philiKON_ has joined #zope3-dev11:14
*** pelle_ has joined #zope3-dev11:19
*** dunny has quit IRC11:27
*** jinty has joined #zope3-dev11:33
*** philiKON_ has quit IRC11:48
*** jkakar has joined #zope3-dev12:01
*** jodok has quit IRC12:08
*** jodok has joined #zope3-dev12:23
*** jodok has quit IRC12:27
*** yota has joined #zope3-dev13:05
*** jkakar has quit IRC13:47
*** yvl has joined #zope3-dev13:51
*** oferw has joined #zope3-dev13:58
*** jodok has joined #zope3-dev14:42
*** jodok has quit IRC14:48
*** dobee has joined #zope3-dev15:18
*** pelle_ has quit IRC15:26
*** Aiste has quit IRC15:45
*** nouri has quit IRC15:45
*** nouri has joined #zope3-dev15:47
*** Aiste has joined #zope3-dev15:47
*** natea has joined #zope3-dev15:48
*** oferw has quit IRC15:50
*** natea has quit IRC15:58
*** jodok has joined #zope3-dev16:05
*** natea has joined #zope3-dev16:12
*** dobee has quit IRC16:56
*** jodok is now known as jodok|snow17:02
*** pelle_ has joined #zope3-dev17:37
*** oferw has joined #zope3-dev17:53
*** pelle_ has quit IRC18:05
*** projekt01 has joined #zope3-dev18:23
*** dobee has joined #zope3-dev18:23
*** rocky|Zzz is now known as rocky|away18:31
*** natea has quit IRC18:37
*** redir has joined #zope3-dev18:44
*** natea has joined #zope3-dev18:51
*** natea_ has joined #zope3-dev19:14
*** natea has quit IRC19:14
*** natea_ has quit IRC19:16
*** projekt01 has quit IRC19:25
*** yvl has quit IRC19:35
*** pelle_ has joined #zope3-dev19:44
*** natea has joined #zope3-dev19:46
*** oferw has quit IRC19:48
*** natea has quit IRC19:50
*** jfroche has joined #zope3-dev20:39
*** jfroche has quit IRC21:02
*** tomus has joined #zope3-dev21:30
*** dunny has joined #zope3-dev21:38
*** jinty has quit IRC21:43
*** J1m has joined #zope3-dev21:52
*** philiKON_ has joined #zope3-dev21:58
*** philiKON_ is now known as philiKON21:59
*** oferw has joined #zope3-dev22:03
*** schwendinger has joined #zope3-dev22:11
WebMavenIf I want to display information from contained subobjects, sub-subobjects, and so on for a container, is the right way to do this to add a method to a view class that digs into items() repeatedly?22:13
*** natea has joined #zope3-dev22:20
*** natea_ has joined #zope3-dev22:21
WebMavenThat approach works (so far) but it seemed a bit crude. Any suggestions for alternatives?22:25
WebMavenAnother question: I have a class that implements IContainer, and subclasses (indirectly) Container, but I don't want it to provide the @@container.html view. What do I do?22:31
*** schwendinger has quit IRC22:33
*** schwendinger has joined #zope3-dev22:36
*** dunny has quit IRC22:40
*** natea has quit IRC22:40
J1mYou can register an adapter factory that returns None.22:44
J1mViews are just adapters.22:44
WebMavenAh, and that will override the view... Cool.22:44
J1mIf an adapter factory returns None, the CA behaves as if the factory wasn't found in the first place.22:44
WebMavenso, lets see. the factory needs to adapt my *specific* Interface, and provide... Hmm.22:47
WebMaventrolling through the source, I don't see where the content.html view is hooked in.22:48
WebMavenI see find and commontasks22:48
WebMavenshould I just assume it is named 'contents.html'?22:48
WebMavenor is it the name of the class ('Contents')?22:53
WebMavenniether seesm right.22:53
J1mit's name matches the url22:53
J1mso if the url is @@container.html, then the view name is container.html.22:54
J1mYou said container above.22:54
WebMavenSorry, mistyped.22:55
*** timte has joined #zope3-dev22:55
WebMavenit is @@contents.html22:55
WebMavenSo, create a Browser view, and then use zcml to register it for contents.html22:56
*** opetznick has joined #zope3-dev23:11
*** J1m has left #zope3-dev23:23
WebMavenIt's not working.23:28
WebMavenI suspect I am not providing the correct Interface.23:29
WebMavenThis is the ZCML I am using to declare the adapter:23:29
WebMaven  <adapter23:29
WebMaven    factory=".course.contentsViewFactory"23:29
WebMaven    for=""23:29
WebMaven    provides=""23:29
WebMaven    name="contents.html"23:29
WebMaven    permission="zope.View" />23:29
*** redir has quit IRC23:30
WebMavenIt *looks* right...23:33
*** jodok|snow has quit IRC23:40
WebMavenI tried this one too, still no go:23:43
WebMaven  <adapter23:44
WebMaven    factory=".course.contentsViewFactory"23:44
WebMaven    for=""23:44
WebMaven    provides=""23:44
WebMaven    name="contents.html"23:44
WebMaven    permission="zope.View" />23:44
WebMavenActually, I think I have now tried every reasonable guess I could, IItemContainer, IReadContainer, etc.23:49
WebMavenNone of them seems to have any effect.23:49
WebMavensomehow, the 'contents.html' view is always adapted.23:50
*** oferw has quit IRC23:54

Generated by 2.15.1 by Marius Gedminas - find it at!