Izaak Branderhorst schrieb:
Yeah on second thought (sent that email a bit too quick :P) it does seem like a bit of a quick sketch and they should probably be implemented as TYPEOF_OBJECT to allow for more complexity. For example, a validator should have pairs of regexp -> appropriate error message. I might suggest an initial implementation.

yeah, for the current idea it was correctly. Otherwise I think, probably it would be great to have something like addValidator and removeValidator instead of a simple validator. They will the be combined to an OR expression.

I think the new type FUNCTION is for the first step better here.

Sebastian



Izaak

On Thu, 05 Jan 2006 20:44:06 -0500, Izaak Branderhorst <[EMAIL PROTECTED]> wrote:

In QxTextField.js:

//
QxTextField.addProperty({ name : "validator", type : QxConst.TYPEOF_OBJECT });
//

but QxTextField.createRegExpValidator () returns a function.

Maybe I'm misunderstanding how these are supposed to be used. They do seem like a bit of a quick sketch, but I found them useful nonetheless in my own application (after changing validator's type)

Izaak


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to