Re: templating question

2006-06-07 Thread Jose Galvez
thanks Ben, your explanation really helps. what I wanted was simply to have function available to my template. The more i look at pylons the cooler it gets thaks Jose Ben Bangert wrote: On Jun 6, 2006, at 10:43 PM, Jose Galvez wrote: Ive got a quick templating question. I'm using

Re: setting up a windows service

2006-06-07 Thread James Gardner
Hi Jose, That's great. My application was running under paster serve but was failing as a Windows service; a quick look at the application logs in event viewer as you suggested highlighted the problem as an ImportError which I fixed and it works perfectly now. Would you be willing to post

Re: newbie

2006-06-07 Thread askel
Bilboon wrote: Is there a simple way to protect methods of controllers using permission ? There is always more than one way, despite Python's manifesto :) You can use AuthKit. Search for AuthKit in this group's archives for more information. I personally didn't like that it depends on extra

Re: newbie

2006-06-07 Thread Alexandre CONRAD
I can protect actions this way: ... @permissions(users=['god'], roles=['admin', 'manager']) def index(self): ... I can post this module somewhere if you are interested. I am interested... :) Regards, -- Alexandre CONRAD - TLV Research Development tel : +33 1 30 80 55 05 fax : +33 1

Re: pylons apps?

2006-06-07 Thread jose
Ben Bangert wrote: App's can be mounted at specific points within the config ini file as well. Here's an example: http://pythonpaste.org/deploy/#applications Using this ability to load WSGI capable apps, I believe Ian Bicking has even mounted an entire Django app under a section, as well

Re: pylons apps?

2006-06-07 Thread Damjan
Well, the packages I've made (DjangoPaste and CherryPaste) have frequently broken due to upstream changes, so in the specific case of TG and Django it's not a stable situation. I haven't revisited Django since magic-removal went live; hopefully it's actually better as a result. Ideally

Re: pylons apps?

2006-06-07 Thread jose
Dear Ian, Thanks for the info, I've been messing with this and have some quesitons. From your example it seems that all of the WSCGI apps (or eggs really) need to be in the same folder, is that true? and if not what would be different if I wanted to revfer to an application which was not

Re: pylons apps?

2006-06-07 Thread Ian Bicking
jose wrote: Dear Ian, Thanks for the info, I've been messing with this and have some quesitons. From your example it seems that all of the WSCGI apps (or eggs really) need to be in the same folder, is that true? and if not what would be different if I wanted to revfer to an application

Re: using form_remote_tag

2006-06-07 Thread [EMAIL PROTECTED]
Sounds to me like you have your entire page in the div. Make sure that the stuff that you want to STAY is outside of the div called dynamicbox. Take a look at that. Nicholas Piƫl wrote: On May 25, 2006, at 11:32 PM, bil. wrote: I would like to send a post in asynchronous mod and replace a