[ { "id" : "ShowContact", "type" : "URLLoad", "selector" : "[href=\"/portal/components/contact/contact.tt.html\"].js-open-modal", "delegate" : "body", "prefill" : "#genericModalLoading", "gotoPage" : "genericModal", "loadSelector" : "#content", "loadTarget" : "#efxGenericModalReport" }, { "id" : "ShowHelp", "type" : "URLLoad", "selector" : "[href=\"/portal/components/help/help.tt.html\"].js-open-modal", "delegate" : "body", "gotoPage" : "genericModal", "prefill" : "#genericModalLoading", "loadSelector" : "#content", "loadTarget" : "#efxGenericModalReport" }, { "id" : "ShowCollection", "type" : "URLLoad", "selector" : "[href=\"/portal/components/collection/collections.tt.html\"].js-open-modal", "delegate" : "body", "gotoPage" : "genericModalLarge", "prefill" : "#genericModalLoading", "loadSelector" : "#content", "loadTarget" : "#efxGenericModalLargeReport" }, { "id" : "ShowAccount", "type" : "URLLoad", "selector" : "[href=\"/portal/components/account/account.tt.html\"].js-open-modal", "delegate" : "body", "gotoPage" : "genericModalLarge", "prefill" : "#genericModalLoading", "loadSelector" : "#content", "loadTarget" : "#efxGenericModalLargeReport" }, { "id" : "ShowSavedSearches", "type" : "URLLoad", "selector" : "[href=\"/portal/components/savesearch/saved-searches.tt.html\"].js-open-modal", "delegate" : "body", "gotoPage" : "genericModalLarge", "prefill" : "#genericModalLoading", "loadSelector" : "#content", "loadTarget" : "#efxGenericModalLargeReport" }, { "id" : "ShowNorm", "type" : "URLLoad", "selector" : ".singleNormModal", "delegate" : "body", "loadSelector" : "#modal-container", "loadTarget" : "#modal-wrapper" }, { "id" : "NewClause", "type" : "URLLoad", "selector" : ".newClauseModal", "delegate" : "body", "loadSelector" : "#modal-container", "loadTarget" : "#modal-wrapper", "setvar" : { "newClauseStatus" : "busy" }, "clearvar" : "newClauseStatus" }, { "id" : "SingleComment", "type" : "URLLoad", "selector" : ".singleCommentModal", "delegate" : "body", "loadSelector" : "#modal-container", "loadTarget" : "#modal-wrapper", "setvar" : { "singleCommentStatus" : "busy" }, "clearvar" : "singleCommentStatus" }, { "comment" : "---------- Basic search ---------------------------------------------------" }, { "id" : "gotoBasic", "type" : "GotoPageTrigger", "selector" : "=gotoBasicSearch", "pages" : "", "gotoPage" : "basic" }, { "id" : "searchmap-basic", "type" : "SearchMap", "serverrecordname" : "ProfessionalSearch", "clear" : ".efxClearAllSearches", "map" : [ { "line" : "1", "source" : "searchbasic-text", "connector" : "" }, { "line" : "2", "source" : "searchbasic-hist", "connector" : "" } ] }, { "id": "SearchDisplayTriggerBasic", "type": "SearchDisplayTrigger", "pages" : "basic, selection", "action" : "link", "events" : "click", "selector" : "#SearchDisplayTriggerBasic", "delegate" : "", "dbgroup" : ".efxDB", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort", "mime" : "html", "rhl" : "main", "rhlmode" : "add", "onEnter" : "#searchbasic-text", "parsed" : "searchbasic-parsed", "searchmap" : "searchmap-basic", "gotoPage" : "basic", "clearvar": "$collectionname" }, { "comment" : "---------- Professional Search --------------------------------------------------" }, { "id" : "psControl", "type" : "ProfessionalSearch", "config" : "local/search.tt.cfg" }, { "id" : "gotoProfessional", "type" : "GotoPageTrigger", "selector" : "=gotoProfessionalSearch", "pages" : "", "gotoPage" : "professional" }, { "id": "search-professional", "type": "SearchDisplayTrigger", "pages" : "professional", "action" : "link", "events" : "click", "selector" : "#SearchDisplayTriggerProfessional", "delegate" : "", "dbgroup" : ".efxDB", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort" , "mime" : "html", "rhl" : "main", "rhlmode" : "add", "searchmap" : "searchmap-professional", "parsed": "searchprofessional-parsed", "gotoPage" : "professional", "onEnter" : ".efx-searchcontainer .form-control" }, { "id" : "searchmap-professional", "type" : "SearchMap", "serverrecordname" : "ProfessionalSearch", "clear" : ".efxClearAllSearches", "map" : [ { "line" : "1", "source" : "searchprofessional-text", "connector" : ";" }, { "line" : "2", "source" : "select-aktu", "connector" : ";" }, { "line" : "3", "source" : "input-tit", "connector" : "" }, { "line" : "4", "source" : "input-sbe", "connector" : "" }, { "line" : "10", "source" : "input-regular", "connector" : "" }, { "line" : "11", "source" : "input-picklist", "connector" : "" }, { "line" : "12", "source" : "input-date-from", "connector" : "" }, { "line" : "13", "source" : "input-date-to", "connector" : "" }, { "line" : "90", "source" : "slab", "connector" : "" }, { "line" : "91", "source" : "sop", "connector" : "" } ] }, { "id" : "PickSearch", "type" : "SearchRef", "selector" : "[name^=picksrch]", "delegate" : "body", "gotoPage" : "srchpicklist", "url" : "pickhistory.tt.html", "loadSelector" : "#content", "loadTarget" : "#efxPickSearchesReport", "label" : "SREF", "prompt" : "sprompt", "comment" : "sprompt is the field name of the search field where to paste the SearchRef; label is the value assigned to the .efx-rowchoice element in that row, to pick the right template" }, { "id" : "RefreshPickSearch", "type" : "URLLoad", "pages" : "genericModalLarge", "events" : "searchhistory-cleaned", "gotoPage" : "srchpicklist", "prefill" : "#genericModalLoading", "url" : "pickhistory.tt.html", "loadSelector" : "#content", "loadTarget" : "#efxGenericModalLargeReport" }, { "comment" : "---------- Comment Search --------------------------------------------------" }, { "id" : "searchmap-comment", "serverrecordname" : "CommentSearch", "type" : "SearchMap", "clear" : ".efxClearAllSearches", "map" : [ { "line" : "1", "source" : "search-DNUM", "connector" : "" }, { "line" : "2", "source" : "search-CLAUSE_NUMBER", "connector" : "" }, { "line" : "3", "source" : "search-CRITICALITY", "connector" : "" }, { "line" : "4", "source" : "search-ORIGINATOR", "connector" : "" }, { "line" : "5", "source" : "search-DISCIPLINE_CHAPTER-TITLE", "connector" : "" }, { "line" : "6", "source" : "search-DISCIPLINE_CHAPTER-CODE", "connector" : "" }, { "line" : "7", "source" : "search-ADAT", "connector" : "" }, { "line" : "8", "source" : "search-REFERENCES_TO_PROJECT", "connector" : "" }, { "line" : "9", "source" : "search-PSTS_DEVIATION", "connector" : "" }, { "line" : "10", "source" : "search-VALID_FROM", "connector" : "" }, { "line" : "11", "source" : "search-VALID_TILL", "connector" : "" }, { "line" : "12", "source" : "search-COMMENTSTATUS", "connector" : "" }, { "line" : "13", "source" : "search-WEBBI", "connector" : "" }, { "line" : "14", "source" : "search-STAMP-from", "connector" : "" }, { "line" : "15", "source" : "search-STAMP-until", "connector" : "" }, { "line" : "16", "source" : "search-COMMENTSTATE", "connector" : "" } ] }, { "id": "SearchDisplayTriggerComment", "type": "SearchDisplayTrigger", "pages" : "comment", "action" : "link", "events" : "click", "selector" : "#efxSearchDisplayTriggerComment", "delegate" : "", "dbgroup" : ".efxDB", "format" : "comment", "sort" : "#efxDisplaySort", "mime" : "html", "rhl" : "main", "rhlmode" : "add", "onEnter" : ".efx-searchcontainer .form-control", "parsed" : "#searchcomment-parsed", "searchmap" : "searchmap-comment", "gotoPage" : "comment", "clearvar": "$collectionname" }, { "id" : "gotoComment", "type" : "GotoPageTrigger", "selector" : "=gotoCommentSearch", "pages" : "", "gotoPage" : "comment" }, { "comment" : "---------- search results / report content main -------------------------------" }, { "id": "MainSpinner", "type": "Spinner", "selector" : "#spinnermodal", "rhl" : "main" }, { "id": "efxMainReportGenerated", "type" : "Conditional", "selector" : ".efxMainReportGenerated", "compare" : "$ReportGenerated==\"true\",$inpagecontext-viewportmain==\"true\"", "rhl" : "main", "pages" : "!selection", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id": "efxNoMainReportGenerated", "type" : "Conditional", "selector" : ".efxNoMainReportGenerated", "compare" : "$ReportGenerated!=\"true\"", "rhl" : "main", "pages" : "!selection", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id" : "ViewportMain", "type" : "ReportContent", "rhl" : "main", "delegate": "body", "clear" : ".efxClearReport", "segselector" : "=efxPg", "pageTop" : "#pageTop" }, { "id" : "pager", "type" : "ReportPager", "selector" : ".efxPager", "template" : "#efxPagerTemplate", "reportContent" : "ViewportMain", "margin" : 2 }, { "id": "SegmentCounterConditional", "type" : "Conditional", "selector" : "#efxSegmentCounter", "compare" : "$hits>0", "replace" : true, "rhl" : "main", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id": "HitCounterConditional", "type" : "Conditional", "selector" : "#efxHitCounter", "compare" : "$hits>0,$searched==\"true\"", "replace" : true, "rhl" : "main", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id": "NoHitsConditional", "type" : "Conditional", "selector" : "#efxNoHitsConditional", "compare" : "$hits==0,$complete==\"true\",$searched==\"true\"", "replace" : true, "rhl" : "main", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id": "MoreConditional", "type" : "Conditional", "selector" : ".efxMoreConditional", "compare" : "$more==\"true\"", "rhl" : "main", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id": "efxMore", "type": "DisplayMoreTrigger", "events" : "click", "selector" : "#efxMore", "delegate" : "", "format" : "*", "sort" : "#efxDisplaySort", "mime" : "html", "rhl" : "main", "rhlmode" : "add" }, { "id" : "Zoom", "type" : "DisplayRecord", "selector" : ".efxZoomTab", "content" : ".efxZoom", "report" : "full-tab", "reportContent" : "ViewportMain" }, { "id" : "ZoomSel", "type" : "DisplayRecord", "selector" : ".efxZoomTab", "content" : ".efxZoom", "report" : "full-tab", "reportContent" : "ViewportSelection" }, { "comment": "---------- Selection ------------------------------------------------------" }, { "id" : "ViewportSelection", "type" : "ReportContent", "rhl" : "selection" }, { "id": "efxSelectionReportGenerated", "type" : "Conditional", "selector" : ".efxSelectionReportGenerated", "rhl" : "selection", "pages" : "selection", "falseClass" : "displaynone" }, { "id" : "SelRecs", "type" : "SelectorBSButton", "list" : "SelectedRecords", "selector" : ".SelectedRecords", "allOn" : "=SelectAllMain", "allClear" : "=DeselectAllMain", "allToggle" : ".efxToggleSelectAllMain", "allDelegate": "body", "class" : "js-record--selected", "reportContent" : "ViewportMain" }, { "id" : "SelRecsSel", "type" : "SelectorBSButton", "list" : "SelectedRecords", "selector" : ".SelectedRecords", "allOn" : "=SelectAllSelection", "allOff" : "=DeselectAllSelection", "allToggle" : ".efxToggleSelectAllSelection", "allDelegate": "body", "class" : "js-record--selected", "remove" : true, "reportContent" : "ViewportSelection" }, { "id" : "SelRecsOrder", "type" : "SelectorBSButton", "list" : "SelectedRecords", "selector" : ".SelectedRecords", "reportContent" : "ReportContentOrder" }, { "id": "efxSelectionCounter", "type" : "Conditional", "selector" : ".efxSelectionCounter", "compare" : "$SelectedRecords>0", "replace-xxx" : true, "rhl-xxx" : "selection", "falseClass" : "displaynone" }, { "id": "SelectedRecordsConditional", "type" : "Conditional", "compare" : "$SelectedRecords==\"true\"", "selector" : ".efxDisplaySelectionTrigger, .efxSelectedRecordsConditional", "falseClass" : "displaynone", "pages-xxx" : "!selection" }, { "id": "NoSelectedRecordsConditional", "type" : "Conditional", "compare" : "$SelectedRecords==0", "selector" : ".efxNoSelectedRecordsConditional", "rhl-wrong" : "selection", "rhl" : "main", "falseClass" : "displaynone" }, { "id": "efxDisplaySelection", "type": "DisplaySelectionTrigger", "events" : "click", "selector" : ".efxDisplaySelectionTrigger", "delegate" : "body", "format" : "#efxDisplaySelectionFormat", "sort" : "#efxDisplaySelectionSort", "mime" : "html", "collection" : "SelectedRecords", "gotoPage" : "selection", "rhl" : "selection" }, { "id": "SearchedConditionalGeneric1", "type" : "Conditional", "selector" : ".efxSearchedConditional", "compare" : "$searched==\"true\" $searchpage=\"generic1\"", "pages" : "generic1", "pageonly" : true, "rhl" : "main", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id": "SearchedConditionalGeneric2", "type" : "Conditional", "selector" : ".efxSearchedConditional", "compare" : "$searched==\"true\" $searchpage=\"generic2\"", "pages" : "generic2", "pageonly" : true, "rhl" : "main", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id": "SearchedConditionalGeneric3", "type" : "Conditional", "selector" : ".efxSearchedConditional", "compare" : "$searched==\"true\" $searchpage=\"generic3\"", "pages" : "generic3", "pageonly" : true, "rhl" : "main", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id": "SearchedConditionalGeneric4", "type" : "Conditional", "selector" : ".efxSearchedConditional", "compare" : "$searched==\"true\" $searchpage=\"generic4\"", "pages" : "generic4", "pageonly" : true, "rhl" : "main", "trueClass" : "dbsearched", "falseClass" : "displaynone" }, { "id" : "gotoPrevious", "type" : "GotoPageTrigger", "selector" : ".efxPreviousPage", "pages" : "", "gotoPage" : "previouspage" }, { "comment" : "---------- Print ----------------------------------------------------------" }, { "id": "PrintShort", "selector" : "#PrintShort", "type" : "ExportTrigger", "format" : "~short", "sort" : "#efxDisplaySort", "mime" : "html", "window" : "export", "suffix" : "-print", "data" : "main" }, { "id": "PrintFull", "selector" : "#PrintFull", "type" : "ExportTrigger", "format" : "~full", "sort" : "#efxDisplaySort", "mime" : "html", "window" : "export", "data" : "main", "suffix" : "-print" }, { "id": "PrintCurrent", "selector" : "#PrintCurrent", "type" : "ExportTrigger", "format" : "*", "sort" : "*", "mime" : "html", "window" : "export", "data" : "main", "suffix" : "-print" }, { "id": "PdfCurrent", "selector" : "=efxPdfCurrent", "type" : "ExportTrigger", "format" : "*", "sort" : "*", "mime" : "pdf", "window" : "export", "data" : "main", "suffix" : "" }, { "id": "PostdocCurrent", "selector" : "=efxPostdocCurrent", "type" : "ExportTrigger", "format" : "*", "sort" : "*", "mime" : "html", "window" : "export", "data" : "main", "suffix" : "-postdoc" }, { "id": "PostxlsCurrent", "selector" : "=efxPostxlsCurrent", "type" : "ExportTrigger", "format" : "*", "sort" : "*", "mime" : "html", "window" : "export", "data" : "main", "suffix" : "-postxls" }, { "id": "PrintSelectionShort", "selector" : "#PrintSelectionShort", "type" : "ExportTrigger", "format" : "~short", "sort" : "#efxDisplaySelectionSort", "mime" : "html", "window" : "export", "data" : "SelectedRecords", "suffix" : "-print" }, { "id": "PrintSelectionFull", "selector" : "#PrintSelectionFull", "type" : "ExportTrigger", "format" : "~full", "sort" : "#efxDisplaySelectionSort", "mime" : "html", "window" : "export", "data" : "SelectedRecords", "suffix" : "-print" }, { "id": "PrintSelectionCurrent", "selector" : "#PrintSelectionCurrent", "type" : "ExportTrigger", "format" : "*", "sort" : "*", "mime" : "html", "window" : "export", "data" : "SelectedRecords", "suffix" : "-print" }, { "comment" : "---------- choose format / sort ------------------------------------------" }, { "id": "efxDisplayFormat", "type": "DisplayChangeTrigger", "events" : "change", "selector" : "#efxDisplayFormat", "delegate" : "body", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort", "mime" : "html", "rhl" : "main", "rhlmode" : "add" }, { "id": "efxDisplaySelectionFormat", "type": "DisplayChangeTrigger", "events" : "change", "selector" : "#efxDisplaySelectionFormat", "delegate" : "body", "format" : "#efxDisplaySelectionFormat", "sort" : "#efxDisplaySelectionSort", "mime" : "html", "rhl" : "selection", "rhlmode" : "add" }, { "id": "efxDisplaySort", "type": "DisplayChangeTrigger", "events" : "change", "selector" : "#efxDisplaySort", "delegate" : "body", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort", "pages" : "!selection", "mime" : "html", "rhl" : "main", "rhlmode" : "add" }, { "id": "efxDisplaySortOnSelection", "type": "DisplayChangeTrigger", "events" : "change", "selector" : "#efxDisplaySort", "delegate" : "body", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort", "pages" : "selection", "mime" : "html", "rhl" : "selection", "rhlmode" : "add" }, { "id": "efxDisplaySelectionSort", "type": "DisplayChangeTrigger", "events" : "change", "selector" : "#efxDisplaySelectionSort", "delegate" : "body", "format" : "#efxDisplaySelectionFormat", "sort" : "#efxDisplaySelectionSort", "mime" : "html", "rhl" : "selection", "rhlmode" : "add" }, { "comment" : "---------- Report Format List Controls -----------------------------------" }, { "id" : "rflHTML", "selector" : "#efxDisplayFormat", "sorted" : true, "action" : "DisplayAction", "type": "RFL", "selected" : "short", "groups" : "+custom", "mime": "html", "sortChoice": "#efxDisplaySort" }, { "id" : "rflHTMLSelection", "selector" : "#efxDisplaySelectionFormat", "sorted" : true, "action" : "DisplayAction", "type": "RFL", "selected" : "short", "groups" : "+custom", "mime": "html", "sortChoice": "#efxDisplaySelectionSort" }, { "id" : "rflNoHTML", "selector" : "#efxExportFormat", "mimeChoice" : "#efxExportMime", "sorted" : true, "type": "RFL", "rebuild" : true, "selected" : "short", "pages" : "efxexport", "mime": "!html", "sortChoice": "#efxExportSort" }, { "id" : "rflNoHTMLMail", "selector" : "#efxEmailFormat", "mimeChoice" : "#efxEmailMime", "sorted" : true, "type": "RFL", "rebuild" : true, "selected" : "short", "pages" : "efxmail", "mime": "!html" }, { "comment" : "report format options see reports.tt.cfg" }, { "comment" : "---------- Custom Report -------------------------------------------------" }, { "comment" : "---------- Search history ----------------------------------------" }, { "id" : "ShowHistory", "type" : "URLLoad", "selector" : "[href=\"/portal/components/history/history.tt.html\"].js-open-modal", "delegate" : "body", "gotoPage" : "genericModalLarge", "prefill" : "#genericModalLoading", "loadSelector" : "#content", "loadTarget" : "#efxGenericModalLargeReport", "setvar" : { "recallsearch" : "busy" }, "clearvar" : "recallsearch" }, { "id" : "SaveHistoryBasic", "type" : "SaveHistory", "searchTrigger" : "SearchDisplayTriggerBasic", "searchPage" : "basic" }, { "id" : "SaveHistoryComment", "type" : "SaveHistory", "searchTrigger" : "SearchDisplayTriggerComment", "searchPage" : "comment" }, { "id" : "SaveHistoryProfessional", "type" : "SaveHistory", "searchTrigger" : "search-professional", "searchPage" : "professional" }, { "comment" : "---------- Collections ----------------------------------------" }, { "id" : "gotoSaveCollection" , "type" : "GotoPageTrigger", "selector" : "=efxGotoSaveCollection", "gotoPage" : "savecollection", "clearvar" : "collectionsaved" }, { "id" : "SaveCollection" , "type" : "SaveCollection", "selector" : "#efxSaveCollectionTrigger", "source" : "SelectedRecords", "namePrompt": "=efxCollectionName", "setvar" : { "collectionsaved" : "yes" }, "formName" : "savecollectionform", "formalert" : "#savecollectionalert", "checkfields" : [ { "field" : "=efxCollectionName", "required" : true, "msg" : "Please enter a collection name" } ] }, { "id": "CollectionSavedTrue", "type" : "Conditional", "selector" : "#efxSaveCollectionTrigger", "compare" : "$collectionsaved==\"yes\"", "trueClass" : "displaynone" }, { "id": "CollectionSaved", "type" : "Conditional", "selector" : "#efxSaveCollectionConditional", "compare" : "$collectionsaved==\"yes\"", "falseClass" : "displaynone" }, { "id": "efxDisplayCollection", "type": "DisplaySelectionTrigger", "events" : "click", "action" : "recall", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort", "mime" : "html", "collection" : "$collection", "setvar" : { "OnSearchPage" : "yes" }, "rhl" : "main" }, { "id": "CollectionNameConditional", "type" : "Conditional", "compare" : "$collectionname!=\"\"", "selector" : ".efxCollectionNameConditional", "replace" : true, "rhl" : "main", "falseClass" : "displaynone", "TODO": "muss $collectionname bei den anderen DisplayTriggern wieder geleert werden, damit die überschrift dann wieder weg ist?" }, { "comment" : "---------- Save Search / Alert ----------------------------------------" }, { "id": "efxSaveSearchConditional", "type" : "Conditional", "selector" : ".efxSaveSearchConditional", "compare" : "$saveoption==\"search\"", "falseClass" : "displaynone" }, { "id": "efxSaveAlertConditional", "type" : "Conditional", "selector" : ".efxSaveAlertConditional", "compare" : "$saveoption==\"alert\"", "falseClass" : "displaynone" }, { "id": "efxSaveBasicSearchConditional", "type" : "Conditional", "selector" : "#efxSaveBasicSearchTrigger", "compare" : "$searchpage==\"basic\" $saveoption==\"search\"", "falseClass" : "displaynone" }, { "id": "efxSaveProfessionalSearchConditional", "type" : "Conditional", "selector" : "#efxSaveProfessionalSearchTrigger", "compare" : "$searchpage==\"professional\" $saveoption==\"search\"", "falseClass" : "displaynone" }, { "id": "efxSaveBasicAlertConditional", "type" : "Conditional", "selector" : "#efxSaveBasicAlertTrigger", "compare" : "$searchpage==\"basic\" $saveoption==\"alert\"", "falseClass" : "displaynone" }, { "id" : "SaveBasicSearchTrigger", "type" : "SaveSearch", "selector" : "#efxSaveBasicSearchTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerBasic", "searchPage" : "basic", "formName" : "savesearchform", "setvar" : { "searchsaved" : "yes" }, "formalert" : "#savesearcherror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Bitte einen Namen vergeben" } ] }, { "id" : "SaveProfessionalSearchTrigger", "type" : "SaveSearch", "selector" : "#efxSaveProfessionalSearchTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "search-professional", "searchPage" : "professional", "formName" : "savesearchform", "setvar" : { "searchsaved" : "yes" }, "formalert" : "#savesearcherror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Bitte einen Namen vergeben" } ] }, { "id" : "SaveBasicAlertTrigger", "type" : "SaveAlert", "selector" : "#efxSaveBasicAlertTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerBasic", "searchPage" : "basic", "formName" : "savesearchform", "setvar" : { "alertsaved" : "yes" }, "formalert" : "#savealerterror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Please enter an alert name" } ] }, { "id": "SearchSaved", "type" : "Conditional", "selector" : ".efxSearchSavedConditional", "compare" : "$searchsaved==\"yes\"", "falseClass" : "displaynone" }, { "id": "AlertSaved", "type" : "Conditional", "selector" : ".efxAlertSavedConditional", "compare" : "$alertsaved==\"yes\"", "falseClass" : "displaynone" }, { "comment" : "---------- Export ----------------------------------------" }, { "id" : "gotoefxExport", "type" : "GotoPageTrigger", "selector" : "=efxDisplayExportTrigger", "gotoPage" : "efxexport", "delegate": "body", "setvar" : { "exportvariable" : "main", "exportset" : "main" } }, { "id" : "gotoefxExport2", "type" : "GotoPageTrigger", "selector" : "=efxDisplaySelectionExportTrigger", "gotoPage" : "efxexport", "delegate": "body", "setvar" : { "exportvariable" : "SelectedRecords", "exportset" : "SelectedRecords" } }, { "id": "SubmitExport", "selector" : "#SubmitExport", "delegate" : "#efxexport", "type" : "ExportTrigger", "format" : "#efxExportFormat", "sort" : "#efxExportSort", "mime" : "#efxExportMime", "window" : "export", "data" : "=efxExportData" }, { "id" : "exportformat", "type" : "PageVariable", "selector" : "#efxExportFormat" }, { "id" : "ExportData", "type" : "PageVariable", "selector" : "=efxExportData", "delegate": "#efxexport" }, { "id": "efxMainCounter", "type" : "Conditional", "selector" : ".efxMainCounter", "replace" : true, "rhl" : "main", "falseClass" : "displaynone" }, { "id": "efxExportDataMainConditional", "type" : "Conditional", "selector" : ".efxExportDataMainConditional", "compare" : "$exportset==\"main\"", "falseClass" : "displaynone" }, { "id": "efxExportDataSelectionConditional", "type" : "Conditional", "selector" : ".efxExportDataSelectionConditional", "compare" : "$SelectedRecords>0", "falseClass" : "displaynone" }, { "comment" : "---------- Email Export ----------------------------------------" }, { "id" : "gotoefxEmail", "type" : "GotoPageTrigger", "selector" : "=efxDisplayEmailTrigger", "gotoPage" : "efxmail", "clearvar" : "mailok", "delegate": "body", "setvar-xxx" : { "emailset" : "main" }, "setvar" : { "emaildata" : "main", "emailset" : "main" } }, { "id" : "gotoefxEmail2", "type" : "GotoPageTrigger", "selector" : "=efxDisplaySelectionEmailTrigger", "gotoPage" : "efxmail", "clearvar" : "mailok", "delegate": "body", "setvar" : { "emaildata" : "SelectedRecords", "emailset" : "SelectedRecords" } }, { "id" : "EmailData", "events" : "click", "type" : "PageVariable", "selector" : "=efxEmailData", "delegate" : "#efxmail" }, { "id": "efxEmailDataMainConditional", "type" : "Conditional", "selector" : ".efxEmailDataMainConditional", "compare" : "$emailset==\"main\"", "falseClass" : "displaynone" }, { "id": "efxEmailDataSelectionConditional", "type" : "Conditional", "selector" : ".efxEmailDataSelectionConditional", "compare" : "$SelectedRecords>0", "falseClass" : "displaynone" }, { "id": "MailOKVariableConditional", "type" : "Conditional", "selector" : ".efxMailOKVariableConditional", "compare" : "$mailok != \"\"", "falseClass" : "displaynone" }, { "id": "EmailSubmitOKConditional", "type" : "Conditional", "selector" : ".efxEmailSubmitOKConditional", "compare" : "$mailok==\"OK\"", "trueClass" : "displaynone", "TODO": "conditional funktioniert nicht mehr? kein Feedback nach abschicken" }, { "id": "EmailSubmitBusy", "type" : "Conditional", "selector" : "#efxEmailSubmitBusyConditional", "compare" : "$emailsubmitstatus==\"busy\"", "emptyWhenFalse" : true, "falseClass" : "displaynone" }, { "id": "SubmitEmail", "selector" : "#SubmitEmail", "type" : "ExportTrigger", "format" : "mail", "mime" : "html", "sort" : "#efxEmailSort", "window" : "#MailResponse", "formName" : "#mailform", "formalert" : "#MailFormCheck", "checkfields" : [ { "field" : "=m-to", "required" : true, "regex" : "/^(([^<>()\\[\\]\\.,;:\\s@\\\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i", "msg" : "Please enter a correct email address" }, { "field" : "=m-subject", "required" : true, "msg" : "Please enter an email subject" } ], "setvar" : { "emailsubmitstatus" : "busy" }, "clearvar" : "emailsubmitstatus", "data" : "=efxEmailData" }, { "comment" : "---------- Facets ----------------------------------------" }, { "id" : "facetFC01", "type" : "FacetPanel", "selector" : "#facet-FC01", "facetField" : "FC01", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC02", "type" : "FacetPanel", "selector" : "#facet-FC02", "facetField" : "FC02", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC03", "type" : "FacetPanel", "selector" : "#facet-FC03", "facetField" : "FC03", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC04", "type" : "FacetPanel", "selector" : "#facet-FC04", "facetField" : "FC04", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC05", "type" : "FacetPanel", "selector" : "#facet-FC05", "facetField" : "FC05", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC06", "type" : "FacetPanel", "selector" : "#facet-FC06", "facetField" : "FC06", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetChange", "type" : "FacetChangeTrigger", "rhl" : "main" } ,{ "id": "SearchOnly", "type": "Conditional", "selector": ".efx-searchonly", "compare": "$collectionname!=\"\"", "trueClass": "displaynone", "falseClass": "" }, { "id": "CollectionOnly", "type": "Conditional", "selector": ".efx-collectiononly", "compare": "$collectionname!=\"\"", "pages": "!selection", "trueClass": "", "falseClass": "displaynone" },{ "id": "CloseCollection", "type": "GotoPageTrigger", "selector": ".efx-closecollection", "pages": "!selection", "delegate": "body", "clearvar" : "collectionname", "gotoPage": "currentpage" }, { "id": "CollectionHeaderConditional", "type": "Conditional", "compare": "$collectionname!=\"\"", "selector": ".efxCollectionHeaderConditional", "replace": true, "falseClass": "displaynone" }, { "id": "DisplayFolderMoreConditional", "type": "Conditional", "compare": "$collection-unseen > 0", "selector": ".efxDisplayFolderMoreConditional", "replace": true, "falseClass": "displaynone" }, { "id": "DisplayFolderUnreadConditional", "type": "Conditional", "compare": "$collection-unread > 0", "selector": ".efxDisplayFolderUnreadConditional", "trueClass": "", "replace": true, "falseClass": "displaynone" }, { "id": "DisplayFolderUnreadConditional2", "type": "Conditional", "compare": "$collection-unread > 0", "selector": ".efxDisplayFolderUnreadConditional2", "trueClass": "", "replace": true, "falseClass": "displaynone" } ,{ "comment" : "---------- page context ---------------------------------------------------" }, { "type" : "PageContext", "page" : "generic1", "preset" : "generic1", "dataSet" : "1", "lists" : "SelectedRecords", "dv" : [ { "name": "pagelabel", "value" : "Seite 1" }] }, { "type" : "PageContext", "page" : "generic2", "preset" : "generic2", "dataSet" : "2", "lists" : "SelectedRecords", "dv" : [ { "name": "pagelabel", "value" : "Seite 2" }] }, { "type" : "PageContext", "page" : "generic3", "preset" : "generic3", "dataSet" : "3", "lists" : "SelectedRecords", "dv" : [ { "name": "pagelabel", "value" : "Seite 3" }] }, { "type" : "PageContext", "page" : "generic4", "preset" : "generic4", "dataSet" : "4", "lists" : "SelectedRecords", "dv" : [ { "name": "pagelabel", "value" : "Seite 4" }] }, { "type" : "VariableText", "name" : "SelectedRecords", "selector" : ".efxSelectionCounter", "dataMask" : "1, 2, 3, 4" }, { "type" : "VariableText", "name" : "item_count", "selector" : ".efxItemCount", "rhlMask" : "main" }, { "comment" : "---------- process search ---------------------------------------------------" }, { "id" : "gotoGeneric1", "type" : "GotoPageTrigger", "selector" : "=gotoGeneric1Search", "pages" : "", "gotoPage" : "generic1" }, { "id" : "searchmap-generic1", "type" : "SearchMap", "serverrecordname" : "sr_generic1", "clear" : ".efxClearAllSearches", "map" : [ { "line" : "1", "source" : "searchgeneric1-text", "connector" : "" }, { "line" : "2", "source" : "searchgeneric1-wp", "connector" : ";" }, { "line" : "3", "source" : "searchgeneric1-doctype", "connector" : "" }, { "line" : "4", "source" : "searchgeneric1-subgroup", "connector" : "" }, { "line" : "5", "source" : "searchgeneric1-author", "connector" : "" }, { "line" : "6", "source" : "searchgeneric1-parlgroup", "connector" : "" }, { "line" : "7", "source" : "searchgeneric1-from", "connector" : "" }, { "line" : "8", "source" : "searchgeneric1-to", "connector" : "" }, { "line" : "9", "source" : "searchgeneric1-status", "connector" : "" } ] }, { "id": "SearchDisplayTriggerGeneric1", "type": "SearchDisplayTrigger", "pages" : "generic1, selection", "action" : "link", "events" : "click", "selector" : ".SearchDisplayTriggerGeneric1", "delegate" : "", "dbgroup" : "hlt.lis", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort" , "mime" : "html", "rhl" : "main", "rhlmode" : "add", "onEnter" : ".efx-searchcontainer input:not('.js-search-external-onEnter')", "parsed" : "searchgeneric1-parsed", "searchmap" : "searchmap-generic1", "gotoPage" : "generic1", "clearvar": "$collectionname", "setvar": { "OnSearchPage" : "yes" } }, { "comment" : "-- this unlocks the possibility to display records as generic1-full via link (action=qlink) --" }, { "id": "SearchDisplayTriggerGeneric1Qlink", "type": "SearchDisplayTrigger", "pages" : "generic1,qlink", "action" : "qlink", "events" : "click", "selector" : ".SearchDisplayTriggerGeneric1", "delegate" : "", "dbgroup" : "hlt.lis", "format" : "generic1-full", "sort" : "#efxDisplaySort" , "parsed" : "searchgeneric1-parsed", "mime" : "html", "rhl" : "main", "rhlmode" : "add", "searchmap" : "searchmap-generic1", "gotoPage" : "generic1", "clearvar": "$collectionname", "setvar": { "OnSearchPage" : "yes" } }, { "comment" : "---------- document search ---------------------------------------------------" }, { "id" : "gotoGeneric2", "type" : "GotoPageTrigger", "selector" : "=gotoGeneric2Search", "pages" : "", "gotoPage" : "generic2" }, { "id" : "searchmap-generic2", "type" : "SearchMap", "serverrecordname" : "generic2Search", "clear" : ".efxClearAllSearches", "map" : [ { "line" : "1", "source" : "searchgeneric2-text", "connector" : "" }, { "line" : "2", "source" : "searchgeneric2-wp", "connector" : ";" }, { "line" : "3", "source" : "searchgeneric2-doctype", "connector" : "" }, { "line" : "4", "source" : "searchgeneric2-subgroup", "connector" : "" }, { "line" : "5", "source" : "searchgeneric2-author", "connector" : "" }, { "line" : "6", "source" : "searchgeneric2-parlgroup", "connector" : "" }, { "line" : "7", "source" : "searchgeneric2-from", "connector" : "" }, { "line" : "8", "source" : "searchgeneric2-to", "connector" : "" }, { "line" : "9", "source" : "searchgeneric2RadioSelection", "connector" : "" } ] }, { "id": "SearchDisplayTriggerGeneric2", "type": "SearchDisplayTrigger", "pages" : "generic2, selection", "action" : "link", "events" : "click", "selector" : ".SearchDisplayTriggerGeneric2", "delegate" : "", "dbgroup" : "hlt.lis", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort" , "mime" : "html", "rhl" : "main", "rhlmode" : "add", "onEnter" : ".efx-searchcontainer input:not('.js-search-external-onEnter')", "parsed" : "searchgeneric2-parsed", "searchmap" : "searchmap-generic2", "gotoPage" : "generic2", "clearvar": "$collectionname", "setvar": { "OnSearchPage" : "yes" } }, { "comment" : "---------- speaker search ---------------------------------------------------" }, { "id" : "gotoGeneric3", "type" : "GotoPageTrigger", "selector" : "=gotoGeneric3Search", "pages" : "", "gotoPage" : "generic3" }, { "id" : "searchmap-generic3", "type" : "SearchMap", "serverrecordname" : "generic3Search", "clear" : ".efxClearAllSearches", "map" : [ { "line" : "1", "source" : "searchgeneric3-text", "connector" : "" }, { "line" : "2", "source" : "searchgeneric3-wp", "connector" : ";" }, { "line" : "4", "source" : "searchgeneric3-subgroup", "connector" : "" }, { "line" : "5", "source" : "searchgeneric3-speaker", "connector" : "" }, { "line" : "6", "source" : "searchgeneric3-parlgroup", "connector" : "" }, { "line" : "7", "source" : "searchgeneric3-from", "connector" : "" }, { "line" : "8", "source" : "searchgeneric3-to", "connector" : "" } ] }, { "id": "SearchDisplayTriggerGeneric3", "type": "SearchDisplayTrigger", "pages" : "generic3, selection", "action" : "link", "events" : "click", "selector" : ".SearchDisplayTriggerGeneric3", "delegate" : "", "dbgroup" : "hlt.lis", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort" , "mime" : "html", "rhl" : "main", "rhlmode" : "add", "onEnter" : ".efx-searchcontainer input:not('.js-search-external-onEnter')", "parsed" : "searchgeneric3-parsed", "searchmap" : "searchmap-generic3", "gotoPage" : "generic3", "clearvar": "$collectionname", "setvar": { "OnSearchPage" : "yes" } }, { "comment" : "---------- law search ---------------------------------------------------" }, { "id" : "gotoGeneric4", "type" : "GotoPageTrigger", "selector" : "=gotoGeneric4Search", "pages" : "", "gotoPage" : "generic4" }, { "id" : "searchmap-generic4", "type" : "SearchMap", "serverrecordname" : "generic4Search", "clear" : ".efxClearAllSearches", "map" : [ { "line" : "1", "source" : "searchgeneric4-text", "connector" : "" }, { "line" : "2", "source" : "searchgeneric4-wp", "connector" : ";" }, { "line" : "4", "source" : "searchgeneric4-subgroup", "connector" : "" }, { "line" : "5", "source" : "searchgeneric4-author", "connector" : "" }, { "line" : "7", "source" : "searchgeneric4-datelaw", "connector" : "" }, { "line" : "8", "source" : "searchgeneric4-dategvbl", "connector" : "" } ] }, { "id": "SearchDisplayTriggerGeneric4", "type": "SearchDisplayTrigger", "pages" : "generic4, selection", "action" : "link", "events" : "click", "selector" : ".SearchDisplayTriggerGeneric4", "delegate" : "", "dbgroup" : "gesm", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort" , "mime" : "html", "rhl" : "main", "rhlmode" : "add", "onEnter" : ".efx-searchcontainer input:not('.js-search-external-onEnter')", "parsed" : "searchgeneric4-parsed", "searchmap" : "searchmap-generic4", "gotoPage" : "generic4", "clearvar": "$collectionname", "setvar": { "OnSearchPage" : "yes" } }, { "comment" : "---------- Facets ----------------------------------------" }, { "id" : "facetFC02", "type" : "FacetPanel", "selector" : "#facet-FC02", "facetField" : "FC02", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC01", "type" : "FacetPanel", "selector" : "#facet-FC01", "facetField" : "FC01", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC03", "type" : "FacetPanel", "selector" : "#facet-FC03", "facetField" : "FC03", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC04", "type" : "FacetPanel", "selector" : "#facet-FC04", "facetField" : "FC04", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC05", "type" : "FacetPanel", "selector" : "#facet-FC05", "facetField" : "FC05", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetFC06", "type" : "FacetPanel", "selector" : "#facet-FC06", "facetField" : "FC06", "showMin" : 4, "showMax" : 40, "sort" : "/N/D", "less" : ".less_facets_link", "more" : ".more_facets_link", "clear" : ".faClear", "rhl" : "main" }, { "id" : "facetChange", "type" : "FacetChangeTrigger", "rhl" : "main" }, { "id" : "ZoomGeneric1", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric1Tab", "content" : ".efxZoomGeneric1", "report" : "generic1-tab", "reportContent" : "ViewportMain" }, { "id" : "ZoomSelGeneric1", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric1Tab", "content" : ".efxZoomGeneric1", "report" : "generic1-tab", "reportContent" : "ViewportSelection" }, { "id" : "ZoomGeneric2", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric2Tab", "content" : ".efxZoomGeneric2", "report" : "generic2-tab", "reportContent" : "ViewportMain" }, { "id" : "ZoomSelGeneric2", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric2Tab", "content" : ".efxZoomGeneric2", "report" : "generic2-tab", "reportContent" : "ViewportSelection" }, { "id" : "ZoomGeneric3", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric3Tab", "content" : ".efxZoomGeneric3", "report" : "generic3-tab", "reportContent" : "ViewportMain" }, { "id" : "ZoomSelGeneric3", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric3Tab", "content" : ".efxZoomGeneric3", "report" : "generic3-tab", "reportContent" : "ViewportSelection" }, { "id" : "ZoomGeneric4", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric4Tab", "content" : ".efxZoomGeneric4", "report" : "generic4-tab|gesm|generic4-tab", "reportContent" : "ViewportMain" }, { "id" : "ZoomSelGeneric4", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric4Tab", "content" : ".efxZoomGeneric4", "report" : "generic4-tab|gesm|generic4-tab", "reportContent" : "ViewportSelection" }, { "id" : "ZoomGeneric5", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric5Tab", "content" : ".efxZoomGeneric5", "report" : "generic5-tab", "reportContent" : "ViewportMain" }, { "id" : "ZoomSelGeneric5", "type" : "DisplayRecord", "selector" : ".efxZoomGeneric5Tab", "content" : ".efxZoomGeneric5", "report" : "generic5-tab", "reportContent" : "ViewportSelection" }, { "comment" : "---------- Search history ----------------------------------------" }, { "id" : "SaveHistoryGeneric1", "type" : "SaveHistory", "searchTrigger" : "SearchDisplayTriggerGeneric1", "searchPage" : "generic1" }, { "id" : "SaveHistoryGeneric2", "type" : "SaveHistory", "searchTrigger" : "SearchDisplayTriggerGeneric2", "searchPage" : "generic2" }, { "id" : "SaveHistoryGeneric3", "type" : "SaveHistory", "searchTrigger" : "SearchDisplayTriggerGeneric3", "searchPage" : "generic3" }, { "id" : "SaveHistoryGeneric4", "type" : "SaveHistory", "searchTrigger" : "SearchDisplayTriggerGeneric4", "searchPage" : "generic4" }, { "comment" : "---------- Save Search / Alert ----------------------------------------" }, { "id": "ShowSaveSearchButton", "type": "Conditional", "compare": "$saveoption==\"search\" $searchsaved==\"\"", "selector": "#efxSaveSearchTrigger", "falseClass": "displaynone" }, { "id": "ShowSaveAlertButton", "type": "Conditional", "compare": "$saveoption==\"alert\" $alertsaved==\"\"", "selector": "#efxSaveAlertTrigger", "falseClass": "displaynone" }, { "id" : "gotoSaveSearch", "type" : "GotoPageTrigger", "selector" : "=efxOpenSaveSearchModal", "gotoPage" : "savesearch", "clearvar" : "searchsaved, alertsaved", "setvar" : { "saveoption" : "search" } }, { "id" : "gotoSaveAlert", "type" : "GotoPageTrigger", "selector" : "=efxOpenSaveAlertModal", "gotoPage" : "savesearch", "clearvar" : "searchsaved, alertsaved", "setvar" : { "saveoption" : "alert" } }, { "id" : "SaveGeneric1SearchTrigger", "type" : "SaveSearch", "selector" : "#efxSaveSearchTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerGeneric1", "searchPage" : "generic1", "pages": "generic1", "formName" : "savesearchform", "setvar" : { "searchsaved" : "yes" }, "formalert" : "#savesearcherror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Bitte einen Namen vergeben" } ] }, { "id" : "SaveGeneric2SearchTrigger", "type" : "SaveSearch", "selector" : "#efxSaveSearchTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerGeneric2", "searchPage" : "generic2", "pages": "generic2", "formName" : "savesearchform", "setvar" : { "searchsaved" : "yes" }, "formalert" : "#savesearcherror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Bitte einen Namen vergeben" } ] }, { "id" : "SaveGeneric3SearchTrigger", "type" : "SaveSearch", "selector" : "#efxSaveSearchTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerGeneric3", "searchPage" : "generic3", "pages": "generic3", "formName" : "savesearchform", "setvar" : { "searchsaved" : "yes" }, "formalert" : "#savesearcherror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Bitte einen Namen vergeben" } ] }, { "id" : "SaveGeneric4SearchTrigger", "type" : "SaveSearch", "selector" : "#efxSaveSearchTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerGeneric4", "searchPage" : "generic4", "pages": "generic4", "formName" : "savesearchform", "setvar" : { "searchsaved" : "yes" }, "formalert" : "#savesearcherror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Bitte einen Namen vergeben" } ] }, { "id" : "SaveGeneric1AlertTrigger", "type" : "SaveAlert", "selector" : "#efxSaveAlertTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerGeneric1", "searchPage" : "generic1", "pages": "generic1", "formName" : "savesearchform", "setvar" : { "alertsaved" : "yes" }, "formalert" : "#savealerterror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Please enter an alert name" } ] }, { "id" : "SaveGeneric2AlertTrigger", "type" : "SaveAlert", "selector" : "#efxSaveAlertTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerGeneric2", "searchPage" : "generic2", "pages": "generic2", "formName" : "savesearchform", "setvar" : { "alertsaved" : "yes" }, "formalert" : "#savealerterror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Please enter an alert name" } ] }, { "id" : "SaveGeneric3AlertTrigger", "type" : "SaveAlert", "selector" : "#efxSaveAlertTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerGeneric3", "searchPage" : "generic3", "pages": "generic3", "formName" : "savesearchform", "setvar" : { "alertsaved" : "yes" }, "formalert" : "#savealerterror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Please enter an alert name" } ] }, { "id" : "SaveGeneric4AlertTrigger", "type" : "SaveAlert", "selector" : "#efxSaveAlertTrigger", "namePrompt" : "=efxSearchName", "searchTrigger" : "SearchDisplayTriggerGeneric4", "searchPage" : "generic4", "pages": "generic4", "formName" : "savesearchform", "setvar" : { "alertsaved" : "yes" }, "formalert" : "#savealerterror", "checkfields" : [ { "field" : "=efxSearchName", "required" : true, "msg" : "Please enter an alert name" } ] }, { "id": "efxDisplayStateReport", "type": "DisplaySelectionTrigger", "events" : "click", "action" : "recallstate", "preset" : "generic1-full", "format" : "#efxDisplayFormat", "sort" : "WPSORT/D DRSORT/D", "mime" : "html", "collection" : "$collection", "rhl" : "main" }, { "id" : "ShowPrintMail", "type" : "URLLoad", "selector" : "[href=\"/portal/components/mail/printmail-modal.tt.html\"].js-open-modal", "delegate" : "body", "gotoPage" : "genericModal", "prefill" : "#genericModalLoading", "loadSelector" : "#content", "loadTarget" : "#efxGenericModalReport" }, { "id": "efxHideStartConditional", "type" : "Conditional", "selector" : ".start_block", "compare" : "$OnSearchPage==\"yes\"", "trueClass" : "displaynone" }, { "id": "efxHomeNavConditional", "type" : "Conditional", "selector" : ".goToStart", "compare" : "$OnSearchPage==\"yes\"", "falseClass" : "active" }, { "id": "efxSearchNavConditional", "type" : "Conditional", "selector" : ".goToSearch", "compare" : "$OnSearchPage==\"yes\"", "trueClass" : "active" }, { "id": "efxSearchHeaderConditional", "type" : "Conditional", "selector" : ".efxSearchHeaderConditional", "compare" : "$OnSearchPage==\"yes\"", "trueClass" : "bg-rounded" }, { "id" : "gotoStart", "type" : "GotoPageTrigger", "selector" : ".goToStart", "pages" : "", "clearvar" : "collectionname", "gotoPage" : "generic1", "setvar" : { "OnSearchPage" : "" } }, { "id" : "gotoSearch", "type" : "GotoPageTrigger", "selector" : ".goToSearch", "pages" : "", "clearvar" : "collectionname", "gotoPage" : "generic1", "setvar" : { "OnSearchPage" : "yes" } }, { "id": "efxDisplayGesmCollection", "type": "DisplaySelectionTrigger", "events" : "click", "action" : "recallgesm", "format" : "#efxDisplayFormat", "sort" : "#efxDisplaySort", "mime" : "html", "collection" : "$collection", "setvar" : { "OnSearchPage" : "yes" }, "rhl" : "main" }, { "id": "efxDisplayCollectionG1", "type": "DisplaySelectionTrigger", "events": "click", "action": "recallgeneric1", "format": "#efxDisplayFormat", "sort": "#efxDisplaySort", "preset": true, "mime": "html", "collection": "$collection", "setvar": { "OnSearchPage": "yes" }, "rhl": "main", "gotoPage": "generic1" } ]