Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2025 BSI Business Systems Integration AG
* Copyright (c) 2010, 2026 BSI Business Systems Integration AG
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
Expand All @@ -19,7 +19,6 @@

import org.eclipse.scout.rt.client.context.ClientRunContexts;
import org.eclipse.scout.rt.client.job.ModelJobs;
import org.eclipse.scout.rt.client.session.ClientSessionProvider;
import org.eclipse.scout.rt.client.ui.action.menu.AbstractMenu;
import org.eclipse.scout.rt.client.ui.action.menu.IMenu;
import org.eclipse.scout.rt.client.ui.action.menu.IMenuType;
Expand Down Expand Up @@ -1142,35 +1141,6 @@ protected String getConfiguredText() {
return TEXTS.get("Wildcard");
}

@Order(10)
@ClassId("b1a5915f-dabe-4ef7-9241-c541ff1ce6d8")
public class AutoPrefixWildcardMenu extends AbstractMenu {

private boolean m_active;

@Override
protected void execInitAction() {
m_active = ClientSessionProvider.currentSession().getDesktop().isAutoPrefixWildcardForTextSearch();
updateText();
}

@Override
protected String getConfiguredText() {
return TEXTS.get("EnableAutoPrefixWildcard");
}

@Override
protected void execAction() {
m_active = !m_active;
ClientSessionProvider.currentSession().getDesktop().setAutoPrefixWildcardForTextSearch(m_active);
updateText();
}

protected void updateText() {
setText(TEXTS.get(m_active ? "DisableAutoPrefixWildcard" : "EnableAutoPrefixWildcard"));
}
}

@Order(20)
@ClassId("83f6de02-6b5f-4f7b-84f5-c506b3bd78a7")
public class ChangeWildcard1Menu extends AbstractMenu {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2010, 2023 BSI Business Systems Integration AG
# Copyright (c) 2010, 2026 BSI Business Systems Integration AG
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -152,7 +152,6 @@ DetailsMenuMessage=The value of the selected entry is {0} and the display text i
Dimension=Dimension
Directory=Directory
Disable=Disable
DisableAutoPrefixWildcard=Disable AutoPrefixWildcard
Disabled=Disabled
DisabledRows=Disabled rows
DisplayHint=Display Hint
Expand All @@ -175,7 +174,6 @@ Employees=Employees
Empty=Empty
Enable=Enable
EnableActiveFilter=Enable active filter
EnableAutoPrefixWildcard=Enable AutoPrefixWildcard
EnteredUrlInvalid=The entered URL is not valid, or missing the schema (Example\: https\://).
EventType=Event Type
EventTypes=Event types
Expand Down
16 changes: 7 additions & 9 deletions docs/modules/migration/partials/migration-guide-26.2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ To install the Scout SDK into your existing Eclipse IDE, use this P2 update site

// ----------------------------------------------------------------------------

== New Build & Runtime Requirements

Scout 26.2 requires at least the following:

* Build and runtime of Scout 26.2 require Java 25. The compiler target level is set to Java 21.
* Furthermore, the build requires
** Node: >= 24.12.0
** Pnpm: >= 10.26.1

== REST operations: Add Consumes annotation

It is recommended that all REST operations which consume a request entity body message have a `Consumes` annotation set to restrict invalid input.
Expand All @@ -105,3 +96,10 @@ While Jersey, the implementation we use, does attempt to locate a `@Path` annota

To ensure compliance, a test has been introduced that fails if any REST resource is missing a `@Path` annotation.
To activate this validation for your module, extend the `AbstractRestResourceAnnotationTest` class accordingly.

== Removal of autoPrefixWildcardForTextSearch on Desktop

The methods `isAutoPrefixWildcardForTextSearch` and `setAutoPrefixWildcardForTextSearch` on `IDesktop` have been removed.
They have not been used since years and were never supported in Scout JS.

If you need a prefix wildcard, add it to your search texts manually where required.