Skip to content

Commit a71baa8

Browse files
committed
Fixed some typos in the documentation. Thanks to Matthias Wessendorf for the hint.
1 parent ea67616 commit a71baa8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎docs/src/main/docbook/en-US/Introduction.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<para>
5555
Consider the following URL.
5656

57-
<programlisting>http://ocpsoft.com/index.jsf?post=docs?category=prettyfaces</programlisting>
57+
<programlisting>http://ocpsoft.com/index.jsf?post=docs&amp;category=prettyfaces</programlisting>
5858

5959
When presenting information to users (frequently your clients,) it is generally bad practice to show more
6060
information than necessary; by hiding parameter names, we are able to
@@ -67,7 +67,7 @@
6767

6868
Our final result looks like this:
6969

70-
<programlisting>http://ocpsoft.com/prettyfaces/docs/</programlisting>
70+
<programlisting>http://ocpsoft.com/docs/prettyfaces/</programlisting>
7171
</para>
7272

7373
<para>

‎docs/src/main/docbook/en-US/config/Path_parameters.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
syntax similar to specifying a named parameter, but PrettyFaces looks for '.' characters, an
9595
easy way to distinguish a name from an EL value-injection expression:
9696

97-
<programlisting><![CDATA[<pattern value="/store/#{ bean.location }/" />]]></programlisting>
97+
<programlisting><![CDATA[<pattern value="/store/#{ bean.category }/" />]]></programlisting>
9898

9999
In this case, we must have a managed bean defined in our application; these beans can be
100100
registered either in JSF, Spring, Google Guice, or as shown here using CDI/Weld. Based on the
@@ -118,7 +118,7 @@ public class CategoryBean {
118118
<para>
119119
Notice, you can specify both a name and an EL value-injection for the same path-parameter.
120120

121-
<programlisting><![CDATA[<pattern value="/store/#{ cat : bean.location }/" />]]></programlisting>
121+
<programlisting><![CDATA[<pattern value="/store/#{ cat : bean.category }/" />]]></programlisting>
122122
</para>
123123
</tip>
124124

0 commit comments

Comments
 (0)