You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user writes a dotvvm markup control with .dothtml extension and doesn't use @baseType directive, DotVVM will use DotvvmView as a base type. When the control is then initialized, there are multiple DotvvmViews in the page.
Easier solution is to make it an error to declare a markup control in such way. It's obviously breaking, so milestone 5.0
Alternative would be to use DotvvmMarkupControl as default base type, whenever the page is registered in DotvvmMarkupConfiguration. This is breaking too, if someone is using the page as view and also declared it as a control.
The text was updated successfully, but these errors were encountered:
When the user writes a dotvvm markup control with
.dothtml
extension and doesn't use@baseType
directive, DotVVM will use DotvvmView as a base type. When the control is then initialized, there are multipleDotvvmView
s in the page.Easier solution is to make it an error to declare a markup control in such way. It's obviously breaking, so milestone 5.0
Alternative would be to use DotvvmMarkupControl as default base type, whenever the page is registered in DotvvmMarkupConfiguration. This is breaking too, if someone is using the page as view and also declared it as a control.
The text was updated successfully, but these errors were encountered: