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

Commit f8c1575

Browse files
Merge pull request #87 from javaee/rmarano
fix table formats
2 parents 8633329 + 0072c3d commit f8c1575

21 files changed

+142
-171
lines changed

src/main/jbake/content/jsf-advanced-cc001.adoc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=Attributes of a Composite Component
44
next=jsf-advanced-cc002.html
55
prev=jsf-advanced-cc.html
66
~~~~~~
7-
Attributes of a Composite Component
8-
===================================
7+
= Attributes of a Composite Component
8+
99

1010
[[GKHWV]]
1111

@@ -24,11 +24,11 @@ used attributes of this tag.
2424

2525
[[sthref74]][[GKHVF]]
2626

27-
Table 14-1 Commonly Used Attributes of the composite:attribute Tag
27+
*Table 14-1 Commonly Used Attributes of the composite:attribute Tag*
2828

29-
[width="26%",cols="100%,",options="header",]
29+
[width="70%",cols="15%,55%"]
3030
|=======================================================================
31-
|Attribute |Description
31+
|*Attribute* |*Description*
3232
|`name` |Specifies the name of the composite component attribute to be
3333
used in the using page. Alternatively, the `name` attribute can specify
3434
standard event handlers such as `action`, `actionListener`, and managed
@@ -83,5 +83,3 @@ The following code snippet uses the `type` element:
8383
----
8484
<composite:attribute name="dateofjoining" type="java.util.Date"/>
8585
----
86-
87-

src/main/jbake/content/jsf-advanced-cc003.adoc

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=Validating Composite Component Values
44
next=jsf-advanced-cc004.html
55
prev=jsf-advanced-cc002.html
66
~~~~~~
7-
Validating Composite Component Values
8-
=====================================
7+
= Validating Composite Component Values
8+
99

1010
[[GKHWO]]
1111

@@ -23,11 +23,11 @@ details and a complete list.
2323

2424
[[sthref75]][[GKHVG]]
2525

26-
Table 14-2 Validator Tags
26+
*Table 14-2 Validator Tags*
2727

28-
[width="27%",cols="100%,",options="header",]
28+
[width="70%",cols="15%,55%"]
2929
|=======================================================================
30-
|Tag Name |Description
30+
|*Tag Name* |*Description*
3131
|`f:validateBean` |Delegates the validation of the local value to the
3232
Bean Validation API.
3333

@@ -39,6 +39,3 @@ value of the component. If it matches, it is valid.
3939
effect as setting the `required` element of a composite component's
4040
attribute to `true`.
4141
|=======================================================================
42-
43-
44-

src/main/jbake/content/jsf-ajax003.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ when no `event` attribute is specified, the default event is
5757

5858
[[sthref69]][[GKDER]]
5959

60-
Table 13-1 Attributes of the f:ajax Tag
60+
*Table 13-1 Attributes of the f:ajax Tag*
6161

62-
[width="48%",cols="28%,72%,",options="header",]
62+
[width="99%",cols="15%,25%,60%"]
6363
|=======================================================================
64-
|Name |Type |Description
64+
|*Name* |*Type* |*Description*
6565
|`disabled` |`javax.el.ValueExpression` that evaluates to a `Boolean` |A
6666
`Boolean` value that identifies the tag status. A value of `true`
6767
indicates that the Ajax behavior should not be rendered. A value of
@@ -116,11 +116,11 @@ The keywords listed in link:#GKNLK[Table 13-2] can be used with the
116116

117117
[[sthref70]][[GKNLK]]
118118

119-
Table 13-2 Execute and Render Keywords
119+
*Table 13-2 Execute and Render Keywords*
120120

121-
[width="14%",cols="100%,",options="header",]
121+
[width="60%",cols="15%,45%"]
122122
|===============================================
123-
|Keyword |Description
123+
|*Keyword* |*Description*
124124
|`@all` |All component identifiers
125125
|`@form` |The form that encloses the component
126126
|`@none` |No component identifiers

src/main/jbake/content/jsf-ajax005.adoc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=Monitoring Events on the Client
44
next=jsf-ajax006.html
55
prev=jsf-ajax004.html
66
~~~~~~
7-
Monitoring Events on the Client
8-
===============================
7+
= Monitoring Events on the Client
8+
99

1010
[[GKDDF]]
1111

@@ -24,11 +24,11 @@ the properties listed in link:#GKGOE[Table 13-3].
2424

2525
[[sthref71]][[GKGOE]]
2626

27-
Table 13-3 Properties of the onevent Data Object
27+
*Table 13-3 Properties of the onevent Data Object*
2828

29-
[width="20%",cols="100%,",options="header",]
29+
[width="60%",cols="15%,45%"]
3030
|=======================================================================
31-
|Property |Description
31+
|*Property* |*Description*
3232
|`responseXML` |The response to the Ajax call in XML format
3333

3434
|`responseText` |The response to the Ajax call in text format
@@ -53,5 +53,3 @@ monitors the Ajax request sent by the event:
5353
----
5454
<f:ajax event="click" render="statusmessage" onevent="monitormyajaxevent"/>
5555
----
56-
57-

src/main/jbake/content/jsf-ajax006.adoc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=Handling Errors
44
next=jsf-ajax007.html
55
prev=jsf-ajax005.html
66
~~~~~~
7-
Handling Errors
8-
===============
7+
= Handling Errors
8+
99

1010
[[GKDCB]]
1111

@@ -31,11 +31,11 @@ one of the valid error values listed in link:#GKGOU[Table 13-4].
3131

3232
[[sthref72]][[GKGOU]]
3333

34-
Table 13-4 Valid Error Values for the Data Object status Property
34+
*Table 13-4 Valid Error Values for the Data Object status Property*
3535

36-
[width="20%",cols="100%,",options="header",]
36+
[width="60%",cols="15%,45%"]
3737
|=======================================================================
38-
|Values |Description
38+
|*Values* |*Description*
3939
|`emptyResponse` |No Ajax response from server.
4040

4141
|`httpError` |One of the valid HTTP errors: `request.status==null` or
@@ -55,5 +55,3 @@ Ajax request are handled by the `handlemyajaxerror` JavaScript function:
5555
----
5656
<f:ajax event="click" render="errormessage" onerror="handlemyajaxerror"/>
5757
----
58-
59-

src/main/jbake/content/jsf-ajax007.adoc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ command button):
3030

3131
[source,oac_no_warn]
3232
----
33-
<h:commandButton id="submit" value="Submit">
33+
<h:commandButton id="submit" value="Submit">
3434
<f:ajax execute="userNo" render="result" />
3535
</h:commandButton>
3636
<h:outputText id="result" value="#{userNumberBean.response}" />
@@ -40,7 +40,7 @@ command button):
4040
[width="100%",cols="100%",]
4141
|=======================================================================
4242
a|
43-
Note:
43+
*Note*:
4444

4545
Behind the scenes, once again the `jsf.ajax.request()` method handles
4646
the response. It registers a response-handling callback when the
@@ -49,6 +49,3 @@ client, the callback is invoked. This callback automatically updates the
4949
client-side DOM to reflect the rendered response.
5050

5151
|=======================================================================
52-
53-
54-

src/main/jbake/content/jsf-ajax010.adoc

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=Loading JavaScript as a Resource
44
next=jsf-ajax011.html
55
prev=jsf-ajax009.html
66
~~~~~~
7-
Loading JavaScript as a Resource
8-
================================
7+
= Loading JavaScript as a Resource
8+
99

1010
[[GKAAM]]
1111

@@ -68,7 +68,7 @@ API. For example, consider the following:
6868
<h:inputText id="inputname" value="#{userBean.name}"/>
6969
<h:outputText id="outputname" value="#{userBean.name}"/>
7070
<h:commandButton id="submit" value="Submit"
71-
onclick="jsf.ajax.request(this, event,
71+
onclick="jsf.ajax.request(this, event,
7272
{execute:'inputname',render:'outputname'});
7373
return false;" />
7474
</h:form>
@@ -83,11 +83,11 @@ link:#GKAIW[Table 13-5].
8383
+
8484
[[sthref73]][[GKAIW]]
8585
86-
Table 13-5 Possible Values for the Options Parameter
86+
*Table 13-5 Possible Values for the Options Parameter*
8787

88-
[width="14%",cols="100%,",options="header",]
88+
[width="70%",cols="15%,55%"]
8989
|=======================================================================
90-
|Name |Value
90+
|*Name* |*Value*
9191
|`execute` |A space-delimited list of client identifiers or one of the
9292
keywords listed in link:jsf-ajax003.html#GKNLK[Table 13-2]. The
9393
identifiers reference the components that will be processed during the
@@ -147,5 +147,3 @@ The following example shows how the resource is loaded in a bean class:
147147
----
148148
@ResourceDependency(name="jsf.js" library="javax.faces" target="head")
149149
----
150-
151-

src/main/jbake/content/jsf-configure004.adoc

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=Using Faces Flows
44
next=jsf-configure005.html
55
prev=jsf-configure003.html
66
~~~~~~
7-
Using Faces Flows
8-
=================
7+
= Using Faces Flows
8+
99

1010
[[CHDGFCJF]]
1111

@@ -201,7 +201,7 @@ no value outside of the flow, and provides a link that navigates to the
201201
+
202202
[source,oac_no_warn]
203203
----
204-
<p>Value (should be empty):
204+
<p>Value (should be empty):
205205
"<h:outputText id="output" value="#{flowScope.value}" />"</p>
206206
207207
<p><h:link outcome="index" value="Back to Start" /></p>
@@ -447,12 +447,12 @@ The configuration file for the join flow looks like this:
447447
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
448448
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee \
449449
http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
450-
450+
451451
<flow-definition id="joinFlow">
452452
<flow-return id="returnFromJoinFlow">
453453
<from-outcome>#{joinFlowBean.returnValue}</from-outcome>
454454
</flow-return>
455-
455+
456456
<inbound-parameter>
457457
<name>param1FromCheckoutFlow</name>
458458
<value>#{flowScope.param1Value}</value>
@@ -461,7 +461,7 @@ The configuration file for the join flow looks like this:
461461
<name>param2FromCheckoutFlow</name>
462462
<value>#{flowScope.param2Value}</value>
463463
</inbound-parameter>
464-
464+
465465
<flow-call id="callcheckoutFlow">
466466
<flow-reference>
467467
<flow-id>checkoutFlow</flow-id>
@@ -517,31 +517,31 @@ import javax.faces.flow.builder.FlowBuilderParameter;
517517
import javax.faces.flow.builder.FlowDefinition;
518518
519519
class CheckoutFlow implements Serializable {
520-
520+
521521
private static final long serialVersionUID = 1L;
522-
522+
523523
@Produces
524524
@FlowDefinition
525525
public Flow defineFlow(@FlowBuilderParameter FlowBuilder flowBuilder) {
526-
526+
527527
String flowId = "checkoutFlow";
528528
flowBuilder.id("", flowId);
529-
flowBuilder.viewNode(flowId,
529+
flowBuilder.viewNode(flowId,
530530
"/" + flowId + "/" + flowId + ".xhtml").
531531
markAsStartNode();
532-
532+
533533
flowBuilder.returnNode("returnFromCheckoutFlow").
534534
fromOutcome("#{checkoutFlowBean.returnValue}");
535-
536-
flowBuilder.inboundParameter("param1FromJoinFlow",
535+
536+
flowBuilder.inboundParameter("param1FromJoinFlow",
537537
"#{flowScope.param1Value}");
538-
flowBuilder.inboundParameter("param2FromJoinFlow",
538+
flowBuilder.inboundParameter("param2FromJoinFlow",
539539
"#{flowScope.param2Value}");
540-
540+
541541
flowBuilder.flowCallNode("calljoin").flowReference("", "joinFlow").
542-
outboundParameter("param1FromCheckoutFlow",
542+
outboundParameter("param1FromCheckoutFlow",
543543
"#{checkoutFlowBean.name}").
544-
outboundParameter("param2FromCheckoutFlow",
544+
outboundParameter("param2FromCheckoutFlow",
545545
"#{checkoutFlowBean.city}");
546546
return flowBuilder.getFlow();
547547
}
@@ -609,8 +609,7 @@ For the `JoinFlowBean`, the return node is the `exithome.xhtml` page.
609609
[[sthref91]]
610610

611611
[[to-build-package-and-deploy-the-checkout-module-example-using-netbeans-ide]]
612-
To Build, Package, and Deploy the checkout-module Example Using NetBeans
613-
IDE
612+
To Build, Package, and Deploy the checkout-module Example Using NetBeans IDE
614613
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
615614

616615
1. Make sure that GlassFish Server has been started (see
@@ -687,5 +686,3 @@ flow.
687686
you will return to the first page of the calling flow. (You may see a
688687
warning, which you can ignore.) Click Exit Flow on that page to go to
689688
the specified return node.
690-
691-

src/main/jbake/content/jsf-configure005.adoc

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title=Configuring Managed Beans
44
next=jsf-configure006.html
55
prev=jsf-configure004.html
66
~~~~~~
7-
Configuring Managed Beans
8-
=========================
7+
= Configuring Managed Beans
8+
99

1010
[[BNAWQ]]
1111

@@ -177,12 +177,12 @@ are used to initialize a value.
177177

178178
[[sthref94]][[BNAWT]]
179179

180-
Table 16-1 Subelements of managed-property Elements That Define Property
181-
Values
180+
*Table 16-1 Subelements of managed-property Elements That Define Property
181+
Values*
182182

183-
[width="18%",cols="100%,",options="header",]
183+
[width="75%",cols="25%,50%"]
184184
|=======================================================================
185-
|Element |Value It Defines
185+
|*Element* |*Value It Defines*
186186
|`list-entries` |Defines the values in a list
187187

188188
|`map-entries` |Defines the values of a map
@@ -477,11 +477,11 @@ connections.
477477

478478
[[sthref95]][[BNAWZ]]
479479

480-
Table 16-2 Allowable Connections between Scoped Objects
480+
*Table 16-2 Allowable Connections between Scoped Objects*
481481

482-
[width="27%",cols="100%,",options="header",]
482+
[width="60%",cols="20%,40%"]
483483
|==============================================================
484-
|An Object of This Scope |May Point to an Object of This Scope
484+
|*An Object of This Scope* |*May Point to an Object of This Scope*
485485
|`none` |`none`
486486
|`application` |`none`, `application`
487487
|`session` |`none`, `application`, `session`
@@ -505,5 +505,3 @@ In addition to configuring `Map` and `List` properties, you can also
505505
configure a `Map` and a `List` directly so that you can reference them
506506
from a tag rather than referencing a property that wraps a `Map` or a
507507
`List`.
508-
509-

0 commit comments

Comments
 (0)