on 2024 Aug 15 10:08 PM
I have a custom button on wizard, I want to use NavigationService to notify user when an object is created successfully in BackOffice. However, this class is deprecated. It suggests to use com.hybris.cockpitng.util.notifications.Navigation, but the implementation DefaultNavigationService doesn't have any method. Does anyone have any suggestion how to do it?
Request clarification before answering.
They're just telling you not to use that deprecated interface in your code. Use the one from the `com.hybris.cockpitng` package instead. The cockpitng implementation extends the deprecated backoffice one so the methods are available to you use.
At some point in the future they'll remove the interface and implementation from the `com.hybris.backoffice` package and copy the methods to the new interface instead and because you've already switched over it'll all happen seamlessly🤞. If you don't change the use of the deprecated interface now then when it is removed you'll get compilation failures and have to switch to the interface in the updated package then instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
18 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.