You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2017/10/04 09:04:54 UTC

[myfaces-tobago] branch master updated: TOBAGO-1777: Improve CSS Style rendering * Fix textarea: There must no be any HTML content inside the textarea.

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 <lo...@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" <co...@myfaces.apache.org>'].