Ignore:
Timestamp:
11/11/09 12:39:07 (11 years ago)
Author:
astephen
Message:

added type ahead and filepath into UI options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/lib/ui/proc_config.py

    r5963 r5994  
    145145         
    146146        for (name, input) in inputs: 
    147             resp += """<tr><td width="25%%"><b>%s</b></td><td width="40%%">\n""" % name 
     147            resp += """<tr><td width="25%%"><b>%s</b></td><td width="60%%">\n""" % name 
    148148            al = input["allowed_length"] 
    149149            pv = input["possible_values"] 
     
    159159            elif tp in ("float", "int", "string"): 
    160160                resp += fm.renderTextInput(name, dtype=tp)  
     161            
     162            elif tp == "filepath": 
     163                base_dir = input["basedir"]  
     164                resp += fm.renderTypeAheadDirList(name, base_dir) 
    161165 
    162166            resp += "</td><td>%s</td></tr>\n" % "Eventually we'll put some useful advice here." 
Note: See TracChangeset for help on using the changeset viewer.