[z3-five] Re: Extended characters in forms
Philipp von Weitershausen
philipp at weitershausen.de
Fri May 27 16:28:24 CEST 2005
Janko Hauser wrote:
> Lennart Regebro schrieb:
>
>>On 5/27/05, Philipp von Weitershausen <philipp at weitershausen.de> wrote:
>>
>>
>>>* Then I realized that other widgets need to be fixed up, too. If you
>>>have, for instance, a schema with an integer field, and a users falsely
>>>enters an "ä" into the field, the widget will have to redisplay itself
>>>with a non-ASCII character. So, even those fields need to be updated.
>>
>>Ah. I thought it was too easy.
>>
>>>Thoughts?
>>
>>I'm more inclined on the first approach at the moment. It fells, as I
>>mentioned, brittle, but the other one is an ugly kludge. :)
>
> I would prefer the first one also. Although it does not cover places
> where one does not use EditView. A place which probably everyone uses if
> he works with schema and widgets are the two utility functions
> setupWidgets and applyWidgetChanges. I haven't looked into this, but
> these are already somewhat arbitrary and I think they handle the
> request, before it is looked up in the widgets.
>
> But I will adopt what ever comes out, as unicode errors are really ugly,
> as I learned the hard way :-)
I'll checkin version a) then. I'm in the middle of writing tests and
checking in other bugfixes along the way. Somebody broke the trunk
test-wise... *grr*
Philipp
More information about the z3-five
mailing list