PDA

View Full Version : PathVariable in extjs proxy create/read URL



rishisaraf11
20 Feb 2014, 1:50 AM
Hi ,

My rest calls have path variable like /api/controller/employee/{id} . I want to replace id with value when calling store.load or store.save. Any clue how to do that

evant
20 Feb 2014, 2:38 AM
The rest proxy will do that for you automatically assuming it's a record operation.

rishisaraf11
20 Feb 2014, 5:01 AM
The rest proxy will do that for you automatically assuming it's a record operation.

Can you give me one example. I am not getting how to pass path param during load and save operation.

rishisaraf11
20 Feb 2014, 5:26 AM
Can you give me one example. I am not getting how to pass path param during load and save operation.

I figured it out. Thanks :)