cuba.web.rememberMeEnabled application property, if set to false, removes Remember me checkbox from login window.@Lob annotation is used to define a String attribute of unlimited length.AddAction now supports openType declaration in XML like CreateAction and EditAction.editWindowActions and extendedEditWindowActions frames: cuba-edit-window-actions and cuba-extended-edit-window-actions respectively.XMLConvertor.LockManager initialization.fieldCaptionWidth of FieldGroup component. It allows to set width for the field captions explicitly, which is useful when you need to align several FieldGroups placed vertically on the screen.stylename="light" to display top border only.tomcat task to run Tomcat in current terminal window.persistence.xml files, non-persistent classes list
is loaded from metadata.xml files. Therefore both cuba.persistenceConfig and
cuba.metadataConfig properties must be defined in all modules (core, web, desktop, portal) of your
application.
ValueListeners on setting new value.
SoftDelete interface does not extend Updatable.
Action.description attribute added. It affects the owning component's description
attribute.
LookupField: newOptionAllowed attribute can now be set from XML definition.
AbstractWindow.ready() method added for custom initialization right before screen opening.
Datasource.getItemIfValid() method added.
tomcat/temp/$app_name/triggers directory, and when a
file with the name like "beanName.methodName" appears, the mechanism invokes the corresponding method.cuba_Messages.clearCache to clear localized messages cache on
hot deploy. You can do the same for deployConf Gradle task by adding the following to GUI and Web
modules configuration in build.gradle:
task clearMessagesCache(type: CubaClearMessagesCache) {
appName = 'app'
}
deployConf.dependsOn clearMessagesCache
modules/web/src/web-app.properties:
add cuba-gui-metadata.xml and
cuba-web-metadata.xml to cuba.metadataConfig property;
add cuba.persistenceConfig property with the same value as in core module.
modules/desktop/src/desktop-app.properties (if exists): add cuba-gui-metadata.xml
to cuba.metadataConfig property;
add cuba.persistenceConfig property with the same value as in core module.
*-spring.xml files.*.xml files by by searching http://schemas.haulmont.com/cuba/5.0/ string and replacing it to http://schemas.haulmont.com/cuba/5.1/.modules/portal/src/portal-app.properties:cuba.persistenceConfig = cuba-persistence.xml persistence.xml
com.haulmont.cuba.portal.command.LoginUserCommand was removed from the platform, so if
you use LoginController from the Portal template, create your own LoginUserCommand
POJO and import it into the LoginController.