You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2025/06/02 06:06:51 UTC
(myfaces-tobago) branch main updated: docs(popup): facets
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/main by this push:
new be7bde08e2 docs(popup): facets
be7bde08e2 is described below
commit be7bde08e2a992b0814cac797cdef10124674191
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Mon Jun 2 07:39:31 2025 +0200
docs(popup): facets
---
.../tobago/internal/taglib/component/PopupTagDeclaration.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/PopupTagDeclaration.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/PopupTagDeclaration.java
index d83a4f51ab..4b1e3b5704 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/PopupTagDeclaration.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/PopupTagDeclaration.java
@@ -19,11 +19,13 @@
package org.apache.myfaces.tobago.internal.taglib.component;
+import org.apache.myfaces.tobago.apt.annotation.Facet;
import org.apache.myfaces.tobago.apt.annotation.Markup;
import org.apache.myfaces.tobago.apt.annotation.Tag;
import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
+import org.apache.myfaces.tobago.component.Facets;
import org.apache.myfaces.tobago.component.RendererTypes;
import org.apache.myfaces.tobago.internal.component.AbstractUIPopup;
import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
@@ -44,6 +46,11 @@
"jakarta.faces.component.behavior.ClientBehaviorHolder"
},
rendererType = RendererTypes.POPUP,
+ facets = {
+ @Facet(name = Facets.BAR, description = "Code is placed in the header at the bar position."),
+ @Facet(name = Facets.LABEL, description = "Code is placed in the header at the label position."),
+ @Facet(name = Facets.FOOTER, description = "Code is placed in the footer.")
+ },
markups = {
@Markup(
name = org.apache.myfaces.tobago.context.Markup.STRING_EXTRA_LARGE,