python script example for back in zope

# Example code:

# Import a standard function, and get the HTML request and response objects.
from Products.PythonScripts.standard import html_quote
request = container.REQUEST
RESPONSE =  request.RESPONSE

return '''<html><head>  <script src="http://exam.cusat.ac.in/erp5/cusat/basetemplate/js/jquery-min.js"></script>
              <script>
               $(function(){
                $("#myform").submit();
               });
               </script>
         </head> <img src="http://exam.cusat.ac.in/erp5/cusat/images/load">
           <form action="home1" method="post" id="myform">
         
            </form></html>'''

No comments:

Post a Comment