[dojo-contributors] ItemFileReadStore question -- Anyone see why this wouldnt work? I'm stumpped...

Karl Tiedt ktiedt at gmail.com
Thu Sep 11 14:50:58 EDT 2008

I have the following JSON:

	"identifier": "uuid",
	"items": [
			"Power State": "On",
			"Boot Time": "2008-08-30T23:50:06.028558-04:00",
			"Host Name": "poweredOn",
			"IP Address": "2008-08-30T23:50:06.028558-04:00",
			"Name": "New Virtual Machine",
			"Operating System": "Microsoft Windows Server 2003, Standard
Edition (32-bit)",
			"uuid": "564dd5b0-b887-4041-bcfe-4896e6040547"
			"Power State": "On",
			"Boot Time": "2008-08-20T02:15:57.63562-04:00",
			"Host Name": "sergey-8227caed.",
			"IP Address": "",
			"Name": "Foo",
			"Operating System": "Microsoft Windows XP Professional (32-bit)",
			"uuid": "564d36e4-6cea-e0e8-5216-3766ef2a3bd0"

And I am trying to create a store from it...
test = new dojo.data.ItemFileReadStore({'data': varName});

and it always comes back with 0 items... I've tried adding 'label': 'Name'
and 'identifier':'uuid' to the JSON object but... neither made a
difference... I've tried replacing the spaces in the property names and
removing the -'s from the uuid....

Stumped :(

-Karl Tiedt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20080911/e6ecfb4f/attachment.htm 

More information about the dojo-contributors mailing list