(self)
return div
this method is called thru ajax
this method is called thru ajax
this method is called thru ajax
def _get_planned_wdg(self):
        ''' this method is called thru ajax '''
        args = WebContainer.get_web().get_form_args()
        
        # get the args in the URL
        search_type = args['search_type']
        search_id = args['search_id']
        sobject = Search.get_by_id(search_type, search_id)

        assigned_shot_wdg = AssignedShotWdg()
        assigned_shot_wdg.set_sobject(sobject)

        div = Widget()
      
        div.add(assigned_shot_wdg)
        div.add(HtmlElement.br(2))
        return div
def _get_planned_wdg ( self ) : args = WebContainer . get_web ( ) . get_form_args ( ) # get the args in the URL search_type = args [ 'search_type' ] search_id = args [ 'search_id' ] sobject = Search . get_by_id ( search_type , search_id ) assigned_shot_wdg = AssignedShotWdg ( ) assigned_shot_wdg . set_sobject ( sobject ) div = Widget ( ) div . add ( assigned_shot_wdg ) div . add ( HtmlElement . br ( 2 ) ) return div