This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/master by this push:
new 3c2b109bc7 CAUSEWAY-2297: minor: improved tooltip hint
3c2b109bc7 is described below
commit 3c2b109bc73da1ccee750525f56034b031c43966
Author: andi-huber <[email protected]>
AuthorDate: Mon Sep 16 09:29:58 2024 +0200
CAUSEWAY-2297: minor: improved tooltip hint
when prototyping with disable-explanation
---
.../java/org/apache/causeway/core/config/CausewayConfiguration.java | 2 +-
.../viewer/wicket/ui/components/scalars/ScalarPanelAbstract2.java | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git
a/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java
b/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java
index 840f54371e..ceb2cf8783 100644
---
a/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java
+++
b/core/config/src/main/java/org/apache/causeway/core/config/CausewayConfiguration.java
@@ -2974,7 +2974,7 @@ public class CausewayConfiguration {
private boolean clearFieldButtonEnabled = true;
/**
- * In prototyping mode, a text icon is appeneded to any property
that is disabled, with its tool-tip explaining why the property is disabled.
+ * In prototyping mode, a text icon is appended to any property
that is disabled, with its tool-tip explaining why the property is disabled.
* This configuration property can be used to suppress the icon,
even in prototyping mode, if desired.
*
* <p>
diff --git
a/viewers/wicket/ui/src/main/java/org/apache/causeway/viewer/wicket/ui/components/scalars/ScalarPanelAbstract2.java
b/viewers/wicket/ui/src/main/java/org/apache/causeway/viewer/wicket/ui/components/scalars/ScalarPanelAbstract2.java
index 8e4e5dd6cb..1895dc9a3a 100644
---
a/viewers/wicket/ui/src/main/java/org/apache/causeway/viewer/wicket/ui/components/scalars/ScalarPanelAbstract2.java
+++
b/viewers/wicket/ui/src/main/java/org/apache/causeway/viewer/wicket/ui/components/scalars/ScalarPanelAbstract2.java
@@ -260,7 +260,9 @@ extends ScalarPanelAbstract {
break;
case DISABLED_REASON_PROTOTYPING:
addDisabledReasonIcon(buttonContainer, "fa-solid
fa-text-slash veto-reason-icon prototyping",
- " Note: This icon only appears in prototyping mode
(unless disabled via config option).");
+ "\nNote: This icon only appears in prototyping
mode "
+ + "(unless disabled via config option "
+ +
"causeway.viewer.wicket.disable-reason-explanation-in-prototyping-mode-enabled).");
break;
case CLEAR_FIELD:
addClearFieldButton(buttonContainer);