[z3-five] Re: Extended characters in forms

yuppie y.2005- at wcm-solutions.de
Fri May 27 12:06:58 CEST 2005


Lennart Regebro wrote:
> On 5/27/05, yuppie <y.2005- at wcm-solutions.de> wrote:
> 
>>I still don't understand what's wrong with #3 (converting the form data
>>in EditView). Reimplementing the text widgets sounds like overkill.
> 
> 
> It feels brittle (Mmm, god argumentation, eh), as it needs to work
> with whatever form data. And "reimplementing" probably means
> subclassing and overriding one method only. That way we pinpoint where
> the problem actually is.

Well. I don't think the problem is that text widgets expect unicode 
input. The problem is that the Zope 2 publisher doesn't convert the form 
data to unicode. So IMO the EditView is closer to the problem.

Don't get me wrong: I'm happy Philipp works on resolving this issue and 
I can live with both solutions. I'm just a bit concerned that Five might 
fork more zope3 code than necessary. The EditView class is already Five 
specific.

Cheers, Yuppie



More information about the z3-five mailing list