Mercurial > hg > LGServer
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:43f4cbe04ea1 | 2:1f56cf4f80d4 |
---|---|
14 <ice:form styleClass="content"> | 14 <ice:form styleClass="content"> |
15 | 15 |
16 <ice:outputLabel value="Create New File (Branch)" styleClass="subTitle"/> | 16 <ice:outputLabel value="Create New File (Branch)" styleClass="subTitle"/> |
17 | 17 |
18 <h:panelGrid columns="2"> | 18 <h:panelGrid columns="2"> |
19 | |
20 <h:outputLabel value="Label"/> | |
21 <h:inputText value="#{sessionBean.fileCreator.label}"/> | |
22 | |
23 | 19 |
24 <h:outputLabel value="Section Id"/> | 20 <h:outputLabel value="Section Id"/> |
25 <h:panelGrid columns="2"> | 21 <h:panelGrid columns="2"> |
26 <ace:autoCompleteEntry | 22 <ace:autoCompleteEntry |
27 value="#{sessionBean.fileCreator.sectionId}" | 23 value="#{sessionBean.fileCreator.sectionId}" |
45 <h:outputLabel value="Text"/> | 41 <h:outputLabel value="Text"/> |
46 <h:inputTextarea value="#{sessionBean.fileCreator.section.text}" style="width: 500px; height: 200px;"/> | 42 <h:inputTextarea value="#{sessionBean.fileCreator.section.text}" style="width: 500px; height: 200px;"/> |
47 | 43 |
48 <h:outputText/> | 44 <h:outputText/> |
49 <h:panelGrid columns="2"> | 45 <h:panelGrid columns="2"> |
50 <h:commandButton value="Save" actionListener="#{sessionBean.fileCreator.listenerSaveNewFile}" onclick="#{appBean.JSConfirmationSave}"/> | 46 <h:commandButton |
47 value="Create" | |
48 title="Create Branch in Extraction Interface" | |
49 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}');"/> | |
51 <h:commandButton value="Reset" actionListener="#{sessionBean.fileCreator.listenerReset}"/> | 50 <h:commandButton value="Reset" actionListener="#{sessionBean.fileCreator.listenerReset}"/> |
52 </h:panelGrid> | 51 </h:panelGrid> |
53 </h:panelGrid> | 52 </h:panelGrid> |
54 | 53 |
55 | 54 |