Package muntjac :: Package addon :: Package invient :: Package demo :: Module invient_demo_app_servlet
[hide private]
[frames] | no frames]

Source Code for Module muntjac.addon.invient.demo.invient_demo_app_servlet

 1  # @INVIENT_COPYRIGHT@ 
 2  #  
 3  # Licensed under the Apache License, Version 2.0 (the "License");  
 4  # you may not use this file except in compliance with the License.  
 5  # You may obtain a copy of the License at  
 6  #  
 7  #     http://www.apache.org/licenses/LICENSE-2.0  
 8  #  
 9  # Unless required by applicable law or agreed to in writing, software  
10  # distributed under the License is distributed on an "AS IS" BASIS,  
11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
12  # See the License for the specific language governing permissions and  
13  # limitations under the License. 
14   
15  from muntjac.terminal.gwt.server.application_servlet import ApplicationServlet 
16   
17   
18 -class InvientChartsDemoAppServlet(ApplicationServlet):
19
20 - def writeAjaxPageHtmlMuntjacScripts(self, window, themeName, application, page, appUrl, themeUri, appId, request):
21 page.write('<script type=\"text/javascript\">\n') 22 page.write('//<![CDATA[\n') 23 page.write('document.write(\"<script language=\'javascript\' src=\'./jquery/jquery-1.4.4.min.js\'><\\/script>\");\n') 24 page.write('document.write(\"<script language=\'javascript\' src=\'./js/highcharts.js\'><\\/script>\");\n') 25 page.write('document.write(\"<script language=\'javascript\' src=\'./js/modules/exporting.js\'><\\/script>\");\n') 26 page.write('//]]>\n</script>\n') 27 super(InvientChartsDemoAppServlet, self).writeAjaxPageHtmlMuntjacScripts(window, themeName, application, page, appUrl, themeUri, appId, request)
28