+ passing form param disableWobjects=$call shortcircuits most of www_view()
This commit is contained in:
parent
6beeebd289
commit
aa079f1980
1 changed files with 11 additions and 0 deletions
|
|
@ -265,6 +265,17 @@ sub www_view {
|
|||
WebGUI::Macro::process($param_str);
|
||||
}
|
||||
|
||||
# see if we can shortcircuit this whole process
|
||||
if ((ref $session{'form'}{'disableWobjects'} && grep /^$call$/,
|
||||
@{$session{'form'}{'disableWobjects'}}) ||
|
||||
($session{'form'}{'disableWobjects'} && grep /^$call$/,
|
||||
$session{'form'}{'disableWobjects'})) {
|
||||
|
||||
WebGUI::ErrorHandler::warn("disabling soap call $call");
|
||||
$var{'disableWobject'} = 1;
|
||||
return $self[0]->processTemplate($self[0]->get("templateId"),\%var);
|
||||
}
|
||||
|
||||
# advanced use, if you want to pass SOAP results to a single, particular
|
||||
# wobject on a page
|
||||
if (ref $session{'form'}{'targetWobjects'}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue