Notes control

From RPM Wiki

Table of contents

Summary

A control for displaying and adding notes.

Details

  • Head: notes (Requires the Rpm.FxPlus JS and CSS)

Add

The control uses JS to send the note using XHR

  • ClientRequest/NoteAdd.aspx
  • Parameters
    • objectType, int
    • objectSpecificID, int
    • content, string
    • isForStaffOnly, int
  • Return
    • return: {result code}{name} Example: 1John Smith
    • result code:
      • 0 - failed (possible failure includes security reasons)
      • 1 - OK

Test

An objectType of 0 is used as a test of the DHTML code and expects a return of "1test" with no DB activity.

Edit

Editing notes is handled by a separate page linked to from the control.

History

  • Europa: Post back note replaced with XHR note
  • This page was last modified 19:48, 19 Mar 2008.
  • This page has been accessed 1262 times.