On 03/21/2013 01:27 PM, chrisch wrote:
> I'm using the VirtualTree widget with a JSON store and data binding. The bind
> method of the JSON store throws an qx.core.AssertionError in case of any
> problems with the source and target properties. I want to catch that error
> but I don't know how and where...
>
> I'm doing something like this:
>
> try {
>
>     jsonStore.bind(sourcePropertyChain, targetObject, targetProperty);
>
> } catch (e)
>
>     alert("Error...")
>
> }
>
> But that doesn't seem to work. What is the right way and the right place to
> catch that error?

This looks like a good enough way to do it. So what's happening? Are you 
introducing deliberate issues and the alert is never called? Which 
issues do you introduce?

T.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to