Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-12 Thread Daniel Haferkorn
Hello, FrozenDice wrote: > Well remember, if the user is submitting data(which they probably are) > to be processed by something on the server then it's not a good idea > to rely on server side prevention. What I'm saying is if you're using > it in an sql query or something then the user can easi

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread FrozenDice
-Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias Koller > (GERMO GmbH) > Gesendet: Montag, 11. Juni 2007 16:50 > An: qooxdoo Development > Betreff: Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea > > Maybe

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Tobias Koller (GERMO GmbH)
oller (GERMO GmbH) Gesendet: Montag, 11. Juni 2007 16:50 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea Maybe you can catch the "keydown"-event and manipulate the value to null before it is set to the textarea? Is this possible? Tob

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Tobias Koller (GERMO GmbH)
7 15:22 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea Hello Tobias, Tobias Koller (GERMO GmbH) wrote: > Hello, > > I think the main problem is, that there is no maxlength-attribute for a > textfield in standard HTML. &g

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Daniel Haferkorn
Hello Tobias, Tobias Koller (GERMO GmbH) wrote: > Hello, > > I think the main problem is, that there is no maxlength-attribute for a > textfield in standard HTML. > A quick solution would be something like this: > var tarea = new qx.ui.form.TextArea(); > tarea.set({width: 100, height: 100});

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Tobias Koller (GERMO GmbH)
vel] 0.6.6: maximum number of characters in TextArea 0.7 also doesn't work. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Haferkorn Gesendet: Montag, 11. Juni 2007 13:47 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel]

Re: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Tobias Koller (GERMO GmbH)
0.7 also doesn't work. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Haferkorn Gesendet: Montag, 11. Juni 2007 13:47 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

[qooxdoo-devel] 0.6.6: maximum number of characters in TextArea

2007-06-11 Thread Daniel Haferkorn
Hello, I'd like to know how to correctly set the maximum allowed number of characters for a TextArea. I tried to use the method SetMaxLength() which the TextArea inherits from the TextField widget, but it doesn't work: tArea.setMaxLength(25); The user is unfortunately still able to enter more t