parameters: (self, asset, process_name)
return_statement: return handler_hidden
docstring: get the handler input for client side operation during checkin
docstring_summary: get the handler input for client side operation during checkin
docstring_tokens: get the handler input for client side operation during checkin
function: def get_handler_input(self, asset, process_name):
          '''get the handler input for client side operation during checkin'''
          pipeline = Pipeline.get_by_sobject(asset)
          
          # handle the action nodes, avoid duplicate handler_hidden
          
          handler_hidden = None
          if asset.get_code() not in Container.get_seq('handler_asset'):
              Container.append_seq('handler_asset', asset.get_code() )
              handler_hidden = HiddenWdg("handler_%s" % asset.get_code() )
              handler_values = []
              if pipeline and process_name:
                  process = pipeline.get_process(process_name)
                  if process:
                      action_nodes = process.get_action_nodes(scope="client")
                      for action_node in action_nodes:
                          event_name = Xml.get_attribute(action_node, "event")
                          action_handler = Xml.get_attribute(action_node, "class")
                          handler_values.append("%s=%s" % (event_name, action_handler))
              handler_hidden.set_value("|".join(handler_values) )
          return handler_hidden
function_tokens: def get_handler_input ( self , asset , process_name ) : pipeline = Pipeline . get_by_sobject ( asset ) # handle the action nodes, avoid duplicate handler_hidden handler_hidden = None if asset . get_code ( ) not in Container . get_seq ( 'handler_asset' ) : Container . append_seq ( 'handler_asset' , asset . get_code ( ) ) handler_hidden = HiddenWdg ( "handler_%s" % asset . get_code ( ) ) handler_values = [ ] if pipeline and process_name : process = pipeline . get_process ( process_name ) if process : action_nodes = process . get_action_nodes ( scope = "client" ) for action_node in action_nodes : event_name = Xml . get_attribute ( action_node , "event" ) action_handler = Xml . get_attribute ( action_node , "class" ) handler_values . append ( "%s=%s" % ( event_name , action_handler ) ) handler_hidden . set_value ( "|" . join ( handler_values ) ) return handler_hidden