added line breaks for sample code that otherwise runs off the end of the page

This commit is contained in:
Scott Andrews
2008-04-12 00:13:26 +00:00
parent 56c0683c3e
commit 6d144bb0f8
8 changed files with 52 additions and 26 deletions

View File

@@ -123,7 +123,8 @@
</para>
<programlisting type="xml">
&lt;on-render&gt;
&lt;evaluate expression="searchService.findHotels(searchCriteria)" result="viewScope.hotels" type="dataModel" /&gt;
&lt;evaluate expression="searchService.findHotels(searchCriteria)" result="viewScope.hotels"
type="dataModel" /&gt;
&lt;/on-render&gt;
</programlisting>
</sect2>
@@ -182,7 +183,8 @@
Use <code>currentUser</code> to access the authenticated <code>Principal</code>:
</para>
<programlisting type="xml">
&lt;evaluate expression="bookingService.createBooking(hotelId, currentUser.name)" result="flowScope.booking" /&gt;
&lt;evaluate expression="bookingService.createBooking(hotelId, currentUser.name)"
result="flowScope.booking" /&gt;
</programlisting>
</sect2>
<sect2 id="el-variable-messageContext">
@@ -222,7 +224,8 @@
See the <code>ExternalContext</code> API JavaDocs for more information.
</para>
<programlisting type="xml">
&lt;evaluate expression="searchService.suggestHotels(externalContext.sessionMap.userProfile)" result="viewScope.hotels" /&gt;
&lt;evaluate expression="searchService.suggestHotels(externalContext.sessionMap.userProfile)"
result="viewScope.hotels" /&gt;
</programlisting>
</sect2>
</sect1>