title: Kendo UI Update and create is not working
body: <p>Reading rows is working fine in grid, but when updating and creating it is not working at all. It is not hitting the controller. I have provided the code, can you please look into what is wrong with the below code.</p>
  
  <pre><code>    The below json is return from the read webservice
      -------------------------------------------------
  
   {"items":[{"id":1,"publisherName":"Srini","active":false},  {"id":2,"publisherName":"Ram","active":false}]}
  
  
      &lt;!-- JAVASCRIPT FILES --&gt;
      &lt;script src="../bootstrap/js/bootstrap.js"&gt;&lt;/script&gt;
      &lt;script src="../jquery/plug-ins/colorbox-modal/jquery.colorbox.js"&gt;&lt;/script&gt;
      &lt;script src="../jquery/plug-ins/colorbox-modal/colorbox.js"&gt;&lt;/script&gt;
      &lt;script src="../jquery/plug-ins/jquery.placeholder.js"&gt;&lt;/script&gt;
      &lt;script src="../jquery/plug-ins/jquery.jOrgchart.js"&gt;&lt;/script&gt;      
  
      &lt;script src="../bootstrap/js/bootstrap-prettyCheckable.js"&gt;&lt;/script&gt;    
      &lt;script src="../bootstrap/plug-ins/bootstrap-datepicker.js"&gt;&lt;/script&gt;   
      &lt;script src="../bootstrap/plug-ins/bootstrap-switch.js"&gt;&lt;/script&gt;
      &lt;script src="../bootstrap/js/bootstrap-downloadFile.js"&gt;&lt;/script&gt;
      &lt;script src="../bootstrap/js/bootstrap-select.js"&gt;&lt;/script&gt;
      &lt;!-- Kendo UI Web combined JavaScript --&gt;
      &lt;script src="../kendoUI/js/kendo.web.min.js"&gt;&lt;/script&gt;      
  
  
  
      &lt;div id="example"&gt;
              &lt;div id="grid"&gt;&lt;/div&gt;
  
              &lt;script style="text/javascript"&gt;
          jq(document).ready(function () {
          dataSource = new kendo.data.DataSource({
              dataType: "json",
              transport: {
                  read:  {
                       url:BASE_URL + "admin/searchPublishers.htm",
                      type: "GET",
                      cache: false
                  },
                  update: {
                      url:BASE_URL + "admin/updatePublisher.htm",
                      type: "POST"
                  },
                  create: {
                      url: BASE_URL + "admin/createPublisher.htm",
                      type: "POST"
                  },
                  parameterMap: function(options, operation) {
                      if (operation !== "read" &amp;&amp; options.models) {
                          return {models: kendo.stringify(options.models)};
                      }
                  }
              },
              schema: {
                  model: {
                      fields: {
                          id: {
                              type: "number"
                          },
                          publisherName: {
                              type: "string"
                          }
                      }
                  },
                  data: "items",
                  total: "items.length" //total amount of records. This is needed for paging
              },
              pageSize: 20
          });
  
          $("#grid").kendoGrid({
              dataSource: dataSource,
              pageable: true,
              height: 550,
              toolbar: ["create"],
              columns: [
                     { field: "publisherName", title: "Publisher", width: "130px" },
                      { command: ["edit"], title: "Actions", width: "150px" }
                 ],
              editable: "inline"
              });
  
          });
              &lt;/script&gt;
          &lt;/div&gt;
  
  
   Java Controller
   ---------------
  
      package com.wad.webui.controller;
  
      import java.util.ArrayList;
      import java.util.List;
      import java.util.Map;
  
      import javax.servlet.http.HttpServletRequest;
  
      import org.apache.log4j.Logger;
      import org.springframework.stereotype.Controller;
      import org.springframework.web.bind.annotation.RequestBody;
      import org.springframework.web.bind.annotation.RequestMapping;
      import org.springframework.web.bind.annotation.RequestMethod;
      import org.springframework.web.bind.annotation.ResponseBody;
      import org.springframework.web.bind.annotation.RequestParam;
  
      import com.wad.core.model.lookup.PublisherLookupItem;
  
      /**
       * @author Srinivasa.K
       * 
       */
      @Controller
      public class PublisherController extends BaseController {
  
          private static final Logger logger = Logger
                  .getLogger(PublisherController.class);
  
          private static final List&lt;PublisherLookupItem&gt; publishersList = new ArrayList&lt;PublisherLookupItem&gt;();
  
          static {
              PublisherLookupItem pb = new PublisherLookupItem();
  
              pb.setId(1);
              pb.setPublisherName("Srini");
  
              PublisherLookupItem pb1 = new PublisherLookupItem();
  
              pb1.setId(2);
              pb1.setPublisherName("Ram");
  
              publishersList.add(pb);
              publishersList.add(pb1);
          }
  
          @RequestMapping(value = "/admin/searchPublishers.htm", method = RequestMethod.GET, produces = "application/json")
          public @ResponseBody
          JsonDataWrapper&lt;PublisherLookupItem&gt; searchPublishers(
                  HttpServletRequest request) throws Exception {
              logger.debug("searchPublishers method ");
  
              JsonDataWrapper&lt;PublisherLookupItem&gt; result = new JsonDataWrapper&lt;PublisherLookupItem&gt;(
                      publishersList);
  
              return result;
          }
  
          @RequestMapping(value = "/admin/updatePublisher.htm", method = RequestMethod.POST, produces = "application/json")
          public @ResponseBody
          PublisherLookupItem updatePublisher(
                  @RequestBody PublisherLookupItem target, HttpServletRequest request)
                  throws Exception {
  
              System.out.println("updatePublisher method :" + target);
  
              publishersList.add(target);
              return target;
  
          }
  
          @RequestMapping(value = "/admin/createPublisher.htm", method = RequestMethod.POST, produces = "application/json")
          public @ResponseBody
          PublisherLookupItem createPublisher(
                  @RequestBody PublisherLookupItem target, HttpServletRequest request)
                  throws Exception {
  
              System.out.println("createPublisher method :" + target);
  
              publishersList.add(target);
              return target;
  
          }
  
      }
  </code></pre>