Ignore:
Timestamp:
28/05/10 14:23:27 (10 years ago)
Author:
astephen
Message:

various updates. Key thing to add next is polling of jobs and update of
response when it has polled correctly. Can re-use jquery stuff in
submit_utils.js which is relatively lightweight.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/controllers/jobviewer.py

    r6898 r6903  
    7878 
    7979        resp = "<h2>DETAILS</h2>" 
     80        resp += "<p>Need to realise that in costonly response we have JobCompletionTimeDate empty because it hasn't run yet!</p>" 
    8081 
    8182        for (i, item) in enumerate(items): 
    8283            x = job_details.find("{http://www.opengeospatial.net/wps}" + item).text 
     84            if type(x) != str: x = "Undefined" 
    8385            resp += "<b>%s</b> = %s<br>" % (mapped_names[i], x.strip()) 
    8486 
Note: See TracChangeset for help on using the changeset viewer.