diff src/main/webapp/browse/components/showAllResult.xhtml @ 103:03dcbaf8b8cf

add download-as-csv button to browse repository.
author casties
date Thu, 03 Nov 2016 20:10:58 +0100
parents 764f47286679
children
line wrap: on
line diff
--- a/src/main/webapp/browse/components/showAllResult.xhtml	Tue Nov 01 19:45:16 2016 +0100
+++ b/src/main/webapp/browse/components/showAllResult.xhtml	Thu Nov 03 20:10:58 2016 +0100
@@ -14,7 +14,7 @@
         
     <h:column rendered="#{!empty EntityRepository.entities}">
         <h:outputText value="go to page" styleClass="sumaryMsg"/>
-        <h:inputText value="#{EntityRepository.page}" />
+        <h:inputText value="#{EntityRepository.page}" size="4"/>
         <h:commandButton value="submit"
             actionListener="#{EntityRepository.listenerGoToPage}" />
         <h:outputText value=" #{EntityRepository.pageMsg}"
@@ -83,6 +83,10 @@
         </h:panelGroup>
     </h:column>
 
+    <h:column rendered="#{!empty EntityRepository.entities}">
+        <h:commandButton value="download all as CSV"
+            actionListener="#{EntityRepository.downloadAllCsv}" />
+    </h:column>
 	
 	</ui:composition>
 </body>