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 f95aa4ea
authored
May 16, 2014
by
Antti Tönkyrä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix brainfart in create wizard, remove useless println debug
1 parent
2fb04eec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/TournamentBean.java
code/MoyaWeb/WebContent/tournaments/admin/createwizard.xhtml
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/TournamentBean.java
View file @
f95aa4e
...
@@ -192,7 +192,7 @@ public class TournamentBean implements TournamentBeanLocal {
...
@@ -192,7 +192,7 @@ public class TournamentBean implements TournamentBeanLocal {
for
(
TournamentParticipant
tp
:
tournament
.
getParticipants
())
{
for
(
TournamentParticipant
tp
:
tournament
.
getParticipants
())
{
for
(
TournamentTeamMember
tm
:
tp
.
getTeamMembers
())
{
for
(
TournamentTeamMember
tm
:
tp
.
getTeamMembers
())
{
EventUser
eu
=
tm
.
getEventUser
();
EventUser
eu
=
tm
.
getEventUser
();
System
.
out
.
println
(
eu
.
getNick
());
if
(
eu
.
equals
(
currentUser
))
{
if
(
eu
.
equals
(
currentUser
))
{
return
true
;
return
true
;
}
}
...
...
code/MoyaWeb/WebContent/tournaments/admin/createwizard.xhtml
View file @
f95aa4e
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<h:messages
errorClass=
"error"
/>
<h:messages
errorClass=
"error"
/>
<h:panelGroup
rendered=
"#{tournamentCreateView.tournamentGames.isEmpty() eq false}"
>
<h:panelGroup
rendered=
"#{tournamentCreateView.tournamentGames.isEmpty() eq false}"
>
<h2>
#{i18n['tournaments.admin.select_a_game']}
</h2>
<h2>
#{i18n['tournaments.admin.select_a_game']}
</h2>
<h:selectOneMenu
value=
"#{
userGameIDView.gameToAddIdTo
}"
converter=
"#{tournamentGameConverter}"
>
<h:selectOneMenu
value=
"#{
tournamentCreateView.game
}"
converter=
"#{tournamentGameConverter}"
>
<f:selectItems
var=
"game"
itemLabel=
"#{game.name}"
value=
"#{tournamentCreateView.tournamentGames}"
itemValue=
"#{game}"
/>
<f:selectItems
var=
"game"
itemLabel=
"#{game.name}"
value=
"#{tournamentCreateView.tournamentGames}"
itemValue=
"#{game}"
/>
</h:selectOneMenu>
</h:selectOneMenu>
</h:panelGroup>
</h:panelGroup>
...
...
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