Author: adubovsky
Date: 2008-12-02 03:32:04 -0500 (Tue, 02 Dec 2008)
New Revision: 11478
Modified:
trunk/test-applications/jsp/src/main/java/editor/Editor.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/editor/Editor.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/editor/Editor.java 2008-12-02 08:30:56 UTC
(rev 11477)
+++ trunk/test-applications/jsp/src/main/java/editor/Editor.java 2008-12-02 08:32:04 UTC
(rev 11478)
@@ -77,7 +77,7 @@
System.out.println("!!! getAsObject work !!!");
- if (false)
+ if (newValue == "")
throw new ConverterException(new FacesMessage(
FacesMessage.SEVERITY_ERROR, "Converter error",
"Error while convert to Object"));
@@ -91,7 +91,7 @@
System.out.println("!!! getAsString work !!!");
- if (false)
+ if (value.toString().equals("<p>aaa</p>"))
throw new ConverterException(new FacesMessage(
FacesMessage.SEVERITY_ERROR, "Converter error",
"Error while convert to String"));
Show replies by date