Opened 11 years ago

Closed 11 years ago

#7737 closed enhancement (fixed)

XmlStore Identity API request - for compatibility with FilteringSelect

Reported by: vincentastek Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.3
Component: DojoX Data Version: 1.1.1
Keywords: XmlStore FilteringSelect Cc:
Blocked By: Blocking:

Description

The first thing I tried to do to migrate my own javascript to DOJO is to have the FilteringSelect? work with an XmlStore?.

When I tried to do this, I had the following execution error :

this.store.fetchItemByIdentity is not a function

After that I saw that XmlStore? doesn't implement the interface used by FilteringSelect?, and I think this kind of ticket may already have been opened, but I didn't find one.

Would it be possible to specify more clearly in the documentation that FilteringSelect? isn't compatible with XmlStore? ?

Is it possible to verify in FilteringSelect? that the store attached is compatible, and let the developper know if it's not with a better error message ?

And ideally, is there a possibility to make the use of both possible in a close future ? Because I think I'm not the only one that tries to migrate to DOJO without rewriting all interfaces to json output.

Version of DOJO tested : 1.1.1 release Browser : Firefox 2

Attachments (2)

dojox.data.XmlStore_20081110.patch (46.4 KB) - added by Jared Jurkiewicz 11 years ago.
Prototype identity support for XmlStore?
dojox.data.XmlStore_20081112.patch (51.8 KB) - added by Jared Jurkiewicz 11 years ago.
Updated prototype of Identity support for XmlStore?.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by dante

Owner: changed from dante to Jared Jurkiewicz
Summary: XmlStore compatibility with FilteringSelectXmlStore Identity API request - for compatibility with FilteringSelect

I've updated the documentation page for FilteringSelect to indicate a requirement on the Identity API - Seem this is now an enhancement request for identity in XML store. Punting to component manager for consideration

Changed 11 years ago by Jared Jurkiewicz

Prototype identity support for XmlStore?

Changed 11 years ago by Jared Jurkiewicz

Updated prototype of Identity support for XmlStore?.

comment:2 Changed 11 years ago by Jared Jurkiewicz

Prototype 2 tested successfully on:

IE 7

Firefox 2

Safari 3.1

Seamonkey 1.1.2

Google Chrome Beta

Minefield (Firefox 3.1)

comment:3 Changed 11 years ago by Jared Jurkiewicz

Checked in prorotype 2 style patch under revision: 15661

comment:4 Changed 11 years ago by Jared Jurkiewicz

Status: newassigned

comment:5 Changed 11 years ago by Jared Jurkiewicz

Component: DojoX WidgetsDojoX Data

comment:6 Changed 11 years ago by Jared Jurkiewicz

Milestone: tbd1.3

comment:7 Changed 11 years ago by Jared Jurkiewicz

Resolution: fixed
Status: assignedclosed

This is fixed enough for now. So, closing!

Note: See TracTickets for help on using tickets.