Javascript in template

2009-03-06 Thread menshikoval...@gmail.com
Hello. How to use JavaScript in template form? I'v add script src='/js/calendar.js'/script input type=text value=2004/02/02 readonly name=theDate input type=button value=Cal onclick=displayCalendar (document.forms[0].theDate,'/mm/dd',this)

Re: Response hangs when using SQLAlchemy

2009-03-06 Thread Bryan
It hit me this morning @ breakfast that my use of uuid1() w/ SQLAlchemy cannot be the problem, at least not the whole problem. When I used SimpleXMLRPCServer instead of the pylons WSGI stack, everything worked, even when using uuid1(). Also, even when using pylons, the rows were being inserted

Re: Thread-safety in Pylons (Python?)

2009-03-06 Thread Kamil Gorlo
On Thu, Mar 5, 2009 at 10:32 PM, Philip Jenvey pjen...@underboss.org wrote: Though Jython and IronPython lack a GIL, they ensure the methods we expect to be thread safe on the core data structures are in fact thread safe, for compatibility with CPython. So, is there any place where can I read

Disabling unicode doesn't always disable unicode in 0.9.7

2009-03-06 Thread Ross Vandegrift
Hi everyone, One of my app's primary functions is to speak SNMP to routers and switches. This completely precludes the use of any Unicode - something that's getting very frustrating in Python (not just Pylons!) I've got: config['pylons.request_options']['charset'] = None

Re: Disabling unicode doesn't always disable unicode in 0.9.7

2009-03-06 Thread Philip Jenvey
On Mar 6, 2009, at 2:34 PM, Ross Vandegrift wrote: Hi everyone, One of my app's primary functions is to speak SNMP to routers and switches. This completely precludes the use of any Unicode - something that's getting very frustrating in Python (not just Pylons!) I've got:

Re: Thread-safety in Pylons (Python?)

2009-03-06 Thread Wyatt Baldwin
On Mar 6, 12:58 pm, Kamil Gorlo kgo...@gmail.com wrote: On Thu, Mar 5, 2009 at 10:32 PM, Philip Jenvey pjen...@underboss.org wrote: Though Jython and IronPython lack a GIL, they ensure the methods we expect to be thread safe on the core data structures are in fact thread safe, for

Re: Javascript in template

2009-03-06 Thread Jerry
First of all, this question has _nothing_ to do with Pylons -- if you didn't know about it, you do now. Second, it seems that you have intentionally renamed the downloaded JavaScript library, so I think the first point to check can be: Is your installed copy accessed at

repoze.what-pylons working sample project

2009-03-06 Thread Krishgy
Hi Gustavo Narea All, I couldn't make repoze.what working with my application when I am following http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.what Can you project a simple pylons project with the example? It is possible? Regards, Gopal