Opened 13 years ago

Closed 9 years ago

#7807 closed enhancement (wontfix) doesn't support passing a document (among other things)

Reported by: alex Owned by: dylan
Priority: high Milestone: future
Component: Data Version: 1.2beta
Keywords: Cc: [email protected]…, Jared Jurkiewicz
Blocked By: Blocking:


specifying many values to the document fetching code in the XmlStore? is far too difficult. Further compounding the difficulty in using the store, it's not possible to simply pass it a document to be serached, causing many users to resort to subclassing for what should be trivial use-cases (particularly WRT the grid).

There are also some style and structure issues with the code for this store which need to be worked out.

In helping a user today, I wrote this one-off store for a behavior that should be built-in:

dojo.declare("acme.XmlDomStore", [ ], {
	constructor: function(args){
		if(args && args.dom){ this.dom = args.dom }
	dom: null,
	_fetchItems: function(request, fetchHandler, errorHandler){
		var items = this._getItems(this.dom);
		if(items && items.length){
			fetchHandler(items, request);
			fetchHandler([], request);

Change History (4)

comment:1 Changed 12 years ago by Adam Peller

Cc: Jared Jurkiewicz added; jared removed

comment:2 Changed 12 years ago by bill

Milestone: 1.4future

comment:3 Changed 11 years ago by Chris Mitchell

Owner: changed from alex to dylan

please review/triage

comment:4 Changed 9 years ago by dylan

Resolution: wontfix
Status: newclosed

deprecated store, I believe things like this could be considered for future inclusion in

Note: See TracTickets for help on using tickets.