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 155aceb3
authored
Aug 31, 2013
by
Antti Tonkyra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix xmlns, add tournament funcs
1 parent
b3938c62
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
3 deletions
code/MoyaBeans/ejbModule/META-INF/ejb-jar.xml
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/TournamentBean.java
code/MoyaWeb/WebContent/tournaments/admin/createwizard.xhtml
code/MoyaWeb/src/fi/codecrew/moya/web/cdiview/tournaments/TournamentCreateView.java
code/MoyaBeans/ejbModule/META-INF/ejb-jar.xml
View file @
155aceb
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:ejb=
"http://java.sun.com/xml/ns/javaee
/ejb-jar_3_0.xsd
"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
version=
"3.1"
>
<ejb-jar
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:ejb=
"http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
version=
"3.1"
>
<display-name>
MoyaBeans
</display-name>
<display-name>
MoyaBeans
</display-name>
<ejb-client-jar>
MoyaBeansClient.jar
</ejb-client-jar>
<ejb-client-jar>
MoyaBeansClient.jar
</ejb-client-jar>
</ejb-jar>
</ejb-jar>
\ No newline at end of file
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/TournamentBean.java
0 → 100644
View file @
155aceb
package
fi
.
codecrew
.
moya
.
beans
;
import
javax.ejb.LocalBean
;
import
javax.ejb.Stateless
;
/**
* Session Bean implementation class TournamentBean
*/
@Stateless
@LocalBean
public
class
TournamentBean
{
/**
* Default constructor.
*/
public
TournamentBean
()
{
// TODO Auto-generated constructor stub
}
}
code/MoyaWeb/WebContent/tournaments/admin/createwizard.xhtml
View file @
155aceb
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
<h:body>
<h:body>
<ui:composition
template=
"#{sessionHandler.template}"
>
<ui:composition
template=
"#{sessionHandler.template}"
>
<f:metadata>
<f:metadata>
<
!-- <f:event type="preRenderView" listener="#{userOverviewView.initView()}" /> --
>
<
f:event
type=
"preRenderView"
listener=
"#{tournamentCreateView.initView()}"
/
>
</f:metadata>
</f:metadata>
<ui:define
name=
"content"
>
<ui:define
name=
"content"
>
<h1>
Create tournament
</h1>
<h1>
#{i18n['actionlog.tournaments.admin.create_tournament']}
</h1>
<h:form>
<h:form>
<p:wizard
widgetVar=
"wiz"
flowListener=
"#{tournamentCreateView.onFlowProcess}"
>
<p:wizard
widgetVar=
"wiz"
flowListener=
"#{tournamentCreateView.onFlowProcess}"
>
...
...
code/MoyaWeb/src/fi/codecrew/moya/web/cdiview/tournaments/TournamentCreateView.java
View file @
155aceb
...
@@ -21,6 +21,9 @@ public class TournamentCreateView implements Serializable {
...
@@ -21,6 +21,9 @@ public class TournamentCreateView implements Serializable {
*/
*/
private
static
final
long
serialVersionUID
=
2547358764980373797L
;
private
static
final
long
serialVersionUID
=
2547358764980373797L
;
public
void
initView
()
{
System
.
out
.
println
(
"MOI"
);
}
// called on finish
// called on finish
public
void
save
(
ActionEvent
actionEvent
)
{
public
void
save
(
ActionEvent
actionEvent
)
{
...
...
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