Skip to content

Commit

Permalink
fix syntax hiliting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin King committed Nov 17, 2009
1 parent 7a6009d commit d7c9795
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions reference/en-US/scopescontexts.xml
Expand Up @@ -257,13 +257,13 @@ public class OrderBuilder {
Therefore, the following link propagates the conversation:
</para>

<programlisting role="HTML"><![CDATA[<a href="/addProduct.jsp?cid=#{conversation.id}">Add Product</a>]]></programlisting>
<programlisting role="XML"><![CDATA[<a href="/addProduct.jsp?cid=#{conversation.id}">Add Product</a>]]></programlisting>

<para>
It's probably better to use one of the link components in JSF 2:
</para>

<programlisting role="HTML"><![CDATA[<h:link outcome="/addProduct.xhtml value="Add Product">
<programlisting role="XML"><![CDATA[<h:link outcome="/addProduct.xhtml value="Add Product">
<f:param name="cid" value="#{conversation.id}"/>
</h:link>]]></programlisting>

Expand Down
2 changes: 1 addition & 1 deletion reference/en-US/weldexamples.xml
Expand Up @@ -131,7 +131,7 @@
<area id="validator" coords="29" />
<area id="submit" coords="30" />
</areaspec>
<programlisting role="HTML"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<programlisting role="XML"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
Expand Down

0 comments on commit d7c9795

Please sign in to comment.