gf.restRequest( endpoint="#{sessionScope.REST_URL}/list-password-aliases" method="GET" result="#{requestScope.result}"); setAttribute(key="_listOfMap" value="#{requestScope.result.data.children}"); setPageSessionAttribute(key="listOfAliases" value={}); if( "!(#{requestScope._listOfMap} = #{null})" ){ foreach(var="oneChildMap" list="#{requestScope._listOfMap}"){ listAdd(list="#{pageSession.listOfAliases}" value="#{requestScope.oneChildMap.message}" ); } gf.listSort(list="#{pageSession.listOfAliases}"); } gf.restRequest(endpoint="#{sessionScope.REST_URL}/list-instances", method="get", result="#{requestScope.results}"); listAdd(value="server", result="#{pageSession.runningInstances}"); foreach (var="instance", list="#{requestScope.results.data.extraProperties.instanceList}") { if ('!(#{instance.status} = NOT_RUNNING)') { listAdd(list="#{pageSession.runningInstances}", value="#{instance.name}"); } } gf.restRequest(endpoint="#{sessionScope.REST_URL}/list-instances", attrs="#{requestScope.listInstanceAttrMap}" method="get", result="#{requestScope.result}"); setPageSessionAttribute(key="instanceList" value={}); foreach (var="instance", list="#{requestScope.result.data.extraProperties.instanceList}") { listAdd(list="#{pageSession.instanceList}", value="#{instance.name}"); }