Ignore:
Timestamp:
23/03/07 14:58:25 (14 years ago)
Author:
lawrence
Message:

Better error handling, better parameter showing. Shell example
javascript as an initial step to using the Vocabserver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/wsgi/ndgPageLayout.py

    r2266 r2319  
    3636        discoveryURL=self.config.get('SEARCH','discoveryURL') 
    3737        advancedURL=self.config.get('SEARCH','advancedURL') 
     38        ndgJavascript=self.config.get('layout','ndgJavascript') 
    3839 
    3940        self.pageStart='''<?xml version="1.0" encoding="utf-8"?> 
     
    4546                  <title>%s</title> 
    4647                  <link media="all, screen" href="layout/ndg.css" type="text/css" rel="stylesheet"/> 
    47                 </head><body><div id="Main">'''%pageName 
     48                  <script type="text/javascript" language="javascript"> %s </script> 
     49                </head><body><div id="Main">'''%(pageName,ndgJavascript) 
    4850         
    4951        self.header=''' 
Note: See TracChangeset for help on using the changeset viewer.