Mercurial > hg > ismi-richfaces
diff src/main/webapp/browse/components/advancedResult.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 | 81297da1cb83 |
line wrap: on
line diff
--- a/src/main/webapp/browse/components/advancedResult.xhtml Tue Nov 01 19:45:16 2016 +0100 +++ b/src/main/webapp/browse/components/advancedResult.xhtml Thu Nov 03 20:10:58 2016 +0100 @@ -15,7 +15,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.actionGoToPageAdvancedResult}" /> <h:outputText value=" #{EntityRepository.pageMsg}" @@ -25,29 +25,29 @@ <h:column rendered="#{!empty EntityRepository.entities}"> <h:panelGroup> - <h:commandButton image="/resources/css/xp/css-images//arrow-first.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-first.gif" style="border:none;" title="First Page" action="#{EntityRepository.advancedFirst}"/> - <h:commandButton image="/resources/css/xp/css-images//arrow-fr.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-fr.gif" style="border:none;" title="Fast Backwards" action="#{EntityRepository.advancedFastRewind}"/> - <h:commandButton image="/resources/css/xp/css-images//arrow-previous.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-previous.gif" style="border:none;" title="Previous Page" action="#{EntityRepository.advancedPrevious}"/> <h:outputText value="#{EntityRepository.advancedPaginator.recordStatus}" styleClass="sumaryMsg" /> - <h:commandButton image="/resources/css/xp/css-images//arrow-next.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-next.gif" style="border:none;" title="Next Page" action="#{EntityRepository.advancedNext}"/> - <h:commandButton image="/resources/css/xp/css-images//arrow-ff.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-ff.gif" style="border:none;" title="Fast Forward" action="#{EntityRepository.advancedFastForward}"/> - <h:commandButton image="/resources/css/xp/css-images//arrow-last.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-last.gif" style="border:none;" title="Last Page" action="#{EntityRepository.advancedLast}"/> </h:panelGroup> @@ -72,34 +72,39 @@ <h:column rendered="#{!empty EntityRepository.entities}"> <h:panelGroup> - <h:commandButton image="/resources/css/xp/css-images//arrow-first.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-first.gif" style="border:none;" title="First Page" action="#{EntityRepository.advancedFirst}"/> - <h:commandButton image="/resources/css/xp/css-images//arrow-fr.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-fr.gif" style="border:none;" title="Fast Backwards" action="#{EntityRepository.advancedFastRewind}"/> - <h:commandButton image="/resources/css/xp/css-images//arrow-previous.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-previous.gif" style="border:none;" title="Previous Page" action="#{EntityRepository.advancedPrevious}"/> <h:outputText value="#{EntityRepository.advancedPaginator.recordStatus}" styleClass="sumaryMsg" /> - <h:commandButton image="/resources/css/xp/css-images//arrow-next.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-next.gif" style="border:none;" title="Next Page" action="#{EntityRepository.advancedNext}"/> - <h:commandButton image="/resources/css/xp/css-images//arrow-ff.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-ff.gif" style="border:none;" title="Fast Forward" action="#{EntityRepository.advancedFastForward}"/> - <h:commandButton image="/resources/css/xp/css-images//arrow-last.gif" + <h:commandButton image="/resources/css/xp/css-images/arrow-last.gif" style="border:none;" title="Last Page" action="#{EntityRepository.advancedLast}"/> </h:panelGroup> </h:column> + <h:column rendered="#{!empty EntityRepository.entities}"> + <h:commandButton value="download all as CSV" + actionListener="#{EntityRepository.downloadAdvancedCsv}" /> + </h:column> + </ui:composition> </body> </html> \ No newline at end of file