You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/03/18 08:18:39 UTC

[isis] branch master updated: ISIS-2575: add mignotes

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/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 79630ff  ISIS-2575: add mignotes
79630ff is described below

commit 79630ffeb6cfa4331da2c363b9483e5cf99fef54
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Mar 18 09:16:24 2021 +0100

    ISIS-2575: add mignotes
---
 .../modules/ROOT/pages/2020/2.0.0-M5/mignotes.adoc   | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/antora/components/relnotes/modules/ROOT/pages/2020/2.0.0-M5/mignotes.adoc b/antora/components/relnotes/modules/ROOT/pages/2020/2.0.0-M5/mignotes.adoc
index babca23..4a9c244 100644
--- a/antora/components/relnotes/modules/ROOT/pages/2020/2.0.0-M5/mignotes.adoc
+++ b/antora/components/relnotes/modules/ROOT/pages/2020/2.0.0-M5/mignotes.adoc
@@ -344,6 +344,26 @@ Query.named(CommandJdo.class, "findByParent") +
 in a new-ed up (entity) instance is more flexible and also more error prone, eg. it allows the compiler to check
 validity of the used constructor rather than doing construction reflective at runtime
 
+== Wicket Viewer
+
+All descendants of `PanelAbstract` now need 2 generic type arguments instead of 1, 
+where the newly added is first and specifies the _IModel's_ generic type parameter.
+
+[source,java]
+.PanelAbstract
+----
+// PanelAbstract<T extends IModel<?>> extends PanelBase // <-- previously
+PanelAbstract<T, M extends IModel<T>> extends PanelBase<T> // <.> 
+----
+<.> solves methods clashing 'having same erasure yet neither overrides the other'
+
+[source,java]
+.Example Migration
+----
+// MyPanel extends PanelAbstract<IModel<String>> // <-- previously
+MyPanel extends PanelAbstract<String, IModel<String>> 
+----
+
 == Extensions
 
 Object type namespaces have been renamed.