Re: Simple production question

2009-11-02 Thread morellik
Thanks to all for yours replies. If I understand correctly, your Pylons application is running on port 8080, and you want Apache to proxy port 5001 to it but not port 80 (i.e., port 80 will be used for a different website). Excuse me for my bad English. I dont' explain well the problem. The

External link for form action

2009-11-02 Thread morellik
Dear all, I'm going crazy but I'm unable to find how can I set an external link for a form action. In my Pylons application I created a form that have to be processed by a credit card security site. So in form action=... I had put the external link directly. But it doesn't work. When I click on

Re: Python 3.1

2009-11-02 Thread Mario Ruggier
On Oct 28, 2009, at 9:52 PM, Mike Orr wrote: On Wed, Oct 28, 2009 at 10:27 AM, Mario Ruggier ma...@ruggier.org wrote: On Tue, Oct 27, 2009 at 9:27 PM, Mike Orr sluggos...@gmail.com wrote: On Tue, Oct 27, 2009 at 4:07 AM, Mario Ruggier ma...@ruggier.org wrote: In the long term it

Re: Python 3.1

2009-11-02 Thread Mario Ruggier
On Oct 28, 2009, at 6:27 PM, Mario Ruggier wrote: On Tue, Oct 27, 2009 at 9:27 PM, Mike Orr sluggos...@gmail.com wrote: On Tue, Oct 27, 2009 at 4:07 AM, Mario Ruggier ma...@ruggier.org wrote: No-one seems to give any consideration to the very real possibility of adjusting the *same*

Re: Python 3.1

2009-11-02 Thread Wichert Akkerman
On 11/2/09 15:28 , Mario Ruggier wrote: The (big) gain... is that Evoque can be sandboxed (i.e. let your untrusted user modify the template source!), a feature that no other templating system had *designed-in* from the start. You mean like Zope PageTemplates since its creation about 10 years

Re: Simple production question

2009-11-02 Thread Jonathan Vanasco
On Nov 2, 4:44 am, morellik enrico.more...@gmail.com wrote: My question is:  is there a way to configure Apache to proxy calls to the specific port where Paster is running? See mike's post above. --~--~-~--~~~---~--~~ You received this message because you are

Re: Python 3.1

2009-11-02 Thread Mario Ruggier
On Nov 2, 2009, at 3:41 PM, Wichert Akkerman wrote: On 11/2/09 15:28 , Mario Ruggier wrote: The (big) gain... is that Evoque can be sandboxed (i.e. let your untrusted user modify the template source!), a feature that no other templating system had *designed-in* from the start. You mean like

Re: External link for form action

2009-11-02 Thread morellik
I tried to create a static route in routing.py: map.connect('credit_card', 'https://www.credit_card.com', _static=True) and use it in the form: form action=${h.url_for('credit_card')} method=POST without results. After pressing submit I see the same page with all input fields values in the

Re: redirect after download?

2009-11-02 Thread Tim Bock
Gentlemen, Thanks again for your illuminating responses. As you have no doubt surmised, most of the problem is that I don't know what I'm doing! I'm not doing anything esoteric; I'm just a re-noob whose last serious foray into web apps was with cgi/perl over ten years ago. So

Standard Deploy

2009-11-02 Thread Antonio Beamud Montero
I want to create a RPM package for my pylon app. Exists any document / proposal about put the pylons tree as a system-wide package, in a standard way. For example, my pylon app is a blog, the next tree can be deploy after install it: /etc/myblog/myblog.ini /etc/myblog/myblog.wsgi - link to

Re: External link for form action

2009-11-02 Thread Mike Orr
On Mon, Nov 2, 2009 at 7:04 AM, morellik enrico.more...@gmail.com wrote: I tried to create a static route in routing.py: map.connect('credit_card', 'https://www.credit_card.com', _static=True) and use it in the form: form action=${h.url_for('credit_card')} method=POST without results.

Re: redirect after download?

2009-11-02 Thread Matt Feifarek
On Mon, Nov 2, 2009 at 9:14 AM, Tim Bock jtb...@daylight.com wrote: I did note Matt's suggestion of the META tag in an earlier email, but a quick google search didn't yield anything that I was able to connect with downloading. But as you've indicated that this is a common If you

Re: Standard Deploy

2009-11-02 Thread Mike Orr
On Mon, Nov 2, 2009 at 8:05 AM, Antonio Beamud Montero antonio.bea...@gmail.com wrote: I want to create a RPM package for my pylon app. Exists any document / proposal about put the pylons tree as a system-wide package, in a standard way. For example, my pylon app is a blog, the next tree can

Re: External link for form action

2009-11-02 Thread Jonathan Vanasco
why do you even need to handle the creditcard processing form as a variable ? the chances of that changing should be incredibly slim. i'd just hardcode the form. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Repeating elements and htmlfill

2009-11-02 Thread Mike Burrows (asplake)
Hi, htmlfill.render() doesn't seem to handle repeating elements as I expect. I've boiled my code down to this example: import formencode.htmlfill as htmlfill template = 'input id=weightings-0.weight name=weightings-0.weight type=text value= /' print htmlfill.render(template,

Re: Repeating elements and htmlfill

2009-11-02 Thread Ian Wilson
Yeah as far as I know it does not work like that for the first case. You need to preprocess your defaults with formencode.variabledecode.variable_encode() to change the first case into the second case. I'm still working on a good repetitions example, are you using javascript? You should look at

Re: Repeating elements and htmlfill

2009-11-02 Thread Mike Burrows (asplake)
On Nov 2, 8:32 pm, Ian Wilson vengfulsquir...@gmail.com wrote: Yeah as far as I know it does not work like that for the first case. You need to preprocess your defaults with formencode.variabledecode.variable_encode() to change the first case into the second case. Thanks Ian, I'll look

Re: New Pylons on AppEngine article in wiki

2009-11-02 Thread Matt Feifarek
On Sun, Nov 1, 2009 at 11:06 AM, Matt Feifarek matt.feifa...@gmail.comwrote: On Thu, Oct 29, 2009 at 3:19 PM, reco r...@nex9.com wrote: just tried the wiki page i got the following probs: File lib/setuptools-0.6c11-py2.5.egg/pkg_resources.py, line 24, in module from os import utime,