Child pages
  • Upgrading to Servoy 7.x.x

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Object

Deprecated method or property

Replacement

Comment

globals

allmethods

solutionModel.getGlobalMethods("scopeName")

an exact replacement would be:
solutionModel.getGlobalMethods("scopeName").map(function (jsMethod) { return jsMethod.getName() } )

 

 

allmethods

 

 

globals

allrelations

solutionModel.getRelations(null)

an exact replacement would be:
solutionModel.getRelations(null).map(function (jsRelation) { return jsRelation.name })

globals

allvariables

solutionModel.getGlobalVariables("scopeName")

an exact replacement would be:
solutionModel.getGlobalVariables("scopeName").map(function (jsVariable) { return jsVariable.name } )

forms

allnames

solutionModel.getForms()

an exact replacement would be:
solutionModel.getForms().map(function (jsForm) { return jsForm.name })

RuntimeForm

alldataproviders

foundset.alldataproviders

 

RuntimeForm

allnames

elements.allnames

 

RuntimeForm

allrelations

solutionModel.getRelations(dataSource) where dataSource is provided by solution model's JSForm.dataSource or controller.getDataSource()

an exact replacement would be: solutionModel.getRelations(controller.getDataSource()).map(function (jsRelation) { return jsRelation.name } )

RuntimeForm

allvariables

solutionModel - JSForm.getVariables(Boolean) or JSForm.getVariables()

an exact replacement would be:
'solutionModel.getForm(controller.getName()).getVariables().map(function (jsVariable) { return jsVariable.name })

ELEMENT_TYPES

LIST_BOX

LISTBOX

Alignment of names used

JSField

LIST_BOX

LISTBOX

Alignment of names used

ALIGNMENT

ACCORDION_PANEL

JSTabPanel.ACCORDION_PANEL

 

ALIGNMENT

SPLIT_HORIZONTAL

JSTabPanel.SPLIT_HORIZONTAL

 

ALIGNMENT

SPLIT_VERTICAL

JSTabPanel.SPLIT_VERTICAL

 

JSPart,
JSRelationItem,
JSTab

getDesignTimeProperty
putDesignTimeProperty,
removeDesignTimeProperty

 

Not relevant

databaseManager

hasNewRecords(JSRecord)

JSRecord.isNew()

 

databaseManager

hasRecordChanges(JSRecord)

JSRecord.hasChangedData()

 

databaseManager

revertEditedRecords(JSRecord)

JSRecord.revertChanges()

 

I18N

setI18NMessagesFilter

Use TableFilters instead