Re: Web Services via SOAP (with WSGI app Cookbook recipe!)

2007-04-25 Thread Ben Bangert
On Apr 25, 2007, at 2:37 PM, Jose Galvez wrote: > If someone actually gets this to work could they put up a recipe in > the pylons cookbook. I'll see about getting the optio SOAP thing in the cookbook tomorrow, tonight I've added using WSGI applications as Pylons controllers to the cookboo

Re: adding controllers to an existing application

2007-04-25 Thread Ben Bangert
On Apr 25, 2007, at 2:20 PM, Jose Galvez wrote: > Thanks Ben, now its clear and it works great. Thanks No problem, I've added this to the cookbook here: http://docs.pythonweb.org/display/pylonscookbook/Adding+Controllers +without+restarting+%28during+run-time%29 If you can flesh it out some m

Re: Web Services via SOAP

2007-04-25 Thread Jose Galvez
If someone actually gets this to work could they put up a recipe in the pylons cookbook. Jose On 4/25/07, Ben Bangert <[EMAIL PROTECTED]> wrote: > > > On Apr 24, 2007, at 6:43 AM, [EMAIL PROTECTED] wrote: > > > Has there been any success creating SOAP web services with pylons? I'm > > working on a

Re: adding controllers to an existing application

2007-04-25 Thread Jose Galvez
Thanks Ben, now its clear and it works great. Thanks Jose On 4/25/07, Ben Bangert <[EMAIL PROTECTED]> wrote: > > > On Apr 24, 2007, at 9:37 AM, Jose Galvez wrote: > > > If I understand you correctly I should be able to add a new controller > > to a running pylons service (assuming there is a rout

Re: adding controllers to an existing application

2007-04-25 Thread Ben Bangert
On Apr 25, 2007, at 1:02 PM, Jose Galvez wrote: > Setting map._created_regs = False to false in the routing.py file > did nothing, however if I add always_scan=True to the map creation > in routing.py that seems to do the trick. Is this an ok way to do > this, or did I set map._created_reg

Re: adding controllers to an existing application

2007-04-25 Thread Jose Galvez
Setting map._created_regs = False to false in the routing.py file did nothing, however if I add always_scan=True to the map creation in routing.pythat seems to do the trick. Is this an ok way to do this, or did I set map._created_regs in the wrong place? Jose On 4/25/07, Ben Bangert <[EMAIL PROTE

Re: link_to_remote is producing html that is not as expected

2007-04-25 Thread Dan
FYI The improper rendering of the html was from not calling ${h.end_form}  ... this for some reason caused Firefox to drop a tag. Dan wrote: I am having trouble with the link_to_remote webhelper.  I am using Mako as my templating language. I am clicking on a link within a page th

Re: adding controllers to an existing application

2007-04-25 Thread Ben Bangert
On Apr 24, 2007, at 9:37 AM, Jose Galvez wrote: > If I understand you correctly I should be able to add a new controller > to a running pylons service (assuming there is a route to handle > it) is > that correct?, because that has not been my experience. When I've > added > a new controller

Re: Web Services via SOAP

2007-04-25 Thread Ben Bangert
On Apr 24, 2007, at 6:43 AM, [EMAIL PROTECTED] wrote: > Has there been any success creating SOAP web services with pylons? I'm > working on a project that would require a SOAP interface and I'd like > to use ZSI but it seems to only have CGI and mod_python handlers. > > Has anyone ever done this?

Re: adding controllers to an existing application

2007-04-25 Thread Jose Galvez
Thanks Ben, I totally missed the flag, thanks for the help Jose On 4/25/07, Ben Bangert <[EMAIL PROTECTED]> wrote: > > > On Apr 24, 2007, at 9:37 AM, Jose Galvez wrote: > > > If I understand you correctly I should be able to add a new controller > > to a running pylons service (assuming there is a

link_to_remote is producing html that is not as expected

2007-04-25 Thread Dan
I am having trouble with the link_to_remote webhelper.  I am using Mako as my templating language. I am clicking on a link within a page that has a . The link looks like this: ${h.link_to_remote("Search", dict(update="search", url="">     loading="Element.show('loading')",

Re: webhelpers

2007-04-25 Thread Antipin Aleksei
> Those are Myghty errors. The default engine is still Myghty. You'd > have to put "config.template_engines = []" before the add line, or use > the template_engine arg below. > It's strange- errors are gone, but <%%> syntax dosen't work :) --~--~-~--~~~---~--~--

authorization and data restriction

2007-04-25 Thread Alexandre CONRAD
Hello, I'm trying to design my first pylons application with AuthKit. I went through some ressources and particulary this one that helped me understand how to integrate AuthKit in Pylons: http://pylonshq.com/project/pylonshq/wiki/PylonsWithAuthKitDatabase But I'm trying to put down all the

Re: webhelpers

2007-04-25 Thread Mike Orr
On 4/22/07, Antipin Aleksei <[EMAIL PROTECTED]> wrote: > > > > Hi. > > In config/middleware.py set something like this: > > > > config.init_app(global_conf, app_conf, package='your_project_name') > > makopts = {} > > config.add_template_engine('mako', 'your_project_name.templates', > > makopts) > >

Re: Web Services via SOAP

2007-04-25 Thread Stephen F. Steiner
I've used SOAP for Salesforce.com interactions using beatbox with no trouble at all. S On Apr 24, 2007, at 9:43 AM, [EMAIL PROTECTED] wrote: > > Has there been any success creating SOAP web services with pylons? I'm > working on a project that would require a SOAP interface and I'd like > to

myghty ComponentNotFound

2007-04-25 Thread Muhammad
Hi, Can any body help in this. If some body requesting a page like http://www.domain.com/wpad.dat, or any other page request which is not exist "Wrong URL". Then my application returning . An Error Occurred 500: Internal Server Error And I am receiving an email with subject "WebApp Error: my