Permalink
Switch branches/tags
runtime-bundle-loader-start runtime-bundle-loader-lastok release-10.3-I20180919_0126 release-10.2 release-10.2-I20180705_0132 release-10.2-I20180703_0125 release-10.2-I20180515_0125 release-10.1 release-9.10 release-9.10-HF21 release-9.10-HF20 release-9.10-HF19 release-9.10-HF18 release-9.10-HF17 release-9.10-HF16 release-9.10-HF15 release-9.10-HF14 release-9.10-HF13 release-9.10-HF13-patch-NXP-25668 release-9.10-HF12 release-9.10-HF11 release-9.10-HF10 release-9.10-HF09 release-9.10-HF08 release-9.10-HF07 release-9.10-HF07-patch-NXP-25668 release-9.10-HF06 release-9.10-HF05 release-9.10-HF04 release-9.10-HF03 release-9.10-HF02 release-9.10-HF01 release-9.3 release-9.2 release-9.1 release-8.10 release-8.10-HF38 release-8.10-HF37 release-8.10-HF36 release-8.10-HF35 release-8.10-HF34 release-8.10-HF33 release-8.10-HF32 release-8.10-HF31 release-8.10-HF30 release-8.10-HF29 release-8.10-HF28 release-8.10-HF27 release-8.10-HF26 release-8.10-HF25 release-8.10-HF24 release-8.10-HF23 release-8.10-HF22 release-8.10-HF21 release-8.10-HF20 release-8.10-HF19 release-8.10-HF18 release-8.10-HF17 release-8.10-HF16 release-8.10-HF15 release-8.10-HF14 release-8.10-HF13 release-8.10-HF12 release-8.10-HF11 release-8.10-HF10 release-8.10-HF09 release-8.10-HF08 release-8.10-HF07 release-8.10-HF06 release-8.10-HF05 release-8.10-HF04 release-8.10-HF03 release-8.10-HF02 release-8.10-HF01 release-8.3 release-8.2 release-8.1 release-7.10 release-7.10-HF47 release-7.10-HF46 release-7.10-HF45 release-7.10-HF44 release-7.10-HF43 release-7.10-HF42 release-7.10-HF41 release-7.10-HF40 release-7.10-HF39 release-7.10-HF38 release-7.10-HF37 release-7.10-HF36 release-7.10-HF35 release-7.10-HF34 release-7.10-HF33 release-7.10-HF33-I20171026_0823 release-7.10-HF32 release-7.10-HF31 release-7.10-HF30 release-7.10-HF29 release-7.10-HF28 release-7.10-HF27
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (54 sloc) 2.3 KB
<ui:composition template="/pages/popup_page.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:nxd="http://nuxeo.org/nxweb/document"
xmlns:nxl="http://nuxeo.org/nxforms/layout"
xmlns:nxu="http://nuxeo.org/nxweb/util">
<ui:define name="body">
<ui:include src="/incl/message_banner.xhtml"/>
<h3><h:outputText value="#{messages['title.create.vocabulary.entry']}" /></h3>
<nxu:set var="directoryNameForPopup"
value="#{request.getParameter('directoryNameForPopup')}"
cache="true">
<nxu:set var="directoryNameForPopup"
value="#{nxu:test(empty directoryNameForPopup, select2DirectoryActions.directoryName, directoryNameForPopup)}"
cache="true">
<c:if test="#{not empty directoryNameForPopup}">
<h:form id="suggestAddNewDirectoryEntry">
<h:message styleClass="errorMessage" for="suggestAddNewDirectoryEntry"
id="suggestAddNewDirectoryEntry_message" />
<div class="content">
<nxl:layout name="#{select2DirectoryActions.getCreationDirectoryEntryLayout(directoryNameForPopup)}"
mode="create"
value="#{select2DirectoryActions.getCreationDirectoryEntry(directoryNameForPopup)}" />
</div>
<input type="hidden" value="#{directoryNameForPopup}"
id="directoryNameForPopup" name="directoryNameForPopup" />
<h:panelGroup rendered="#{not nxu:hasMessages('suggestAddNewDirectoryEntry') and request.getParameter('postback') != 'false'}">
<script>
jQuery(document).ready(function() {
window.parent.jQuery.fancybox.close();
});
</script>
</h:panelGroup>
<p class="buttonsGadget">
<a4j:commandButton value="#{messages['command.create']}"
styleClass="button"
action="#{select2DirectoryActions.createDirectoryEntry}"
render="suggestAddNewDirectoryEntry" />
<a4j:commandButton value="#{messages['command.cancel']}"
styleClass="button"
action="#{select2DirectoryActions.cancelCreateDirectoryEntry}"
immediate="true"
oncomplete="window.parent.jQuery.fancybox.close();" />
</p>
</h:form>
</c:if>
</nxu:set>
</nxu:set>
</ui:define>
</ui:composition>