customResourceNew.jsf revision ada1678a4262b208a7b87391f520a7767d25287c
or packager/legal/LICENSE.txt. See the License for the specific
file and include the License file at packager/legal/LICENSE.txt.
<!-- full/customResourceNew.jsf -->
<!composition template="/templates/default.layout" guiTitle="$resource{i18njmail.customResource.newPageTitle}" >
gf.getDefaultValues(endpoint="#{pageSession.parentUrl}/#{pageSession.childType}", valueMap="#{pageSession.valueMap}");
result="#{requestScope.result}");
setPageSessionAttribute(key="propsMap" value="#{requestScope.result.data.extraProperties.builtInCustomResources}");
setPageSessionAttribute(key="factoryClass", value="#{pageSession.propsMap['$attribute{resChosen}']");
gf.getJndiResourceForCreate(resources="#{pageSession.propsMap}" result="#{requestScope.entriesList}", classnameOption=>$page{classnameOption}, attrMap="#{pageSession.attrMap}", factoryMap="#{pageSession.factoryMap}");
addEmptyFirstElement(in="$attribute{entriesList}" out="#{pageSession.builtInEntries}")
//set the following for including buttons.inc
<sun:title id="propertyContentPage" title="$resource{i18njmail.customResource.newPageTitle}" helpText="$resource{i18njmail.customResource.newPageTitleHelp}">