major
nice-to-have
defect
major
enhancement
So far, only unformatted text can be rendered in the title area of a toolbar. The goal is to allow any type of content here.
Code Migration
Test scripts that explicitly maximize or minimize components must be adapted (re-recorded). The toolbar title is no longer required as an identifier; instead, the toolbar owner is used.
This affects tests that use the action `com.top_logic.layout.scripting.runtime.action.CollapseToolbarActionOp `, for example:
#!patch
--- trunk/TL/com.top_logic.demo/src/test/com/top_logic/demo/scripted/TestDemo-8D_Regression_Ticket_20622_01.xml (revision 240785)
+++ trunk/TL/com.top_logic.demo/src/test/com/top_logic/demo/scripted/TestDemo-8D_Regression_Ticket_20622_01.xml (revision 257921)
@@ -47,10 +47,14 @@
/>
</action>
<action class="com.top_logic.layout.scripting.runtime.action.CollapseToolbarActionOp"
+ xmlns:config="http://www.top-logic.com/ns/config/6.0"
expansion-state="NORMALIZED"
- title="Table Filter"
user-id="root"
- />
+ >
+ <expandable key="treeGrid.toolbarCollapsedState"
+ config:interface="com.top_logic.layout.scripting.recorder.specialcases.PersonalizedExpandableNamingScheme$Name"
+ />
+ </action>
<action class="com.top_logic.layout.scripting.runtime.action.FormInputOp"
user-id="root"
>
Application
- com.top_logic.layout.toolbar.ToolBar.setTitle(HTMLFragment)
Test
No test.