Ticket #18 (closed enhancement: invalid)

Opened 3 years ago

Last modified 3 years ago

AJAX responses to JSON

Reported by: tjeerd@… Owned by: tjeerd@…
Priority: major Milestone:
Component: CTD web interface Version:
Keywords: Cc:

Description

CTD uses AJAX calls to build the user interface. The system is currently working with HTML snippets, but JSON messages provide a more flexible protocol.

See also:
 http://stackoverflow.com/questions/199099/how-to-manage-a-redirect-request-after-a-jquery-ajax-call/1534662#1534662

Change History

Changed 3 years ago by tjeerd@…

  • status changed from new to closed
  • resolution set to invalid

To implement this in a way that won't require rewriting a lot of code we need jQuery v1.5 or higher (which supports multiple content headers). Currently we can't migrate to this because uploadify needs version 1.4.

The second problem is that there is still a lot of code in the .jsp files. This markup needs to be inserted into JSON, which isn't trivial.

Note: See TracTickets for help on using tickets.