projekt01 | srichter, I'm here | 00:21 |
---|---|---|
*** vlado__ has joined #zope3-dev | 00:23 | |
*** vlado_ has quit IRC | 00:40 | |
*** mgedmin has quit IRC | 00:48 | |
*** vlado__ has quit IRC | 00:50 | |
*** mnemoc has quit IRC | 00:53 | |
*** mnemoc has joined #zope3-dev | 00:55 | |
srichter | projekt01: do you have specific use cases for the "pagelet" (singular) use case? | 01:07 |
srichter | projekt01: do you have specific use cases for the "pagelet" (singular) TALES namespace? | 01:07 |
*** jan_s has joined #zope3-dev | 01:11 | |
*** benji_york has left #zope3-dev | 01:13 | |
projekt01 | srichter, do you mean code or conceptual use cases? | 01:22 |
srichter | conceptual use cases | 01:22 |
srichter | I cannot think of one | 01:23 |
projekt01 | I take a look | 01:23 |
projekt01 | Yes, I found one | 01:24 |
projekt01 | If you have a pagelet and you like to render them with a specific layout | 01:25 |
projekt01 | then you can register named layout pagelets and call them named | 01:25 |
srichter | mmh | 01:25 |
srichter | that reminds me of something else | 01:26 |
srichter | pagelets really need to be subscribers | 01:26 |
srichter | unless you name them of course | 01:26 |
srichter | (which you did) | 01:26 |
projekt01 | I think pagelets should be registrable on context, view, slots and this named and support a layer (request type), must also provide permisssions and should have a order | 01:27 |
projekt01 | I think if you re-implement them and you support all the parts where is used in the pagelets directive it would be Ok | 01:28 |
projekt01 | btw, did you take a look at the pageletchooser already? | 01:29 |
projekt01 | I implemented a different pageletchooser in tiks. This pageletchooser reads the name where will be used from information in the object(context) annotation | 01:30 |
projekt01 | this makes it possible to set pagelet names into the annotation and render only this names. | 01:31 |
projekt01 | See: svn://svn.tiks.org/repos/Tiks/trunk/src/tiks/pageletchooser | 01:32 |
projekt01 | btw, the tiks implementation of the pageletchooser is i18n aware and gets the right pagelet back for the used language! | 01:37 |
projekt01 | See:http://www.ch.amadeus.com/about/index.html where the top right and left part(pagelet) with the javascript image map is used in french and german | 01:38 |
projekt01 | This i18n image maps where the main reason we implemented the pagelet concept. | 01:40 |
*** yota has quit IRC | 01:42 | |
*** niemeyer has quit IRC | 01:42 | |
*** segoave has joined #zope3-dev | 01:42 | |
*** tav_ has joined #zope3-dev | 01:56 | |
*** tav has quit IRC | 01:57 | |
*** tav_ is now known as tav | 01:57 | |
*** ChanServ sets mode: +o tav | 01:57 | |
*** segoave has left #zope3-dev | 01:59 | |
projekt01 | srichter, how do you write to the log for a CookieError? With the normal logger? Or is there another concept for log warnings in the HTTPRequest class in zope.publisher.http.py | 02:00 |
projekt01 | srichter, I like to bugfix http://www.zope.org/Collectors/Zope3-dev/450 but I don't know the log concept at this level, can you give me a hint? | 02:01 |
srichter | I think you can just use the python logging module | 02:06 |
srichter | the log you want to use is called "eventlog" | 02:06 |
projekt01 | Ok, is there something similar implemented? | 02:06 |
srichter | what do you mean with similar? | 02:06 |
srichter | the event log will put it in the right places | 02:07 |
srichter | okay, I am on and off, since I have to clean the apt | 02:07 |
tav | enjoy | 02:07 |
projekt01 | I guess a CookieError would generate a warn message in the access.log | 02:07 |
projekt01 | Ok | 02:08 |
*** clueck has quit IRC | 02:09 | |
*** jan_s has quit IRC | 02:14 | |
*** hazmat has quit IRC | 02:20 | |
*** drMental has joined #Zope3-dev | 02:38 | |
srichter | projekt01: no the access log only logs the HTTP server level accesses | 03:31 |
projekt01 | srichter, can you check my commit revision 38476. | 03:34 |
*** Alef has joined #zope3-dev | 03:51 | |
*** bskahan has quit IRC | 03:53 | |
*** bradb has left #zope3-dev | 03:55 | |
*** projekt01 has quit IRC | 04:05 | |
*** stub has joined #zope3-dev | 04:08 | |
*** Alef has quit IRC | 04:18 | |
*** jan_s has joined #zope3-dev | 04:37 | |
*** stub has quit IRC | 05:13 | |
*** d2m_ has joined #zope3-dev | 05:17 | |
*** d2m has quit IRC | 05:18 | |
*** d2m_ is now known as d2m | 05:18 | |
*** sashav has quit IRC | 05:19 | |
*** sashav has joined #zope3-dev | 05:19 | |
*** tav_ has joined #zope3-dev | 05:22 | |
*** stub has joined #zope3-dev | 05:28 | |
*** tav has quit IRC | 05:29 | |
*** drMental has quit IRC | 06:42 | |
*** jan_s has quit IRC | 07:15 | |
*** jan_s has joined #zope3-dev | 07:16 | |
*** jan_s has quit IRC | 08:11 | |
*** jan_s has joined #zope3-dev | 08:16 | |
*** sashav has quit IRC | 08:21 | |
*** jan_s has quit IRC | 08:57 | |
*** j-w has joined #zope3-dev | 09:07 | |
*** MJ has quit IRC | 09:20 | |
*** hdima has joined #zope3-dev | 09:20 | |
*** MJ has joined #zope3-dev | 09:20 | |
*** sashav has joined #zope3-dev | 09:52 | |
*** hdima has quit IRC | 09:52 | |
*** mexiKON has joined #zope3-dev | 09:57 | |
*** sashav_ has joined #zope3-dev | 09:58 | |
*** tarek has joined #zope3-dev | 10:01 | |
*** philiKON has quit IRC | 10:07 | |
*** sashav has quit IRC | 10:11 | |
*** Alef has joined #zope3-dev | 10:30 | |
*** mexiKON is now known as philiKON | 10:40 | |
*** tav_ is now known as tav | 10:45 | |
*** MJ has quit IRC | 10:45 | |
*** clueck has joined #zope3-dev | 11:08 | |
*** ChanServ sets mode: +o tav | 11:13 | |
*** MrTopf has joined #zope3-dev | 11:21 | |
*** MrTopf has quit IRC | 11:22 | |
*** MJ has joined #zope3-dev | 11:26 | |
*** hdima has joined #zope3-dev | 11:40 | |
*** projekt01 has joined #zope3-dev | 11:42 | |
*** MrTopf has joined #zope3-dev | 11:59 | |
*** stub has quit IRC | 12:12 | |
*** regebro has joined #zope3-dev | 12:23 | |
*** ignas has joined #zope3-dev | 12:51 | |
*** regebro has quit IRC | 13:22 | |
*** anguenot has quit IRC | 13:37 | |
*** srichter has quit IRC | 13:42 | |
*** tiredbones has joined #zope3-dev | 14:00 | |
*** mgedmin has joined #zope3-dev | 14:21 | |
*** niemeyer has joined #zope3-dev | 14:23 | |
*** stub has joined #zope3-dev | 14:24 | |
*** srichter has joined #zope3-dev | 14:24 | |
*** stub has joined #zope3-dev | 14:25 | |
*** ChanServ sets mode: +o srichter | 14:25 | |
*** jinty has joined #zope3-dev | 14:34 | |
*** roym` has joined #zope3-dev | 14:53 | |
roym` | Would someone be kind enough to validate my assumptions: | 14:56 |
roym` | - since a widget is a view, a (sub)<widget> declaration can be | 14:56 |
roym` | replaced by an equivalent <view> declaration. | 14:56 |
roym` | - a <page> declaration can also be replaced by a <view> declaration | 14:56 |
*** deo is now known as deo|food | 15:01 | |
philiKON | roym`, a) wrong | 15:02 |
philiKON | roym`, b) sort of | 15:02 |
philiKON | a) the <widget> declaration in a editform or addform directive manipulates that particular form view | 15:02 |
philiKON | <view /> registers a component, it doesn't manipulate particular views | 15:03 |
philiKON | b) the page directive does a bit more than the view directive | 15:03 |
philiKON | that is, browser:page does more than zope:view | 15:03 |
philiKON | for example, it allows you to specify just a template | 15:03 |
philiKON | it creates the a view class around that automagically | 15:04 |
roym` | thanks; what do you mean by "manipulate particular views"? | 15:04 |
philiKON | well, when you declare a <browser:editform ... /> | 15:04 |
philiKON | that's a vie | 15:04 |
philiKON | that's a view | 15:04 |
philiKON | an edit view | 15:04 |
philiKON | the <widget> subdirective maniuplates that particular edit view | 15:05 |
roym` | aha, so it inserts overriding declarations (to subvert the default choice)? | 15:05 |
philiKON | look at the code to see what it does | 15:06 |
philiKON | it basically manually sets fieldname_widget on the view | 15:06 |
philiKON | the view will see if fieldname_widget already exists for each fieldname and if not, it'll look it up | 15:06 |
philiKON | that way, fieldname_widget always takes precedence | 15:06 |
roym` | ok - can I expect that the <widget> sub-decl will work for the <form> tag as well? My reading of the zcml makes me think so, however in practice it doesn't seem to. | 15:07 |
philiKON | not sure. check zope.app.form.browser/meta.zcml | 15:08 |
roym` | thanks. | 15:10 |
*** Alef has quit IRC | 15:15 | |
*** projekt01 has quit IRC | 15:18 | |
*** projekt01 has joined #zope3-dev | 15:26 | |
*** anguenot has joined #zope3-dev | 15:27 | |
*** Soulraven has joined #zope3-dev | 15:30 | |
*** srichter has quit IRC | 15:31 | |
*** benji_york has joined #zope3-dev | 15:42 | |
* Jigsaw sobs. | 15:58 | |
benji_york | there, there, Jigsaw, it can't be that bad | 16:00 |
*** deo|food is now known as deo | 16:19 | |
*** Theuni has quit IRC | 16:19 | |
*** roym has quit IRC | 16:52 | |
*** bradb has joined #zope3-dev | 16:53 | |
*** projekt01 has quit IRC | 16:53 | |
*** hdima has quit IRC | 16:57 | |
*** faassen has joined #zope3-dev | 17:12 | |
*** sashav_ has quit IRC | 17:17 | |
*** tarek has quit IRC | 17:35 | |
*** tarek has joined #zope3-dev | 17:38 | |
*** Theuni has joined #zope3-dev | 17:45 | |
*** efge has joined #zope3-dev | 18:01 | |
*** j-w has quit IRC | 18:13 | |
*** Soulraven has quit IRC | 18:17 | |
*** sashav has joined #zope3-dev | 18:20 | |
*** ignas_ has joined #zope3-dev | 18:30 | |
*** ignas has quit IRC | 18:30 | |
*** ignas_ is now known as ignas | 18:34 | |
*** ignas is now known as ignas_ | 18:34 | |
*** ignas_ is now known as ignas | 18:35 | |
*** MJ has quit IRC | 18:36 | |
*** MrTopf has quit IRC | 18:41 | |
*** stub has quit IRC | 18:50 | |
*** projekt01 has joined #zope3-dev | 19:01 | |
*** jinty has quit IRC | 19:08 | |
*** MJ has joined #zope3-dev | 19:09 | |
*** SureshZ has joined #zope3-dev | 19:24 | |
*** Alef has joined #zope3-dev | 19:24 | |
*** vlado_ has joined #zope3-dev | 19:37 | |
*** sashav has quit IRC | 19:45 | |
*** sashav has joined #zope3-dev | 19:50 | |
clueck | Hi there, | 19:51 |
clueck | I have a problem with formlib | 19:51 |
clueck | have form.Fields running :) but got stuck with Actions | 19:52 |
clueck | Would someone please help me? | 19:53 |
*** sashav has quit IRC | 19:58 | |
*** projekt01 has quit IRC | 19:58 | |
*** projekt01 has joined #zope3-dev | 20:01 | |
*** ignas has quit IRC | 20:08 | |
*** sashav has joined #zope3-dev | 20:10 | |
*** sashav has quit IRC | 20:13 | |
*** Aiste has quit IRC | 20:19 | |
*** sashav has joined #zope3-dev | 20:21 | |
*** sashav_ has joined #zope3-dev | 20:26 | |
*** sashav has quit IRC | 20:26 | |
*** Aiste has joined #zope3-dev | 20:31 | |
*** vlado_ has quit IRC | 20:33 | |
*** sashav_ has quit IRC | 20:35 | |
*** sashav has joined #zope3-dev | 20:38 | |
*** sashav has quit IRC | 20:40 | |
* clueck is back | 20:43 | |
*** clueck has quit IRC | 20:46 | |
*** yota has joined #zope3-dev | 20:53 | |
*** gintas has joined #zope3-dev | 20:55 | |
*** deo has quit IRC | 20:59 | |
*** sashav has joined #zope3-dev | 21:00 | |
*** faassen has quit IRC | 21:04 | |
*** bskahan has joined #zope3-dev | 21:04 | |
*** bskahan has joined #zope3-dev | 21:05 | |
*** sashav has quit IRC | 21:09 | |
*** sashav has joined #zope3-dev | 21:10 | |
*** baldtrol has joined #zope3-dev | 21:30 | |
*** hazmat has joined #zope3-dev | 21:33 | |
*** sashav has quit IRC | 21:44 | |
*** sashav has joined #zope3-dev | 22:01 | |
*** sashav_ has joined #zope3-dev | 22:09 | |
*** anguenot has quit IRC | 22:13 | |
*** tiredbones has quit IRC | 22:16 | |
*** tiredbones has joined #zope3-dev | 22:17 | |
*** sashav has quit IRC | 22:23 | |
*** baldtrol has left #zope3-dev | 22:24 | |
*** fcorrea has quit IRC | 22:30 | |
*** sashav_ has quit IRC | 22:33 | |
*** sashav has joined #zope3-dev | 22:33 | |
*** Jigsaw has left #zope3-dev | 22:50 | |
*** ignas has joined #zope3-dev | 22:51 | |
*** clueck has joined #zope3-dev | 22:56 | |
*** mgedmin has quit IRC | 23:01 | |
*** benji_york has quit IRC | 23:08 | |
*** benji_york has joined #zope3-dev | 23:10 | |
*** J1m has joined #zope3-dev | 23:12 | |
*** Alef has quit IRC | 23:14 | |
*** Alef has joined #zope3-dev | 23:15 | |
*** Alef has joined #zope3-dev | 23:16 | |
*** vlado_ has joined #zope3-dev | 23:21 | |
*** benji_york has left #zope3-dev | 23:25 | |
*** tarek_ has joined #zope3-dev | 23:29 | |
*** tarek has quit IRC | 23:34 | |
*** Jigsaw has joined #zope3-dev | 23:37 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!