Re: New document -- first Pylons site how-to

2007-02-17 Thread skip . montanaro
Dave This document does not answer questions about how to structure a Dave Pylons application because I don't know how to do that. Maybe you Dave can instruct me on application structure. I'd also be interested in a what-goes-where-and-why tutorial. Mike I started putting

Re: Adding Genshi Template Engine (environment.py vs middleware.py)

2007-02-17 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 Feb 2007, at 16:33, Damjan wrote: # Setup Genshi(only) Template Engine Implying that mix'n'match isn't supported? I haven't had any success with the add_template_engine approach. When I supplied the engine as an argument to

Re: help with google maps + pylons app

2007-02-17 Thread Jamie
Depending on what you're trying to do, there's probably several different answers. We might be able to help a bit more if you could show us what you've already written and explain what you're trying to accomplish. On Feb 17, 12:43 am, sqad [EMAIL PROTECTED] wrote: Ok, so I got the lat/long of

Re: Adding Genshi Template Engine (environment.py vs middleware.py)

2007-02-17 Thread Damjan
# Setup Genshi(only) Template Engine Implying that mix'n'match isn't supported? That's copy/paste from the recipe I've found... I don't use other templates so I've not even tried mixing them. So I don't imply anything. --~--~-~--~~~---~--~~ You received

Re: Adding Genshi Template Engine (environment.py vs middleware.py)

2007-02-17 Thread Damjan
I only thought that it might be a bit premature to hard-code it into the project templates as the only engine. Unless Genshi is now part of the standard Pylons easy_install? Which is what I should have written in the first place. Aha I understand what you mean... No, I don't propose to

Re: help with google maps + pylons app

2007-02-17 Thread sqad
I have the following javascript function that takes a address (e.g. 'One Washington Drive, Washington, USA'), determines the geocodes of that location, and then plots them on the Google Maps as markers. function showAddress(address) { if (geocoder) { geocoder.getLatLng(

Re: pylons, genshi and xml

2007-02-17 Thread Ben Bangert
On Feb 16, 2007, at 9:05 PM, Cliff Wells wrote: Actually, the TG spec is completely superfluous. You can use / rather than . and it will work just fine. I just removed support for dotted path notation from Breve as it causes problems (e.g. paths with dots in them) and provides nothing

Re: help with google maps + pylons app

2007-02-17 Thread sqad
Nevermind, figured it out... Thanks anyway. /sqad On Feb 17, 10:43 am, sqad [EMAIL PROTECTED] wrote: I have the following javascript function that takes a address (e.g. 'One Washington Drive, Washington, USA'), determines the geocodes of that location, and then plots them on the Google Maps

Re: help with google maps + pylons app

2007-02-17 Thread skip . montanaro
sqad Nevermind, figured it out... and the solution was ...? Skip --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To

Re: pylons, genshi and xml

2007-02-17 Thread Bob Ippolito
On 2/17/07, Ben Bangert [EMAIL PROTECTED] wrote: On Feb 16, 2007, at 9:05 PM, Cliff Wells wrote: Actually, the TG spec is completely superfluous. You can use / rather than . and it will work just fine. I just removed support for dotted path notation from Breve as it causes problems

setting a cookie whether a redirect happens or not - part 2

2007-02-17 Thread Damjan
There was a discussion recently about this on this list but also on IRC etc. I have two sollutions, one was to make a custom redirect response that then I could modify. The other is to modify Pylons so that instead of re-raiseing the HTTPException in WSGIController.__call__ so that the

Re: Wiki preview broken

2007-02-17 Thread Philip Jenvey
On Feb 17, 2007, at 5:44 AM, Mike Orr wrote: When I press Preview on the Pylons wiki, it forgets my changes. I have to submit, correct, and submit again. I haven't modified the wiki for a few weeks, but it was working then. Firefox 2.0.0.1, Linux, using logged-in account. Wow that