You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2024/11/29 14:21:08 UTC

(causeway) branch v3 updated: CAUSEWAY-2297: more mignotes on the renaming stuff

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch v3
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/v3 by this push:
     new 088c7d4cbe2 CAUSEWAY-2297: more mignotes on the renaming stuff
088c7d4cbe2 is described below

commit 088c7d4cbe23630da55f245c4795fa9dcfa4f271
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Nov 29 15:21:02 2024 +0100

    CAUSEWAY-2297: more mignotes on the renaming stuff
---
 .../modules/ROOT/pages/2024/3.2.0/mignotes.adoc    | 27 ++++++++++++++++++----
 1 file changed, 22 insertions(+), 5 deletions(-)

diff --git a/antora/components/relnotes/modules/ROOT/pages/2024/3.2.0/mignotes.adoc b/antora/components/relnotes/modules/ROOT/pages/2024/3.2.0/mignotes.adoc
index 0362204d930..85805993c4d 100644
--- a/antora/components/relnotes/modules/ROOT/pages/2024/3.2.0/mignotes.adoc
+++ b/antora/components/relnotes/modules/ROOT/pages/2024/3.2.0/mignotes.adoc
@@ -31,20 +31,37 @@ import org.apache.causeway.viewer.wicket.model.models.UiAttributeWkt;
 import org.apache.causeway.viewer.wicket.ui.components.attributes.AttributeComponentFactoryWithTypeConstraint;
 ----
 
-== Renaming 'EntityPage' -> 'DomainObjectPage'
+== Renaming 'Entity' -> 'Object' (when inaccurate)
 
-I guess the initial design of _Wicket Viewer_ introduced an `EntityPage`, 
+E.g. I guess the initial design of _Wicket Viewer_ introduced an `EntityPage`, 
 with rendering of _entities_ in mind. But later was used to also render _viewmodels_. 
 Unfortunately the naming is misleading, hence the renaming to `DomainObjectPage`.
 
-There are many places throughout the code base, 
-where the term `entity` was similarly used wrongly. 
-Not documenting all of them here.     
+There are many other places throughout the code base, 
+where the term `entity` was similarly used wrongly 
+(in the sense that an object is either an entity or a viewmodel but cannot be both). 
 
+Not documenting all places here. Just some ...     
+
+[IMPORTANT]
+====
 [source,java]
 .URL changes as configured in CausewayWicketApplication
 ----
 // mountPage("/entity/#{objectOid}", PageType.ENTITY);
 mountPage("/object/#{objectOid}", PageType.DOMAIN_OBJECT);
 ----
+====
+
+CSS classes have also been renamed. If you are customizing those, then as rule of thumb: 
+replace `entityXXX` with `objectXXX`. 
+
+[source,css]
+.CSS changes, single example
+----
+// .entityActions 
+.objectActions
+----
+
+Entries of the `UiComponentType` enum were also renamed. 
   
\ No newline at end of file