I'm working on a bundle, and the params that I'm passing into $DIALOG have some arrays nested that I would like to bind to. For instance, I'm searching for user orders and the structure I get back has an array of users. Each user has an array of orders. I have a master-detail view (NSTableView at the top to list the users and a detail view to view the various details of the selection including a second NSTableView in the detail view to list the orders for the selected user), and this works just fine for the initial selection. But when I try to change the selection to another user in the master view, I get this error:

tm_dialog: [NOTE: this exception originated in the server.]
Cannot create NSArray from object () of class NSCFString 

So, it would appear that the $DIALOG command is using Foundation classes rather than Cocoa. Is this correct, or am I missing something? Is there a way to do what I want or am I reaching beyond $DIALOG?

Thanks in advance for any help or pointers.

Jamie
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to