Storing Drag-and-Drop Information in the Database

Once the drag-and-drop operation has been successfully completed, the assignment of the patient to the new primary care nurse must be stored in the database. As was mentioned earlier, this is done by a call made to the custom droppedFunc called stoppedDraggingFunc defined in the getPatientNurseAssignVCO. The code that makes this call can be found earlier in this chapter, in CO.js, and in the following example.

Image

As mentioned in the previous discussion of the custom stoppedDraggingFunc function, a mock target and a mock event are required to pass the necessary data to the updatePatientNurseAssign ...

Get Oracle Database Ajax & PHP Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.