Mercurial > hg > LGServer
diff src/main/webapp/home/createNewFile.xhtml @ 2:1f56cf4f80d4
Fix of bug in the creation of a new file.
author | "jurzua <jurzua@mpiwg-berlin.mpg.de>" |
---|---|
date | Wed, 11 Mar 2015 16:00:42 +0100 |
parents | 7682c04c63a8 |
children |
line wrap: on
line diff
--- a/src/main/webapp/home/createNewFile.xhtml Wed Mar 11 15:37:16 2015 +0100 +++ b/src/main/webapp/home/createNewFile.xhtml Wed Mar 11 16:00:42 2015 +0100 @@ -17,10 +17,6 @@ <h:panelGrid columns="2"> - <h:outputLabel value="Label"/> - <h:inputText value="#{sessionBean.fileCreator.label}"/> - - <h:outputLabel value="Section Id"/> <h:panelGrid columns="2"> <ace:autoCompleteEntry @@ -47,7 +43,10 @@ <h:outputText/> <h:panelGrid columns="2"> - <h:commandButton value="Save" actionListener="#{sessionBean.fileCreator.listenerSaveNewFile}" onclick="#{appBean.JSConfirmationSave}"/> + <h:commandButton + value="Create" + title="Create Branch in Extraction Interface" + onclick="sectionInExtractionInterface(#{sessionBean.fileCreator.section.id}, '#{sessionBean.fileCreator.section.name}', #{sessionBean.fileCreator.section.book.id}, '#{sessionBean.fileCreator.section.book.name}', #{sessionBean.user.id}, '#{appBean.extractionInterfaceUrl}');"/> <h:commandButton value="Reset" actionListener="#{sessionBean.fileCreator.listenerReset}"/> </h:panelGrid> </h:panelGrid>