Web Dialog Name Collision

Good morning.

I’m sure everyone knows this already. I had a web page with a label. I then (months later, because client requested a change) added a dialog. The dialog had a couple of labels on it. I named one of the labels the same as the label on the page. Suddenly I was getting errors. Renaming the label on the dialog solved the problem. Apparently dialogs share the same “name space” as the other controls on the page.

Hope this helps someone.

-Bob

Uh… They shouldn’t. Could you file a bug report about that?

Greg,

I may be awhile (I’m need deep in changes for client), and it may have already been fixed. This is a RealStudio app that will be moved to Xojo sometime next year.

Stay tuned. I’ll try it in Xojo (probably this weekend).

-Bob

Hm…not that I’m saying your wrong but I have tons of web dialogs that reuse the same control name and have never had a collision like you’re describing. I bet, it’s something else.

However, I’ve been playing this game too long to say it can’t happen. :slight_smile: