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
{{ message }}
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.
So with the above configurations will be registered component with the smallest@Order value (MyWebChart).
Important note
You must specify loader class for MyWebChart component as it "replace" registration of WebChart component and all information about WebChart is lost.
The text was updated successfully, but these errors were encountered:
Consider using annotation instead of xsd for defining component model
Port:
ExternalUIComponentsSource
interfaceWebExternalUIComponentsSource
classWithout this mechanism, the user cannot register custom or composite component
Changes
The mechanism of registering/overriding UI components is simplified to defining spring bean (ComponentRegistration) with component information.
For instance:
The code above will register new Button component with:
NewButton.NAME
;NewWebButton.class
;NewButton.NAME
;NewButtonLoader.class
;ComponentRegistration
is an interface for registering components.ComponentRegistrationBuilder
is a builder class for creating registration bean.Order of registering components
It is possible to use spring
@Order
annotation to handle the order of registering components. For instance, we have two configurations:WebChart
component:So with the above configurations will be registered component with the smallest
@Order
value (MyWebChart)
.Important note
You must specify loader class for
MyWebChart
component as it "replace" registration ofWebChart
component and all information aboutWebChart
is lost.The text was updated successfully, but these errors were encountered: