On Sun, Feb 20, 2011 at 10:24 AM, FaultyG <[email protected]> wrote:
> Hi,
>
> I played around with tg a bit and saw that the admin-tool does not
> handle String/Unicode columns that are longer than 100 characters.
> Having such a table and trying to add an entry into the database
> through this tool, the forms get corrupted.
> What happens is that the text-box for the "100+ column" seems to
> contain the rest of html that is supposed to render the current page
> (the rest of the forms/ submit buttons.. etc)...
>
> Any ideas?
>

It is probably caused by the usual genshi rendering method bug of TG2.1
Text longer than 100 characters uses textarea instead of input in
tgext.admin and as browsers do not like <textarea/> closed inline they
do not interpret it correctly.

Putting inside your development.ini

[DEFAULT]
templating.genshi.method = xhtml

Should solve your issue.
Take a look at http://blog.axant.it/archives/352 for more informations

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to