IRC log of #zope3-dev for Wednesday, 2006-05-17

*** nathany has quit IRC00:01
*** dobee has quit IRC00:08
*** nathany has joined #zope3-dev00:10
*** gumpa has left #zope3-dev00:47
*** Aiste has joined #zope3-dev00:57
*** russf has joined #zope3-dev01:06
*** Aiste has quit IRC01:12
*** RaFromBRC has quit IRC01:20
*** russf has left #zope3-dev01:28
*** whit has quit IRC02:11
*** jinty has quit IRC02:13
*** rocky has joined #zope3-dev02:38
*** yota has quit IRC02:56
*** J1m has quit IRC03:35
*** zbir` has quit IRC03:38
*** tiredbones has quit IRC03:40
*** tiredbones has joined #zope3-dev03:40
*** nathany has quit IRC04:14
*** stub has joined #zope3-dev04:45
*** zbir` has joined #zope3-dev04:55
*** RaFromBRC has joined #zope3-dev05:11
*** niemeyer has quit IRC05:24
*** trevorp-office has joined #zope3-dev05:25
*** projekt01 has left #zope3-dev05:42
*** BjornT has quit IRC06:04
*** BjornT has joined #zope3-dev06:09
*** stub has quit IRC06:25
*** dobee has joined #zope3-dev06:59
*** rocky has quit IRC07:07
*** dobee has quit IRC07:25
*** dobee has joined #zope3-dev07:44
*** eins has joined #zope3-dev08:02
*** sashav has joined #zope3-dev08:23
*** BjornT has quit IRC08:26
*** BjornT has joined #zope3-dev08:36
*** BjornT has joined #zope3-dev08:41
*** sashav has quit IRC08:44
*** zopePloneConsult has joined #zope3-dev08:49
*** BjornT has quit IRC08:50
*** BjornT has joined #zope3-dev08:52
*** oferw has joined #zope3-dev08:53
*** stub has joined #zope3-dev08:54
*** hdima has joined #zope3-dev09:07
*** BjornT has quit IRC09:16
*** BjornT has joined #zope3-dev09:18
*** RaFromBRC is now known as RaFromBRC|zZz09:18
*** BjornT has quit IRC09:18
*** BjornT has joined #zope3-dev09:23
*** BjornT has quit IRC09:25
*** BjornT has joined #zope3-dev09:28
*** BjornT has quit IRC09:30
*** BjornT has joined #zope3-dev09:34
*** Theuni has joined #zope3-dev09:35
*** BjornT has quit IRC09:35
*** alecm has quit IRC09:37
*** trevorp-office has quit IRC09:38
*** BjornT has joined #zope3-dev09:45
*** sashav has joined #zope3-dev09:53
*** RaFromBRC|zZz has quit IRC10:07
*** BjornT has quit IRC10:10
*** BjornT has joined #zope3-dev10:15
*** BjornT has joined #zope3-dev10:20
*** BjornT has quit IRC10:21
*** yota has joined #zope3-dev10:22
*** BjornT has joined #zope3-dev10:26
*** BjornT has joined #zope3-dev10:31
*** BjornT has quit IRC10:45
*** BjornT has joined #zope3-dev10:45
*** stub has quit IRC11:04
*** BjornT has quit IRC11:07
*** stub has joined #zope3-dev11:17
*** efrerich has joined #zope3-dev11:18
*** BjornT has joined #zope3-dev11:19
*** BjornT_ has joined #zope3-dev11:21
*** BjornT_ has left #zope3-dev11:33
*** volvox has joined #zope3-dev11:48
*** Theuni has quit IRC11:48
*** Theuni has joined #zope3-dev11:49
*** faassen has joined #zope3-dev12:03
*** projekt01 has joined #zope3-dev12:04
*** oferw has quit IRC12:08
*** rocky has joined #zope3-dev12:34
*** BjornT__ has joined #zope3-dev12:35
*** BjornT has quit IRC12:54
einsis there anything in formlib like self.widgets['fieldname'].style for actions?12:54
*** jinty has joined #zope3-dev13:03
*** efrerich has quit IRC13:05
*** BjornT__ is now known as BjornT13:09
*** shapr has joined #zope3-dev13:23
*** J1m has joined #zope3-dev13:32
*** jinty has quit IRC13:34
*** stub has quit IRC13:35
*** rocky has quit IRC13:39
*** dunny has quit IRC13:40
*** rocky has joined #zope3-dev13:46
*** agroszer has joined #zope3-dev14:32
*** J1m has quit IRC14:33
*** agroszer has quit IRC14:49
*** zagy has quit IRC14:54
*** shapr has left #zope3-dev14:58
*** zopePloneConsult has left #zope3-dev14:59
srichtereins: actions are customized using views15:00
*** mkerrin has joined #zope3-dev15:02
*** BjornT has quit IRC15:02
*** Aiste has joined #zope3-dev15:02
*** BjornT has joined #zope3-dev15:03
*** stub has joined #zope3-dev15:08
*** oferw has joined #zope3-dev15:09
*** zagy has joined #zope3-dev15:16
*** BjornT has quit IRC15:17
*** BjornT has joined #zope3-dev15:19
*** BjornT has joined #zope3-dev15:20
einssrichter any example of customizing actions would be good.. render_submit_button returns hardcoded <input blahblah /> and I can't change anything here but still want to get auto-generated actions15:21
*** BjornT has joined #zope3-dev15:24
*** BjornT_ has joined #zope3-dev15:26
*** tiredbones has quit IRC15:26
srichtereins: as I said the I am 99% sure that you can register a custom view for an action15:29
*** BjornT_ has quit IRC15:31
*** BjornT has quit IRC15:42
*** BjornT has joined #zope3-dev15:44
*** BjornT has quit IRC15:57
faassensrichter: you can't really15:58
faassensrichter: I looked into it the other day, unfortunately those actions are hard-coded.15:58
faassensrichter: there's supposedly pluggability through named templates, but it's useless in case of actions15:58
faasseneins: I think you're right about action customizability.15:58
*** zbir` has quit IRC15:58
faassenunless you use a global override but that would mean copying quite a bit of code.15:59
faassenplus overrides suck, one wants to do this in a skin.15:59
srichtereek16:01
srichterthere is a lot of logic there to render the actions using named templates :-(16:01
einsfaassen yeah...:/16:03
einsok and another thing16:03
einswho is responsible for sqlscript?16:03
einstons of bugs there I think..16:04
* srichter wonders where benji is these days16:05
*** BjornT has joined #zope3-dev16:05
faassensrichter: yeah, but it doesn't really do much.16:06
faassensrichter: I mean, normally you can put in an adapter on the view, or something like that, with named templates, I understood.16:06
faassensrichter: but that won't work with actions16:06
faassenin the end I worked around it just hardcoding the submit buttons instead of using actions..16:06
faassenso I could associate a css class.16:06
*** BjornT has quit IRC16:06
srichterok16:06
srichterso we really need some form of action widgets16:07
einsthat's for sure16:07
*** ignas has joined #zope3-dev16:10
*** BjornT has joined #zope3-dev16:11
*** BjornT has joined #zope3-dev16:13
*** stub has quit IRC16:15
*** zbir` has joined #zope3-dev16:17
*** j1m has joined #zope3-dev16:34
*** gintas has joined #zope3-dev16:34
*** oferw_ has joined #zope3-dev16:35
*** jukart has joined #zope3-dev16:37
*** eins has quit IRC16:38
*** oferw_ has quit IRC16:40
*** oferw_ has joined #zope3-dev16:40
*** Theuni has quit IRC16:47
*** oferw has quit IRC16:48
*** zopePloneConsult has joined #zope3-dev16:55
*** sashav has quit IRC17:00
*** oferw_ has quit IRC17:04
*** oferw_ has joined #zope3-dev17:04
*** thehippo has joined #zope3-dev17:05
thehippoHi, does anyone get a not found error when adding a Session Credentials Plugin or a HTTP Basic-Auth Plugin to a PAU in 3.3b1?17:07
srichterI have not played with 3.3b1 that much yet, but I use the trunk (which is pretty much the same) and we use sessions all the time17:08
*** zagy has quit IRC17:08
*** zagy has joined #zope3-dev17:09
*** nathany has joined #zope3-dev17:14
*** mkerrin has quit IRC17:24
*** niemeyer has joined #zope3-dev17:25
*** mkerrin has joined #zope3-dev17:32
*** regebro has joined #zope3-dev17:34
*** jukart has left #zope3-dev17:35
*** jinty has joined #zope3-dev17:47
*** tarek has quit IRC18:00
*** oferw_ has quit IRC18:02
*** jinty has quit IRC18:02
*** hdima has quit IRC18:09
volvoxin this code:    form_fields['myform'].custom_widget = CustomWidgetFactory(SequenceWidget, subwidget = CustomWidgetFactory(ObjectWidget, Foo))18:14
volvoxhow do I set a custom_widget for an attribute of Foo?18:14
*** projekt01 has quit IRC18:16
srichtervolvox: I usually create sub-forms for complex objects18:17
srichterits much safer and gives you the flexibility of a full form18:17
volvoxoh well. a pointer to a subform example?? tnx18:19
srichterno, I don't have open source code to show that18:19
srichterbut it is truly trivial18:19
srichterin your main form:18:19
srichterdef update(self):18:19
srichter    self.subform = MySubForm(self.context.subobj, self.request)18:20
srichter    self.subform.setPrefix(self.prefix+'subobj.')18:20
srichter    self.subform.update()18:20
srichter    super(MyForm, self).update()18:21
srichterand in your template you can then call:18:21
srichter<div tal:replace="structure view/subform/render" />18:21
volvoxI don't understand how I should relate that to the SequenceWidget.18:21
srichterhuh, what does this have to do with sequence widgets?18:22
volvoxbasicall CustomWidgetFactory(SequenceWidget, subwidget = CustomWidgetFactory(ObjectWidget, Foo))18:22
volvoxbasically,18:22
volvoxI want to have Foo['attribute'] rendered with a widget that subclasses TextArea18:22
volvoxbut while I can set up form_fields['myform'].custom_widget,18:23
volvoxI cannot do that with Foo..18:23
srichtercan you give me a concrete example of what you want to do?18:23
*** j1m has quit IRC18:34
*** alecm has joined #zope3-dev18:34
*** j1m has joined #zope3-dev18:35
*** j1m has joined #zope3-dev18:37
*** whit has joined #zope3-dev18:38
*** zopePloneConsult has left #zope3-dev18:42
*** dobee has quit IRC18:45
*** Aiste has quit IRC19:02
*** MacYET has joined #zope3-dev19:03
*** Theuni has joined #zope3-dev19:14
*** volvox has quit IRC19:17
*** MacYET has left #zope3-dev19:22
*** Aiste has joined #zope3-dev19:26
*** dobee has joined #zope3-dev19:30
*** Theuni has quit IRC19:55
*** ignas has quit IRC19:59
*** philiKON has joined #zope3-dev20:02
*** mgedmin has joined #zope3-dev20:07
*** faassen has quit IRC20:08
*** niemeyer has quit IRC20:28
*** niemeyer has joined #zope3-dev20:29
*** zagy has quit IRC20:37
*** ignas has joined #zope3-dev20:39
*** RaFromBRC has joined #zope3-dev20:41
*** mkerrin has quit IRC20:41
*** d2m has quit IRC20:42
*** projekt01 has joined #zope3-dev20:42
*** d2m has joined #zope3-dev20:44
*** regebro has quit IRC20:45
*** mgedmin has quit IRC20:47
*** ignas has quit IRC20:47
*** gintas has quit IRC21:07
*** jukart has joined #zope3-dev21:12
*** gumpa has joined #zope3-dev21:18
*** nebo has joined #zope3-dev21:25
*** rocky has quit IRC21:41
*** d2m has quit IRC21:41
*** jukart has left #zope3-dev21:43
*** d2m has joined #zope3-dev21:50
*** nebo has left #zope3-dev21:51
*** rocky has joined #zope3-dev21:56
*** admp has joined #zope3-dev22:02
*** tarek has joined #zope3-dev22:09
*** sashav has joined #zope3-dev22:09
*** dunny has joined #zope3-dev22:10
*** BjornT_ has joined #zope3-dev22:21
*** rocky has quit IRC22:23
*** rocky has joined #zope3-dev22:29
*** jinty has joined #zope3-dev22:30
*** BjornT has quit IRC22:41
*** rocky has quit IRC22:52
*** rocky has joined #zope3-dev22:55
*** dobee has quit IRC22:57
rockywhen i make a folder an ISite ... what is it doing programatically? just adding the marker interface to the folder instnace?23:02
srichterrocky: it also sets a site manager23:03
srichtersee zope.app.testing.setup23:03
* rocky looks23:04
*** jinty has quit IRC23:10
*** zagy has joined #zope3-dev23:14
*** rocky has quit IRC23:19
*** zagy has quit IRC23:22
*** rocky has joined #zope3-dev23:23
*** jinty has joined #zope3-dev23:27
*** rocky has quit IRC23:31
*** jinty has quit IRC23:36
*** tarek has quit IRC23:48
*** rocky has joined #zope3-dev23:54

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