#NEWLINE# def childFactory( self , ctx , name ) : #NEWLINE# #INDENT# 'Create and return a child resource where the name is dynamic\n        ' #NEWLINE# if ( self in [ '1' , '2' , '3' ] ) : #NEWLINE# #INDENT# return ChildPage ( name )