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

Commit 39fa262

Browse files
Merge pull request #93 from javaee/rmarano
fix table formats
2 parents 052761f + 4d40eb0 commit 39fa262

File tree

6 files changed

+31
-42
lines changed

6 files changed

+31
-42
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ title=Building and Running the CDI Advanced Examples
44
next=cdi-adv-examples002.html
55
prev=cdi-adv-examples.html
66
~~~~~~
7-
Building and Running the CDI Advanced Examples
8-
==============================================
7+
= Building and Running the CDI Advanced Examples
8+
99

1010
[[A1251406]]
1111

1212
[[building-and-running-the-cdi-advanced-examples]]
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
@@ -36,5 +36,3 @@ Producer Fields to Generate Resources]
3636
Events and Interceptors]
3737
* link:cdi-adv-examples006.html#GKPAX[The decorators Example: Decorating
3838
a Bean]
39-
40-

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-examples003.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=The producermethods Example: Using a Producer Method to Choose a Bean Impl
44
next=cdi-adv-examples004.html
55
prev=cdi-adv-examples002.html
66
~~~~~~
7-
The producermethods Example: Using a Producer Method to Choose a Bean Implementation
8-
====================================================================================
7+
= The producermethods Example: Using a Producer Method to Choose a Bean Implementation
8+
99

1010
[[GKHPY]]
1111

@@ -140,8 +140,7 @@ Using Maven]
140140
[[GKHPE]]
141141

142142
[[to-build-package-and-deploy-the-producermethods-example-using-netbeans-ide]]
143-
To Build, Package, and Deploy the producermethods Example Using NetBeans
144-
IDE
143+
To Build, Package, and Deploy the producermethods Example Using NetBeans IDE
145144
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
146145

147146
1. Make sure that GlassFish Server has been started (see
@@ -207,5 +206,3 @@ click Encode.
207206
+
208207
Depending on your selection, the Result line displays either the encoded
209208
string or the input values you specified.
210-
211-

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

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=The producerfields Example: Using Producer Fields to Generate Resources
44
next=cdi-adv-examples005.html
55
prev=cdi-adv-examples003.html
66
~~~~~~
7-
The producerfields Example: Using Producer Fields to Generate Resources
8-
=======================================================================
7+
= The producerfields Example: Using Producer Fields to Generate Resources
8+
99

1010
[[GKHRG]]
1111

@@ -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:
@@ -101,24 +101,24 @@ maintenance, as in the following example:
101101
----
102102
@Singleton
103103
public class JPAResourceProducer {
104-
@Produces
104+
@Produces
105105
@PersistenceUnit(unitName="pu3")
106-
@TestDatabase
106+
@TestDatabase
107107
EntityManagerFactory customerDatabasePersistenceUnit;
108108
109-
@Produces
109+
@Produces
110110
@PersistenceContext(unitName="pu3")
111-
@TestDatabase
111+
@TestDatabase
112112
EntityManager customerDatabasePersistenceContext;
113-
114-
@Produces
113+
114+
@Produces
115115
@PersistenceUnit(unitName="pu4")
116116
@Documents
117117
EntityManagerFactory customerDatabasePersistenceUnit;
118118
119-
@Produces
119+
@Produces
120120
@PersistenceContext(unitName="pu4")
121-
@Documents
121+
@Documents
122122
EntityManager docDatabaseEntityManager;"
123123
}
124124
----
@@ -359,8 +359,7 @@ Using Maven]
359359
[[GKHPB]]
360360

361361
[[to-build-package-and-deploy-the-producerfields-example-using-netbeans-ide]]
362-
To Build, Package, and Deploy the producerfields Example Using NetBeans
363-
IDE
362+
To Build, Package, and Deploy the producerfields Example Using NetBeans IDE
364363
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
365364

366365
1. Make sure that GlassFish Server has been started (see
@@ -438,5 +437,3 @@ you created.
438437
4. Click Back to return to the Create To Do List page.
439438
+
440439
On this page, you can enter more items in the list.
441-
442-

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ implements.
5050

5151
[[sthref130]][[sthref131]]
5252

53-
Table 26-1 Injection of Predefined Beans
53+
*Table 26-1 Injection of Predefined Beans*
5454

55-
[width="51%",cols="48%,52%,",options="header",]
55+
[width="80%",cols="20%,20%,40%"]
5656
|=====================================================================
57-
|Predefined Bean |Resource or CDI Bean |Injection Example
57+
|*Predefined Bean* |*Resource or CDI Bean* |*Injection Example*
5858
|`UserTransaction` |Resource |`@Resource UserTransaction transaction;`
5959
|`Principal` |Resource |`@Resource Principal principal;`
6060
|`Validator` |Resource |`@Resource Validator validator;`

src/main/jbake/content/websocket004.adoc

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=Annotated Endpoints
44
next=websocket005.html
55
prev=websocket003.html
66
~~~~~~
7-
Annotated Endpoints
8-
===================
7+
= Annotated Endpoints
8+
99

1010
[[BABFEBGA]]
1111

@@ -45,44 +45,41 @@ parameters are allowed in each case.
4545

4646
[[sthref115]][[BABDGEJH]]
4747

48-
Table 18-1 WebSocket Endpoint Lifecycle Annotations
48+
*Table 18-1 WebSocket Endpoint Lifecycle Annotations*
4949

50-
[width="46%",cols="42%,58%,",options="header",]
50+
[width="80%",cols="20%,20%,60"]
5151
|========================================
52-
|Annotation |Event |Example
52+
|*Annotation* |*Event* |*Example*
5353
|`OnOpen` |Connection opened a|
5454
[source,oac_no_warn]
5555
----
5656
@OnOpen
57-
public void open(Session session,
57+
public void open(Session session,
5858
EndpointConfig conf) { }
5959
----
6060

6161
|`OnMessage` |Message received a|
6262
[source,oac_no_warn]
6363
----
6464
@OnMessage
65-
public void message(Session session,
65+
public void message(Session session,
6666
String msg) { }
6767
----
6868

6969
|`OnError` |Connection error a|
7070
[source,oac_no_warn]
7171
----
7272
@OnError
73-
public void error(Session session,
73+
public void error(Session session,
7474
Throwable error) { }
7575
----
7676

7777
|`OnClose` |Connection closed a|
7878
[source,oac_no_warn]
7979
----
8080
@OnClose
81-
public void close(Session session,
81+
public void close(Session session,
8282
CloseReason reason) { }
8383
----
8484

8585
|========================================
86-
87-
88-

0 commit comments

Comments
 (0)