[jboss-cvs] jboss-seam/examples/wiki/src/org/jboss/seam/wiki/core/ui ...
Christian Bauer
christian.bauer at jboss.com
Fri Feb 16 11:26:46 EST 2007
User: cbauer
Date: 07/02/16 11:26:46
Modified: examples/wiki/src/org/jboss/seam/wiki/core/ui
UIWikiFormattedText.java
Log:
Fixed the Wiki, basics work now
Revision Changes Path
1.2 +4 -2 jboss-seam/examples/wiki/src/org/jboss/seam/wiki/core/ui/UIWikiFormattedText.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UIWikiFormattedText.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/org/jboss/seam/wiki/core/ui/UIWikiFormattedText.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- UIWikiFormattedText.java 1 Feb 2007 07:08:26 -0000 1.1
+++ UIWikiFormattedText.java 16 Feb 2007 16:26:46 -0000 1.2
@@ -29,8 +29,10 @@
SeamTextLexer lexer = new SeamTextLexer(r);
// Use the WikiTextParser to resolve links
- SeamTextParser parser = new WikiTextParser(lexer, "", "");
-// SeamTextParser parser = new SeamTextParser(lexer);
+ SeamTextParser parser =
+ new WikiTextParser(lexer,
+ getAttributes().get("linkStyleClass").toString(),
+ getAttributes().get("brokenLinkStyleClass").toString());
try {
parser.startRule();
More information about the jboss-cvs-commits
mailing list