IRC log of #zope3-dev for Thursday, 2008-02-28

*** pelle_ has quit IRC00:01
*** danielblackburn has quit IRC00:03
*** danielblackburn has joined #zope3-dev00:04
*** redir has joined #zope3-dev00:11
*** RaFromBRC is now known as RaFromBRC|lunch00:13
*** danielblackburn has quit IRC00:21
*** danielblackburn has joined #zope3-dev00:22
*** b52laptop has joined #zope3-dev00:24
*** acsr has quit IRC00:33
*** acsr has joined #zope3-dev00:35
*** benji has quit IRC00:35
*** thruflo has quit IRC00:37
*** danielblackburn has quit IRC00:39
*** benji has joined #zope3-dev00:44
*** dobee has joined #zope3-dev00:44
*** alga has quit IRC00:47
*** danielblackburn has joined #zope3-dev00:51
*** hexsprite has quit IRC00:51
*** redir has quit IRC00:54
*** timte has joined #zope3-dev00:59
*** whit has joined #zope3-dev01:00
*** sp0cksbeard has quit IRC01:02
*** regebro has quit IRC01:02
*** danielblackburn has quit IRC01:09
*** danielblackburn has joined #zope3-dev01:16
*** timte has quit IRC01:17
*** RaFromBRC|lunch is now known as RaFromBRC01:30
*** lucielejard has quit IRC01:36
*** whit has quit IRC01:37
*** danielblackburn has quit IRC01:44
*** dobee has quit IRC01:44
*** rmarianski has quit IRC02:01
*** b52laptop has quit IRC02:07
*** norro has quit IRC02:16
*** salfield has quit IRC02:19
*** jodok has joined #zope3-dev02:23
*** danielblackburn has joined #zope3-dev02:24
*** supton has joined #zope3-dev02:32
*** whit has joined #zope3-dev02:36
*** whit has quit IRC02:40
*** greenman has joined #zope3-dev02:41
*** kev_ has quit IRC02:41
*** jodok has quit IRC02:53
*** pbugni has quit IRC03:00
*** J1m has quit IRC03:08
*** benji has quit IRC03:09
*** srichter has quit IRC03:09
*** hexsprite has joined #zope3-dev03:14
*** stub has joined #zope3-dev03:34
*** supton has quit IRC03:43
*** rcrafton has quit IRC03:48
*** danielblackburn has quit IRC03:49
*** mcdonc has quit IRC04:26
*** rcrafton has joined #zope3-dev04:31
*** mcdonc has joined #zope3-dev04:37
*** whitmo has joined #zope3-dev04:40
*** alecm has quit IRC05:17
*** greenman has quit IRC05:19
*** niemeyer has quit IRC05:25
*** pbugni has joined #zope3-dev05:34
*** pbugni has quit IRC05:44
*** whitmo has quit IRC06:20
*** whit has joined #zope3-dev06:21
*** redir has joined #zope3-dev06:43
*** jayaraj has joined #zope3-dev06:58
*** RaFromBRC has quit IRC07:16
*** mcdonc has quit IRC07:18
*** mcdonc has joined #zope3-dev07:19
*** rcrafton has quit IRC07:30
*** mcdonc_ has joined #zope3-dev07:34
*** kursor has joined #zope3-dev07:38
*** mcdonc has quit IRC07:41
*** d2m has joined #zope3-dev07:50
*** redir has quit IRC07:53
*** menesis has joined #zope3-dev07:53
*** alecm has joined #zope3-dev08:00
*** redir has joined #zope3-dev08:01
*** philiKON has joined #zope3-dev08:08
*** philiKON_ has quit IRC08:25
*** redir has quit IRC08:25
*** timte has joined #zope3-dev08:30
*** kursor has quit IRC08:30
*** jukart has joined #zope3-dev08:34
*** jukart has quit IRC08:35
*** jukart has joined #zope3-dev08:37
*** greenman has joined #zope3-dev08:39
*** hdima has joined #zope3-dev08:44
*** stub has quit IRC08:48
*** zagy has quit IRC09:00
*** sorindregan has quit IRC09:06
*** sorin has joined #zope3-dev09:09
*** sorin is now known as sorindregan09:09
*** zagy has joined #zope3-dev09:13
*** ghendi has joined #zope3-dev09:22
*** mcdonc_ has quit IRC09:24
*** mcdonc has joined #zope3-dev09:25
*** quodt has joined #zope3-dev09:28
*** dobee has joined #zope3-dev09:30
*** quodt has quit IRC09:30
*** philiKON has quit IRC09:33
*** projekt01 has joined #zope3-dev09:43
*** afd_ has joined #zope3-dev09:44
*** sashav has joined #zope3-dev09:50
*** quodt has joined #zope3-dev09:50
*** malthe has quit IRC09:53
*** agroszer has joined #zope3-dev10:00
*** afd_ has quit IRC10:08
*** ghendi has quit IRC10:08
*** sorindregan has quit IRC10:08
*** derek|office has quit IRC10:08
*** fcorrea has quit IRC10:08
*** bigkevmcd has quit IRC10:08
*** jfroche has quit IRC10:08
*** SteveA has quit IRC10:08
*** afd_ has joined #zope3-dev10:08
*** ghendi has joined #zope3-dev10:08
*** sorindregan has joined #zope3-dev10:08
*** fcorrea has joined #zope3-dev10:08
*** bigkevmcd has joined #zope3-dev10:08
*** jfroche has joined #zope3-dev10:08
*** derek|office has joined #zope3-dev10:08
*** SteveA has joined #zope3-dev10:08
*** kursor has joined #zope3-dev10:10
*** menesi1 has joined #zope3-dev10:11
*** menesis has quit IRC10:11
*** menesi1 is now known as menesis10:11
*** goschtl has joined #zope3-dev10:20
*** harobed has joined #zope3-dev10:25
*** alecm has quit IRC10:26
*** toutpt has joined #zope3-dev10:26
*** aCiDBaSe has quit IRC10:28
*** malthe has joined #zope3-dev10:32
*** jodok has joined #zope3-dev10:33
*** aCiDBaSe has joined #zope3-dev10:46
*** pelle_ has joined #zope3-dev10:49
*** stub has joined #zope3-dev10:54
*** dunny has quit IRC10:56
*** jodok has quit IRC11:01
*** menesi1 has joined #zope3-dev11:12
*** menesis has quit IRC11:12
*** menesi1 is now known as menesis11:12
*** zagy has quit IRC11:15
*** zagy has joined #zope3-dev11:23
*** norro has joined #zope3-dev11:24
*** MJ has joined #zope3-dev11:26
*** MJ has quit IRC11:29
*** MJ has joined #zope3-dev11:29
*** mcdonc has quit IRC11:32
*** mcdonc has joined #zope3-dev11:32
*** mcdonc has joined #zope3-dev11:33
*** menesis has quit IRC11:37
*** greenman has quit IRC11:37
*** _basti_ has quit IRC11:37
*** menesis has joined #zope3-dev11:37
*** greenman has joined #zope3-dev11:37
*** _basti_ has joined #zope3-dev11:37
*** menesi1 has joined #zope3-dev11:39
*** menesis has quit IRC11:39
*** menesi1 is now known as menesis11:39
*** maurits has joined #zope3-dev11:45
*** menesi1 has joined #zope3-dev12:08
*** menesis has quit IRC12:08
*** menesi1 is now known as menesis12:09
*** mkerrin has joined #zope3-dev12:31
*** yvl has joined #zope3-dev12:44
*** b52laptop has joined #zope3-dev13:14
*** malthe is now known as malthe|lunch13:14
*** reco is now known as reco|out13:16
*** reco|out is now known as reco|bordel13:16
*** acsr has quit IRC13:20
*** bigkevmcd has quit IRC13:23
*** bigkevmcd has joined #zope3-dev13:24
*** greenman has quit IRC13:24
*** stub has quit IRC13:31
*** greenman has joined #zope3-dev13:38
*** greenman has quit IRC13:39
*** mcdonc has quit IRC13:40
*** rocky has joined #zope3-dev13:40
*** mcdonc has joined #zope3-dev13:40
*** __shon has joined #zope3-dev13:47
*** malthe|lunch is now known as malthe13:47
*** __shon has quit IRC13:51
*** salfield has joined #zope3-dev13:58
*** chrisR has joined #zope3-dev13:59
chrisRHello Zope3 people.14:00
chrisREverybody is at lunch?14:02
*** harobed has quit IRC14:04
*** yvl has left #zope3-dev14:05
chrisRIs this the right channel for questions about Zope3 usage, or is there another channel that is better?14:06
afd_chrisR: this is the right channel. Ask a question and you'll get answer (most people here probably don't have much time for idle chat)14:07
*** niemeyer has joined #zope3-dev14:12
chrisRafd_: thanks.14:14
*** goschtl has quit IRC14:15
chrisRi have a method of a view class which handles a form submission.14:16
chrisRI cannot seem to get a pattern of code correct to call and populate a page template as a response14:17
afd_chrisR: use zope.formlib for that14:17
afd_or the newer z3c.form package14:17
*** regebro has joined #zope3-dev14:18
*** afd_ has quit IRC14:19
chrisRI'm interested in learning what Zope3 is doing, from first principles as it where. What for example is __call__ and is it needed14:19
chrisRso method receives parameters from requests, does some stuff, and then I want to be able to return a rendered page template. What is the magic incantation?14:21
chrisRViewPageTemplateFile.render() or what?14:21
chrisRIn the zcml I have class and attribute stanzas so the method is being called correctly. I just need an example of how to render the result.14:24
*** toutpt has quit IRC14:30
bigkevmcdchrisR: you can call it straight up14:30
chrisRbigkevmcd: tried that, but got some error. I'll reproduce now ...14:34
*** ignas has joined #zope3-dev14:36
chrisRAttributeError: 'str' object has no attribute 'other'14:37
*** b52laptop has quit IRC14:43
*** b52laptop has joined #zope3-dev14:43
chrisRI create a ViewPageTemplateFile object from a .pt file on the filesystem.14:46
chrisRIf i return that object I just get <zope2pagetempatefile at >14:47
bigkevmcdtry calling the object14:47
bigkevmcdi.e. x = ViewPageTemplateFile("....") and then x()14:47
chrisRIf I call it, i get the attribute error above.14:47
bigkevmcdcan you pastebin the rest of the traceback?14:48
chrisRBefore I take up any more time here, I should say that I am in Plone3, not pure Zope3, but nevertheless, the principles should still hold.14:49
*** kursor has quit IRC14:51
*** rcrafton has joined #zope3-dev14:59
*** goschtl has joined #zope3-dev15:10
*** menesi1 has joined #zope3-dev15:10
*** menesis has quit IRC15:10
*** menesi1 is now known as menesis15:10
*** goschtl has quit IRC15:14
*** benji has joined #zope3-dev15:16
*** redir has joined #zope3-dev15:16
*** menesi1 has joined #zope3-dev15:17
*** menesis has quit IRC15:17
*** menesi1 is now known as menesis15:17
*** harobed has joined #zope3-dev15:19
*** toutpt has joined #zope3-dev15:24
*** chrisR has quit IRC15:24
*** reco|bordel is now known as reco15:28
*** lucielejard has joined #zope3-dev15:35
*** mcdonc has quit IRC15:36
*** goschtl has joined #zope3-dev15:36
*** tflorac has joined #zope3-dev15:39
*** alga has joined #zope3-dev15:49
*** reco_ has joined #zope3-dev15:51
*** reco has quit IRC15:52
*** d2m has quit IRC15:59
*** jodok has joined #zope3-dev16:02
regebroI forgot how to get the Zope3 online class viewer thingy....16:06
agroszerhttp://apidoc.zope.org/++apidoc++/16:10
agroszerregebro^^16:10
regebroAh, right thanks!16:10
agroszerwelcome16:10
*** afd_ has joined #zope3-dev16:11
*** redir has quit IRC16:12
*** b52laptop has quit IRC16:17
*** b52laptop has joined #zope3-dev16:17
*** danielblackburn has joined #zope3-dev16:19
*** J1m has joined #zope3-dev16:19
*** sm has quit IRC16:20
*** afd__ has joined #zope3-dev16:20
*** d2m has joined #zope3-dev16:20
*** philiKON has joined #zope3-dev16:29
*** reco has joined #zope3-dev16:30
*** reco_ has quit IRC16:30
*** afd_ has quit IRC16:31
*** reco has quit IRC16:32
*** reco has joined #zope3-dev16:32
*** thruflo has joined #zope3-dev16:39
*** thruflo has quit IRC16:45
*** reco has quit IRC16:45
*** thruflo has joined #zope3-dev16:45
*** natea has quit IRC16:46
*** reco has joined #zope3-dev16:46
*** reco has quit IRC16:46
*** mrevoir has joined #zope3-dev16:47
*** mrevoir has quit IRC16:47
*** mrevoir has joined #zope3-dev16:47
*** toutpt has quit IRC16:47
*** reco has joined #zope3-dev16:48
*** toutpt has joined #zope3-dev16:48
*** reco_ has joined #zope3-dev16:50
*** whitmo has joined #zope3-dev16:53
*** jayaraj has quit IRC16:53
*** hdima has quit IRC16:55
*** ghendi has quit IRC17:05
*** MJ has quit IRC17:05
*** reco has quit IRC17:08
*** nathany_ has joined #zope3-dev17:08
*** b52laptop has quit IRC17:11
*** reco has joined #zope3-dev17:11
*** b52laptop has joined #zope3-dev17:11
*** whit has quit IRC17:12
*** baijum has joined #zope3-dev17:13
baijumCan I get abousule URL from zope.viewlet.viewlet.CSSViewlet  ? now it is getting /@@/file.css I want to get /++resource++/file.css , any pointer ?17:17
afd__baijum: zope.traversing.namespace.resource17:19
*** danielblackburn has quit IRC17:23
*** danielblackburn has joined #zope3-dev17:23
*** philiKON has quit IRC17:23
baijumafd__, thanks ! I will look into that17:24
afd__baijum: as far as I know, you'll not get much out of changing to ++resource++17:24
*** danielblackburn has quit IRC17:25
afd__may I ask what's the reason that you want to traverse using ++resource++?17:25
baijumafd__, it is not working with virtual hosting (http://wiki.zope.org/zope3/VirtualHosting)17:26
baijumFrom the above page: "Global resources should prepend request.getApplicationURL instead of hardcoding their location as /@@/resourcename."17:26
*** reco_ has quit IRC17:27
afd__baijum: is your container registered as a site?17:27
baijumafd__, yes17:27
afd__ok17:27
baijumsorry, my application container is not17:27
afd__you should register it17:27
baijumah. ok, I will try17:28
afd__I think (at least from my experience from a year ago), that solves it17:28
*** reco has quit IRC17:33
*** redir has joined #zope3-dev17:33
baijumafd__, thanks17:35
afd__problem solved?17:35
baijumnot yet17:35
afd__ok17:35
baijumbecause I create a skin from scratch, so I cann't use that addSiteManager.html (Rotterdam)..17:36
baijumso how can I set a site through code17:36
afd__my_app = MyApp()17:37
afd__context['xx'] = my_app17:37
afd__zope.component.hooks.setSite(my_app)17:37
afd__sorry17:37
afd__zope.app.component.hooks17:38
*** rmarianski has joined #zope3-dev17:38
afd__baijum: if you create a skin from scratch, don't forget to inherit a basic layer17:39
afd__there are some minimal layers around17:39
afd__z3c.layer.minimal17:39
afd__and even pagelet based17:39
*** whitmo is now known as whit17:39
baijumoh. I will do it ..17:40
*** menesis has quit IRC17:44
*** benji has quit IRC17:45
*** benji has joined #zope3-dev17:46
*** menesis has joined #zope3-dev17:49
*** danielblackburn has joined #zope3-dev17:52
baijumafd__, setSite worked...thank you very much, I will look into z3c.layer.minimal now17:52
*** malthe has quit IRC17:57
*** jpcw2002 has joined #zope3-dev17:57
*** nathany_ is now known as nathany17:58
*** alecm has joined #zope3-dev18:00
*** dobee has quit IRC18:01
*** baijum has quit IRC18:02
*** sorindregan has quit IRC18:03
*** alecm has quit IRC18:03
*** b52laptop has quit IRC18:03
*** b52laptop has joined #zope3-dev18:04
*** redir_ has joined #zope3-dev18:16
*** redir_ has quit IRC18:17
*** lisppaste6 has quit IRC18:19
*** redir has quit IRC18:22
*** romanofski has quit IRC18:23
*** b52laptop has quit IRC18:23
*** projekt01 has quit IRC18:28
*** lisppaste6 has joined #zope3-dev18:29
*** pelle_ has quit IRC18:30
*** srichter has joined #zope3-dev18:33
*** jodok has quit IRC18:35
*** ChanServ sets mode: +o srichter18:38
*** dobee has joined #zope3-dev18:43
*** tflorac has quit IRC18:55
*** tflorac has joined #zope3-dev18:58
*** dobee has quit IRC18:59
*** alecm has joined #zope3-dev19:00
*** danielblackburn has quit IRC19:05
*** harobed has quit IRC19:14
*** afd__ has quit IRC19:18
*** pbugni has joined #zope3-dev19:26
*** maurits has quit IRC19:28
*** stub has joined #zope3-dev19:35
*** toutpt has quit IRC19:37
*** mgedmin has joined #zope3-dev19:38
*** quodt has quit IRC19:39
*** tflorac has left #zope3-dev19:39
*** danielblackburn has joined #zope3-dev19:46
*** norro_ has joined #zope3-dev19:51
*** sp0cksbeard has joined #zope3-dev19:57
*** redir has joined #zope3-dev20:04
*** J1m has quit IRC20:09
*** J1m has joined #zope3-dev20:18
*** fcorrea has left #zope3-dev20:22
*** gary_poster has joined #zope3-dev20:26
gary_postersrichter: I have been summoned. :-)  whassup.20:26
* benji puts away his summoning equipment.20:27
srichterbenji: thanks20:29
*** J1m has quit IRC20:29
*** RaFromBRC has joined #zope3-dev20:30
*** baijum has joined #zope3-dev20:31
*** J1m has joined #zope3-dev20:33
*** benji has quit IRC20:33
*** thruflo has left #zope3-dev20:34
* baijum solved his resource URL and Apache virtual-hosting issue (I asked about it few hour back here) using an additional rewrite rule20:35
* baijum RewriteRule /(.*) /myapp/$120:36
baijum  RewriteRule ^/myapp(/?.*) http://localhost:8080/myapp/++vh++http:example.com:80/++/$1 [P,L]20:36
baijum(In this can 'myapp' need not be a ISite for resource URL working)20:37
baijums/can/case20:37
*** redir has quit IRC20:40
*** greenman has joined #zope3-dev20:41
mgedminbaijum: that rule will also match /myapplet and redirect it to /let20:41
mgedminI eventually settled on RewriteRule ^/prefix(/.*)?$ http://...++vh++lalalalala/++$1 [P,L]20:42
baijummgedmin, oh...20:42
*** stub is now known as stub-bedtime20:42
*** danielblackburn has quit IRC20:42
baijummgedmin, thanks, I will try that20:43
*** benji has joined #zope3-dev20:44
*** philiKON has joined #zope3-dev20:45
*** gary_poster has quit IRC20:45
*** jukart has quit IRC20:51
*** sm has joined #zope3-dev20:56
*** ignas has quit IRC20:56
*** danielblackburn has joined #zope3-dev20:56
*** agroszer has quit IRC20:58
*** redir has joined #zope3-dev21:00
*** danielblackburn has quit IRC21:04
*** stub-bedtime has quit IRC21:06
*** mkerrin has quit IRC21:08
*** dunny has joined #zope3-dev21:10
*** baijum has quit IRC21:12
*** kursor has joined #zope3-dev21:12
*** tarek has quit IRC21:16
*** redir has quit IRC21:19
*** philiKON has quit IRC21:26
*** pelle_ has joined #zope3-dev21:27
*** rocky has quit IRC21:32
*** whit is now known as whit|out21:34
*** tarek has joined #zope3-dev21:37
*** whit|out has quit IRC21:39
*** dobee has joined #zope3-dev21:41
*** jpcw2002 has left #zope3-dev21:49
*** danielblackburn has joined #zope3-dev21:55
*** kursor has quit IRC22:02
*** redir has joined #zope3-dev22:15
*** alga has quit IRC22:19
*** mgedmin has quit IRC22:21
*** salfield has quit IRC22:23
*** danielblackburn has quit IRC22:23
*** mcdonc has joined #zope3-dev22:23
*** redir_ has joined #zope3-dev22:32
*** redir has quit IRC22:32
*** menesis has quit IRC22:34
*** johbo has joined #zope3-dev22:34
*** philiKON has joined #zope3-dev22:40
*** mcdonc has quit IRC22:42
*** mcdonc has joined #zope3-dev22:58
*** d2m has quit IRC22:59
*** greenman has quit IRC23:18
*** dobee has quit IRC23:29
*** Theuni has quit IRC23:30
*** Theuni has joined #zope3-dev23:35
*** whit has joined #zope3-dev23:39
*** dobee has joined #zope3-dev23:48
*** mcdonc has quit IRC23:53
*** regebro has quit IRC23:54
*** mcdonc has joined #zope3-dev23:54
*** philiKON has quit IRC23:57
*** reco has joined #zope3-dev23:57

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