Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    strange POST parameters

    Hi,

    I had successfully connect PatternReuseSample (from Showcase) to
    PHP backend using Fetch/Update/Add/Remove interface.
    However, sometime when I play with the LiveGrid's grouping/sorting/... features,
    and try to modify the data via DynamicForm ... my PHP will receive
    parameters as below:

    $399 = 0_5
    $42c = isc_OID_4_groupTree
    isFolder = null

    I thought all POST parameters pass to PHP should be prefixed by "_", am I correct ?
    Where are those parameters come from ? How can I remove them ?
    Specially, the "isFolder" parameter ... I did not define this as my RestDataSource field !!

    Where can I find the list of "reserved" POST parameters which will send to PHP ?
    Thanks a lot.

    Regards
    KC

    #2
    If those are inconvenient to ignore on the server side, you could override dataSource.transformRequest() to remove any data in dsRequest.data that doesn't have a corresponding DataSource field.

    Comment


      #3
      Hi,

      Well, it's not difficult to remove them in PHP.
      But it will be better if I know what's meaning of those parameters,
      and when will those parameters been used ?
      Any document for those parameters ? Or, could I assume they are
      useless in REST based data binding ? Thanks a lot.

      Regards
      KC
      Last edited by kccheng; 10 Jan 2009, 19:57.

      Comment


        #4
        Yes, assume they are useless. They are internal state that is being tracked on the client-side only, and we will be adding a behavior to optionally omit them automatically.

        Comment


          #5
          Originally posted by Isomorphic
          ... and we will be adding a behavior to optionally omit them automatically.
          That will be great, thanks.

          Comment

          Working...
          X