You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-6Lines changed: 39 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ This CUBA component gives users a mailbox for user to user and system to user me
14
14
15
15
| Platform Version | Add-on Version |
16
16
| ---------------- | -------------- |
17
+
| 7.0.x | 0.6.x |
17
18
| 6.10.x | 0.5.x |
18
19
| 6.9.x | 0.4.x |
19
20
| 6.8.x | 0.1.x - 0.3.x |
@@ -32,10 +33,6 @@ dependencies {
32
33
}
33
34
```
34
35
35
-
### NOTE: BREAKING CHANGE in 0.3.0
36
-
There is a breaking change if you update from 0.2.0 to 0.3.0. The mechanism how the record references are stored to a message
37
-
changed. It can be resolved with manual action. See [CHANGELOG.md](https://github.com/mariodavid/cuba-component-user-inbox/blob/master/CHANGELOG.md) for more information.
38
-
39
36
### NOTE: Dependency: declarative-controllers
40
37
This application component requires `declarative-controllers` as another dependency you have to add to your application.
41
38
@@ -81,9 +78,10 @@ Therefore there is another option to send a Message. In this case it is a messag
81
78
82
79
This is comparable of sending a email with a link that points to a particular customer / order etc. in your application together with the information from the sender.
83
80
84
-
##### Share entity instances
81
+
##### Share entity instances (CUBA 6 Screens)
85
82
86
-
The way to send context-based messages is to use the `@Shareable` annotation. The annotation is used in any Entity browse / editor screen.
83
+
The way to send context-based messages is to use the `@Shareable` annotation for CUBA 6 based screens (AbstractLookup / AbstractEditor).
84
+
The annotation is used in any Entity browse / editor screen.
87
85
88
86
Example:
89
87
@@ -107,6 +105,41 @@ The `@Shareable` annotations can be customized through the following attributes:
107
105
108
106
more information on this topic can be found here: [balvi/declarative-controllers](https://github.com/balvi/cuba-component-declarative-controllers)
109
107
108
+
109
+
##### Share entity instances (CUBA 7 Screens)
110
+
111
+
The way to send context-based messages is to use the `WithEntitySharingSupport` interface.
112
+
The interface can be used in any Entity browse screen. It requires to specify the table component as well as the buttonsPanel of the table.
0 commit comments