[jboss-cvs] jboss-seam/src/ui/org/jboss/seam/ui ...
Norman Richards
norman.richards at jboss.com
Mon Apr 2 14:23:12 EDT 2007
User: nrichards
Date: 07/04/02 14:23:12
Modified: src/ui/org/jboss/seam/ui UIFormattedText.java
Log:
RI seems to have problems if we default to their encodeEnd
Revision Changes Path
1.6 +7 -0 jboss-seam/src/ui/org/jboss/seam/ui/UIFormattedText.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UIFormattedText.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/org/jboss/seam/ui/UIFormattedText.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- UIFormattedText.java 16 Mar 2007 05:43:35 -0000 1.5
+++ UIFormattedText.java 2 Apr 2007 18:23:12 -0000 1.6
@@ -25,6 +25,7 @@
public void encodeBegin(FacesContext context) throws IOException
{
if ( !isRendered() || getValue() == null) return;
+
Reader r = new StringReader( (String) getValue() );
SeamTextLexer lexer = new SeamTextLexer(r);
SeamTextParser parser = new SeamTextParser(lexer);
@@ -39,4 +40,10 @@
context.getResponseWriter().write(parser.toString());
}
+
+ @Override
+ public void encodeEnd(FacesContext context)
+ throws IOException
+ {
+ }
}
More information about the jboss-cvs-commits
mailing list