##local.define(Title)##leg.ZONESOPAC.FacetSearch.Title ##local.define(Advice) ##leg.ZONESOPAC.FacetSearch.Advice

##if startpoint.IsMap(Query.QueryStatement) ##local.defineByRenderAndEscapeHashHash(QS)##startpoint.QualData(Query.QueryStatement) ##local.defineByRender(LS)##startpoint.QualData(Query.LimitStatement) ##if startpoint.IsEqual(Query.IsConstellationSearch,1) ##local.define(Name)##leg.ZONESOPAC.SearchStatement.ConstellationSearch ##else ##if startpoint.IsMap(Query.form) ##local.define(Name)##leg.ZONESOPAC.SearchStatement.AdvancedSearch ##else ##if sessioncfg.ZONES.QuickSearchLabelAsProfessional ##local.define(Name)##leg.ZONESOPAC.SearchStatement.ExpertSearch ##else ##local.define(Name)##leg.ZONESOPAC.SearchStatement.SimpleSearch ##endif ##endif ##endif ##if local.IsEqual(QS,"") ##else ##endif ##if local.IsEqual(LS,"") ##else ##endif ##if startpoint.IsDefined(Query.dpStart) ##if startpoint.IsEqual(Query.dpStart,"") ##if startpoint.IsEqual(Query.dpEnd,"") /* no dp start no dp end */ ##else ##endif ##else ##if startpoint.IsEqual(Query.dpEnd,"") ##else ##endif ##endif ##endif
##local.Name : ##local.QS
##leg.ZONESOPAC.SearchStatement.Limits : ##local.LS
##leg.ZONESOPAC.SearchStatement.DOP : <= ##startpoint.Query.dpEnd
##leg.ZONESOPAC.SearchStatement.DOP : >= ##startpoint.Query.dpStart
##leg.ZONESOPAC.SearchStatement.DOP : ##startpoint.Query.dpStart ... ##startpoint.Query.dpEnd
##endif
##local.define(AdviceRowTabs) ##local.ModifySearchTabs ##local.define(CommandButtonHREF)##this ##local.define(CommandButtonText)##leg.ZONESOPAC.ZoneSearch.SearchListLink ##local.define(CommandButtonTextALT)##leg.ZONESOPAC.ZoneSearch.SearchListLinkALT ##local.define(CommandButtonTextTIP)##leg.ZONESOPAC.ZoneSearch.SearchListLinkTIP ##local.TabFMT ##local.define(TreeView) ##sessioncfg.with(facetMapping,ZONES.FacetSearch.FacetMapping) ##value.ForEachIn(facet,"Data.Record.root") ##local.DefineByRender(Index)##facet.__Attrib.index ##local.DefineByRender(TPath)##facet.Data(__Attrib.index).title ##local.Define(IMPath)##facet.Data(__Attrib.index).mappingImgElem ##local.Define(TMPath)##facet.Data(__Attrib.index).mappingElem ##local.Define(TMMPath)##facet.Data(__Attrib.index).mappingText ##local.Define(DRPath)##facet.Data(__Attrib.index).displayRule ##local.Define(TCount)0 ##facet.foreachIn(term,"") ##if term.__Data ##local.increment(TCount) ##endif ##if local.IsEqual(TCount,0) ##else
+
##facetMapping.QualData(##local.TPath)
##endif
##local.define(CloudView) ##sessioncfg.with(facetMapping,ZONES.FacetSearch.FacetMapping)
##local.define(MultiCloudView) ##sessioncfg.with(facetMapping,ZONES.FacetSearch.FacetMapping) ##value.ForEachIn(cloud,"Data.indexclouds") ##local.DefineByRender(Index)##cloud.__Label() ##local.DefineByRender(TPath)##local.Data(Index).title ##if cloud.item
+
##facetMapping.QualData(##local.TPath)
-
##facetMapping.QualData(##local.TPath)
##endif
##local.define(Content)
##local.define(ViewDone)0 ##if sessioninfo.FacetDisplayStyle ##local.defineByRender(FacetView)##sessioninfo.FacetDisplayStyle ##else ##local.defineByRender(FacetView)##sessioncfg.ZONES.FacetSearch.DefaultView ##endif ##if sessioncfg.ZONES.FacetSearch.MultipleFacetViews ##if local.IsEqual(FacetView,MultiCloud) ##local.define(ViewDone)1 ##leg.ZONESOPAC.Facets.TreeView   ##leg.ZONESOPAC.Facets.CloudView   ##leg.ZONESOPAC.Facets.MultiCloudView ##endif ##if local.IsEqual(FacetView,Tree) ##local.define(ViewDone)1 ##leg.ZONESOPAC.Facets.TreeView   ##leg.ZONESOPAC.Facets.CloudView   ##leg.ZONESOPAC.Facets.MultiCloudView ##endif ##if local.IsEqual(ViewDone,0) ##leg.ZONESOPAC.Facets.TreeView   ##leg.ZONESOPAC.Facets.CloudView   ##leg.ZONESOPAC.Facets.MultiCloudView ##endif ##endif
/* ##value.ForEachIn(facet,"Data.Record.root")
##local.DefineByRender(Index)##facet.__Attrib.index ##local.Define(Done)0

##if local.IsEqual(Index,"Subject-heading")Sujet ##local.Define(Done)1 ##endif ##if local.IsEqual(Index,"Author")Auteur ##local.Define(Done)1 ##endif ##if local.IsEqual(Done,0) ##local.Index ##endif

    ##facet.foreachIn(term,"") ##if term.__Data
  • ##term.__Data [##term.__Attrib.occur] ##endif
*/ ##local.define(ViewDone)0 ##if value.Data.Record.__Diagnostic.Diag Error occured while generating Facets ( ##value.Data.Record.__Diagnostic.Diag.Cause - ##value.Data.Record.__Diagnostic.Diag.Info - ##value.Data.Record.__Diagnostic.Diag.Num ) ##endif ##if local.IsEqual(FacetView,MultiCloud) ##local.MultiCloudView ##local.define(ViewDone)1 ##endif ##if local.IsEqual(FacetView,Tree) ##local.TreeView ##local.define(ViewDone)1 ##endif ##if local.IsEqual(ViewDone,0) ##local.CloudView ##local.define(ViewDone)1 ##endif ##local.define(ViewDone)0 ##include(Body)