Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
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 7d5f018b
authored
Apr 28, 2014
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Primefaces 5.0-RC2
1 parent
c082628a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
95 additions
and
82 deletions
code/MoyaEventMgmtWeb/pom.xml
code/MoyaTerminalWeb/WebContent/WEB-INF/web.xml
code/MoyaTerminalWeb/pom.xml
code/MoyaWeb/pom.xml
code/MoyaWeb/src/fi/codecrew/moya/web/cdiview/user/UserSearchView.java
code/MoyaEventMgmtWeb/pom.xml
View file @
7d5f018
...
...
@@ -32,6 +32,12 @@
<id>
iudex
</id>
<url>
http://iudex.fi/maven/
</url>
</repository>
<repository>
<id>
prime-repo
</id>
<name>
PrimeFaces Maven Repository
</name>
<url>
http://repository.primefaces.org
</url>
<layout>
default
</layout>
</repository>
</repositories>
<dependencies>
<dependency>
...
...
@@ -47,7 +53,7 @@
<dependency>
<groupId>
org.primefaces
</groupId>
<artifactId>
primefaces
</artifactId>
<version>
4.0
</version>
<version>
5.0-RC2
</version>
</dependency>
...
...
code/MoyaTerminalWeb/WebContent/WEB-INF/web.xml
View file @
7d5f018
...
...
@@ -2,79 +2,69 @@
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xmlns:web=
"http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version=
"3.1"
>
<display-name>
MoyaTerminalWeb
</display-name>
<context-param>
<param-name>
javax.faces.FACELETS_SKIP_COMMENTS
</param-name>
<param-value>
true
</param-value>
</context-param>
<welcome-file-list>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.jsf
</welcome-file>
</welcome-file-list>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<servlet>
<servlet-name>
Faces Servlet
</servlet-name>
<servlet-class>
javax.faces.webapp.FacesServlet
</servlet-class>
<load-on-startup>
1
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
Faces Servlet
</servlet-name>
<url-pattern>
*.jsf
</url-pattern>
</servlet-mapping>
<context-param>
<param-name>
javax.faces.PROJECT_STAGE
</param-name>
<param-value>
Development
</param-value>
</context-param>
<context-param>
<param-name>
javax.faces.FACELETS_SKIP_COMMENTS
</param-name>
<param-value>
true
</param-value>
</context-param>
<login-config>
<auth-method>
CLIENT-CERT
</auth-method>
<realm-name>
certificate
</realm-name>
</login-config>
<security-constraint>
<display-name>
Forbidden resource
</display-name>
<web-resource-collection>
<web-resource-name>
Forbidden
</web-resource-name>
<url-pattern>
*.xhtml
</url-pattern>
<url-pattern>
/layout/*
</url-pattern>
<url-pattern>
/resources/tools/*
</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>
Thou shall not read the sources or use utils directly
<display-name>
MoyaTerminalWeb
</display-name>
<context-param>
<param-name>
javax.faces.FACELETS_SKIP_COMMENTS
</param-name>
<param-value>
true
</param-value>
</context-param>
<welcome-file-list>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.jsf
</welcome-file>
</welcome-file-list>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<servlet>
<servlet-name>
Faces Servlet
</servlet-name>
<servlet-class>
javax.faces.webapp.FacesServlet
</servlet-class>
<load-on-startup>
1
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
Faces Servlet
</servlet-name>
<url-pattern>
*.jsf
</url-pattern>
</servlet-mapping>
<context-param>
<param-name>
javax.faces.PROJECT_STAGE
</param-name>
<param-value>
Development
</param-value>
</context-param>
<context-param>
<param-name>
javax.faces.FACELETS_SKIP_COMMENTS
</param-name>
<param-value>
true
</param-value>
</context-param>
<login-config>
<auth-method>
CLIENT-CERT
</auth-method>
<realm-name>
certificate
</realm-name>
</login-config>
<security-constraint>
<display-name>
Forbidden resource
</display-name>
<web-resource-collection>
<web-resource-name>
Forbidden
</web-resource-name>
<url-pattern>
*.xhtml
</url-pattern>
<url-pattern>
/layout/*
</url-pattern>
<url-pattern>
/resources/tools/*
</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>
Thou shall not read the sources or use utils directly
</description>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>
CONFIDENTIAL
</transport-guarantee>
</user-data-constraint>
</security-constraint>
<security-constraint>
<display-name>
Resource that needs cert auth
</display-name>
<web-resource-collection>
<web-resource-name>
Forbidden
</web-resource-name>
<url-pattern>
/info/*
</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>
TERMINAL/INFO
</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>
CONFIDENTIAL
</transport-guarantee>
</user-data-constraint>
</security-constraint>
<persistence-unit-ref>
<persistence-unit-ref-name>
BortalEMF
</persistence-unit-ref-name>
</persistence-unit-ref>
<servlet>
<description>
JAX-RS Tools Generated - Do not modify
</description>
<servlet-name>
JAX-RS Servlet
</servlet-name>
<servlet-class></servlet-class>
<load-on-startup>
1
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
JAX-RS Servlet
</servlet-name>
<url-pattern>
/jaxrs/*
</url-pattern>
</servlet-mapping>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>
CONFIDENTIAL
</transport-guarantee>
</user-data-constraint>
</security-constraint>
<security-constraint>
<display-name>
Resource that needs cert auth
</display-name>
<web-resource-collection>
<web-resource-name>
Forbidden
</web-resource-name>
<url-pattern>
/info/*
</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>
TERMINAL/INFO
</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>
CONFIDENTIAL
</transport-guarantee>
</user-data-constraint>
</security-constraint>
<persistence-unit-ref>
<persistence-unit-ref-name>
BortalEMF
</persistence-unit-ref-name>
</persistence-unit-ref>
</web-app>
\ No newline at end of file
code/MoyaTerminalWeb/pom.xml
View file @
7d5f018
...
...
@@ -35,6 +35,18 @@
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>
iudex
</id>
<url>
http://iudex.fi/maven/
</url>
</repository>
<repository>
<id>
prime-repo
</id>
<name>
PrimeFaces Maven Repository
</name>
<url>
http://repository.primefaces.org
</url>
<layout>
default
</layout>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>
fi.codecrew.moya
</groupId>
...
...
@@ -49,7 +61,7 @@
<dependency>
<groupId>
org.primefaces
</groupId>
<artifactId>
primefaces
</artifactId>
<version>
4.0
</version>
<version>
5.0-RC2
</version>
</dependency>
<dependency>
<groupId>
net.bull.javamelody
</groupId>
...
...
code/MoyaWeb/pom.xml
View file @
7d5f018
...
...
@@ -36,11 +36,16 @@
</plugins>
</build>
<repositories>
<repository>
<id>
iudex
</id>
<url>
http://iudex.fi/maven/
</url>
</repository>
<repository>
<id>
prime-repo
</id>
<name>
PrimeFaces Maven Repository
</name>
<url>
http://repository.primefaces.org
</url>
<layout>
default
</layout>
</repository>
</repositories>
<dependencies>
<dependency>
...
...
@@ -76,7 +81,7 @@
<dependency>
<groupId>
org.primefaces
</groupId>
<artifactId>
primefaces
</artifactId>
<version>
4.0
</version>
<version>
5.0-RC2
</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
code/MoyaWeb/src/fi/codecrew/moya/web/cdiview/user/UserSearchView.java
View file @
7d5f018
...
...
@@ -102,8 +102,7 @@ public class UserSearchView extends PaginationView<UserWrapper> {
private
static
final
long
serialVersionUID
=
1L
;
@Override
public
List
<
EventUser
>
load
(
int
first
,
int
pageSize
,
String
sortField
,
SortOrder
sortOrder
,
Map
<
String
,
String
>
filters
)
{
public
List
<
EventUser
>
load
(
int
first
,
int
pageSize
,
String
sortField
,
SortOrder
sortOrder
,
Map
<
String
,
Object
>
filters
)
{
UserSearchQuery
sq
=
getSearchQuery
();
sq
.
setPagesize
(
pageSize
);
if
(
pageSize
>
0
)
{
...
...
@@ -140,8 +139,7 @@ public class UserSearchView extends PaginationView<UserWrapper> {
private
static
final
long
serialVersionUID
=
1L
;
@Override
public
List
<
UserWrapper
>
load
(
int
first
,
int
pageSize
,
String
sortField
,
SortOrder
sortOrder
,
Map
<
String
,
String
>
filters
)
{
public
List
<
UserWrapper
>
load
(
int
first
,
int
pageSize
,
String
sortField
,
SortOrder
sortOrder
,
Map
<
String
,
Object
>
filters
)
{
UserSearchQuery
sq
=
getSearchQuery
();
sq
.
setPagesize
(
pageSize
);
...
...
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