#NEWLINE# def __init__( self , templateName , allowEdit = False ) : #NEWLINE# #INDENT# ComplexPanel . __init__ ( self ) #NEWLINE# self . loaded = False #NEWLINE# self . widgetsAttached = False #NEWLINE# self . id = None #NEWLINE# self . templateName = None #NEWLINE# self . title = None #NEWLINE# self . elementsById = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . metaTags = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . body = None #NEWLINE# self . links = [ ] #NEWLINE# self . forms = [ ] #NEWLINE# self . metaTagList = [ ] #NEWLINE# self . loadListeners = [ ] #NEWLINE# self . toAttach = [ ] #NEWLINE# self . toInsert = [ ] #NEWLINE# self . setElement ( DOM . createDiv ( ) ) #NEWLINE# self . editor = None #NEWLINE# self . allowEdit = allowEdit #NEWLINE# if templateName : #NEWLINE# #INDENT# self . loadTemplate ( templateName )