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 f1794f6a
authored
May 13, 2012
by
Juho Salli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compolistaan muutoksia
1 parent
644c601a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
code/LanBortalBeans/ejbModule/fi/insomnia/bortal/facade/CompoFacade.java
code/LanBortalWeb/WebContent/voting/compolist.xhtml
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_en.properties
code/LanBortalBeans/ejbModule/fi/insomnia/bortal/facade/CompoFacade.java
View file @
f1794f6
...
...
@@ -30,7 +30,7 @@ public class CompoFacade extends IntegerPkGenericFacade<Compo> {
CriteriaQuery
<
Compo
>
cq
=
cb
.
createQuery
(
Compo
.
class
);
Root
<
Compo
>
root
=
cq
.
from
(
Compo
.
class
);
cq
.
where
(
cb
.
equal
(
root
.
get
(
Compo_
.
event
),
eventbean
.
getCurrentEvent
()));
cq
.
orderBy
(
cb
.
desc
(
root
.
get
(
Compo_
.
startTime
)));
List
<
Compo
>
ret
=
getEm
().
createQuery
(
cq
).
getResultList
();
return
ret
;
}
...
...
code/LanBortalWeb/WebContent/voting/compolist.xhtml
View file @
f1794f6
...
...
@@ -95,9 +95,9 @@
</h:column>
<h:column>
<f:facet
name=
"header"
>
<h:outputText
value=
""
/>
<h:outputText
value=
""
/>
</f:facet>
<h:link
outcome=
"addentry"
>
<h:link
outcome=
"addentry"
rendered=
"#{compo.maxParticipantCount gt compo.compoEntries.size()}"
>
<f:param
name=
"compoId"
value=
"#{compo.id}"
/>
#{i18n['voting.allcompos.submitEntry']}
</h:link>
...
...
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_en.properties
View file @
f1794f6
...
...
@@ -528,7 +528,7 @@ viewexpired.title = Login expired. Please login again.
voting.allcompos.curEntries
=
# of entries
voting.allcompos.descri = Description
voting.allcompos.description
=
List of all compos and
NIIDEN
information.
voting.allcompos.description
=
List of all compos and
theirs
information.
voting.allcompos.endTime
=
End time
voting.allcompos.header
=
All compos
voting.allcompos.maxParts
=
Max participants
...
...
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