Skip to content
This repository was archived by the owner on Jan 28, 2019. It is now read-only.

Commit 46e9526

Browse files
authored
Merge pull request #117 from javaee/jon_branch
Fixed chapter and table references in parts IV and V.
2 parents cb937b1 + cedc385 commit 46e9526

File tree

8 files changed

+16
-20
lines changed

8 files changed

+16
-20
lines changed

src/main/jbake/content/bean-validation002.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ application's web pages.
320320

321321
For more information on using validation constraints, see the following:
322322

323-
* link:bean-validation-advanced.html#GKAHP[Chapter 23, "Bean Validation:
323+
* link:bean-validation-advanced.html#GKAHP[Chapter 24, "Bean Validation:
324324
Advanced Topics"]
325325
* link:jaxrs-advanced002.html#BABCJEDF[Validating Resource Data with Bean
326326
Validation]

src/main/jbake/content/cdi-adv-examples001.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ prev=cdi-adv-examples.html
1313
Building and Running the CDI Advanced Examples
1414
----------------------------------------------
1515

16-
The examples are in the `_tut-install_` `/examples/cdi/` directory. To build
16+
The examples are in the `_tut-install_/examples/cdi/` directory. To build
1717
and run the examples, you will do the following.
1818

1919
1. Use NetBeans IDE or the Maven tool to compile, package, and deploy

src/main/jbake/content/cdi-adv-examples002.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ example includes an interface and two implementations of it, a managed
2020
bean, a Facelets page, and configuration files.
2121

2222
The source files are located in the
23-
`_tut-install_` `/examples/cdi/encoder/src/main/java/javaeetutorial/encoder/`
23+
`_tut-install_/examples/cdi/encoder/src/main/java/javaeetutorial/encoder/`
2424
directory.
2525

2626
The following topics are addressed here:

src/main/jbake/content/cdi-adv-examples004.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ It also contains a single entity, a stateful session bean, a Facelets
2525
page, and a managed bean.
2626

2727
The source files are located in the
28-
`_tut-install_` `/examples/cdi/producerfields/src/main/java/javaeetutorial/producerfields/`
28+
`_tut-install_/examples/cdi/producerfields/src/main/java/javaeetutorial/producerfields/`
2929
directory.
3030

3131
The following topics are addressed here:

src/main/jbake/content/cdi-adv-examples005.adoc

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=The billpayment Example: Using Events and Interceptors
44
next=cdi-adv-examples006.html
55
prev=cdi-adv-examples004.html
66
~~~~~~
7-
The billpayment Example: Using Events and Interceptors
8-
======================================================
7+
= The billpayment Example: Using Events and Interceptors
8+
99

1010
[[GKHPA]]
1111

@@ -16,7 +16,7 @@ The billpayment Example: Using Events and Interceptors
1616
The `billpayment` example shows how to use both events and interceptors.
1717

1818
The source files are located in the
19-
tut-install`/examples/cdi/billpayment/src/main/java/javaeetutorial/billpayment/`
19+
`_tut-install_/examples/cdi/billpayment/src/main/java/javaeetutorial/billpayment/`
2020
directory.
2121

2222
The following topics are addressed here:
@@ -106,7 +106,7 @@ public class PaymentHandler implements Serializable {
106106
public void debitPayment(@Observes @Debit PaymentEvent event) {
107107
logger.log(Level.INFO, "PaymentHandler - Debit Handler: {0}",
108108
event.toString());
109-
109+
110110
// call a specific Debit handler class...
111111
}
112112
}
@@ -137,7 +137,7 @@ this:
137137
----
138138
<h:body>
139139
<h3>Bill Payment Options</h3>
140-
<p>Enter an amount, select Debit Card or Credit Card,
140+
<p>Enter an amount, select Debit Card or Credit Card,
141141
then click Pay.</p>
142142
<h:form>
143143
<p>
@@ -156,7 +156,7 @@ this:
156156
</h:selectOneRadio>
157157
<p><h:commandButton id="submit" value="Pay"
158158
action="#{paymentBean.pay}" /></p>
159-
<p><h:commandButton value="Reset"
159+
<p><h:commandButton value="Reset"
160160
action="#{paymentBean.reset}" /></p>
161161
</h:form>
162162
...
@@ -199,7 +199,7 @@ Facelets page and will pass on to the event:
199199
public static final int DEBIT = 1;
200200
public static final int CREDIT = 2;
201201
private int paymentOption = DEBIT;
202-
202+
203203
@Digits(integer = 10, fraction = 2, message = "Invalid value")
204204
private BigDecimal value;
205205
@@ -466,5 +466,3 @@ INFO: PaymentHandler created.
466466
INFO: Entering method: debitPayment in class billpayment.listener.PaymentHandler
467467
INFO: PaymentHandler - Debit Handler: Debit = $1234.56 at Tue Dec 14 14:50:28 EST 2010
468468
----
469-
470-

src/main/jbake/content/cdi-adv-examples006.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `decorators` example, which is yet another variation on the
1818
business logic for a bean.
1919

2020
The source files are located in the
21-
tut-install`/examples/cdi/decorators/src/main/java/javaeetutorial/decorators/`
21+
`_tut-install_/examples/cdi/decorators/src/main/java/javaeetutorial/decorators/`
2222
directory.
2323

2424
The following topics are addressed here:
@@ -72,7 +72,7 @@ public abstract class CoderDecorator implements Coder {
7272
public String codeString(String s, int tval) {
7373
int len = s.length();
7474
75-
return "\"" + s + "\" becomes " + "\"" + coder.codeString(s, tval)
75+
return "\"" + s + "\" becomes " + "\"" + coder.codeString(s, tval)
7676
+ "\", " + len + " characters in length";
7777
}
7878
}
@@ -204,5 +204,3 @@ The output from the interceptors appears:
204204
INFO: Entering method: encodeString in class javaeetutorial.decorators.CoderBean
205205
INFO: Entering method: codeString in class javaeetutorial.decorators.CoderImpl
206206
----
207-
208-

src/main/jbake/content/cdi-adv003.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Using Producer Fields to Generate Resources
9191

9292
A common use of a producer field is to generate an object such as a JDBC
9393
`DataSource` or a Java Persistence API `EntityManager` (see
94-
link:persistence-intro.html#BNBPZ[Chapter 38, "Introduction to the Java
94+
link:persistence-intro.html#BNBPZ[Chapter 40, "Introduction to the Java
9595
Persistence API,"] for more information). The object can then be managed
9696
by the container. For example, you could create a `@UserDatabase`
9797
qualifier and then declare a producer field for an entity manager as

src/main/jbake/content/cdi-basic001.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ link:cdi-basic003.html#GJEBJ[About Beans]. A JAR or WAR file that
107107
contains a CDI bean is a bean archive. For more information on packaging
108108
bean archives, see link:cdi-basic013.html#GJBNZ[Configuring a CDI
109109
Application] in this chapter and link:cdi-adv001.html#CACDCFDE[Packaging
110-
CDI Applications] in link:cdi-adv.html#GJEHI[Chapter 26, "Contexts and
110+
CDI Applications] in link:cdi-adv.html#GJEHI[Chapter 27, "Contexts and
111111
Dependency Injection for Java EE: Advanced Topics"].
112112

113113
In this example, `MessageB` is the only class that implements the
@@ -116,5 +116,5 @@ of an interface, CDI provides mechanisms that you can use to select
116116
which implementation to inject. For more information, see
117117
link:cdi-basic006.html#GJBCK[Using Qualifiers] in this chapter and
118118
link:cdi-adv002.html#GJSDF[Using Alternatives in CDI Applications] in
119-
link:cdi-adv.html#GJEHI[Chapter 26, "Contexts and Dependency Injection
119+
link:cdi-adv.html#GJEHI[Chapter 27, "Contexts and Dependency Injection
120120
for Java EE: Advanced Topics"].

0 commit comments

Comments
 (0)