%%# @(#)[HyperWave] [WWW-G] master.html 2.58 [master template file] [Gerhard Wasner 170797, Christian Guetl, Mattias Moser, Till Vollmer, Georg Essl, Frank Kappe]%%
%%include "v1.0/hwincludes.html"%%
%%resdef "v1.0/langres/standard.lrc" hwrc%%
%%resdef "v1.0/lib/langres/lib.lrc" lib%%
%%resdef "v1.0/components/error_warnings/langres/error_warnings.lrc" err%%
clearWriteBuffer();
var action = request.act;
var mimetype = request.object["MimeType"];
if (place('session.getvar','EDIT_MODE') == "yes" ||
(action != "plain.action" && request.object["HW_PLAIN"] != "yes" &&
action != "getHTMLcontent.action" && action != "dataRequest.action" &&
(mimetype != "text/xml" || (mimetype == "text/xml" && action == "dialog.editattributes.extended.action")) &&
action != "querynotify.action" || action == "dialog.editattributes.action")) {
write(place("cookiescript"));
}
if (!reload_necessary() && !reloadframe_necessary()) { // empty page if HW_Reload-Cookie == yes
write(place("uistyles"));
if (place("error") != "" && !place("error.is_warning")) {
var status = errorhandler.dispatch();
if (!status || status == "default")
write(place("errorhandling"));
}
else {
var status = actionhandler.dispatch();
if (!status || status == "default") {
var hw_retobj = hw_dc_checkAndExecuteShowMethod();
if (!hw_retobj.status) {
var pageout = place("standardpagemaster");
if (pageout.constructor == HW_API_Error) {
hw_retobj = new HW_SSJ_ReturnObject({description:lrc("ahErrCap1", "lib", "Error evaluating PLACEHOLDERS")});
hw_retobj.error.append({HW_error:pageout,description:("PLACEHOLDER: standardpagemaster")});
}
else
write(pageout);
}
}
HW_processError();
}
}