*** nathany has quit IRC | 00:01 | |
*** dobee has quit IRC | 00:08 | |
*** nathany has joined #zope3-dev | 00:10 | |
*** gumpa has left #zope3-dev | 00:47 | |
*** Aiste has joined #zope3-dev | 00:57 | |
*** russf has joined #zope3-dev | 01:06 | |
*** Aiste has quit IRC | 01:12 | |
*** RaFromBRC has quit IRC | 01:20 | |
*** russf has left #zope3-dev | 01:28 | |
*** whit has quit IRC | 02:11 | |
*** jinty has quit IRC | 02:13 | |
*** rocky has joined #zope3-dev | 02:38 | |
*** yota has quit IRC | 02:56 | |
*** J1m has quit IRC | 03:35 | |
*** zbir` has quit IRC | 03:38 | |
*** tiredbones has quit IRC | 03:40 | |
*** tiredbones has joined #zope3-dev | 03:40 | |
*** nathany has quit IRC | 04:14 | |
*** stub has joined #zope3-dev | 04:45 | |
*** zbir` has joined #zope3-dev | 04:55 | |
*** RaFromBRC has joined #zope3-dev | 05:11 | |
*** niemeyer has quit IRC | 05:24 | |
*** trevorp-office has joined #zope3-dev | 05:25 | |
*** projekt01 has left #zope3-dev | 05:42 | |
*** BjornT has quit IRC | 06:04 | |
*** BjornT has joined #zope3-dev | 06:09 | |
*** stub has quit IRC | 06:25 | |
*** dobee has joined #zope3-dev | 06:59 | |
*** rocky has quit IRC | 07:07 | |
*** dobee has quit IRC | 07:25 | |
*** dobee has joined #zope3-dev | 07:44 | |
*** eins has joined #zope3-dev | 08:02 | |
*** sashav has joined #zope3-dev | 08:23 | |
*** BjornT has quit IRC | 08:26 | |
*** BjornT has joined #zope3-dev | 08:36 | |
*** BjornT has joined #zope3-dev | 08:41 | |
*** sashav has quit IRC | 08:44 | |
*** zopePloneConsult has joined #zope3-dev | 08:49 | |
*** BjornT has quit IRC | 08:50 | |
*** BjornT has joined #zope3-dev | 08:52 | |
*** oferw has joined #zope3-dev | 08:53 | |
*** stub has joined #zope3-dev | 08:54 | |
*** hdima has joined #zope3-dev | 09:07 | |
*** BjornT has quit IRC | 09:16 | |
*** BjornT has joined #zope3-dev | 09:18 | |
*** RaFromBRC is now known as RaFromBRC|zZz | 09:18 | |
*** BjornT has quit IRC | 09:18 | |
*** BjornT has joined #zope3-dev | 09:23 | |
*** BjornT has quit IRC | 09:25 | |
*** BjornT has joined #zope3-dev | 09:28 | |
*** BjornT has quit IRC | 09:30 | |
*** BjornT has joined #zope3-dev | 09:34 | |
*** Theuni has joined #zope3-dev | 09:35 | |
*** BjornT has quit IRC | 09:35 | |
*** alecm has quit IRC | 09:37 | |
*** trevorp-office has quit IRC | 09:38 | |
*** BjornT has joined #zope3-dev | 09:45 | |
*** sashav has joined #zope3-dev | 09:53 | |
*** RaFromBRC|zZz has quit IRC | 10:07 | |
*** BjornT has quit IRC | 10:10 | |
*** BjornT has joined #zope3-dev | 10:15 | |
*** BjornT has joined #zope3-dev | 10:20 | |
*** BjornT has quit IRC | 10:21 | |
*** yota has joined #zope3-dev | 10:22 | |
*** BjornT has joined #zope3-dev | 10:26 | |
*** BjornT has joined #zope3-dev | 10:31 | |
*** BjornT has quit IRC | 10:45 | |
*** BjornT has joined #zope3-dev | 10:45 | |
*** stub has quit IRC | 11:04 | |
*** BjornT has quit IRC | 11:07 | |
*** stub has joined #zope3-dev | 11:17 | |
*** efrerich has joined #zope3-dev | 11:18 | |
*** BjornT has joined #zope3-dev | 11:19 | |
*** BjornT_ has joined #zope3-dev | 11:21 | |
*** BjornT_ has left #zope3-dev | 11:33 | |
*** volvox has joined #zope3-dev | 11:48 | |
*** Theuni has quit IRC | 11:48 | |
*** Theuni has joined #zope3-dev | 11:49 | |
*** faassen has joined #zope3-dev | 12:03 | |
*** projekt01 has joined #zope3-dev | 12:04 | |
*** oferw has quit IRC | 12:08 | |
*** rocky has joined #zope3-dev | 12:34 | |
*** BjornT__ has joined #zope3-dev | 12:35 | |
*** BjornT has quit IRC | 12:54 | |
eins | is there anything in formlib like self.widgets['fieldname'].style for actions? | 12:54 |
---|---|---|
*** jinty has joined #zope3-dev | 13:03 | |
*** efrerich has quit IRC | 13:05 | |
*** BjornT__ is now known as BjornT | 13:09 | |
*** shapr has joined #zope3-dev | 13:23 | |
*** J1m has joined #zope3-dev | 13:32 | |
*** jinty has quit IRC | 13:34 | |
*** stub has quit IRC | 13:35 | |
*** rocky has quit IRC | 13:39 | |
*** dunny has quit IRC | 13:40 | |
*** rocky has joined #zope3-dev | 13:46 | |
*** agroszer has joined #zope3-dev | 14:32 | |
*** J1m has quit IRC | 14:33 | |
*** agroszer has quit IRC | 14:49 | |
*** zagy has quit IRC | 14:54 | |
*** shapr has left #zope3-dev | 14:58 | |
*** zopePloneConsult has left #zope3-dev | 14:59 | |
srichter | eins: actions are customized using views | 15:00 |
*** mkerrin has joined #zope3-dev | 15:02 | |
*** BjornT has quit IRC | 15:02 | |
*** Aiste has joined #zope3-dev | 15:02 | |
*** BjornT has joined #zope3-dev | 15:03 | |
*** stub has joined #zope3-dev | 15:08 | |
*** oferw has joined #zope3-dev | 15:09 | |
*** zagy has joined #zope3-dev | 15:16 | |
*** BjornT has quit IRC | 15:17 | |
*** BjornT has joined #zope3-dev | 15:19 | |
*** BjornT has joined #zope3-dev | 15:20 | |
eins | srichter 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 actions | 15:21 |
*** BjornT has joined #zope3-dev | 15:24 | |
*** BjornT_ has joined #zope3-dev | 15:26 | |
*** tiredbones has quit IRC | 15:26 | |
srichter | eins: as I said the I am 99% sure that you can register a custom view for an action | 15:29 |
*** BjornT_ has quit IRC | 15:31 | |
*** BjornT has quit IRC | 15:42 | |
*** BjornT has joined #zope3-dev | 15:44 | |
*** BjornT has quit IRC | 15:57 | |
faassen | srichter: you can't really | 15:58 |
faassen | srichter: I looked into it the other day, unfortunately those actions are hard-coded. | 15:58 |
faassen | srichter: there's supposedly pluggability through named templates, but it's useless in case of actions | 15:58 |
faassen | eins: I think you're right about action customizability. | 15:58 |
*** zbir` has quit IRC | 15:58 | |
faassen | unless you use a global override but that would mean copying quite a bit of code. | 15:59 |
faassen | plus overrides suck, one wants to do this in a skin. | 15:59 |
srichter | eek | 16:01 |
srichter | there is a lot of logic there to render the actions using named templates :-( | 16:01 |
eins | faassen yeah...:/ | 16:03 |
eins | ok and another thing | 16:03 |
eins | who is responsible for sqlscript? | 16:03 |
eins | tons of bugs there I think.. | 16:04 |
* srichter wonders where benji is these days | 16:05 | |
*** BjornT has joined #zope3-dev | 16:05 | |
faassen | srichter: yeah, but it doesn't really do much. | 16:06 |
faassen | srichter: I mean, normally you can put in an adapter on the view, or something like that, with named templates, I understood. | 16:06 |
faassen | srichter: but that won't work with actions | 16:06 |
faassen | in the end I worked around it just hardcoding the submit buttons instead of using actions.. | 16:06 |
faassen | so I could associate a css class. | 16:06 |
*** BjornT has quit IRC | 16:06 | |
srichter | ok | 16:06 |
srichter | so we really need some form of action widgets | 16:07 |
eins | that's for sure | 16:07 |
*** ignas has joined #zope3-dev | 16:10 | |
*** BjornT has joined #zope3-dev | 16:11 | |
*** BjornT has joined #zope3-dev | 16:13 | |
*** stub has quit IRC | 16:15 | |
*** zbir` has joined #zope3-dev | 16:17 | |
*** j1m has joined #zope3-dev | 16:34 | |
*** gintas has joined #zope3-dev | 16:34 | |
*** oferw_ has joined #zope3-dev | 16:35 | |
*** jukart has joined #zope3-dev | 16:37 | |
*** eins has quit IRC | 16:38 | |
*** oferw_ has quit IRC | 16:40 | |
*** oferw_ has joined #zope3-dev | 16:40 | |
*** Theuni has quit IRC | 16:47 | |
*** oferw has quit IRC | 16:48 | |
*** zopePloneConsult has joined #zope3-dev | 16:55 | |
*** sashav has quit IRC | 17:00 | |
*** oferw_ has quit IRC | 17:04 | |
*** oferw_ has joined #zope3-dev | 17:04 | |
*** thehippo has joined #zope3-dev | 17:05 | |
thehippo | Hi, 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 |
srichter | I 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 time | 17:08 |
*** zagy has quit IRC | 17:08 | |
*** zagy has joined #zope3-dev | 17:09 | |
*** nathany has joined #zope3-dev | 17:14 | |
*** mkerrin has quit IRC | 17:24 | |
*** niemeyer has joined #zope3-dev | 17:25 | |
*** mkerrin has joined #zope3-dev | 17:32 | |
*** regebro has joined #zope3-dev | 17:34 | |
*** jukart has left #zope3-dev | 17:35 | |
*** jinty has joined #zope3-dev | 17:47 | |
*** tarek has quit IRC | 18:00 | |
*** oferw_ has quit IRC | 18:02 | |
*** jinty has quit IRC | 18:02 | |
*** hdima has quit IRC | 18:09 | |
volvox | in this code: form_fields['myform'].custom_widget = CustomWidgetFactory(SequenceWidget, subwidget = CustomWidgetFactory(ObjectWidget, Foo)) | 18:14 |
volvox | how do I set a custom_widget for an attribute of Foo? | 18:14 |
*** projekt01 has quit IRC | 18:16 | |
srichter | volvox: I usually create sub-forms for complex objects | 18:17 |
srichter | its much safer and gives you the flexibility of a full form | 18:17 |
volvox | oh well. a pointer to a subform example?? tnx | 18:19 |
srichter | no, I don't have open source code to show that | 18:19 |
srichter | but it is truly trivial | 18:19 |
srichter | in your main form: | 18:19 |
srichter | def 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 |
srichter | and in your template you can then call: | 18:21 |
srichter | <div tal:replace="structure view/subform/render" /> | 18:21 |
volvox | I don't understand how I should relate that to the SequenceWidget. | 18:21 |
srichter | huh, what does this have to do with sequence widgets? | 18:22 |
volvox | basicall CustomWidgetFactory(SequenceWidget, subwidget = CustomWidgetFactory(ObjectWidget, Foo)) | 18:22 |
volvox | basically, | 18:22 |
volvox | I want to have Foo['attribute'] rendered with a widget that subclasses TextArea | 18:22 |
volvox | but while I can set up form_fields['myform'].custom_widget, | 18:23 |
volvox | I cannot do that with Foo.. | 18:23 |
srichter | can you give me a concrete example of what you want to do? | 18:23 |
*** j1m has quit IRC | 18:34 | |
*** alecm has joined #zope3-dev | 18:34 | |
*** j1m has joined #zope3-dev | 18:35 | |
*** j1m has joined #zope3-dev | 18:37 | |
*** whit has joined #zope3-dev | 18:38 | |
*** zopePloneConsult has left #zope3-dev | 18:42 | |
*** dobee has quit IRC | 18:45 | |
*** Aiste has quit IRC | 19:02 | |
*** MacYET has joined #zope3-dev | 19:03 | |
*** Theuni has joined #zope3-dev | 19:14 | |
*** volvox has quit IRC | 19:17 | |
*** MacYET has left #zope3-dev | 19:22 | |
*** Aiste has joined #zope3-dev | 19:26 | |
*** dobee has joined #zope3-dev | 19:30 | |
*** Theuni has quit IRC | 19:55 | |
*** ignas has quit IRC | 19:59 | |
*** philiKON has joined #zope3-dev | 20:02 | |
*** mgedmin has joined #zope3-dev | 20:07 | |
*** faassen has quit IRC | 20:08 | |
*** niemeyer has quit IRC | 20:28 | |
*** niemeyer has joined #zope3-dev | 20:29 | |
*** zagy has quit IRC | 20:37 | |
*** ignas has joined #zope3-dev | 20:39 | |
*** RaFromBRC has joined #zope3-dev | 20:41 | |
*** mkerrin has quit IRC | 20:41 | |
*** d2m has quit IRC | 20:42 | |
*** projekt01 has joined #zope3-dev | 20:42 | |
*** d2m has joined #zope3-dev | 20:44 | |
*** regebro has quit IRC | 20:45 | |
*** mgedmin has quit IRC | 20:47 | |
*** ignas has quit IRC | 20:47 | |
*** gintas has quit IRC | 21:07 | |
*** jukart has joined #zope3-dev | 21:12 | |
*** gumpa has joined #zope3-dev | 21:18 | |
*** nebo has joined #zope3-dev | 21:25 | |
*** rocky has quit IRC | 21:41 | |
*** d2m has quit IRC | 21:41 | |
*** jukart has left #zope3-dev | 21:43 | |
*** d2m has joined #zope3-dev | 21:50 | |
*** nebo has left #zope3-dev | 21:51 | |
*** rocky has joined #zope3-dev | 21:56 | |
*** admp has joined #zope3-dev | 22:02 | |
*** tarek has joined #zope3-dev | 22:09 | |
*** sashav has joined #zope3-dev | 22:09 | |
*** dunny has joined #zope3-dev | 22:10 | |
*** BjornT_ has joined #zope3-dev | 22:21 | |
*** rocky has quit IRC | 22:23 | |
*** rocky has joined #zope3-dev | 22:29 | |
*** jinty has joined #zope3-dev | 22:30 | |
*** BjornT has quit IRC | 22:41 | |
*** rocky has quit IRC | 22:52 | |
*** rocky has joined #zope3-dev | 22:55 | |
*** dobee has quit IRC | 22:57 | |
rocky | when i make a folder an ISite ... what is it doing programatically? just adding the marker interface to the folder instnace? | 23:02 |
srichter | rocky: it also sets a site manager | 23:03 |
srichter | see zope.app.testing.setup | 23:03 |
* rocky looks | 23:04 | |
*** jinty has quit IRC | 23:10 | |
*** zagy has joined #zope3-dev | 23:14 | |
*** rocky has quit IRC | 23:19 | |
*** zagy has quit IRC | 23:22 | |
*** rocky has joined #zope3-dev | 23:23 | |
*** jinty has joined #zope3-dev | 23:27 | |
*** rocky has quit IRC | 23:31 | |
*** jinty has quit IRC | 23:36 | |
*** tarek has quit IRC | 23:48 | |
*** rocky has joined #zope3-dev | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!