All Downloads are FREE. Search and download functionalities are using the official Maven repository.

batch.batchRequestParam.inc Maven / Gradle / Ivy



getRequestValue(key="target" value="#{pageSession.target}");
urlencode(value="#{pageSession.target}" encoding="UTF-8" result="#{pageSession.encodedTarget}");
getRequestValue(key="isCluster" value="#{pageSession.isCluster}" default="false");
getRequestValue(key="tabSetName" value="#{pageSession.tabSetName}");
urlencode(value="#{pageSession.tabSetName}" encoding="UTF-8" result="#{pageSession.encodedTabSetName}");

if(#{pageSession.isCluster}=true){
    setPageSessionAttribute(key="clusterName", value="#{pageSession.target}");
    setPageSessionAttribute(key="encodedClusterName", value="#{pageSession.encodedTarget}");
    setPageSessionAttribute(key="listJobsLink" value="#{request.contextPath}/full/batch/batchJobsCluster.jsf?target=#{pageSession.encodedTarget}&isCluster=true&tabSetName=#{pageSession.encodedTabSetName}");
}
if(#{pageSession.isCluster}=false){
    setPageSessionAttribute(key="isCluster", value="false");
    setPageSessionAttribute(key="instanceName", value="#{pageSession.target}");
    setPageSessionAttribute(key="encodedInstanceName", value="#{pageSession.encodedTarget}");
    if(#{pageSession.target}=server){
        setPageSessionAttribute(key="listJobsLink" value="#{request.contextPath}/full/batch/batchJobsServer.jsf?target=server&isCluster=false&tabSetName=#{pageSession.encodedTabSetName}");
    }
    if("!(#{pageSession.target}=server)"){
        setPageSessionAttribute(key="listJobsLink" value="#{request.contextPath}/full/batch/batchJobsStandalone.jsf?target=#{pageSession.encodedTarget}&isCluster=false&tabSetName=#{pageSession.encodedTabSetName}");
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy