-
Notifications
You must be signed in to change notification settings - Fork 0
Roma 3 migration guide
Roma.getClassFeature(...) , Roma.getFieldFeature(...) and Roma.getActionFeature(...) API is now unified as follows: Roma.getFeature(parentObject, fieldOrActionName, feature)
Roma.setClassFeature(...) , Roma.setFieldFeature(...) and Roma.setActionFeature(...) API is now unified as follows: Roma.getFeature(parentObject, fieldOrActionName, feature, value)
composed entities are now natively supported by core aspect through @CoreField(expand) feature; now Roma sees entity fields as fields of the ComposedEntity, so you should
-
remove all @ViewField(layout="expand") and <field... around and replace them with @CoreField(expand=AnnotationConstants.TRUE and <field...
-
remove all explicitElements="true" from <field name="entity" ecc. on ComposedEntity classes and move all entity field declarations to parent (if you want to declare explicitElements="true" you have to do it on the parent class)
-
replace all Roma.fieldChanged(getEntity(), "field") with Roma.fieldChanged(this, "field")
-
change all ValidationException(getEntity(), ...) in ComposedEntity classes to ValidationException(this, ...)
TODO