Hi Burak,

Martin agrees it shouldn't be a big deal to add a context parameter, so 
feel free to open a bug report.

In the mean time, you can use qx.lang.Function.bind to set the context 
of your validator function.


Regards,
Daniel

Burak Arslan schrieb:
> hi,
> 
> in e.g. http://demo.qooxdoo.org/1.1.x/demobrowser/#ui~FormValidator.html
> there's multiple calls like this:
> 
>  manager.add(username, userNameValidator);
> 
> it'd be nice to be able to pass context information to those functions, like 
> this:
> 
>  manager.add(username, userNameValidator, this);
> 
> api says I can't. any reason why not? is there a way to do this, or should i 
> file an enhancement bug?
> 
> thanks,
> burak
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to