|
Jorey Bump
list at joreybump.com
Fri May 12 21:48:03 EDT 2006
Luca Calderano wrote:
> Can someone show me hot to use the mod_python.publisher to handle
> framesets ??
Contents of frames.py (using invalid HTML for simplicity):
def index():
return """<html>
<frameset cols="25%,75%">
<frame src="spam">
<frame src="eggs">
</frameset>
</html>
"""
def spam():
return """<html>
<body>
<h3>Spam</h3>
</body>
</html>
"""
def eggs():
return """<html>
<body>
<h3>Eggs</h3>
</body>
</html>
"""
Point your browser to http://host/frames.py/ and you will see a frameset
and its contents generated from functions in the same published module.
|