PDA

View Full Version : JsonWriter with additional parameters



Grolubao
24 Feb 2011, 2:00 AM
Hi to all,
I'm planning to refactor a bit my application, and one of the elements of it was simplifying my CRUD operations with a JsonWriter tied directly with the store.

Now, let's imagine the scenario where I have an EditorGrid and before saving the values the user needs to input a comment.

I was interested in doing something like a store.save() but passing an additional parameter called comment.

Is this possible?

Condor
24 Feb 2011, 2:18 AM
The store baseParams are added to the save() request. You could store the comment there (and remove it before reloading the store).