Announcement

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

    How to set oldValues for server side DSRequest

    I have a datasource which can receive DSRequests that originate on the client as well as DSRequests that originate from server side code. I'd like to write the code that processes requests for this data source so that it doesn't have to know where the request came from. The problem is, some of the code needs to know the "old" value of certain fields. For DSRequests coming from the client that isn't a problem. But for DSRequests created server-side there is no com.isomorphic.datasource.DSRequest.setOldValues() method. Am I safe in using DSRequest.setParameter("oldValues", myOldValuesMap)?
Working...
X