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/09/19 09:15:44 UTC

[myfaces-tobago] 01/03: docs/typo

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

commit 230b47ffd58fd4134c01988b2cc34750fd423300
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Sep 18 15:51:13 2019 +0200

    docs/typo
---
 .../internal/renderkit/renderer/TobagoClientBehaviorRenderer.java     | 4 ++--
 .../tobago/internal/taglib/component/SuggestTagDeclaration.java       | 2 +-
 .../myfaces/tobago/internal/taglib/declaration/HasPlaceholder.java    | 4 ----
 3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/TobagoClientBehaviorRenderer.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/TobagoClientBehaviorRenderer.java
index ff36e12..ac2933c 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/TobagoClientBehaviorRenderer.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/TobagoClientBehaviorRenderer.java
@@ -64,7 +64,7 @@ public class TobagoClientBehaviorRenderer extends javax.faces.render.ClientBehav
     final UIComponent uiComponent = behaviorContext.getComponent();
     final ClientBehaviors eventName = ClientBehaviors.valueOf(behaviorContext.getEventName());
 
-    //// TBD: is this nice? May be implemented with a JSF behaviour?
+    //// TBD: is this nice? May be implemented with a JSF behavior?
     Collapse collapse = createCollapsible(facesContext, uiComponent);
 
     String executeIds = null;
@@ -199,7 +199,7 @@ public class TobagoClientBehaviorRenderer extends javax.faces.render.ClientBehav
    */
   @Deprecated
   public static Collapse createCollapsible(final FacesContext facesContext, final UIComponent component) {
-    //// TBD: is this nice? May be implemented with a JSF behaviour?
+    //// TBD: is this nice? May be implemented with a JSF behavior?
     //// BEGIN
 
     // XXX too complicated
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/SuggestTagDeclaration.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/SuggestTagDeclaration.java
index 14821b9..439576e 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/SuggestTagDeclaration.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/SuggestTagDeclaration.java
@@ -147,7 +147,7 @@ public interface SuggestTagDeclaration extends HasIdBindingAndRendered {
   /**
    * TODO: not implemented yet
    * <p>
-   * Should the list be updated while typing (via AJAX). This is the default behaviour.
+   * Should the list be updated while typing (via AJAX). This is the default behavior.
    * If you set this value to <code>false</code>, please set the <code>minimumCharacters="0"</code>.
    * </p>
    */
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasPlaceholder.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasPlaceholder.java
index ee896cf..41e03de 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasPlaceholder.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasPlaceholder.java
@@ -27,10 +27,6 @@ public interface HasPlaceholder {
   /**
    * <p>
    * Displays a short text in the input field, that describes the meaning of this field.
-   * This is part of HTML 5, the theme should emulate the behaviour, when the browser doesn't support it.
-   * </p>
-   * <p>
-   * The text will not be displayed, when the input field is readonly or disabled.
    * </p>
    * @param placeholder The text to display
    */