Yes, I figured out that the problem was in the way I was converting my JSON (returned from a web service) into plist format for passing into tm_dialog2. Thanks for the response. Learning slowly but surely how to do this stuff.<br />
<br />
Cheers,<br />
Jamie<br />
<br />
On Sun, May 10, 2009 at 9:57 AM, Allan Odgaard (mailinglist@textmate.org) wrote:<br />
> <br />
> On 4 May 2009, at 19:39, <a href="mailto:textmate@jxpx777.otherinbox.com">textmate@jxpx777.otherinbox.com</a> wrote:<br />
>   <br />
> > [...] <br />
> > <br />
> > tm_dialog: [NOTE: this exception originated in the server.] <br />
> > Cannot create NSArray from object () of class NSCFString <br />
> > <br />
> > So, it would appear that the $DIALOG command is using Foundation   <br />
> > classes rather than Cocoa. Is this correct, or am I missing   <br />
> > something? Is there a way to do what I want or am I reaching beyond   <br />
> > $DIALOG?<br />
>   <br />
> Several Foundation(Kit) classes are effectively CoreFoundation   <br />
> classes, so don’t put anything into seeing ‘CF’ appear in errors from   <br />
> Cocoa stuff.<br />
>   <br />
> Your problem likely comes from wrong bindings/data (this can be tricky   <br />
> to setup correctly when you have complex data structures, as in your   <br />
> case).<br />
>   <br />
> _______________________________________________ <br />
> textmate-dev mailing list <br />
> <a href="mailto:textmate-dev@lists.macromates.com">textmate-dev@lists.macromates.com</a> <br />
> <a target="_blank" href="http://lists.macromates.com/listinfo/textmate-dev">http://lists.macromates.com/listinfo/textmate-dev</a><br />
>   <br />
> <br />
>