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.


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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.