Re: how to pass id through form_remote_tag?

2008-01-10 Thread Matt Billenstein
: ${h.form_remote_tag(url='/ui/select_results', update=select_results, id=inputform)} id just gets ignored here it seems and ${h.form_remote_tag(url='/ui/select_results', update=select_results, html={id:inputform})} throws a SyntaxException. Any ideas? thx m -- Matt

Re: how to pass id through form_remote_tag?

2008-01-10 Thread Matt Billenstein
On Thu, Jan 10, 2008 at 12:49:44PM -0800, Mike Orr wrote: On Jan 10, 2008 12:27 PM, Matt Billenstein [EMAIL PROTECTED] wrote: Okay, posted too soon, this works: % s = h.form_remote_tag(html={id:inputform}, url='/ui/select_results', update=select_results) % ${s} Seems mako

Re: Spawning a worker thread from the controller?

2007-05-07 Thread Matt Billenstein
earlier i.e. threadpool ? (works for me). ben adam On May 7, 10:10 am, Matt Billenstein [EMAIL PROTECTED] wrote: Thanks Ksenia, that's probably the better way to go from what I'm learning here. m On Mon, May 07, 2007 at 12:07:16PM +0200, Ksenia Marasanova wrote: Op 4-mei

Re: Spawning a worker thread from the controller?

2007-05-04 Thread Matt Billenstein
... thx m -- Matt Billenstein [EMAIL PROTECTED] http://www.vazor.com/ --~--~-~--~~~---~--~~ 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

Re: Spawning a worker thread from the controller?

2007-05-04 Thread Matt Billenstein
the queue module and have the worker thread push messages onto the queue, and the controller can read messages from the queue. I tend to prefer message queues over explicit lock management. Best Regards, -jj -- http://jjinux.blogspot.com/ -- Matt Billenstein [EMAIL PROTECTED] http

Re: Spawning a worker thread from the controller?

2007-05-04 Thread Matt Billenstein
BTW, I'll add that I can do this in a simple standalone python script, spawn a thread and have both that thread and the main thread stuff data into a list or something... thx m On Fri, May 04, 2007 at 06:17:29PM -0700, Matt Billenstein wrote: Yeah, I was doing self.status = blah