You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2023/01/20 14:54:34 UTC
[ofbiz-framework] branch trunk updated: Fixed: Form field attribute tooltip-style didn't propage (OFBIZ-12746)
This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4346bd15dc Fixed: Form field attribute tooltip-style didn't propage (OFBIZ-12746)
4346bd15dc is described below
commit 4346bd15dc730082311c77d595e089b879961cf2
Author: Nicolas Malin <ni...@nereide.fr>
AuthorDate: Fri Jan 20 15:51:22 2023 +0100
Fixed: Form field attribute tooltip-style didn't propage (OFBIZ-12746)
The form field attribute tooltip-style didn't propage between the xml definition to macro rendering.
The problem came from the RenderableFtlFormElementBuilder witch resolved the tooltip style value from the attribute "title-style" and not the "tooltip-style"
---
.../ofbiz/widget/renderer/macro/RenderableFtlFormElementsBuilder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/RenderableFtlFormElementsBuilder.java b/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/RenderableFtlFormElementsBuilder.java
index ee72f7eeb6..f56982c630 100644
--- a/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/RenderableFtlFormElementsBuilder.java
+++ b/framework/widget/src/main/java/org/apache/ofbiz/widget/renderer/macro/RenderableFtlFormElementsBuilder.java
@@ -93,7 +93,7 @@ public final class RenderableFtlFormElementsBuilder {
return RenderableFtlMacroCall.builder()
.name("renderTooltip")
.stringParameter("tooltip", tooltip)
- .stringParameter("tooltipStyle", modelFormField.getTitleStyle())
+ .stringParameter("tooltipStyle", modelFormField.getTooltipStyle())
.build();
}