Hi,
I am trying to create different Screens for one Entity.
The Entity is e.g. “app_prefrences”
So I built an edit-screen “app_preferences.edit” All works fine, I call it from menu
<item screen="app_preferences.edit" icon="font-icon:WRENCH" caption="msg://...app.pfrefs"/>
Now I do want lots of small screens for this. Like
“app_preferences_property1.edit”, “app_preferences_property2.edit”
But when I add it to the menu like:
<item screen="app_preferences_property1.edit" icon="font-icon:WRENCH" caption="msg://...app.pfrefsprop1"/>
I get
IllegalArgumentException: MetaClass not found for app_preferencesprop1
if I now change the menu and add a class like this:
<item screen="app_preferences_property1.edit" class="......app_preferences" icon="font-icon:WRENCH" caption="msg://...app.pfrefsprop1"/>
I get
IllegalStateException: MenuItem can’t have more than one action.
Whats the correct way, to open more than one screen for the same entity?
Thx