Skip to content

Commit 38bb01b

Browse files
committed
import from SVN
0 parents  commit 38bb01b

282 files changed

Lines changed: 28686 additions & 0 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.

‎.gitignore‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*.classpath
2+
*.project
3+
*.settings
4+
*.DS_Store
5+
*/target/*
6+
*.iml
7+
*.ipr

‎CHANGELOG.txt‎

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
------------------------------------
2+
VERSION 3.1.1
3+
------------------------------------
4+
5+
Major Changes:
6+
* Added 'parentId' for Hierarchical Mappings in pretty-config.xml (#72)
7+
* Can now be run in a pure servlet environment (without JSF and related JARs)
8+
9+
Features & Enhancements:
10+
* Added 'onPostback' configuration parameter for query parameters (#24)
11+
* Added code-completion support for Eclipse Helios
12+
* Added 'pretty:location' client behavior
13+
* Added 'onPostback' configuration parameter for path parameters (#24)
14+
* New method PrettyContext.sendError() to send custom HTTP status codes (#66)
15+
* Added SPI hooks for ConfigurationProvider and ConfigurationPostProcessor
16+
17+
Regression Impact:
18+
* Changed some method signatures in PrettyContext
19+
* PrettyFilter no longer wraps application exceptions in ServletException
20+
* PrettyException no longer extends javax.faces.FacesException
21+
* Began deprecation of <view-id>/view.jsp</view-id> in favor of <view-id value="/view.jsp" />
22+
* com.ocpsoft.pretty.faces.el.BeanNameResolver SPI has moved to com.ocpsoft.pretty.faces.spi.ELBeanNameResolver
23+
24+
Bugfixes:
25+
* Fixed compatibility with Java 1.5
26+
* Fixed EL method invocation in JSF 1.1 branch.
27+
* Removed HttpSession accesses that could potentially create an unwanted user session. (#62)
28+
* Prevent downloading of web.xml DTDs during configuration
29+
* Fixed FacesConfigBeanNameResolver regarding space characters in URLs
30+
31+
32+
------------------------------------
33+
VERSION 3.1.0
34+
------------------------------------
35+
36+
Features & Enhancements:
37+
38+
* Introducing: URL mapping configuration with annotations (http://ocpsoft.com/prettyfaces/annotations-support-is-coming-to-prettyfaces-url-rewriting/ + http://ocpsoft.com/docs/prettyfaces/snapshot/en-US/html/Configuration.html#config.annotations)
39+
* Added path and query-parameter validation wth managed bean methods (#50 + r353)
40+
* Added support for JSF2 redirects using ExternalContext (r305)
41+
* Added support for arrays as query parameters (r278)
42+
43+
Regression impact:
44+
45+
* The URL query string is now included in rewrite-rules; this allows for finer control of the rewriting engine (Any prior rewrite rules should be revised and re-tested)
46+
47+
Bugfixes:
48+
49+
* Resolved Mojarra warning "Request path '/faces/url.xhtml' begins with one or more occurrences of the FacesServlet prefix path mapping '/faces'." when using path mapping (#43 + r379)
50+
* Resolved Deployment warning on Geronimo (#58 + r364)
51+
* URL Path Expressions now match correctly when more than one expression is used between path segments (r362)
52+
* Resolved ClassNotFoundException with JSF 1.2 on JBoss6 (#54 + r360)
53+
* Resolved failed deployment due to ClassNotFoundException on Geronimo (#59 + r369)

‎core/pom.xml‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<parent>
6+
<groupId>com.ocpsoft</groupId>
7+
<artifactId>prettyfaces-parent</artifactId>
8+
<version>3.1.1-SNAPSHOT</version>
9+
</parent>
10+
11+
<groupId>com.ocpsoft</groupId>
12+
<artifactId>prettyfaces-core</artifactId>
13+
14+
<packaging>jar</packaging>
15+
16+
<name>PrettyFaces Core</name>
17+
<description>Core Library</description>
18+
<url>http://ocpsoft.com/prettyfaces/</url>
19+
20+
<scm>
21+
<developerConnection>scm:svn:https://prettyfaces.googlecode.com/svn/prettyfaces/trunk/core</developerConnection>
22+
<url>http://code.google.com/p/prettyfaces/source/browse/#svn/prettyfaces/trunk/core</url>
23+
</scm>
24+
25+
</project>

‎core/src/META-INF/MANIFEST.MF‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Class-Path:
3+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Class-Path:
3+
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* PrettyFaces is an OpenSource JSF library to create bookmarkable URLs.
3+
* Copyright (C) 2009 - Lincoln Baxter, III <lincoln@ocpsoft.com> This program
4+
* is free software: you can redistribute it and/or modify it under the terms of
5+
* the GNU Lesser General Public License as published by the Free Software
6+
* Foundation, either version 3 of the License, or (at your option) any later
7+
* version. This program is distributed in the hope that it will be useful, but
8+
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
9+
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
10+
* for more details. You should have received a copy of the GNU Lesser General
11+
* Public License along with this program. If not, see the file COPYING.LESSER3
12+
* or visit the GNU website at <http://www.gnu.org/licenses/>.
13+
*/
14+
package com.ocpsoft.pretty;
15+
16+
/**
17+
* @author Lincoln Baxter, III <lincoln@ocpsoft.com>
18+
*/
19+
public interface Navigator
20+
{
21+
public void forward(String target);
22+
23+
public void forward(String target, Object params);
24+
25+
public void redirect(String target);
26+
27+
public void redirect(String target, Object params);
28+
29+
public void sendHttpStatusCode(int code);
30+
}

0 commit comments

Comments
 (0)