Skip to content

Commit

Permalink
Remove redundant MassImport Facelets
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed May 11, 2022
1 parent ae0c3d2 commit 058236c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 106 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@
value="#{msgs['newProcess.catalogueSearch.catalogue']}"/>
<p:selectOneMenu id="catalogueSelect"
required="#{not empty param['editForm:importButton']}"
value="#{MassImportForm.selectedCatalog}">
converter="#{importConfigurationConverter}"
value="#{MassImportForm.importConfigurationId}">
<f:selectItem itemValue="#{null}"
itemLabel="-- #{msgs.selectCatalog} --"
noSelectionOption="true"
itemDisabled="true"/>
<f:selectItems value="#{CreateProcessForm.catalogImportDialog.catalogs}"
var="catalog"
itemLabel="#{catalog}"
itemValue="#{catalog}"/>
<f:selectItems value="#{CreateProcessForm.catalogImportDialog.importConfigurations}"
var="configuration"
itemLabel="#{configuration.title}"
itemValue="#{configuration}"/>
<p:ajax update="editForm"/>
</p:selectOneMenu>
</div>
Expand Down Expand Up @@ -100,12 +101,12 @@
</div>
</p:row>
<p:row>
<h:panelGroup rendered="#{MassImportForm.selectedCatalog ne null}">
<h:panelGroup rendered="#{MassImportForm.importConfigurationId ne null}">
<p:outputLabel for="csvFileUpload"
value="#{msgs['csvFileUpload']}"/>
<p:fileUpload id="csvFileUpload"
value="#{MassImportForm.file}"
rendered="#{MassImportForm.selectedCatalog ne null}"
rendered="#{MassImportForm.importConfigurationId ne null}"
listener="#{MassImportForm.handleFileUpload}"
allowTypes="/(\.|\/)(csv)$/"
skinSimple="true"
Expand Down

This file was deleted.

0 comments on commit 058236c

Please sign in to comment.