Commit ad1c00cd by Antti Tönkyrä

add cart

1 parent 61e23cac
......@@ -54,6 +54,7 @@
<br />
<h:commandButton actionListener="#{userSearchView.addToCart}" value="#{i18n['usercart.addSearchedUsers']}" />
<h:commandButton action="#{userCartView.traverse}" value="#{i18n['usercart.traverse']}" />
<h:commandButton action="#{userCartView.showOverview}" value="#{i18n['usercart.showoverview']}" />
<h:commandButton value="#{i18n['usercart.downloadCsv']}">
<p:fileDownload value="#{userCartView.downloadCsv}" />
</h:commandButton>
......
......@@ -117,6 +117,10 @@ public class UserCartView extends GenericCDIView {
return "/useradmin/list";
}
public String showOverview() {
return "/useradmin/overview";
}
public String saveUser() {
userview.saveUser();
return null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!