[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/action ...
Peter Muir
peter at bleepbleep.org.uk
Thu Sep 27 08:01:18 EDT 2007
User: pmuir
Date: 07/09/27 08:01:18
Modified: examples/wiki/src/main/org/jboss/seam/wiki/core/action
DocumentHome.java
Log:
JBSEAM-1929, update wiki example, add to blog example
Revision Changes Path
1.30 +2 -2 jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/action/DocumentHome.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DocumentHome.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/action/DocumentHome.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- DocumentHome.java 26 Sep 2007 09:36:18 -0000 1.29
+++ DocumentHome.java 27 Sep 2007 12:01:18 -0000 1.30
@@ -7,6 +7,7 @@
package org.jboss.seam.wiki.core.action;
import org.jboss.seam.annotations.*;
+import org.jboss.seam.ui.validator.FormattedTextValidator;
import org.jboss.seam.wiki.core.model.*;
import org.jboss.seam.wiki.core.engine.WikiLinkResolver;
import org.jboss.seam.wiki.core.engine.WikiTextParser;
@@ -16,7 +17,6 @@
import org.jboss.seam.wiki.core.dao.UserRoleAccessFactory;
import org.jboss.seam.wiki.core.action.prefs.DocumentEditorPreferences;
import org.jboss.seam.wiki.core.action.prefs.CommentsPreferences;
-import org.jboss.seam.wiki.core.ui.SeamTextValidator;
import org.jboss.seam.wiki.preferences.PreferenceSupport;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
@@ -211,7 +211,7 @@
} catch (RecognitionException rex) {
// Swallow and log and low debug level
- getLog().debug( "Ignored parse error finding plugins in text: " + SeamTextValidator.getErrorMessage(formContent, rex) );
+ getLog().debug( "Ignored parse error finding plugins in text: " + FormattedTextValidator.getErrorMessage(formContent, rex) );
} catch (ANTLRException ex) {
// All other errors are fatal;
throw new RuntimeException(ex);
More information about the jboss-cvs-commits
mailing list