Filters won't work on id collision

Whenever i have nested frames, if i use the same id for 2 ui components, or for 2 string from message properties filter search won’t work so i must have unique id’s all over the project… Is there any method to avoid this problem?

Hi, @eugen.vlasie

identifiers should be unique by the definition.

Please clarify your task - what you want to do?

Regards,
Daniil.

I have an window which contains a frame with id = frame1. This frame contains another frame with id frame2. The frame with id frame2 has a browser with a filter. If in frame with id1 i have a vbox with id = vbox, and in frame with id = frame2 i have a vbox with id = vbox the filter won’t work… I’m curious if I can make it work without having different id’s for the two vbox’s.

As I said, you should use unique ids in your hierarchy.

I suppose that your frames and windows are located in different files and CUBA plugin cannot detect it and tell you that you have to use different ids.

Regards,
Daniil.