I had a TWebPanel which would not show up in the browser, whatever I tried. I couldn’t even find it in the DOM created. After a lot of investigation, I think I know what caused the problem: I had given this panel an element-id which I also had given to another panel in another Frame. So I think, as a result, the panel with the duplicate name was not transpiled.
Question: Is this assumption correct? (when I changed the element-id, the panel showed up!)
If yes: Feature request: can’t you generate a transpile time error when you have duplicate element-id’s? Or allow duplicates as long as they are not simultanously in the DOM.
And if yes: isn’t it true that then it is not a good idea to give element-id’s to elements that are used in a frame or form that will be inherited from!
How was/is my web-application designed: for each task I load a special Frame in the Main Form. So these frames are mutually exclusive: they will never show up the same time. And all of these frames have the same lay-out. Therefore I used the same id’s, because the main panel in the Frame has the same function in each frame (i.e. element-id=’table-container’), because I thought they would never be in the same DOM.