myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bara...@apache.org
Subject svn commit: r331260 - /myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/inputHtml/InputHtmlRenderer.java
Date Mon, 07 Nov 2005 12:13:17 GMT
Author: baranda
Date: Mon Nov  7 04:13:12 2005
New Revision: 331260

URL: http://svn.apache.org/viewcvs?rev=331260&view=rev
Log:
Fixes MYFACES-786. Thanks to Javier Alperte

Modified:
    myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/inputHtml/InputHtmlRenderer.java

Modified: myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/inputHtml/InputHtmlRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/inputHtml/InputHtmlRenderer.java?rev=331260&r1=331259&r2=331260&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/inputHtml/InputHtmlRenderer.java
(original)
+++ myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/inputHtml/InputHtmlRenderer.java
Mon Nov  7 04:13:12 2005
@@ -1229,7 +1229,7 @@
     public Object getConvertedValue(FacesContext facesContext, UIComponent uiComponent, Object
submittedValue) throws ConverterException {
         RendererUtils.checkParamValidity(facesContext, uiComponent, InputHtml.class);
 		InputHtml editor = (InputHtml) uiComponent;
-        String submittedDocument = (String) RendererUtils.getConvertedUIOutputValue(facesContext,
editor, submittedValue);
-        return editor.getValueFromDocument( submittedDocument );
+        String submittedDocument = editor.getValueFromDocument((String)submittedValue);
+        return RendererUtils.getConvertedUIOutputValue(facesContext, editor, submittedDocument);

     }
 }



Mime
View raw message