Mercurial > hg > LGServer
comparison src/main/webapp/home/branchEditor.xhtml @ 5:5316e79f9a27
Implementation of search pagination and lazy loading to display the result set of a search.
author | "jurzua <jurzua@mpiwg-berlin.mpg.de>" |
---|---|
date | Mon, 16 Mar 2015 11:25:36 +0100 |
parents | 43f4cbe04ea1 |
children |
comparison
equal
deleted
inserted
replaced
4:af1f13b60a3c | 5:5316e79f9a27 |
---|---|
41 <h:outputLabel value="No branch loaded!" rendered="#{sessionBean.branchEditor.currentBranch == null}"/> | 41 <h:outputLabel value="No branch loaded!" rendered="#{sessionBean.branchEditor.currentBranch == null}"/> |
42 </h:panelGrid> | 42 </h:panelGrid> |
43 | 43 |
44 <h:panelGrid columns="2" rendered="#{sessionBean.branchEditor.currentBranch != null}"> | 44 <h:panelGrid columns="2" rendered="#{sessionBean.branchEditor.currentBranch != null}"> |
45 | 45 |
46 <h:outputLabel value="Branch" styleClass="subTitle"/> | 46 <h:outputLabel value="General Information" styleClass="subTitle"/> |
47 <h:panelGrid columns="2" styleClass="tableComponent"> | 47 <h:panelGrid columns="2" styleClass="tableComponent"> |
48 | 48 |
49 <h:outputLabel value="Id"/> | 49 <h:outputLabel value="Id"/> |
50 <h:outputLabel value="#{sessionBean.branchEditor.currentBranch.id}"/> | 50 <h:outputLabel value="#{sessionBean.branchEditor.currentBranch.id}"/> |
51 | 51 |
117 <h:outputText value="#{sessionBean.branchEditor.currentLastFile.fomattedCreation}"/> | 117 <h:outputText value="#{sessionBean.branchEditor.currentLastFile.fomattedCreation}"/> |
118 | 118 |
119 <h:outputText/> | 119 <h:outputText/> |
120 <h:panelGrid columns="1"> | 120 <h:panelGrid columns="1"> |
121 <h:inputTextarea value="#{sessionBean.branchEditor.text}" style="width: 400px; height: 200px;'"/> | 121 <h:inputTextarea value="#{sessionBean.branchEditor.text}" style="width: 400px; height: 200px;'"/> |
122 <h:commandButton value="Save Changes" actionListener="#{sessionBean.branchEditor.listenerSaveText}"/> | |
123 </h:panelGrid> | 122 </h:panelGrid> |
124 | 123 |
125 </h:panelGrid> | 124 </h:panelGrid> |
126 | 125 |
127 | 126 |
128 <h:outputLabel value="Old Versions" styleClass="subTitle"/> | 127 <h:outputLabel value="All Versions" styleClass="subTitle"/> |
129 <ace:dataTable value="#{sessionBean.branchEditor.allFiles}" var="file" styleClass="tableComponent"> | 128 <ace:dataTable value="#{sessionBean.branchEditor.allFiles}" var="file" styleClass="tableComponent"> |
130 <ace:column headerText="ID"> | 129 <ace:column headerText="ID"> |
131 <h:outputText value="#{file.id}"/> | 130 <h:outputText value="#{file.id}"/> |
132 </ace:column> | 131 </ace:column> |
133 <ace:column headerText="Version"> | 132 <ace:column headerText="Version"> |
137 <h:outputText value="#{file.username}"/> | 136 <h:outputText value="#{file.username}"/> |
138 </ace:column> | 137 </ace:column> |
139 <ace:column headerText="Created"> | 138 <ace:column headerText="Created"> |
140 <h:outputText value="#{file.fomattedCreation}"/> | 139 <h:outputText value="#{file.fomattedCreation}"/> |
141 </ace:column> | 140 </ace:column> |
142 <ace:column headerText="Extraction Interface"> | |
143 | |
144 </ace:column> | |
145 <ace:column headerText="Export Table"> | 141 <ace:column headerText="Export Table"> |
146 | 142 <h:outputText value="TODO"/> |
147 </ace:column> | 143 </ace:column> |
148 <ace:column headerText="Text"> | 144 <ace:column headerText="Text"> |
149 <h:outputLink | 145 <h:outputLink |
150 value="#{appBean.rootServer}/rest/text/getFileText?fileId=#{file.id}" | 146 value="#{appBean.rootServer}/rest/text/getFileText?fileId=#{file.id}" |
151 target="_blank"> | 147 target="_blank"> |