[jboss-cvs] jboss-seam/examples/blog/view ...
Gavin King
gavin.king at jboss.com
Tue Jan 16 15:55:07 EST 2007
User: gavin
Date: 07/01/16 15:55:07
Modified: examples/blog/view entry.xhtml index.xhtml
Log:
use s:formattedText
Revision Changes Path
1.7 +1 -1 jboss-seam/examples/blog/view/entry.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: entry.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/blog/view/entry.xhtml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- entry.xhtml 9 Jan 2007 08:25:39 -0000 1.6
+++ entry.xhtml 16 Jan 2007 20:55:07 -0000 1.7
@@ -12,7 +12,7 @@
<div class="blogEntry">
<h3>#{blogEntry.title}</h3>
<div>
- <h:outputText escape="false" value="#{blogEntry.body}"/>
+ <s:formattedText value="#{blogEntry.body}"/>
</div>
<p>
[Posted on 
1.9 +1 -2 jboss-seam/examples/blog/view/index.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: index.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/blog/view/index.xhtml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- index.xhtml 9 Jan 2007 08:25:39 -0000 1.8
+++ index.xhtml 16 Jan 2007 20:55:07 -0000 1.9
@@ -14,8 +14,7 @@
<div class="blogEntry">
<h3>#{blogEntry.title}</h3>
<div>
- <h:outputText escape="false"
- value="#{blogEntry.excerpt==null ? blogEntry.body : blogEntry.excerpt}"/>
+ <s:formattedText value="#{blogEntry.excerpt==null ? blogEntry.body : blogEntry.excerpt}"/>
</div>
<p>
<h:outputLink value="entry.xhtml" rendered="#{blogEntry.excerpt!=null}">
More information about the jboss-cvs-commits
mailing list