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 2019/02/20 08:35:19 UTC

[myfaces-tobago] branch tobago-4.x updated: Better docs

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/tobago-4.x by this push:
     new 5d6c0f8  Better docs
5d6c0f8 is described below

commit 5d6c0f860f8eaa4ace12fd63ff3767405b671a26
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Feb 20 09:33:51 2019 +0100

    Better docs
    
    (cherry picked from commit 2a2330e17af2d0fa0ad7e94eee5379dc0364b257)
---
 .../tobago/internal/taglib/declaration/IsPlain.java        | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/IsPlain.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/IsPlain.java
index 5635f71..913f660 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/IsPlain.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/IsPlain.java
@@ -25,15 +25,17 @@ import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
 public interface IsPlain {
 
   /**
-   * This attribute is useful for tc:out if labelLayout=skip is set.
+   * <p><b></b>Use with caution: Only for special cases!</b></p>
+   *
+   * <p>This attribute is useful for tc:out if labelLayout=skip is set.
    * Use true, if you want to only render the text (no surrounding tag).
-   * Use false, if you enable the possibility to apply styles to the output.
+   * Use false, if you enable the possibility to apply styles to the output.</p>
    *
-   * For tc:form there will no div tag be rendered. So, the content
-   * can be used freely from layout managers.
+   * <p>For tc:form there will no div tag be rendered. So, the content
+   * can be used freely from layout managers.</p>
    *
-   * But, no AJAX is possible for components with "plain" set,
-   * because there is no client element with an "id" in the DOM.
+   * <p>But, no AJAX is possible for components with "plain" set,
+   * because there is no client element with an "id" in the DOM.</p>
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "boolean", defaultValue = "false")