Major
Detail
Major
Detail
#26382
Error messages "Duplicate tag name..." when starting an application in the IDE from a TL-Studio
#26405
TTypeRewriter logs warning "Unable to resolve items by external reference" also unnecessarily
#26431
Changed superclass relationship leads to changed attribute list in the form editor only after a restart
#26484
In-app template for grid and tables: Function "Verifier for use as list item" does not get component model
#26536
When rendering HTML from TLScript expressions, configured renderers are not taken into account
#26797
Transaction with user input: invisible properties of the form model cannot be assigned values (initialized)
#26885
Constraints on declarative forms with arguments from a container reference lead to errors for new elements
#26921
ClassCastException when evaluating security rules that refer to (non-structuredElement) singletons of a module.
#26922
With generated subject classes, a default provider of an attribute in a non-structure class does not get a create context
#26988
In-app documentation generator does not extract documentation for overwritten config properties
#27027
Declarative forms: SelectField disappears after upload if option list depends on mandatory property
#27042
MaintenanceJspBase should write to the log first, then to the client, instead of the other way around.
Enhancement
Major
#26920
Suggested values for number and string attributes
The "Value suggestions" annotation can be used to restrict the selection set (previously of reference attributes). Reference attributes are always displayed as selections. However, the "Value Suggestions" annotation is also offered for number and string attributes, but has no effect there.
Improvement
If the "Value Suggestions" annotation is set on a number or character string attribute, it is not displayed as an input field but as a selection field offering a choice from the values defined via the annotation.
Code migration
- Factory interface for displaying an attribute is no longer called "FormTagProvider", but tl:DisplayProvider with correspondingly changed signature Control createDisplay(EditContext editContext, FormMember member).
- The width of a <form:select/> JSP tag can now be specified using the width attribute instead of style.
Instead of
<form:select name="<%=SearchFieldSupport.STORED_QUERY %>" style="width: 260px;"/>.
Now:
<form:select name="<%=SearchFieldSupport.STORED_QUERY %>" width="260px" />
- The orientation of a <form:choice/> JSP tag is now specified using the com.top_logic.layout.structure.OrientationAware.Orientation enum.
<form:choice name="myField" orientation="<%=Orientation.HORIZONTAL %>" />
Test
- /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/model/attributes/TestOptionProviderForPrimitiveTypes.script.xml
- View in tl-demo: Technical Demo : Components : Selection Options