Hi Peter,

perhaps you can Assertions[1] instead? I guess they're not as nice to 
use since they throw exceptions instead of just returning false if the 
validation fails. Maybe someone else has a better idea.

[1]http://demo.qooxdoo.org/current/apiviewer/#qx.core.Assert


Regards,
Daniel

Peter Schneider schrieb:
> Hi,
> 
> during my switch to qooxdoo 1.0 I couldn't find the nice validation helper
> methods that I liked so much in qooxdoo 0.7.x...
> 
> I'm talking about the static methods of qx.util.Validation:
>   isValid(v)               isInvalid(v)
>   isValidNumber(v)         isInvalidNumber(v)
>   isValidString(v)         isInvalidString(v)
>   isValidArray(v)          isInvalidArray(v)
>   isValidObject(v)         isInvalidObject(v)
>   isValidNode(v)           isInvalidNode(v)
>   isValidElement(v)        isInvalidElement(v)
>   isValidFunction(v)       isInvalidFunction(v)
>   isValidBoolean(v)        isInvalidBoolean(v)
>   isValidStringOrNumber(v) isInvalidStringOrNumber(v)
> 
> they really made the application code much more "readable". Or did I just
> missed a 'new concept' ?
> 
> Thanks in advance and nice weekend everybody,
>   Peter
> 
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to