noZoper | ' | 00:18 |
---|---|---|
*** norro has quit IRC | 00:28 | |
*** opetznick has quit IRC | 00:31 | |
*** jinty has joined #zope3-dev | 00:49 | |
*** yotaMld is now known as yota | 00:53 | |
*** jinty has quit IRC | 01:04 | |
*** natea has joined #zope3-dev | 01:15 | |
*** jinty has joined #zope3-dev | 01:23 | |
*** noZoper has quit IRC | 01:28 | |
*** jinty has quit IRC | 01:28 | |
*** ktwilight_ has joined #zope3-dev | 01:29 | |
*** dlk has left #zope3-dev | 01:42 | |
*** ktwilight has quit IRC | 01:44 | |
*** natea has quit IRC | 01:53 | |
*** jhauser has quit IRC | 02:11 | |
*** ignas has quit IRC | 02:27 | |
*** ignas has joined #zope3-dev | 02:28 | |
*** ofer has joined #zope3-dev | 02:32 | |
*** b_52GM has joined #zope3-dev | 02:32 | |
*** b_52Free has quit IRC | 02:49 | |
*** yota has quit IRC | 02:50 | |
*** ofer has quit IRC | 03:11 | |
*** tarek has joined #zope3-dev | 03:28 | |
*** philiKON_ is now known as philiKON | 03:43 | |
*** philiKON has quit IRC | 03:52 | |
*** philiKON_ has joined #zope3-dev | 03:52 | |
*** philiKON_ is now known as philiKON | 03:52 | |
*** tarek has quit IRC | 03:56 | |
*** Bhaskar has joined #zope3-dev | 05:47 | |
*** baijum has joined #zope3-dev | 06:43 | |
*** philiKON_ has joined #zope3-dev | 06:47 | |
*** baijum has quit IRC | 06:56 | |
*** philiKON has quit IRC | 06:56 | |
*** romanofs1i has joined #zope3-dev | 07:12 | |
*** romanofski has quit IRC | 07:29 | |
*** alecm has quit IRC | 07:57 | |
*** alecm has joined #zope3-dev | 07:57 | |
*** Bhaskar has quit IRC | 08:37 | |
*** dlk has joined #zope3-dev | 08:49 | |
*** naro has joined #zope3-dev | 09:03 | |
*** b_52GM has quit IRC | 09:37 | |
*** tonico has quit IRC | 09:37 | |
*** tahara has quit IRC | 09:37 | |
*** srichter has quit IRC | 09:37 | |
*** andrew_m has quit IRC | 09:37 | |
*** BigML has quit IRC | 09:39 | |
*** srichter has joined #zope3-dev | 09:41 | |
*** dunny has quit IRC | 09:45 | |
*** naro is now known as naro_ | 09:45 | |
*** naro_ is now known as naro | 09:47 | |
*** andrew_m has joined #zope3-dev | 09:55 | |
*** b_52GM has joined #zope3-dev | 09:56 | |
*** tonico has joined #zope3-dev | 09:56 | |
*** natea has joined #zope3-dev | 10:20 | |
*** jodok has joined #zope3-dev | 10:25 | |
*** dlk has left #zope3-dev | 10:26 | |
*** dunny has joined #zope3-dev | 10:28 | |
*** natea has quit IRC | 10:30 | |
*** jodok has quit IRC | 10:32 | |
*** jodok has joined #zope3-dev | 10:45 | |
*** jodok has quit IRC | 10:47 | |
*** tarek_ has joined #zope3-dev | 10:59 | |
*** dunny has quit IRC | 11:25 | |
*** yota has joined #zope3-dev | 11:27 | |
*** lzdych has joined #zope3-dev | 11:43 | |
*** natea has joined #zope3-dev | 11:44 | |
*** natea has quit IRC | 11:45 | |
*** jfroche has joined #zope3-dev | 12:03 | |
*** dobee has joined #zope3-dev | 12:05 | |
*** jhauser has joined #zope3-dev | 12:10 | |
*** Bhaskar has joined #zope3-dev | 12:14 | |
*** jhauser has quit IRC | 12:29 | |
*** jhauser has joined #zope3-dev | 12:29 | |
*** jhauser has quit IRC | 12:43 | |
*** romanofs1i is now known as romanofski | 12:46 | |
*** ktwilight has joined #zope3-dev | 12:48 | |
*** jhauser has joined #zope3-dev | 12:54 | |
*** dobee has quit IRC | 13:02 | |
*** ktwilight_ has quit IRC | 13:02 | |
*** zagy has quit IRC | 13:03 | |
*** zagy has joined #zope3-dev | 13:04 | |
*** ktwilight has quit IRC | 13:04 | |
*** Bhaskar has quit IRC | 13:29 | |
*** ktwilight has joined #zope3-dev | 13:51 | |
*** yvl has joined #zope3-dev | 14:09 | |
*** mgedmin has joined #zope3-dev | 14:23 | |
*** philiKON_ is now known as philiKON | 14:25 | |
*** opetznick has joined #zope3-dev | 14:28 | |
*** replaceafill has joined #zope3-dev | 14:34 | |
replaceafill | hi. are response.redirects supposed to be used only at the end of view methods? | 14:35 |
philiKON | no | 14:35 |
philiKON | they can be used anywhere | 14:35 |
*** zagy has quit IRC | 14:35 | |
*** zagy has joined #zope3-dev | 14:36 | |
philiKON | but typically they're the last thing in a view method, yes | 14:36 |
replaceafill | philiKON: like in a except clause_ | 14:36 |
replaceafill | philiKON: I have a BrowserView and one method, I want to redirect the user if some Session data is not set | 14:37 |
philiKON | sure that works | 14:37 |
replaceafill | philiKON: but if i use the redirect at the beggining it doesnt work | 14:37 |
philiKON | well, if a response body is set, it might be that the response status is changed back to 200 | 14:37 |
replaceafill | philiKON: sorry philip u lost me there :) | 14:38 |
philiKON | you know http, right? | 14:38 |
philiKON | response status code 200 Ok? | 14:38 |
replaceafill | philiKON: yep | 14:38 |
philiKON | a redirect is a 302 or 303 with a Location: header | 14:39 |
philiKON | so, if you issue a redirect, all it really does is change the response status | 14:39 |
replaceafill | philiKON: :O | 14:39 |
philiKON | now, if you do something else after that that changes the response status code, well, tough luck | 14:39 |
replaceafill | so the methods body continues to execute | 14:39 |
philiKON | :) | 14:39 |
philiKON | of course | 14:39 |
replaceafill | oooooohhhhhhhh | 14:39 |
philiKON | so, do a redirect and a return | 14:40 |
replaceafill | i'm so dumb, i thought the program flow went to the redirected view!! | 14:40 |
philiKON | uh, no | 14:40 |
philiKON | a redirect is always a new request | 14:40 |
philiKON | meaning, you tell the browser to visit another url | 14:40 |
philiKON | that's what status 302 or 303 (http 1.1) is for | 14:41 |
replaceafill | ...changing code now :) | 14:41 |
philiKON | :) | 14:42 |
replaceafill | by the way philip, now the i have the opportunity, do u know when ur book is getting to barnesandnoble? | 14:43 |
replaceafill | IT WORKED!! | 14:44 |
philiKON | replaceafill: springer NYC is supposedly shipping the book since this week | 14:44 |
replaceafill | i lost three hours of my life because of a return!! well that and knowledge that i dont have :) | 14:44 |
philiKON | which means bookstores throughout the u.s. should have it in stock soon | 14:44 |
replaceafill | i visited springer website but it said "available in 3 - 4 weeks"!! | 14:45 |
philiKON | yeah | 14:45 |
philiKON | it's weird | 14:45 |
philiKON | i should give them a call | 14:45 |
philiKON | 'cept that it's sunday ;) | 14:45 |
replaceafill | yeah, some of us are waiting for it :) | 14:46 |
philiKON | i know | 14:46 |
replaceafill | well man, very kind of u, thanks for ur help | 14:46 |
philiKON | np | 14:46 |
philiKON | replaceafill: btw, you might want to check out http://www.archive.org/details/grok_todo_part1 | 14:47 |
replaceafill | philiKON: is grok going to replace zope 3 as we newbies use it now? | 14:50 |
philiKON | well, i think it's going to give newbies and experts alike a quicker way of writing zope 3 apps | 14:50 |
philiKON | i mean, in that screencast i'm making a simple CRUD application in just 15 minutes | 14:51 |
replaceafill | i read ur z3labs "and u thought zope 3 wasnt funny" or something | 14:51 |
philiKON | i think it'd take a lot longer with zcml etc. | 14:51 |
philiKON | right | 14:51 |
replaceafill | it seems really interesting | 14:51 |
philiKON | yeah, tkae a look at the screencast, it shows more | 14:52 |
replaceafill | yeah in this project i am, i feel like i write so much zcml as python lines | 14:52 |
replaceafill | ok thanks | 14:52 |
philiKON | hehe, rright | 14:52 |
replaceafill | i know it because im a newbie | 14:52 |
replaceafill | and lots of zcml stuff can go on python code | 14:52 |
replaceafill | using adapters and stuff, but... :) | 14:52 |
*** jhauser has quit IRC | 15:25 | |
*** yvl has left #zope3-dev | 15:39 | |
*** opetznick has quit IRC | 15:54 | |
*** norro has joined #zope3-dev | 16:35 | |
*** tarek_ has quit IRC | 17:06 | |
*** tarek_ has joined #zope3-dev | 17:08 | |
*** replaceafill has quit IRC | 17:13 | |
*** jodok has joined #zope3-dev | 17:20 | |
*** jodok has quit IRC | 17:28 | |
*** ofer has joined #zope3-dev | 17:31 | |
*** mgedmin has quit IRC | 17:39 | |
*** zagy_ has joined #zope3-dev | 18:21 | |
*** zagy_ has quit IRC | 18:25 | |
*** opetznick has joined #zope3-dev | 18:33 | |
*** zagy has quit IRC | 18:37 | |
*** J1m has joined #zope3-dev | 18:42 | |
*** romanofs1i has joined #zope3-dev | 18:44 | |
*** romanofs2i has joined #zope3-dev | 18:50 | |
*** zagy has joined #zope3-dev | 18:53 | |
*** romanofski has quit IRC | 18:58 | |
*** roym has joined #zope3-dev | 19:00 | |
*** romanofs2i is now known as romanofski | 19:01 | |
*** romanofs1i has quit IRC | 19:07 | |
*** jodok has joined #zope3-dev | 19:08 | |
*** jodok has quit IRC | 19:11 | |
*** jodok has joined #zope3-dev | 19:18 | |
*** jinty has joined #zope3-dev | 19:30 | |
*** jodok has quit IRC | 19:36 | |
*** opetznick has quit IRC | 19:50 | |
*** ofer has quit IRC | 20:04 | |
*** opetznick has joined #zope3-dev | 20:17 | |
*** dunny has joined #zope3-dev | 20:25 | |
*** vlado has joined #zope3-dev | 20:26 | |
*** vlado has quit IRC | 20:26 | |
*** opetznick has quit IRC | 20:42 | |
*** jikanter has joined #zope3-dev | 20:49 | |
jikanter | Who do I talk to about commiting a patch to Zope3? | 21:22 |
*** jikanter has quit IRC | 21:28 | |
*** roym has quit IRC | 21:33 | |
*** lzdych has quit IRC | 21:34 | |
*** natea has joined #zope3-dev | 21:48 | |
*** timte has joined #zope3-dev | 22:02 | |
*** romanofs1i has joined #zope3-dev | 22:13 | |
*** zenwryly has quit IRC | 22:14 | |
*** jhauser has joined #zope3-dev | 22:19 | |
*** ofer has joined #zope3-dev | 22:24 | |
*** romanofski has quit IRC | 22:30 | |
*** natea has quit IRC | 22:33 | |
*** natea has joined #zope3-dev | 22:34 | |
*** arroda has joined #zope3-dev | 22:39 | |
*** natea_ has joined #zope3-dev | 22:42 | |
*** opetznick has joined #zope3-dev | 22:44 | |
*** opetznick has quit IRC | 22:45 | |
*** ofer has quit IRC | 22:46 | |
*** arroda has left #zope3-dev | 22:52 | |
*** zagy has quit IRC | 22:59 | |
*** natea has quit IRC | 23:02 | |
*** romanofs1i has quit IRC | 23:03 | |
*** J1m has left #zope3-dev | 23:11 | |
*** ChanServ sets mode: +o srichter | 23:27 | |
*** naro has quit IRC | 23:41 | |
*** natea has joined #zope3-dev | 23:46 | |
*** natea has quit IRC | 23:47 | |
*** natea has joined #zope3-dev | 23:47 | |
*** timte has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!