Login Register

xmlstore

XmlStore generating error on save

I've been going at this for a bit and I'm not getting too many answers neither here nor by searching the web.
I'm attempting to save back a modified XML file with XmlStore but the save method generates an error 405. I get the following error messages:
The requested method PUT is not allowed for the URL ....books.xml 405

The example I've fallen back on is what's at the XmlStore documentation with additional save functionality:

XmlStore implements Notification feature

hey there:

i need to implement Notification API for a XmlStore dojox.data. if someone could tell me what do i need to do, or read. it would be great.
i added to XmlStore.js the following:

, onSet : function(_79x, _79a, _79b, _79c) {
                }
      , onNew : function(_79d, _79e) {
                }
      , onDelete : function(_79f) {
                }

and to getFeatures method this:

getFeatures : function() {
var _28 = {
"dojo.data.api.Read" : true, "dojo.data.api.Write" : true, "dojo.data.api.Notification" : true}; return _28; }

xmlStore and Notification API

i'm using a DataGrid linked to a XmlStore, and i want to used the notification support just recently implemented to Grid 1.2 but Xmlstore doesn't implement Data Notification API from dojox.data,

any help will be great,

i could write a new xmlstore implementing the API but i don't know how,

some guide, some example anything will help..

thanks

erick

XmlStore not standart XML

Hello, All. I have xml file with such content:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<root>
<Groups Syst_ID="00a3c77c-0e07-4fee-ba55-2880887895c2" ID="CEC7E3C2-DC78-498C-81DA-250B16A47300" Name="line1"></Groups>
<Groups Syst_ID="00a3c77c-0e07-4fee-ba55-2880887895c2" ID="CEC7E3C2-DC78-498C-81DA-250B16A47301" Name="line2"></Groups>
</root

Populating Grid with XmlStore

Updated - 24-Dec-2007 - Now have a fix for this issue. See bottom.

I am trying to populate a grid using data from an XmlStore. The grid displays with one row per item returned in the XML but each cell shows the value of "...". I have proven that the XML is coming back OK as I can output the values from the store. Also, the grid displays data fine when I just setup an array and use dojo.grid.data.table.

Any help, gratefully received!!

The code is shown below: -

var store = new dojox.data.XmlStore

Trying to write a simple xmlstore backend in PHP

Hi,

I've tried to write a simple backend to provide an xmlstore some data, and no matter what I do I get the following error;

message : document has no properties
fileName : http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js
lineNumber : 678
stack : (null,[object Object])@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:678
(null)@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:591
()@http://supercodex.com/mansphp/dojo.1.0.1/dojo/dojo.js.uncompressed.js:2298

Syndicate content