Re: Trying to understand about Paste and web-server requirements

2007-07-26 Thread Antonio Beamud Montero
El mié, 25-07-2007 a las 19:08 -0700, Jose Galvez escribió: no you should be able to use mod_proxy, to server your application just as Cliff has suggested. That is my personally favorite method to use with apache. Jose I think apache/mod_wsgi is the way :) Greetings

Re: Pylons 0.96rc1 - Mako and ToscaWidgets Forms

2007-07-26 Thread Atsushi Odagiri
Hi Walter. Try the ways I think. Write coding settings on first line of mako template. # -*- coding:utf-8 -*- Use unicode for values with twforms. Take care. aodag 2007/7/26, Walter Cruz [EMAIL PROTECTED]: Hi all.. I and a friend have a project that we use to learn about Pylons. Today,

Re: Javascript in Pylons for ToscaWidgets with Mako

2007-07-26 Thread Walter Cruz
Hi Bruce. Have you get the javascript working? I'm searching for this, too. []'s - Walter On 7/16/07, BruceC [EMAIL PROTECTED] wrote: Hi all...I posted this in the ToscaWidget discussion board, (http:// groups.google.com/group/toscawidgets-discuss/browse_thread/thread/

Re: Pylons 0.96rc1 - Mako and ToscaWidgets Forms

2007-07-26 Thread Walter Cruz
Hi Atsushi Odagiri! A part of this was my fault, i was using render_template from core pylons, and not from toscawidgets.mods.pylonshf . But i'm not without doubts yet :( My data are being saved as utf-8. To insert a data in the database, it's ok. But, if I edit a data that's with some accented

Re: Pylons 0.96rc1 - Mako and ToscaWidgets Forms

2007-07-26 Thread Atsushi Odagiri
Hi. Sorry, I missed very important thing. I've set default encoding to utf-8. sys.getdefaultencoding() 'utf-8' I set default encoding to 'ascii', and I saw the same error. I think Mako does'nt use encoding settings in decoding. 2007/7/27, Walter Cruz [EMAIL PROTECTED]: And, with a simple

Re: Pylons 0.96rc1 - Mako and ToscaWidgets Forms

2007-07-26 Thread Walter Cruz
And, with a simple wsgi app lie the on in http://svn.turbogears.org/projects/ToscaWidgets/branches/pre_post_hooks_removal/examples/wsgi_app.py If I put José in the person name, it generates the same error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in

Re: Trying to understand about Paste and web-server requirements

2007-07-26 Thread Jose Galvez
I've never used mod_wsgi, how do you set it up? Jose On 7/26/07, Antonio Beamud Montero [EMAIL PROTECTED] wrote: El mié, 25-07-2007 a las 19:08 -0700, Jose Galvez escribió: no you should be able to use mod_proxy, to server your application just as Cliff has suggested. That is my