Skip to content

Commit f93a5d6

Browse files
committed
Started PrettyFaces backwards compatability module
1 parent 9f652eb commit f93a5d6

210 files changed

Lines changed: 21522 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎config-prettyfaces/pom.xml‎

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<artifactId>rewrite-parent</artifactId>
7+
<groupId>org.ocpsoft.rewrite</groupId>
8+
<version>2.0.0-SNAPSHOT</version>
9+
<relativePath>../</relativePath>
10+
</parent>
11+
12+
<artifactId>rewrite-config-prettyfaces</artifactId>
13+
14+
<dependencies>
15+
<dependency>
16+
<groupId>org.ocpsoft.rewrite</groupId>
17+
<artifactId>rewrite-api</artifactId>
18+
</dependency>
19+
<dependency>
20+
<groupId>org.ocpsoft.rewrite</groupId>
21+
<artifactId>rewrite-api-el</artifactId>
22+
</dependency>
23+
<dependency>
24+
<groupId>org.ocpsoft.rewrite</groupId>
25+
<artifactId>rewrite-api-servlet</artifactId>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.ocpsoft.rewrite</groupId>
29+
<artifactId>rewrite-test-harness</artifactId>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.ocpsoft.rewrite</groupId>
33+
<artifactId>rewrite-integration-faces</artifactId>
34+
</dependency>
35+
36+
<dependency>
37+
<groupId>commons-digester</groupId>
38+
<artifactId>commons-digester</artifactId>
39+
<version>2.0</version>
40+
</dependency>
41+
42+
<dependency>
43+
<groupId>org.jboss.spec.javax.servlet</groupId>
44+
<artifactId>jboss-servlet-api_3.0_spec</artifactId>
45+
<scope>provided</scope>
46+
</dependency>
47+
<dependency>
48+
<groupId>org.jboss.spec.javax.faces</groupId>
49+
<artifactId>jboss-jsf-api_2.1_spec</artifactId>
50+
<scope>provided</scope>
51+
</dependency>
52+
<dependency>
53+
<groupId>org.jboss.spec.javax.el</groupId>
54+
<artifactId>jboss-el-api_2.2_spec</artifactId>
55+
<scope>provided</scope>
56+
</dependency>
57+
<dependency>
58+
<groupId>javax.servlet.jsp</groupId>
59+
<artifactId>jsp-api</artifactId>
60+
<version>2.1</version>
61+
<scope>provided</scope>
62+
</dependency>
63+
<dependency>
64+
<groupId>javax.servlet</groupId>
65+
<artifactId>jstl</artifactId>
66+
<version>1.1.2</version>
67+
<scope>provided</scope>
68+
</dependency>
69+
70+
<!-- Test dependencies -->
71+
72+
<dependency>
73+
<groupId>javax.enterprise</groupId>
74+
<artifactId>cdi-api</artifactId>
75+
<scope>test</scope>
76+
</dependency>
77+
<dependency>
78+
<groupId>org.jboss.jsfunit</groupId>
79+
<artifactId>jsfunit-arquillian</artifactId>
80+
<version>2.0.0.Beta2</version>
81+
</dependency>
82+
<dependency>
83+
<groupId>org.easymock</groupId>
84+
<artifactId>easymock</artifactId>
85+
<version>2.4</version>
86+
<scope>test</scope>
87+
</dependency>
88+
<dependency>
89+
<groupId>org.easymock</groupId>
90+
<artifactId>easymockclassextension</artifactId>
91+
<version>2.4</version>
92+
<scope>test</scope>
93+
</dependency>
94+
<dependency>
95+
<groupId>org.springframework</groupId>
96+
<artifactId>spring-web</artifactId>
97+
<version>3.0.2.RELEASE</version>
98+
<scope>test</scope>
99+
</dependency>
100+
<dependency>
101+
<groupId>org.springframework</groupId>
102+
<artifactId>spring-test</artifactId>
103+
<version>3.0.2.RELEASE</version>
104+
<scope>test</scope>
105+
</dependency>
106+
</dependencies>
107+
108+
<build>
109+
<finalName>config-prettyfaces</finalName>
110+
</build>
111+
112+
<profiles>
113+
<profile>
114+
<id>JETTY_EMBEDDED_8.X</id>
115+
<build>
116+
<plugins>
117+
<plugin>
118+
<groupId>org.apache.maven.plugins</groupId>
119+
<artifactId>maven-surefire-plugin</artifactId>
120+
<configuration>
121+
<forkMode>always</forkMode>
122+
</configuration>
123+
</plugin>
124+
</plugins>
125+
</build>
126+
</profile>
127+
</profiles>
128+
</project>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* Copyright 2010 Lincoln Baxter, III
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package com.ocpsoft.pretty;
17+
18+
/**
19+
* @author Lincoln Baxter, III <lincoln@ocpsoft.com>
20+
*/
21+
public interface Navigator
22+
{
23+
public void forward(String target);
24+
25+
public void forward(String target, Object params);
26+
27+
public void redirect(String target);
28+
29+
public void redirect(String target, Object params);
30+
31+
public void sendHttpStatusCode(int code);
32+
}

0 commit comments

Comments
 (0)