grizzly.transportNew.jsf Maven / Gradle / Ivy
$page{configName} default="server-config");
setPageSessionAttribute(key="parentPage" value="#{request.contextPath}/web/grizzly/transports.jsf");
setPageSessionAttribute(key="childType" value="transport");
setPageSessionAttribute(key="parentUrl", value="#{sessionScope.REST_URL}/configs/config/#{pageSession.configName}/network-config/transports");
setPageSessionAttribute(key="selfUrl", value="#{pageSession.parentUrl}/#{pageSession.childType}");
setPageSessionAttribute(key="rest-api" value="true");
gf.getDefaultValues(endpoint="#{pageSession.selfUrl}", valueMap="#{pageSession.valueMap}");
mapPut(map="#{pageSession.valueMap}" key="target" value="#{pageSession.configName}");
setPageSessionAttribute(key="convertToFalseList" value={"DisplayConfiguration", "EnableSnoop", "TcpNoDelay"});
//set the following for including buttons.inc
setPageSessionAttribute(key="edit" value="#{false}" );
setPageSessionAttribute(key="showDefaultButton" value="#{false}" );
setPageSessionAttribute(key="showCancelButton" value="#{true}" );
setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
setPageSessionAttribute(key="hasPropertyTable" value="#{false}" );
/>
#include "/common/shared/alertMsg.inc"
#include "/common/shared/editPageButtons.inc"
#include "transportAttr.inc"