Changes between Initial Version and Version 1 of Ticket #16495


Ignore:
Timestamp:
Dec 20, 2012, 1:57:51 PM (7 years ago)
Author:
bill
Comment:

We have example code like that that works, so probably you are doing something wrong, but we can't tell without a real test case.

Please attach a self contained test case, i.e. a full HTML file.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16495

    • Property Owner changed from Douglas Hays to retrry
    • Property Status changed from new to pending
  • Ticket #16495 – Description

    initial v1  
    11Hello,
    2 I'm trying to use dojo JsonRest module with Tastypie and django, but I ran into problem.
     2I'm trying to use dojo !JsonRest module with Tastypie and django, but I ran into problem.
    33For tastypie you need to set filtering mechanism in URL like: name__icontains
    4 So, for ComboBox I set searchAttr to 'name__icontains' and I set labelAttr to 'name', but when I try to select an item from dropdown list I see error in Firebug: Typeerror: this.store._oldAPI is undefined.
     4So, for !ComboBox I set searchAttr to 'name__icontains' and I set labelAttr to 'name', but when I try to select an item from dropdown list I see error in Firebug: Typeerror: this.store._oldAPI is undefined.
    55If I delete labelAttr and set searchAttr to 'name' and sending hardcoded data from serverside value selecting works.
    66
    77My example code:
     8{{{
    89  0         clientStore = new JsonRest({
    910  1             target: '/reminders/api/v1/client/',
     
    2122 13         }, 'clientView');
    2223 14         comb.startup();
     24}}}
    2325
    2426Or am I doing something wrong?