IRC log of #zope3-dev for Thursday, 2008-05-22

*** gumpa has quit IRC00:00
*** aclark|away is now known as aclark00:01
*** harobed_ has quit IRC00:03
*** reco has joined #zope3-dev00:04
*** projekt01 has joined #zope3-dev00:07
*** sp0cksbeard has quit IRC00:08
*** regebro has quit IRC00:38
*** RoboHak has joined #zope3-dev00:43
*** RaFromBRC is now known as RaFromBRC|lunch00:45
RoboHakI am having a problem with custom widgets, if I set custom_widget to SourceSelectWidget from zope.app.form.browser.source it gives me an error, but that seems to be the widget it normally uses00:50
projekt01you can't set a sequence widget directly in a form, you will need a hook adapting the 2 arguments and call the widget with 3 arguments00:52
*** benji has quit IRC00:53
projekt01RoboHak, take a look at choice widgets, at the top of the zope.app.form.browser.? module there is some base class for this dispatching00:53
RoboHakok, thanks00:54
*** J1m has joined #zope3-dev01:00
*** ChanServ sets mode: +o srichter01:10
*** RaFromBRC|lunch is now known as RaFromBRC01:23
*** lucielejard has quit IRC01:33
RoboHakthat was a lot easier than I expected01:36
*** lisppaste6 has quit IRC01:39
*** harobed_ has joined #zope3-dev01:46
*** jamur2 has quit IRC01:48
*** rmarianski has quit IRC01:50
*** lisppaste6 has joined #zope3-dev01:51
*** lurkymclurkleton has quit IRC01:59
*** yota has quit IRC02:03
*** lisppaste6 has quit IRC02:03
*** J1m has quit IRC02:03
*** dunny has quit IRC02:03
*** norro has quit IRC02:03
*** tarek has quit IRC02:03
*** sm has quit IRC02:03
*** instantf1o has quit IRC02:03
*** cbcunc has quit IRC02:03
*** tlotze has quit IRC02:03
*** norro has joined #zope3-dev02:04
*** lisppaste6 has joined #zope3-dev02:05
*** J1m has joined #zope3-dev02:05
*** dunny has joined #zope3-dev02:05
*** cbcunc has joined #zope3-dev02:05
*** tarek has joined #zope3-dev02:05
*** sm has joined #zope3-dev02:05
*** instantf1o has joined #zope3-dev02:05
*** tlotze has joined #zope3-dev02:05
*** J1m has quit IRC02:10
*** tlotze_ has joined #zope3-dev02:11
*** sm has quit IRC02:13
*** rcrafton has quit IRC02:19
*** tlotze has quit IRC02:19
*** harobed_ has quit IRC02:21
*** greenman has joined #zope3-dev02:25
*** instantf1o has quit IRC02:30
*** dunny has quit IRC02:30
*** tarek has quit IRC02:30
*** cbcunc has quit IRC02:30
*** lisppaste6 has quit IRC02:30
*** instantfoo has joined #zope3-dev02:33
*** lisppaste6 has joined #zope3-dev02:35
*** dunny has joined #zope3-dev02:35
*** cbcunc has joined #zope3-dev02:35
*** tarek has joined #zope3-dev02:35
*** malthe is now known as malthe|Zzz02:36
*** dunny has quit IRC02:39
*** dunny has joined #zope3-dev02:40
*** lisppaste6 has quit IRC02:44
*** philiKON has quit IRC02:45
*** norro has quit IRC03:01
*** salfield has quit IRC03:01
*** RoboHak has quit IRC03:16
*** b52laptop has quit IRC03:22
*** tarek has quit IRC03:38
*** aclark is now known as aclark|away04:14
*** cbcunc has quit IRC04:27
*** cbcunc has joined #zope3-dev04:34
*** RaFromBRC has quit IRC05:00
*** niemeyer has quit IRC05:26
*** alecm has quit IRC05:48
*** tlotze_ has quit IRC06:04
*** whit has quit IRC06:04
*** zagy has quit IRC06:04
*** acsr has quit IRC06:04
*** acsr has joined #zope3-dev06:05
*** zagy has joined #zope3-dev06:05
*** tlotze_ has joined #zope3-dev06:05
*** tlotze_ has quit IRC06:07
*** acsr has quit IRC06:07
*** zagy has quit IRC06:07
*** acsr has joined #zope3-dev06:11
*** reco_ has joined #zope3-dev06:35
*** reco has quit IRC06:51
*** binseer has joined #zope3-dev06:51
*** cbcunc is now known as __cbcunc__07:06
*** vimes656 has joined #zope3-dev07:11
*** djohnson_ has joined #zope3-dev07:11
*** alecm has joined #zope3-dev07:13
*** reco_ has quit IRC07:25
*** tlotze_ has joined #zope3-dev07:28
*** zagy has joined #zope3-dev07:28
*** djohnson has quit IRC07:28
*** kursor has joined #zope3-dev07:32
*** jayaraj has joined #zope3-dev07:40
*** zope has joined #zope3-dev07:42
*** zope has quit IRC07:48
*** baijum has joined #zope3-dev07:49
*** zagy has quit IRC07:53
*** tlotze_ has quit IRC07:53
*** tlotze_ has joined #zope3-dev07:53
*** zagy has joined #zope3-dev07:53
*** stub has joined #zope3-dev07:53
*** projekt01 has quit IRC08:06
*** kursor_ has joined #zope3-dev08:14
*** kursor has quit IRC08:15
*** timte has joined #zope3-dev08:18
*** timte has joined #zope3-dev08:18
*** charith_para has joined #zope3-dev08:37
*** zagy has quit IRC08:58
*** tlotze_ has quit IRC08:58
*** tlotze_ has joined #zope3-dev08:58
*** zagy has joined #zope3-dev08:58
*** __mac__ has joined #zope3-dev09:08
*** sorindregan has joined #zope3-dev09:09
*** jpcw2002 has left #zope3-dev09:25
*** afd_ has joined #zope3-dev09:28
*** greenman has quit IRC09:32
*** quodt has joined #zope3-dev09:33
*** __mac__ has quit IRC09:39
*** philiKON has joined #zope3-dev09:41
*** alecm has quit IRC09:44
*** alga has joined #zope3-dev09:58
*** mgedmin has joined #zope3-dev09:59
*** philiKON has quit IRC10:01
*** afd_ has quit IRC10:01
*** jukart has joined #zope3-dev10:02
*** agroszer has joined #zope3-dev10:04
*** jhauser has joined #zope3-dev10:05
*** jpcw2002 has joined #zope3-dev10:05
*** yvl_ has joined #zope3-dev10:11
*** yvl_ has quit IRC10:15
*** norro has joined #zope3-dev10:20
*** jpcw2002 has quit IRC10:23
*** jpcw2002 has joined #zope3-dev10:24
*** MJ has joined #zope3-dev10:37
*** quodt has quit IRC10:44
*** mgedmin has quit IRC10:44
*** pyqwer has joined #zope3-dev10:54
*** harobed_ has joined #zope3-dev10:59
*** malthe|Zzz is now known as malthe11:07
*** febb has joined #zope3-dev11:10
*** thruflo has joined #zope3-dev11:25
*** harobed_ has quit IRC11:26
*** harobed has joined #zope3-dev11:26
*** mkerrin has joined #zope3-dev11:30
*** tflorac has joined #zope3-dev11:32
*** tarek has joined #zope3-dev11:40
*** strichter has joined #zope3-dev11:47
*** __mac__ has joined #zope3-dev11:47
*** srichter has quit IRC11:49
*** aclark|away is now known as aclark11:54
*** tarek has quit IRC11:56
*** jukart has quit IRC11:56
*** maurits has joined #zope3-dev11:56
*** tarek has joined #zope3-dev11:58
*** malthe has quit IRC12:04
*** greenman has joined #zope3-dev12:08
*** mgedmin has joined #zope3-dev12:09
*** philiKON has joined #zope3-dev12:28
*** DrogoNevets has joined #zope3-dev12:38
*** ipux has joined #zope3-dev12:38
DrogoNevetsWhat is the new way of doing the job of cpt's and cpy's in zope 3 whilst keeping the whole view logic structure??12:38
*** Count-Duckula has joined #zope3-dev12:39
ipuxHello, how can I get a list of classes that implment a certain interface?12:40
DrogoNevetshello!!12:41
*** ignas has joined #zope3-dev12:42
philiKONDrogoNevets: uh, there are no cpts and cpys in zope312:44
philiKONDrogoNevets: you write view classes12:44
philiKONDrogoNevets: and if you want to render HTML, write a template that goes with the view class12:44
DrogoNevetsso how do you handle [what was] the state object??12:45
philiKONstate object?12:45
philiKONyou mean the context/12:45
philiKON?12:45
philiKON(or in zope 2 also referred to as 'here')12:46
DrogoNevetsin cpt and cpy you had an extra attribute (state) that allowed you to set errors, portal messages and other similar things12:46
philiKONthis is something framework (in this case, plone) specific12:47
DrogoNevetsreally??12:48
*** jukart has joined #zope3-dev12:48
philiKONi wouldn't be lying :)12:48
DrogoNevetswell yea sorry - i was just hoping you would elaborate. SO cpt files and cpy files are plone content types and dont ship with zope any more??12:49
philiKONa content type is something else12:49
philiKONthey're a programmatic feature12:49
philiKONthat's quite speicfic to Plone12:49
philiKONthey never shipped with Zope12:49
DrogoNevetsthats interesting12:50
philiKONif you're in pure Zope 3, there are ways to send "portal messages" from one page to another, of course12:50
philiKONtry the z3c.flashmessage package12:50
philiKONand if you're even using Grok (which i recommend if you're starting with Zope 3), then that's already included12:50
DrogoNevetsI have figured out how to do the portal message thing, but i am thinking now in terms of validation and moving on to different pages (or reloading the current one) once my view method has finished running12:51
philiKONself.request.response.redirect(url)12:52
philiKONbtw, i suggest buying the http://worldcookery.com/ book12:55
*** malthe has joined #zope3-dev12:57
*** __mac__ has quit IRC12:59
*** __mac__ has joined #zope3-dev13:05
DrogoNevetsphiliKON: ok thanks for the help.13:06
*** __gotcha has joined #zope3-dev13:09
*** strichter is now known as srichter13:11
*** ChanServ sets mode: +o srichter13:11
*** dobee has joined #zope3-dev13:18
*** b52laptop has joined #zope3-dev13:19
*** alga has quit IRC13:28
*** greenman has quit IRC13:37
*** jukart has quit IRC13:43
ipuxI realised I asked this a minute ago but am still struggleing - does anyone know how I can get a list of classes that implment a certain interface?13:48
ipuxI want to say what classes provide IFoo13:50
*** salfield has joined #zope3-dev13:53
*** alga has joined #zope3-dev14:04
*** regebro has joined #zope3-dev14:10
*** menesis has joined #zope3-dev14:12
*** kursor has joined #zope3-dev14:23
*** kursor_ has quit IRC14:23
*** kursor_ has joined #zope3-dev14:24
*** kursor has quit IRC14:24
*** kursor has joined #zope3-dev14:26
*** kursor_ has quit IRC14:26
*** afd_ has joined #zope3-dev14:27
*** thruflo_ has joined #zope3-dev14:50
*** thruflo has quit IRC14:50
*** __gotcha has quit IRC15:10
*** charith_para has quit IRC15:11
*** benji has joined #zope3-dev15:28
*** salfield has quit IRC15:45
*** lurkymclurkleton has joined #zope3-dev15:56
*** jamur2 has joined #zope3-dev15:58
*** rmarianski has joined #zope3-dev16:00
*** charith_para has joined #zope3-dev16:01
*** niemeyer has joined #zope3-dev16:05
*** stub has quit IRC16:07
*** lucielejard has joined #zope3-dev16:17
timteHow do I tell my app to use my cookie credentials plugin? I have registered it is a global utility, but it''s not used. Am I missing some steps?16:22
afd_timte: are you using ZMI?16:22
timteafd_: no16:23
afd_I think you need to add its name to pau.credentialPlugins16:23
afd_look in zope.app.authentication.interfaces.IPluggableAuthentication16:23
afd_registering it as a utility won't make any difference16:24
afd_oh, actually, it does :)16:24
afd_read the interface, anyway16:24
*** rmarianski has quit IRC16:26
*** hazmat has quit IRC16:30
*** romanofski has quit IRC16:32
*** romanofski has joined #zope3-dev16:33
timteso it's only pau that's using credential plugins, not the global authentication utility16:37
philiKONright16:37
philiKONyou may still register it your credential plugin as a utility16:37
philiKONbut you still have to tell PAU about it16:37
philiKONyou register the plugin as a named utility16:38
philiKONand then tell PAU about the name16:38
philiKONyou can do this programmatically16:38
philiKONsee my book16:38
*** srichter has quit IRC16:38
*** dunny has quit IRC16:39
timtedoes pau have to be local and persistent or can I register pau as a global utility?16:39
philiKONyou could probably even register it as a global utility16:40
philiKONin place of the simplistic principal registry from zope.app.security16:40
philiKON(which is the standard global IAuthentication utility)16:40
philiKONi *think* tres tried registering the PAU glboally once16:40
timteor I could perhaps create an ILoginPassword adapter that deals with cookies16:41
*** whit has joined #zope3-dev16:42
*** charith_para has quit IRC16:43
*** rcrafton has joined #zope3-dev16:44
*** lucielejard has quit IRC16:45
*** lucielejard has joined #zope3-dev16:45
*** lucielejard has joined #zope3-dev16:46
*** djohnson__ has joined #zope3-dev16:47
*** quodt has joined #zope3-dev16:47
*** reco_ has joined #zope3-dev16:47
*** charith_para has joined #zope3-dev16:48
*** djohnson___ has joined #zope3-dev16:48
*** djohnson____ has joined #zope3-dev16:49
*** djohnson___ has quit IRC16:49
*** __cbcunc__ is now known as cbcunc16:57
*** reco_ has quit IRC16:59
*** reco has joined #zope3-dev17:00
*** djohnson_ has quit IRC17:02
*** djohnson__ has quit IRC17:05
*** agroszer_ has joined #zope3-dev17:08
*** agroszer_ has left #zope3-dev17:08
*** quodt has quit IRC17:13
*** reco has quit IRC17:14
*** vimes656 has quit IRC17:16
*** vimes656 has joined #zope3-dev17:16
*** vimes656 has quit IRC17:17
*** zagy has quit IRC17:23
*** binseer has quit IRC17:24
*** jayaraj has quit IRC17:25
*** baijum has quit IRC17:27
*** hazmat has joined #zope3-dev17:28
*** ChanServ sets mode: +o hazmat17:28
*** reco has joined #zope3-dev17:33
timtephiliKON: when I tried to register pau as global utility I got a weird error17:34
timtephiliKON: using an ILoginPassword adapter worked fine though17:34
*** regebro has quit IRC17:36
philiKONcool17:36
*** philiKON has quit IRC17:36
*** regebro has joined #zope3-dev17:37
*** MJ has quit IRC17:41
*** sorindregan has quit IRC17:46
*** rmarianski has joined #zope3-dev17:48
*** nathany has joined #zope3-dev18:06
*** sp0cksbeard has joined #zope3-dev18:10
*** alecm has joined #zope3-dev18:11
*** srichter has joined #zope3-dev18:17
*** quodt has joined #zope3-dev18:22
*** quodt has quit IRC18:25
*** tflorac has quit IRC18:28
*** DrogoNevets has quit IRC18:35
*** jukart has joined #zope3-dev18:37
*** charith_para has quit IRC19:00
*** zagy has joined #zope3-dev19:01
*** malthe has quit IRC19:08
*** quodt has joined #zope3-dev19:10
*** pcardune has joined #zope3-dev19:11
*** hexsprite has joined #zope3-dev19:12
*** jukart has quit IRC19:14
*** hazmat has quit IRC19:15
*** quodt has quit IRC19:19
*** timte has quit IRC19:29
*** jpcw2002 has quit IRC19:33
*** jpcw2002 has joined #zope3-dev19:33
*** maurits has quit IRC19:46
*** Count-Duckula has quit IRC19:53
*** mkerrin has quit IRC20:03
*** charith_para has joined #zope3-dev20:07
*** thruflo_ has quit IRC20:08
*** whitmo has joined #zope3-dev20:09
*** whit has quit IRC20:10
*** dobee has quit IRC20:10
*** niemeyer has quit IRC20:15
*** niemeyer has joined #zope3-dev20:15
*** RaFromBRC has joined #zope3-dev20:17
*** menesis has quit IRC20:19
*** jpcw2002 has quit IRC20:28
*** ignas has quit IRC20:31
*** harobed has quit IRC20:39
*** dobee has joined #zope3-dev20:39
*** stub has joined #zope3-dev20:48
*** whitmo has quit IRC21:04
*** whit has joined #zope3-dev21:05
*** charith_para has quit IRC21:09
*** jpcw2002 has joined #zope3-dev21:16
*** rcrafton has quit IRC21:17
*** rcrafton has joined #zope3-dev21:17
*** whitmo has joined #zope3-dev21:28
*** stub has quit IRC21:29
*** whit has quit IRC21:29
*** __gotcha has joined #zope3-dev21:30
*** jpcw2002 has quit IRC21:39
*** jpcw2002 has joined #zope3-dev21:41
*** philiKON has joined #zope3-dev21:44
*** jpcw2002 has left #zope3-dev21:47
*** agroszer_ has joined #zope3-dev22:00
*** dobee has quit IRC22:03
*** __gotcha has quit IRC22:05
*** lisppaste6 has joined #zope3-dev22:09
*** jpcw2002 has joined #zope3-dev22:12
*** agroszer has quit IRC22:13
*** agroszer_ has quit IRC22:13
*** jamur2 has quit IRC22:15
*** alecm has quit IRC22:16
*** jamur2 has joined #zope3-dev22:17
*** alga has quit IRC22:18
*** rcrafton has quit IRC22:19
*** mgedmin has quit IRC22:20
*** aclark is now known as aclark|away22:22
*** timte has joined #zope3-dev22:38
*** philiKON_ has joined #zope3-dev22:38
*** philiKON has quit IRC22:40
*** alga has joined #zope3-dev23:07
*** dobee has joined #zope3-dev23:07
*** philiKON_ has quit IRC23:07
*** jhauser has quit IRC23:08
*** djohnson____ has quit IRC23:08
*** dunny has joined #zope3-dev23:11
*** rcrafton has joined #zope3-dev23:12
*** febb has quit IRC23:14
*** dbfrombrc has joined #zope3-dev23:31
*** timte has quit IRC23:32
*** timte has joined #zope3-dev23:32
*** timte has quit IRC23:43
*** timte has joined #zope3-dev23:43
*** timte has quit IRC23:52
*** timte has joined #zope3-dev23:54
*** dobee has quit IRC23:57
*** nathany has quit IRC23:59

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