On 11/3/06, trogdor <[EMAIL PROTECTED]> wrote:
> sorry to interrupt, but I do think there's a text_area() issue
> unrelated to SQLAlchemy.
> In my case, it's when FormBuild validation fails and it tries to render
> the text_area.
> In FormBuild, invoking a text_area() ultimately instantiates a
> WebHelpers/rails text_area object.
> This, i believe is the same object that helpers users, which is
> accessed by h.text_area().
>
> Of course, it's not obvious to me where the code goes wrong (nothing
> screams string conversion here)
> but it seems to only happen with text_area, whereas fields render fine
> with utf-8.

Sorry Jack,

Let me try to be more helpful.  I've been looking through the code,
and I don't see any culprits.  Can you update
webhelpers/rails/tags.py:content_tag and just put "help!" as the first
line?  This will raise an exception exactly where I want one.  Then
copy and paste the traceback into the email so I can see what's going
on.

By the way, I'm not using FormEncode to convert to unicode objects
like you are.  Like I said, I'm using a piece of middleware. :-/

Thanks,
-jj

-- 
http://jjinux.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to