
shared.targetsList.inc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-common Show documentation
Show all versions of console-common Show documentation
This bundle contains common code that may be shared across plugins.
The newest version!
gf.listClusters(clusters="#{pageSession.clusterList}");
gf.listInstances(optionKeys={"standaloneonly"} optionValues={"true"}, instances="#{pageSession.targetList}" );
gf.listCombine(list="#{pageSession.targetList}", list2="#{pageSession.clusterList}");
listAdd(list="#{pageSession.targetList}", value="server" index="0");
setAttribute(key="one" value="$int{1}");
setAttribute(key="targetSize" value="#{pageSession.targetList.size()}");
if (#{requestScope.targetSize}=#{requestScope.one}){
setPageSessionAttribute(key="showTargetSection", value="#{false}");
}
if (#{requestScope.targetSize}>#{requestScope.one}){
setPageSessionAttribute(key="showTargetSection", value="#{true}");
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy