Opened 12 years ago

Closed 12 years ago

#4459 closed defect (fixed)

XmlStore sendQuery doesnt work if url already had parameters

Reported by: guest Owned by: Jared Jurkiewicz
Priority: high Milestone:
Component: DojoX Data Version: 0.9
Keywords: XmlStore sendQuery Cc:
Blocked By: Blocking:

Description

When sendQuery=true on the XmlStore? the javascript will extend the url with the a parameter
for example:

url=test.jsp => test.jsp?title=*

But when your url already contains a parameter you get a problem
for example:

url=TestServlet?action=findBooks => TestServlet?action=findBooks?title=*

Two questionmarks within the same url gives some problems.

Attachments (1)

dojox.data.XmlStore.patch (537 bytes) - added by Jared Jurkiewicz 12 years ago.
Patch for XmlStore?, minor fix to appending of query string.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by Tom Trenka

Owner: changed from Tom Trenka to Jared Jurkiewicz

comment:2 Changed 12 years ago by Jared Jurkiewicz

Component: DojoxDojoX Data

This should probably be a trivial fix to make. Hopefully will have time in the next couple days to fix it.

Changed 12 years ago by Jared Jurkiewicz

Attachment: dojox.data.XmlStore.patch added

Patch for XmlStore?, minor fix to appending of query string.

comment:3 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.