major
nice-to-have
defect
major
enhancement
HTMLTree and all its derivatives are no longer supported.
Code Migration
- Replace com.top_logic.mig.html.HTMLTree, com.top_logic.element.layout.structured.StructureHTMLTree, and com.top_logic.element.layout.tree.DelegateStructureHTMLTree with <treeView .../>.
- Within these, replace the Model Builder com.top_logic.element.layout.structured.StructureTreeModelBuilder with com.top_logic.element.layout.structured.DefaultStructuredElementTreeModelBuilder.
- Rename the " structure " attribute to " structureName."
- Convert the navigationRole attribute in the tree component into a filter subconfiguration <has-some-role roles="[old-value-of-attribute-navigationRole]"/> in the new Model Builder.
- If there is no `navigationRole` attribute, declare such a role in the displayed structure and declare a corresponding filter as shown above (example in the DemoSecurity module: the role `DemoSecurity.navigation`).
- Create a security filter in the tree component using the ` selectionRole ` and `delegationDestination ` attributes: {{{ <security-filter selectionRole="..." delegationDestination="..."/>
}}}
- If there are already instances of com.top_logic.element.layout.structured.DefaultStructuredElementTreeModelBuilder prior to this migration, convert the navigation-role attribute to a filter subconfiguration as shown above: <has-some-role roles="[old-value-of-attribute-navigation-role]"/>
Test
Refactoring; no additional testing required.