Hi all,
Please I need to allow anonymous access to a screen in my Jmix v2. How does it work in Jmix v2? I can see documentation for v1 but not in v2 so I am wondering if this facility is not available in v2. Please let me know other ways to handle this.
Hi Dmitriy,
Thanks so much for your great help. I am able to access the view anonymously now. However, the view displays the side menu by the side. I want this side menu invisible so that only the view will be seen by the user. The reason for doing this anonymous access is that the view is not being rendered properly on mobile devices, and mobile rendering is very important here.
So I am thinking if I can display only the view without the side menu, there will be enough space for the view to occupy on mobile devices.
Hi Dmitriy,
Thanks so much. It works as you have suggested.
However, my problem of displaying the view properly on mobile devices is still there. I can still see that the controls are scattered. I thought hiding the menu with anonymous access would solve the problem for me.
Please, is there other things I need to know about Jmix 2.2 to display views properly on mobile devices? I understand that Jmix 2.2 is mobile-friendly. Why is my view not displaying properly on mobile devices?
Your assistance in this area will be highly appreciated.
Hi Dmitriy,
See the screenshot here. It displays fine on the web but scattered on the mobile.
Do I need to design another view specifically to be targeted by mobile only?
My expectation on the mobile device browser is also to have the same view output as it’s obtainable on web.
As I can see, you are not using the standard menu that is used in MainView.
This menu is specially adapted for mobile devices.
Responsibility is supported by the Vaadin framework.
Here is an example of displaying a view with a menu on a mobile device: