There is a problem that the UI component has a set of unsupported handlers that it acquired from the parent component (for example - EntityComboBox does not support setFormatter and addFieldValueChangeListener handlers). Such handlers are displayed in the Studio (ComponentInspector -> Handlers panel; Generate Handler panel; GenerateHandlerForComponentIntention) and confuse users.
It was decided to add unsupportedHandlers parameter to the @StudioComponent, @StudioFacet and @StudioElement annotations that will define the names of unsupported handlers
QA
Check that unsupported handlers don't appear in the following places:
1) Component Inspector -> Handlers panel
There is a problem that the UI component has a set of unsupported handlers that it acquired from the parent component (for example - EntityComboBox does not support
setFormatter
andaddFieldValueChangeListener
handlers). Such handlers are displayed in the Studio (ComponentInspector -> Handlers panel; Generate Handler panel; GenerateHandlerForComponentIntention) and confuse users.Studio issue: https://youtrack.jmix.io/issue/JST-2619
Solution
It was decided to add
unsupportedHandlers
parameter to the@StudioComponent
,@StudioFacet
and@StudioElement
annotations that will define the names of unsupported handlersQA
Check that unsupported handlers don't appear in the following places: 1)
Component Inspector
->Handlers
panel2) Screen Controller ->
Generate Handler
notification panel3) Screen Descriptor -> click on component tag -> call
Generate component handler
intentionThe list of unsupported handlers: