[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL - Main.py:1.1.2.1

Christian Theune ct@gocept.com
Sat, 18 May 2002 06:42:06 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL
In directory cvs.zope.org:/tmp/cvs-serv2888

Added Files:
      Tag: ctheune-foldermove-branch
	Main.py 
Log Message:
Renamed Main.py to ../../../Content/Folder/Views/XUL//Main.py

=== Added File Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/XUL/Main.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
# 
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
# 
##############################################################################
"""

$Id: Main.py,v 1.1.2.1 2002/05/18 10:42:05 ctheune Exp $
"""


from Zope.PageTemplate.PageTemplateFile import PageTemplateFile
from Zope.Publisher.Browser.AttributePublisher import AttributePublisher
from Zope.App.OFS.IContainer import IReadContainer

class Main(AttributePublisher):
    """ """

    __implements__ = AttributePublisher.__implements__


    def __init__(self, context):
        """Initialize form.
        """
        self._context = context


    def getContext(self):
        """ """
        return self._context


    index = PageTemplateFile('main.pt')
    menu = PageTemplateFile('menu.pt')