log('Action {} should not specify `uids` as its parameters when it does not take object list from the previous view!'.format(dialog_method),level=ERROR)
# early-stop if user selected all documents
ifquery==""andselect_all==0anddialog_method!=update_method:# do not interrupt on UPDATE
extra_param["basedialog_select_all"]=1
returncontext.Base_renderForm(
dialog_id,
message=translate("All documents are selected! Submit again to proceed or Cancel and narrow down your search."),
level=WARNING,
keep_items=extra_param,
query=query,
form_data=form_data)
# The old way was to set inquire kw for "list_selection_name" and update
# it with kw["uids"] which means a long URL to call this script
# We expect selection-related parameters (query, uids...) in extra_param_json
# thus it is enough to update dialog_method parameters with it