myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject [myfaces-tobago] branch master updated: TOBAGO-1777: Improve CSS Style rendering * Fix textarea: There must no be any HTML content inside the textarea.
Date Wed, 04 Oct 2017 09:04:54 GMT
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new dab5c66  TOBAGO-1777: Improve CSS Style rendering * Fix textarea: There must no be
any HTML content inside the textarea.
dab5c66 is described below

commit dab5c661e03934e992cf2ea1d205e4b2ac1a38bd
Author: Udo Schnurpfeil <lofwyr@apache.org>
AuthorDate: Wed Oct 4 11:04:49 2017 +0200

    TOBAGO-1777: Improve CSS Style rendering
    * Fix textarea: There must no be any HTML content inside the textarea.
---
 .../myfaces/tobago/internal/renderkit/renderer/TextareaRenderer.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/TextareaRenderer.java
b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/TextareaRenderer.java
index d59493b..b73be9e 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/TextareaRenderer.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/TextareaRenderer.java
@@ -157,12 +157,12 @@ public class TextareaRenderer extends MessageLayoutRendererBase {
       }
       writer.writeText(currentValue);
     }
+
+    writer.endElement(HtmlElements.TEXTAREA);
   }
 
   @Override
   protected void encodeEndField(FacesContext facesContext, UIComponent component) throws
IOException {
-    final TobagoResponseWriter writer = getResponseWriter(facesContext);
-    writer.endElement(HtmlElements.TEXTAREA);
   }
 
   @Override

-- 
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <commits@myfaces.apache.org>'].

Mime
View raw message