nerdalert | such as ... tal:attributes="href context/@@someview?x=1&y=2" | 00:00 |
---|---|---|
benji | nerdalert: is the escaping biting you? | 00:01 |
benji | if so, you can do this: tal:attributes="href structure context/@@someview?x=1&y=2" | 00:01 |
benji | oh wait, I'm totally wrong | 00:02 |
benji | no, you can't do that | 00:02 |
nerdalert | oh, I didn't think to use structure. my way of getting it to work was to define the url into a local var | 00:02 |
nerdalert | tal:define="myurl context/@@someview/@@abs_url" | 00:02 |
benji | oh; I misunderstood what you wanted, you should be able to do something like... | 00:03 |
nerdalert | then do my tal:attribtues="href string:$myurl?x=1&y=2" | 00:03 |
*** rlo has quit IRC | 00:03 | |
benji | tal:attributes="href string:{context/@@someview/@@abs_url}?x=1&y=2", but I forget the exact syntax | 00:04 |
*** benji has quit IRC | 00:05 | |
*** replicant is now known as hazma | 00:08 | |
*** hazma is now known as hazmat | 00:08 | |
spython | hi, I'd like one of the functions in my xmlrpc view to return some XML and i'd like to use ZPT for this. | 00:11 |
spython | not fully sure how to do this... | 00:11 |
spython | simply make the function return a ViewPageTemplateFile('...') ? | 00:12 |
*** replicant has joined #zope3-dev | 00:13 | |
*** jodok has quit IRC | 00:17 | |
*** rlo has joined #zope3-dev | 00:18 | |
nerdalert | benji: okay, so I guess I do need to do it with string expressions. thanks =) | 00:23 |
spython | he aint here yo | 00:23 |
spython | ;) | 00:24 |
*** RaFromBRC|away is now known as RaFromBRC | 00:26 | |
*** jodok has joined #zope3-dev | 00:27 | |
*** dobee has joined #zope3-dev | 00:28 | |
nerdalert | oops =/ | 00:28 |
*** b52laptop has joined #zope3-dev | 00:28 | |
spython | dont worry bout it, can happen the best | 00:29 |
*** pcardune has joined #zope3-dev | 00:29 | |
nerdalert | very true | 00:29 |
*** pcardune has left #zope3-dev | 00:30 | |
*** pcardune_ has joined #zope3-dev | 00:30 | |
*** hazmat has quit IRC | 00:30 | |
*** pcardune_ has left #zope3-dev | 00:30 | |
*** enudracp has joined #zope3-dev | 00:32 | |
*** dobee has quit IRC | 00:32 | |
*** rlo has quit IRC | 00:34 | |
*** nerdalert has quit IRC | 00:40 | |
*** jsadjohnson has quit IRC | 00:40 | |
*** niemeyer has quit IRC | 00:41 | |
*** jodok has quit IRC | 00:51 | |
*** reco has joined #zope3-dev | 00:57 | |
*** niemeyer has joined #zope3-dev | 00:57 | |
*** kali67_ has joined #zope3-dev | 01:09 | |
*** Ariel_Calzada has joined #zope3-dev | 01:11 | |
*** kali67 has quit IRC | 01:24 | |
*** kali67 has joined #zope3-dev | 01:31 | |
*** gstratton has quit IRC | 01:34 | |
*** faassen has quit IRC | 01:38 | |
*** sm has quit IRC | 01:39 | |
*** jodok has joined #zope3-dev | 01:42 | |
*** kali67_ has quit IRC | 01:48 | |
*** J1m has quit IRC | 01:48 | |
*** Ariel_Calzada has quit IRC | 01:48 | |
*** hazmat_ has joined #zope3-dev | 01:49 | |
*** enudracp has quit IRC | 01:58 | |
*** replicant has quit IRC | 01:59 | |
*** spython has quit IRC | 02:06 | |
*** jodok has quit IRC | 02:06 | |
*** jsadjohnson has joined #zope3-dev | 02:07 | |
*** jodok has joined #zope3-dev | 02:16 | |
*** jodok_ has joined #zope3-dev | 02:22 | |
*** replicant has joined #zope3-dev | 02:23 | |
*** hazmat_ has quit IRC | 02:34 | |
*** jodok has quit IRC | 02:35 | |
*** RaFromBRC is now known as RaFromBRC|away | 02:39 | |
*** b52GM has quit IRC | 02:39 | |
*** b52laptop has quit IRC | 02:40 | |
*** jodok_ has quit IRC | 02:43 | |
*** hazmat has joined #zope3-dev | 02:52 | |
*** ChanServ sets mode: +o hazmat | 02:52 | |
*** hazmat_ has joined #zope3-dev | 02:53 | |
*** niemeyer has quit IRC | 02:58 | |
*** kali67_ has joined #zope3-dev | 03:02 | |
*** marianom has quit IRC | 03:08 | |
*** replicant has quit IRC | 03:11 | |
*** kali67 has quit IRC | 03:11 | |
*** hazmat has quit IRC | 03:13 | |
*** rocky|away has quit IRC | 03:16 | |
*** kali67 has joined #zope3-dev | 03:22 | |
*** pbugni has quit IRC | 03:29 | |
*** RaFromBRC|away is now known as RaFromBRC | 03:30 | |
*** kali67_ has quit IRC | 03:33 | |
*** hazmat_ has quit IRC | 03:37 | |
*** marianom has joined #zope3-dev | 03:52 | |
*** RaFromBRC has quit IRC | 04:12 | |
*** kali67 has quit IRC | 04:22 | |
*** alecm has quit IRC | 04:33 | |
*** jsadjohnson has quit IRC | 05:01 | |
*** hazmat has joined #zope3-dev | 05:53 | |
*** ChanServ sets mode: +o hazmat | 05:53 | |
*** Ariel_Calzada has joined #zope3-dev | 05:54 | |
edgordon | are List widgets not usable in Five? i am getting that 'debug' AttributeError | 06:25 |
edgordon | isn't there some way to add debug to the Z2 request? | 06:25 |
edgordon | i guess it uses the z3 pagetemplate, instead of Five's ViewPageTemplateFile | 06:32 |
*** alecm has joined #zope3-dev | 06:34 | |
*** rcrafton_ has quit IRC | 06:45 | |
edgordon | clarification, it is a list widget with Choice value types | 06:57 |
*** pbugni has joined #zope3-dev | 06:58 | |
*** reco has quit IRC | 07:05 | |
*** reco has joined #zope3-dev | 07:06 | |
*** stub has joined #zope3-dev | 07:16 | |
*** alecm has quit IRC | 07:17 | |
*** alecm has joined #zope3-dev | 07:18 | |
*** chacha_chaudhry has joined #zope3-dev | 07:32 | |
*** chacha_chaudhry has quit IRC | 07:34 | |
*** chacha_chaudhry has joined #zope3-dev | 07:35 | |
*** alecm_ has joined #zope3-dev | 08:04 | |
*** deo has quit IRC | 08:06 | |
*** alecm has quit IRC | 08:22 | |
*** alecm_ has quit IRC | 08:24 | |
*** replicant has joined #zope3-dev | 08:32 | |
*** Ariel_Calzada has quit IRC | 08:32 | |
*** naro has joined #zope3-dev | 08:34 | |
*** cursor has joined #zope3-dev | 08:40 | |
*** baijum has joined #zope3-dev | 08:41 | |
*** jukart has joined #zope3-dev | 08:42 | |
*** hazmat has quit IRC | 08:49 | |
*** replicant has quit IRC | 08:56 | |
*** pbugni has quit IRC | 09:15 | |
*** kali67 has joined #zope3-dev | 09:17 | |
*** yvl has joined #zope3-dev | 09:24 | |
*** sorin_ has joined #zope3-dev | 09:29 | |
*** sorin_ is now known as sorindregan | 09:29 | |
*** jfroche_ has quit IRC | 09:38 | |
*** reco has quit IRC | 09:41 | |
*** dobee has joined #zope3-dev | 09:47 | |
*** romanofski has joined #zope3-dev | 09:49 | |
*** gstratton has joined #zope3-dev | 10:01 | |
*** kali67 has quit IRC | 10:10 | |
*** timte has joined #zope3-dev | 10:13 | |
*** greenman has joined #zope3-dev | 10:20 | |
*** fil has left #zope3-dev | 10:21 | |
*** baijum has quit IRC | 10:27 | |
*** baijum has joined #zope3-dev | 10:28 | |
*** jodok has joined #zope3-dev | 10:28 | |
*** Jell-O-Fishi has quit IRC | 10:31 | |
*** lmiller has quit IRC | 10:40 | |
*** bigkevmcd has joined #zope3-dev | 10:42 | |
*** greenman has quit IRC | 10:47 | |
*** zagy has joined #zope3-dev | 10:47 | |
*** projekt01 has joined #zope3-dev | 11:04 | |
*** projekt01 has joined #zope3-dev | 11:07 | |
*** tarek has joined #zope3-dev | 11:09 | |
*** Ariel_Calzada has joined #zope3-dev | 11:13 | |
*** kleist has joined #zope3-dev | 11:16 | |
*** ghendi has joined #zope3-dev | 11:17 | |
*** jfroche has joined #zope3-dev | 11:22 | |
*** d2m has joined #zope3-dev | 11:22 | |
afd_ | what could be the reason for this: http://paste.plone.org/16297 ? It's a file upload page, but the error only appears when there's a slow upload going on (something like 20 minutes upload time) | 11:24 |
wiggy | looks like something is doing a write to the zodb on your download | 11:32 |
*** jodok has quit IRC | 11:55 | |
*** jodok has joined #zope3-dev | 12:03 | |
*** richardkan has joined #zope3-dev | 12:13 | |
*** povbot` has joined #zope3-dev | 12:16 | |
projekt01 | wiggy, ask dobee or jukart, why there is a transaction.commit() in media/event.py | 12:18 |
wiggy | no idea | 12:18 |
projekt01 | I guess this is a workaround for something, could be that this is a problem on long running transactions | 12:19 |
*** ferrafox has joined #zope3-dev | 12:19 | |
dobee | projekt01: do we have a public media package?? | 12:19 |
dobee | wiggy: are you sorin? | 12:21 |
wiggy | last time I checked I was wiggy | 12:21 |
*** junkafarian has joined #zope3-dev | 12:22 | |
projekt01 | wiggy, Sorry, I'm wrong I was thinking you are a lovely system guy and you where asking for the media package from them. | 12:23 |
wiggy | as lovely as I may be at times I'm not a lovely systems guy :) | 12:24 |
*** b52laptop has joined #zope3-dev | 12:24 | |
projekt01 | ;-) | 12:25 |
*** Ariel_Calzada has quit IRC | 12:30 | |
*** spython has joined #zope3-dev | 12:35 | |
*** MJ has joined #zope3-dev | 12:49 | |
*** dunny has joined #zope3-dev | 12:50 | |
*** jfroche has quit IRC | 12:54 | |
*** mkerrin has joined #zope3-dev | 13:02 | |
*** goschtl has joined #zope3-dev | 13:12 | |
*** stub has quit IRC | 13:22 | |
*** ferrafox has quit IRC | 13:25 | |
*** reco has joined #zope3-dev | 13:38 | |
*** yvl has quit IRC | 13:49 | |
*** ferrafox has joined #zope3-dev | 13:49 | |
*** ferrafox has quit IRC | 14:00 | |
*** goschtl has quit IRC | 14:08 | |
*** norro has joined #zope3-dev | 14:11 | |
*** ferrafox has joined #zope3-dev | 14:13 | |
*** Newfie2007 has joined #zope3-dev | 14:17 | |
*** cursor has quit IRC | 14:21 | |
*** dobee has quit IRC | 14:31 | |
*** cursor has joined #zope3-dev | 14:32 | |
*** jsadjohnson has joined #zope3-dev | 14:35 | |
*** mrevoir has quit IRC | 14:36 | |
*** spython has quit IRC | 14:39 | |
*** norro has quit IRC | 14:43 | |
*** ghendi has quit IRC | 14:44 | |
*** dobee has joined #zope3-dev | 14:54 | |
*** chacha_chaudhry has quit IRC | 14:57 | |
*** hazmat has joined #zope3-dev | 14:57 | |
*** ChanServ sets mode: +o hazmat | 14:57 | |
*** stub has joined #zope3-dev | 15:09 | |
*** reco has quit IRC | 15:13 | |
*** reco has joined #zope3-dev | 15:16 | |
*** hazmat has quit IRC | 15:27 | |
*** replicant has joined #zope3-dev | 15:27 | |
*** MJ is now known as MJ|lunch | 15:33 | |
*** benji has joined #zope3-dev | 15:43 | |
*** replicant has quit IRC | 15:49 | |
*** cursor has quit IRC | 15:52 | |
*** MJ|lunch is now known as MJ | 15:56 | |
*** rcrafton has joined #zope3-dev | 15:59 | |
*** Aiste has quit IRC | 16:00 | |
*** redir has joined #zope3-dev | 16:01 | |
*** mgedmin has joined #zope3-dev | 16:02 | |
*** replicant has joined #zope3-dev | 16:08 | |
*** rlo has joined #zope3-dev | 16:11 | |
*** jsadjohnson has quit IRC | 16:13 | |
*** elro has joined #zope3-dev | 16:15 | |
*** redir has quit IRC | 16:18 | |
elro | Is it possible to remove an event registration for a subclass? | 16:21 |
elro | and also, is it possible to unimplement an Interface in a subclass? | 16:22 |
* elro is trying to get a load of zope2 functionality and override stuff with adapters, but his superclass is implementing too much | 16:24 | |
*** jsadjohnson has joined #zope3-dev | 16:25 | |
wiggy | sounds like #z3-base would be a better channel for you :) | 16:25 |
*** afd_ has quit IRC | 16:26 | |
elro | :-) | 16:26 |
wiggy | look at the zope.component README.txt | 16:27 |
wiggy | and perhaps zope.interface | 16:27 |
*** niemeyer has joined #zope3-dev | 16:35 | |
*** nikhil_n has joined #Zope3-dev | 16:35 | |
*** rlo is now known as redir | 16:35 | |
*** Aiste has joined #zope3-dev | 16:36 | |
*** povbot has joined #zope3-dev | 16:39 | |
*** stub has quit IRC | 16:43 | |
*** hazmat_ has joined #zope3-dev | 16:49 | |
*** rocky has joined #zope3-dev | 16:57 | |
*** sorindregan has quit IRC | 17:00 | |
*** hazmat has joined #zope3-dev | 17:03 | |
*** ChanServ sets mode: +o hazmat | 17:03 | |
*** replicant has quit IRC | 17:07 | |
*** timte has quit IRC | 17:18 | |
*** jfroche has joined #zope3-dev | 17:19 | |
*** hazmat_ has quit IRC | 17:20 | |
*** matdoc has joined #zope3-dev | 17:23 | |
wiggy | any of the zalchemy people here? | 17:28 |
*** srichter has joined #zope3-dev | 17:31 | |
*** ChanServ sets mode: +o srichter | 17:31 | |
*** timte has joined #zope3-dev | 17:34 | |
*** replicant has joined #zope3-dev | 17:37 | |
*** hazmat has quit IRC | 17:45 | |
*** jfroche has quit IRC | 17:45 | |
*** jfroche has joined #zope3-dev | 17:46 | |
*** srichter has quit IRC | 17:46 | |
*** replicant is now known as hazmat | 17:46 | |
*** ChanServ sets mode: +o hazmat | 17:46 | |
*** baijum has quit IRC | 17:47 | |
*** jodok has quit IRC | 17:48 | |
*** dobee has quit IRC | 17:56 | |
*** dobee has joined #zope3-dev | 18:07 | |
*** romanofski has quit IRC | 18:16 | |
*** gstratton has left #zope3-dev | 18:25 | |
*** dobee has quit IRC | 18:26 | |
*** dobee has joined #zope3-dev | 18:28 | |
*** dobee has quit IRC | 18:30 | |
*** zagy has quit IRC | 18:32 | |
*** replicant has joined #zope3-dev | 18:40 | |
*** jfroche has quit IRC | 18:42 | |
*** hazmat has quit IRC | 18:49 | |
*** alecm has joined #zope3-dev | 18:56 | |
*** markusleist has quit IRC | 19:00 | |
*** hazmat_ has joined #zope3-dev | 19:00 | |
*** pbugni has joined #zope3-dev | 19:05 | |
*** projekt01 has left #zope3-dev | 19:06 | |
*** replicant has quit IRC | 19:18 | |
*** replicant has joined #zope3-dev | 19:18 | |
*** srichter has joined #zope3-dev | 19:18 | |
*** MJ has quit IRC | 19:19 | |
*** pcardune has joined #zope3-dev | 19:27 | |
*** hazmat_ has quit IRC | 19:28 | |
*** jukart has quit IRC | 19:34 | |
pcardune | hello, can anyone inform me how I could grab the request object associated with the currently running thread? (i.e out of thin air) (or maybe an example to look at) | 19:38 |
*** elro has quit IRC | 19:45 | |
*** rlo has joined #zope3-dev | 19:46 | |
*** romanofski has joined #zope3-dev | 19:47 | |
*** romanofski has joined #zope3-dev | 19:47 | |
mgedmin | pcardune: you could pry it out of getInteraction() | 19:48 |
mgedmin | loop through its participations and see whether one of them provides IBrowserRequest | 19:49 |
pcardune | mgedmin: thanks, I'll try that | 19:49 |
mgedmin | getInteraction comes from zope.security.interaction, iirc | 19:49 |
pcardune | good to know | 19:49 |
*** sm has joined #zope3-dev | 19:49 | |
*** redir has quit IRC | 19:54 | |
*** ChanServ sets mode: +o srichter | 19:56 | |
*** Ariel_Calzada has joined #zope3-dev | 19:59 | |
*** ccomb has quit IRC | 20:07 | |
*** RaFromBRC has joined #zope3-dev | 20:10 | |
*** ferrafox_ has joined #zope3-dev | 20:14 | |
*** nikhil_n has left #Zope3-dev | 20:23 | |
*** b52laptop has quit IRC | 20:24 | |
*** mkerrin has quit IRC | 20:29 | |
*** elro has joined #zope3-dev | 20:29 | |
*** ferrafox has quit IRC | 20:30 | |
*** bigkevmcd has quit IRC | 20:30 | |
*** dobee has joined #zope3-dev | 20:38 | |
*** faassen has joined #zope3-dev | 20:42 | |
*** ferrafox_ has quit IRC | 20:43 | |
*** junkafarian is now known as them | 20:45 | |
*** them is now known as junkafarian | 20:46 | |
*** dobee has quit IRC | 20:46 | |
*** cbcunc has joined #zope3-dev | 20:47 | |
*** fcorrea has joined #zope3-dev | 20:50 | |
*** Newfie2007 has quit IRC | 20:50 | |
*** dobee has joined #zope3-dev | 20:52 | |
*** dobee has quit IRC | 20:53 | |
*** richardkan has quit IRC | 20:53 | |
*** edgordon has quit IRC | 20:54 | |
*** elro has quit IRC | 20:56 | |
*** rlo has quit IRC | 21:15 | |
*** junkafarian has quit IRC | 21:15 | |
*** derek_richardson has quit IRC | 21:18 | |
*** agroszer has joined #zope3-dev | 21:19 | |
*** redir has joined #zope3-dev | 21:23 | |
*** agroszer has quit IRC | 21:23 | |
pcardune | mgedmin: if you are so inclined to answer a second question: I'm trying to write a test for a function that grabs the request form the interaction, but how do participations get associated with a request object? I only see principal and interaction as its attributes | 21:26 |
*** stub has joined #zope3-dev | 21:28 | |
pcardune | or maybe the request can act as the "principal" | 21:29 |
*** dobee has joined #zope3-dev | 21:31 | |
*** Jell-O-Fishi has joined #zope3-dev | 21:36 | |
*** Ariel_Calzada has quit IRC | 21:37 | |
*** jsadjohnson has quit IRC | 21:37 | |
*** redir has quit IRC | 21:41 | |
mgedmin | pcardune: newInteraction(request=TestRequest()) in your test's setUp | 21:43 |
mgedmin | IIRC | 21:43 |
mgedmin | I haven't done that in a while | 21:43 |
pcardune | aaah, i'll try it out, thanks | 21:43 |
mgedmin | >>> endInteraction() | 21:43 |
mgedmin | >>> newInteraction(request) | 21:43 |
mgedmin | is what I can find in some of my tests | 21:43 |
mgedmin | and a restoreInteraction() at the very end | 21:44 |
*** dobee has quit IRC | 21:44 | |
mgedmin | all these are imported from zope.security.management | 21:44 |
mgedmin | the request is a TestRequest() | 21:44 |
mgedmin | and IIRC a request has a .setPrincipal method | 21:44 |
*** redir has joined #zope3-dev | 21:45 | |
*** mgedmin has quit IRC | 21:45 | |
*** aelkner has left #zope3-dev | 21:47 | |
*** kleist has quit IRC | 21:48 | |
*** kleist has joined #zope3-dev | 21:49 | |
*** faassen has quit IRC | 21:51 | |
*** dobee has joined #zope3-dev | 21:53 | |
*** elro has joined #zope3-dev | 21:57 | |
*** Jell-O-Fishi has quit IRC | 21:59 | |
*** stub has quit IRC | 22:12 | |
*** redir has quit IRC | 22:25 | |
*** spython has joined #zope3-dev | 22:28 | |
*** redir has joined #zope3-dev | 22:30 | |
*** redir has quit IRC | 22:31 | |
*** redir has joined #zope3-dev | 22:31 | |
*** redir has quit IRC | 22:37 | |
*** Ariel_Calzada has joined #zope3-dev | 22:39 | |
*** redir has joined #zope3-dev | 22:40 | |
*** Jell-O-Fishi has joined #zope3-dev | 22:44 | |
*** redir has quit IRC | 22:49 | |
*** redir has joined #zope3-dev | 22:50 | |
*** redir has quit IRC | 22:52 | |
*** redir has joined #zope3-dev | 22:53 | |
spython | any hints on how to setup a container to store a bunch of content objects and to make it as easy as possible to get all of them ordered by date (newest first) | 22:54 |
*** derek_richardson has joined #zope3-dev | 22:55 | |
spython | it'd be nice to just do mycontainer.values() and I'd get a list of my objects in dateorder | 22:55 |
*** rlo has joined #zope3-dev | 23:03 | |
*** RaFromBRC has quit IRC | 23:05 | |
*** edgordon has joined #zope3-dev | 23:09 | |
*** redir has quit IRC | 23:10 | |
*** kali67 has joined #zope3-dev | 23:10 | |
*** kali67 has quit IRC | 23:13 | |
*** kali67 has joined #zope3-dev | 23:15 | |
*** b52laptop has joined #zope3-dev | 23:18 | |
*** pcardune has quit IRC | 23:28 | |
*** edgordon has quit IRC | 23:35 | |
*** edgordon has joined #zope3-dev | 23:37 | |
*** d2m has left #zope3-dev | 23:40 | |
*** edgordon has quit IRC | 23:43 | |
*** romanofski has quit IRC | 23:45 | |
*** elro has quit IRC | 23:50 | |
*** salfield has joined #zope3-dev | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!