get_widget

get_widget(class_name, args={}, values={})

Get a defined widget

params:

class_name - the fully qualified class name of the widget

keyparams:

args - keyword arguments required to create a specific widget

values - form values that are passed in from the interface

return:

string - html form of the widget

example:

class_name = 'TableLayoutWdg'

args = {

'view': 'manage',

'search_type': 'prod/asset',

}

widget = server.get_widget(class_name, args))