Skip to content

Commit 2c489d8

Browse files
authored
Merge pull request #3 from ocpsoft/master
Update from master
2 parents f816724 + 6ed8fa1 commit 2c489d8

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ matrix:
1818
jdk: oraclejdk8
1919
- env: CONTAINER=TOMEE_MANAGED_1.5
2020
jdk: openjdk7
21+
allow_failures:
22+
- env: CONTAINER=TOMEE_MANAGED_1.5
2123
notifications:
2224
email:
2325

documentation/src/main/asciidoc/configuration/index.asciidoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ ConfigurationProvider:: An object that provides +Configuration+ instances to the
1616

1717
Configuration:: A collection of +Rule+ objects that are processed in order until the system has determined the current inbound or oubound Rewrite event has been handled. Configurations may be provided by extensions, cached for performance, or built dynamically at run-time.
1818

19-
ConfigurationBuilder:: This is likely the object you will interact with most when configuring the Rewrite system. Start with a +ConfigurationBuilder+ in each situation where you find yourself in need of a +Configuration+ object; this class may be used to add pre-constructed, or contruct custom +Rule+ instances for Rewrite.
19+
ConfigurationBuilder:: This is likely the object you will interact with most when configuring the Rewrite system. Start with a +ConfigurationBuilder+ in each situation where you find yourself in need of a +Configuration+ object; this class may be used to add pre-constructed, or construct custom +Rule+ instances for Rewrite.
2020

2121
Condition:: Defines a requirement that must be met in order for rule evaluation to return true. You may create custom +Condition+ implementations. If creating custom implementations, you should likely extend +DefaultConditionBuilder+, which adds logical operators +.and()+, +.or()+, and +.not()+.
2222

23-
Operation:: Defines behavior to be performed after evaluation a +Rewrite+ event. These objects may be as simple or as complex as desired, ranging from simple logging to request forwarding. Typically +Operation+ instances may be chained to achieve more complex tasks. If creating custom umplementations, you should likely extend +DefaultOperationBuilder+, which adds logical chaining via +.and()+.
23+
Operation:: Defines behavior to be performed after evaluation a +Rewrite+ event. These objects may be as simple or as complex as desired, ranging from simple logging to request forwarding. Typically +Operation+ instances may be chained to achieve more complex tasks. If creating custom implementations, you should likely extend +DefaultOperationBuilder+, which adds logical chaining via +.and()+.
2424

2525
Parameter:: Specifies a fragment of an HTTP request that may be referenced in both +Condition+ and +Operation+ instances. Parameters are defined using the +.where()+ method of the +ConfigurationBuilder+, which is available once the first +Rule+ (with conditions or operations) has been added.
2626

@@ -91,7 +91,7 @@ java.lang.IllegalArgumentException: No such parameter [ foo ] exists.
9191

9292
==== A closer look
9393

94-
Now that we have written a rule that uses a few different +Operation+ and +Condition+ objects, lets take a look at how the interaction works - we will break down the entire rule:
94+
Now that we have written a rule that uses a few different +Operation+ and +Condition+ objects, let's take a look at how the interaction works - we will break down the entire rule:
9595

9696
[source,java]
9797
----

documentation/src/main/asciidoc/faq.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ According to the Servlet spec +HttpServletRequest.getParameter*()+ and
3535
for +multipart/form-data+ request. Using these methods outside of such
3636
Servlets results in undefined behavior.
3737

38-
Apache Tomcat provides an configuration parameter which changes this and
39-
allows to access these methods from a Servlet filter. To enable this
38+
Apache Tomcat provides a configuration parameter which changes this and
39+
allows access to these methods from a Servlet filter. To enable this
4040
behavior, create a file +META-INF/context.xml+ in your WAR file
4141
(in case of Maven use +src/main/webapp/META-INF/context.xml+) and add
4242
the following content:

documentation/src/main/asciidoc/migration/prettyfaces3.asciidoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Remove this entry completely and replace it with the corresponding entry for the
116116
</filter-mapping>
117117
----
118118

119-
NOTE: Please not that if you are using a Servlet 3.x container and your +web.xml+ doesn't set
119+
NOTE: Please note that if you are using a Servlet 3.x container and your +web.xml+ doesn't set
120120
+metadata-complete="true"+, you don't have to register the Rewrite filter manually, because
121121
this is done automatically. In this case just make sure to remove the old +PrettyFilter+ entry.
122122

@@ -277,7 +277,7 @@ code for an example:
277277
).where("category").bindsTo(El.property("bean.category"))
278278
|===
279279
280-
If your bean uses a JSF-specifc scope like +@ViewScoped+), you have to wrap
280+
If your bean uses a JSF-specific scope like +@ViewScoped+), you have to wrap
281281
the +El+ binding in a +PhaseBinding+. This will tell PrettyFaces to submit the
282282
binding in the specified JSF phase which ensures, that the scope of the bean will
283283
be active.
@@ -531,7 +531,7 @@ public void action() {
531531
}
532532
|===
533533

534-
TIP: Thie +@IgnorePostback+ annotation can also be used with +@Parameter+.
534+
TIP: The +@IgnorePostback+ annotation can also be used with +@Parameter+.
535535

536536
If the annotated bean has a scope that requires an active JSF lifecycle like for example
537537
+@ViewScope+, you have to _defer_ the invocation so that it is executed within the JSF lifecycle.
@@ -575,7 +575,7 @@ public class CustomerDetailsBean {
575575
576576
PrettyFaces shipped with a special JSF component that simplified creating links to mapped URLs.
577577
However JSF 2.0 introduced +<h:link>+, which works fine for creating such links. Rewrite doesn't
578-
include any special JSF component. It is recomended to use the standard JSF component for rendering
578+
include any special JSF component. It is recommended to use the standard JSF component for rendering
579579
links.
580580
581581
Using +<h:link>+ for creating links to Rewrite URLs is very easy. Just use the URL you

0 commit comments

Comments
 (0)