#NEWLINE# def Layout( self , request , response ) : #NEWLINE# #INDENT# req_flow = request . REQ . get ( 'flow' ) #NEWLINE# if req_flow : #NEWLINE# #INDENT# self . state [ 'flow' ] = req_flow #NEWLINE# #UNINDENT# client_id = request . REQ . get ( 'client_id' ) #NEWLINE# if client_id : #NEWLINE# #INDENT# self . state [ 'client_id' ] = client_id #NEWLINE# #UNINDENT# if ( req_flow and ( not self . IsOutputExportable ( req_flow , token = request . token ) ) ) : #NEWLINE# #INDENT# self . disabled = [ 'FlowResultsExportView' ] #NEWLINE# #UNINDENT# response = super ( FlowTabView , self ) . Layout ( request , response ) #NEWLINE# return self . CallJavascript ( response , 'FlowTabView.Layout' , renderer = self . __class__ . __name__ )