Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ad1c00cd
authored
May 10, 2013
by
Antti Tönkyrä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cart
1 parent
61e23cac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
code/MoyaWeb/WebContent/useradmin/list.xhtml
code/MoyaWeb/src/fi/codecrew/moya/web/cdiview/user/UserCartView.java
code/MoyaWeb/WebContent/useradmin/list.xhtml
View file @
ad1c00c
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
<br
/>
<br
/>
<h:commandButton
actionListener=
"#{userSearchView.addToCart}"
value=
"#{i18n['usercart.addSearchedUsers']}"
/>
<h:commandButton
actionListener=
"#{userSearchView.addToCart}"
value=
"#{i18n['usercart.addSearchedUsers']}"
/>
<h:commandButton
action=
"#{userCartView.traverse}"
value=
"#{i18n['usercart.traverse']}"
/>
<h:commandButton
action=
"#{userCartView.traverse}"
value=
"#{i18n['usercart.traverse']}"
/>
<h:commandButton
action=
"#{userCartView.showOverview}"
value=
"#{i18n['usercart.showoverview']}"
/>
<h:commandButton
value=
"#{i18n['usercart.downloadCsv']}"
>
<h:commandButton
value=
"#{i18n['usercart.downloadCsv']}"
>
<p:fileDownload
value=
"#{userCartView.downloadCsv}"
/>
<p:fileDownload
value=
"#{userCartView.downloadCsv}"
/>
</h:commandButton>
</h:commandButton>
...
...
code/MoyaWeb/src/fi/codecrew/moya/web/cdiview/user/UserCartView.java
View file @
ad1c00c
...
@@ -117,6 +117,10 @@ public class UserCartView extends GenericCDIView {
...
@@ -117,6 +117,10 @@ public class UserCartView extends GenericCDIView {
return
"/useradmin/list"
;
return
"/useradmin/list"
;
}
}
public
String
showOverview
()
{
return
"/useradmin/overview"
;
}
public
String
saveUser
()
{
public
String
saveUser
()
{
userview
.
saveUser
();
userview
.
saveUser
();
return
null
;
return
null
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment